diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/seaworthy/tests-pytest/test_definitions_pytest_fixture.py b/seaworthy/tests-pytest/test_definitions_pytest_fixture.py index <HASH>..<HASH> 100644 --- a/seaworthy/tests-pytest/test_definitions_pytest_fixture.py +++ b/seaworthy/tests-pytest/test_definitions_pytest_fixture.py @@ -37,7 +37,7 @@ class PytestFix...
Use the right method name for pytest
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -663,8 +663,8 @@ class TelegramClient(TelegramBareClient): """ # TODO This won't work for messageService if isinstance(mess...
Fix silly bug with two wrongly ordered lines (on download document)
py
diff --git a/taskrunner/runner.py b/taskrunner/runner.py index <HASH>..<HASH> 100644 --- a/taskrunner/runner.py +++ b/taskrunner/runner.py @@ -1,6 +1,7 @@ from importlib import import_module from importlib.machinery import SourceFileLoader from itertools import chain +from shutil import get_terminal_size from .co...
Improve output of short task listing Previously, tasks would wrap arbitrarily. Now tasks are split into rows according to the width of the terminal. These rows are indented. Task names are also no longer separated with commas.
py
diff --git a/dockermap/map/config.py b/dockermap/map/config.py index <HASH>..<HASH> 100644 --- a/dockermap/map/config.py +++ b/dockermap/map/config.py @@ -6,8 +6,6 @@ import operator import posixpath import six -from docker.client import DEFAULT_DOCKER_API_VERSION, DEFAULT_TIMEOUT_SECONDS - from . import DictMap ...
Load defaults for docker client later.
py
diff --git a/post_office/tests/models.py b/post_office/tests/models.py index <HASH>..<HASH> 100644 --- a/post_office/tests/models.py +++ b/post_office/tests/models.py @@ -237,4 +237,16 @@ class ModelTest(TestCase): 'subject': [u"Empty variable tag"], 'content': [u"Invalid filter: 'titl'"], ...
Failing test case for string priority issue, ref #<I>
py
diff --git a/salt/modules/boto3_route53.py b/salt/modules/boto3_route53.py index <HASH>..<HASH> 100644 --- a/salt/modules/boto3_route53.py +++ b/salt/modules/boto3_route53.py @@ -862,7 +862,7 @@ def change_resource_record_sets(HostedZoneId=None, Name=None, args.update({'PrivateZone': PrivateZone}) if PrivateZo...
Prevent infinite loop when attempting to change a record which cannot be changed
py
diff --git a/setup_libuv.py b/setup_libuv.py index <HASH>..<HASH> 100644 --- a/setup_libuv.py +++ b/setup_libuv.py @@ -200,6 +200,9 @@ class libuv_sdist(sdist): libuv_revision = libuv_build_ext.libuv_revision libuv_patches = libuv_build_ext.libuv_patches + gyp_dir = os.path.join(libuv_dir, 'build', 'gyp...
build: bundle gyp on sdist
py
diff --git a/wikipediaapi/wikipedia.py b/wikipediaapi/wikipedia.py index <HASH>..<HASH> 100644 --- a/wikipediaapi/wikipedia.py +++ b/wikipediaapi/wikipedia.py @@ -65,7 +65,9 @@ RE_SECTION = { ExtractFormat.HTML: re.compile( r'\n? *<h(\d)[^>]*?>(<span[^>]*><\/span>)? *' + '(<span[^>]*>)? *(<span[^...
Maintain < <I> line length standard.
py
diff --git a/swift/storage.py b/swift/storage.py index <HASH>..<HASH> 100644 --- a/swift/storage.py +++ b/swift/storage.py @@ -341,7 +341,7 @@ class SwiftStorage(Storage): class StaticSwiftStorage(SwiftStorage): container_name = setting('SWIFT_STATIC_CONTAINER_NAME', '') name_prefix = setting('SWIFT_STATIC_N...
Wrong override_base_url in static_storage (#<I>) Default was '' for override_base_url instead of None. This causes the override to always happen even if no override whas specified. The user would end up getting relative paths instead of full uris to the backend.
py
diff --git a/tests/integration/test_package.py b/tests/integration/test_package.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_package.py +++ b/tests/integration/test_package.py @@ -52,7 +52,7 @@ def _get_random_package_name(): reason='Extended packaging tests only run on py3.') @pyte...
Pin pandas installed by tests to <I> <I> is the latest version that supports both Python <I> and <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup(name='iPOPO', author_email='thomas.calmant@gmail.com', url='http://ipopo.coderxpress.net/', download_url='http://ipopo.coderxpress.net/ipopo-0.3.zip', - packages=['pelix', 'pelix....
Added the pelix.shell package to setup.py
py
diff --git a/marrow/schema/meta.py b/marrow/schema/meta.py index <HASH>..<HASH> 100644 --- a/marrow/schema/meta.py +++ b/marrow/schema/meta.py @@ -110,4 +110,5 @@ class ElementMeta(type): return instance -Element = ElementMeta("Element", (object, ), dict()) +class Element(metaclass=ElementMeta): + pass
Remove inexplicable cross-version metaclass usage.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( author_email='satosa-dev@lists.sunet.se', description='OpenID Connect Provider (OP) library in Python.', install_requires=[ - 'oic<0.12', + 'oic>0.13.1', 'pymongo' ...
Use the latest version of pyoidc/oic dependency
py
diff --git a/vncdotool/client.py b/vncdotool/client.py index <HASH>..<HASH> 100644 --- a/vncdotool/client.py +++ b/vncdotool/client.py @@ -211,11 +211,13 @@ class VNCDoToolClient(rfb.RFBClient): from PIL import Image self.image = Image - size = (width, height) update = self...
client: handle the resolution increasing Useful when a server is booting and changes the screen resolution as the boot progresses.
py
diff --git a/doctr/travis.py b/doctr/travis.py index <HASH>..<HASH> 100644 --- a/doctr/travis.py +++ b/doctr/travis.py @@ -58,6 +58,8 @@ def setup_deploy_key(keypath='github_deploy_key', key_ext='.enc', env_name='DOCT DOCTR_DEPLOY_ENCRYPTION_KEY. """ + print(env_name) + print(os.environ.keys()) k...
Print some debugging info on Travis
py
diff --git a/pymouse/base.py b/pymouse/base.py index <HASH>..<HASH> 100644 --- a/pymouse/base.py +++ b/pymouse/base.py @@ -62,11 +62,11 @@ class PyMouseMeta(object): raise NotImplementedError class PyMouseEventMeta(Thread): - def __init__(self, capture=False, captureMove=False): + def __init__(self, c...
replacing captureMove with capture_move
py
diff --git a/src/discoursegraphs/discoursegraph.py b/src/discoursegraphs/discoursegraph.py index <HASH>..<HASH> 100644 --- a/src/discoursegraphs/discoursegraph.py +++ b/src/discoursegraphs/discoursegraph.py @@ -724,7 +724,8 @@ def get_pointing_chains(docgraph): returns a list of chained pointing relations (e.g. co...
flake8: discoursegraph.py
py
diff --git a/nougat/context.py b/nougat/context.py index <HASH>..<HASH> 100644 --- a/nougat/context.py +++ b/nougat/context.py @@ -45,7 +45,7 @@ class Request: @cached_property def ip(self): - if self.app.config.get("X-FORWARD-IP", False): + if self.app.config.get("X_FORWARD_IP", False): ...
fix: rename X-FORWARD-IP as X_FORWARD_IP for object way calling
py
diff --git a/pipes/pipeline/create_pipeline.py b/pipes/pipeline/create_pipeline.py index <HASH>..<HASH> 100644 --- a/pipes/pipeline/create_pipeline.py +++ b/pipes/pipeline/create_pipeline.py @@ -153,6 +153,12 @@ class SpinnakerPipeline: raise SpinnakerAppNotFound('Application "{0}" not found.'.format( ...
Split out getting all pipelines Related: PSOBAT-<I>
py
diff --git a/angr/analyses/cfg_arch_options.py b/angr/analyses/cfg_arch_options.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg_arch_options.py +++ b/angr/analyses/cfg_arch_options.py @@ -43,7 +43,7 @@ class CFGArchOptions(object): for k, (_, value) in self.OPTIONS[self.arch.name].iteritems(): ...
CFGArchOptions: missing "iteritems".
py
diff --git a/tasks.py b/tasks.py index <HASH>..<HASH> 100644 --- a/tasks.py +++ b/tasks.py @@ -238,21 +238,20 @@ def update_changelog(ctx): @task -def log_ver(ctx): - filepath = os.path.join(os.environ["HOME"], "Dropbox", "Public", - "pymatgen", NEW_VER) +def log_ver(ctx, logdir="~/Dr...
Modify tasks.py to include logdir option for log_ver task
py
diff --git a/troposphere/__init__.py b/troposphere/__init__.py index <HASH>..<HASH> 100644 --- a/troposphere/__init__.py +++ b/troposphere/__init__.py @@ -176,7 +176,7 @@ class UpdatePolicy(BaseAWSObject): class AWSHelperFn(object): def getdata(self, data): - if isinstance(data, AWSObject): + if i...
Fix Ref() to output the name only [GH-<I>] Ref needed to be changed to look for BaseAWSObject.
py
diff --git a/jax/interpreters/pxla.py b/jax/interpreters/pxla.py index <HASH>..<HASH> 100644 --- a/jax/interpreters/pxla.py +++ b/jax/interpreters/pxla.py @@ -124,6 +124,8 @@ def shard_aval(size, aval): shard_aval_handlers: Dict[Type[core.AbstractValue], Callable[[int, Any], Any]] = {} shard_aval_handlers[core.Abstra...
Fix error handling when an attempt is made to pmap a scalar.
py
diff --git a/examples/party.py b/examples/party.py index <HASH>..<HASH> 100644 --- a/examples/party.py +++ b/examples/party.py @@ -49,3 +49,5 @@ def worker(number, client, args): yield gen.sleep(1) log.info("[WORKER #%d] Rejoining the party", number) yield party.join() + + yiel...
Fixup party example so workers leave before close.
py
diff --git a/skyfield/vectorlib.py b/skyfield/vectorlib.py index <HASH>..<HASH> 100644 --- a/skyfield/vectorlib.py +++ b/skyfield/vectorlib.py @@ -67,6 +67,13 @@ class VectorFunction(object): # t.segments += self.segments # return t + def satellite(self, text): + # TODO: deprecate this + ...
Add back old idea of earth.satellite() For compatibility and to start moving the documentation tests back towards a working state again.
py
diff --git a/nfc/dev/transport.py b/nfc/dev/transport.py index <HASH>..<HASH> 100644 --- a/nfc/dev/transport.py +++ b/nfc/dev/transport.py @@ -226,6 +226,8 @@ class USB(object): bus = [b for b in self.usb.busses() if b.dirname == bus_id][0] dev = [d for d in bus.devices if d.filename == dev_id][0] ...
appears like usb devices are not automatically configured on OS-X, so do this specifically
py
diff --git a/apacheconfig/loader.py b/apacheconfig/loader.py index <HASH>..<HASH> 100644 --- a/apacheconfig/loader.py +++ b/apacheconfig/loader.py @@ -205,7 +205,7 @@ class ApacheConfigLoader(object): return {} def g_include(self, ast): - filepath = ast[0] + filepath = self._unquote_ta...
Fixed quoting issue for includes (#<I>) Allow for quoted and bare path in the `Include` statement
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-rest-passwordreset', - version='1.0.0', + version='1.1.0rc1', packages=find_packages(), ...
Releasing version <I>rc1
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ except ImportError: use_setuptools() from setuptools import setup, find_packages +import os import sys f = open('README.rst') @@ -50,6 +51,18 @@ requires = [ if sys.version_info[0] == 2 and sys....
Conditionally install man page into system or virtualenv. For #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -70,4 +70,15 @@ setup( 'bin/luigi' ], install_requires=install_requires, + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Environment ::...
added python classifiers.
py
diff --git a/ginga/misc/plugins/FBrowser.py b/ginga/misc/plugins/FBrowser.py index <HASH>..<HASH> 100644 --- a/ginga/misc/plugins/FBrowser.py +++ b/ginga/misc/plugins/FBrowser.py @@ -179,7 +179,10 @@ class FBrowser(GingaPlugin.LocalPlugin): self.treeview.set_tree(tree_dict) # Resize column widths - ...
Added a way to disable FBrowser auto col resize.
py
diff --git a/genes/api.py b/genes/api.py index <HASH>..<HASH> 100644 --- a/genes/api.py +++ b/genes/api.py @@ -109,8 +109,12 @@ class GeneResource(ModelResource): def search_autocomplete(self, request, **kwargs): query = request.GET.get('query', '') + limit = request.GET.get('limit', None) - ...
Making number of results that come back in autocomplete search a parameter that is passed as part of the request to the autocomplete_search endpoint.
py
diff --git a/src/rejester/support/test.py b/src/rejester/support/test.py index <HASH>..<HASH> 100644 --- a/src/rejester/support/test.py +++ b/src/rejester/support/test.py @@ -40,6 +40,7 @@ Copyright 2012-2014 Diffeo, Inc. import getpass import hashlib import os +import re import socket import pytest @@ -52,12 +5...
Fix the py.test namespace fixture for kvlayer Cassandra has specific requirements on what kvlayer uses for a namespace; normalize the test name further so that 'kvlayer_' + _rejester_namespace always works for Cassandra
py
diff --git a/taskc/simple.py b/taskc/simple.py index <HASH>..<HASH> 100644 --- a/taskc/simple.py +++ b/taskc/simple.py @@ -21,8 +21,8 @@ class TaskdConnection(object): def manage_connection(f): def conn_wrapper(self, *args, **kwargs): self._connect() - return f(self, *args, **kwarg...
had it right the first time, except for indentation errors
py
diff --git a/Python/mdetect.py b/Python/mdetect.py index <HASH>..<HASH> 100755 --- a/Python/mdetect.py +++ b/Python/mdetect.py @@ -1,7 +1,11 @@ # ******************************************* -# Copyright 2010-2015, Anthony Hand +# Copyright 2010-2016, Anthony Hand # # +# File version 2016.01.07 (May 13, 2015) +# Upda...
Update mdetect.py Fixed an issue in the detectNintendo() method. It was detecting for "Nintendo" 3 times, probably due to a copy/paste error. Restored checks for Wii and Nintendo DS. Hat tip to Brabadu.
py
diff --git a/helpers/update_helpers.py b/helpers/update_helpers.py index <HASH>..<HASH> 100644 --- a/helpers/update_helpers.py +++ b/helpers/update_helpers.py @@ -73,7 +73,7 @@ _ACRONYMS = (u'AA/S', u'ADC', u'AFM', u'AG', u'ASD/ISA', u'AU', u'AK', u'APHSCT' u'ZANU-PF') _UNWANTED = (u'SAVE', u'CITES', u...
Updated unwanted acronmys
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with open(path.join(this_folder,'README.md'),encoding='utf-8') as inf: setup( name='pythologist', - version='1.1.0', + version='1.1.1', test_suite='nose2.collector.collector', description='inForm Per...
add mibitracker for mibi in docker
py
diff --git a/pykeyboard/windows.py b/pykeyboard/windows.py index <HASH>..<HASH> 100644 --- a/pykeyboard/windows.py +++ b/pykeyboard/windows.py @@ -229,9 +229,8 @@ class PyKeyboardEvent(PyKeyboardEventMeta): PyKeyboardEventMeta.__init__(self) self.hm = pyHook.HookManager() self.hc = pyHook.Hoo...
minor adjustments to windows PyKeyboardEvent
py
diff --git a/juicer/admin/JuicerAdmin.py b/juicer/admin/JuicerAdmin.py index <HASH>..<HASH> 100644 --- a/juicer/admin/JuicerAdmin.py +++ b/juicer/admin/JuicerAdmin.py @@ -268,9 +268,11 @@ class JuicerAdmin(object): login = login.lower() - data = {'login': login, - 'name': name, - ...
convert update-user to work with pulp v2 for #<I> I don't know why password is now being stuffed in an array, though
py
diff --git a/cumulusci/tasks/push/tasks.py b/cumulusci/tasks/push/tasks.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/push/tasks.py +++ b/cumulusci/tasks/push/tasks.py @@ -425,7 +425,6 @@ class SchedulePushOrgQuery(SchedulePushOrgList): # exclusive search. # Add exclusion of all orgs ru...
[CCI] Pushing working versions
py
diff --git a/src/csvw/datatypes.py b/src/csvw/datatypes.py index <HASH>..<HASH> 100644 --- a/src/csvw/datatypes.py +++ b/src/csvw/datatypes.py @@ -350,6 +350,16 @@ class integer(decimal): def to_python(v, **kw): return int(decimal.to_python(v, **kw)) +@register +class nonNegativeInteger(integer): + ...
added nonNegativeInteger
py
diff --git a/irc/tests/test_bot.py b/irc/tests/test_bot.py index <HASH>..<HASH> 100644 --- a/irc/tests/test_bot.py +++ b/irc/tests/test_bot.py @@ -51,6 +51,24 @@ class TestChannel(object): channel.add_user('tester1') assert channel.has_user('Tester1') + def test_set_mode_clear_mode(self): + ...
Add a couple of tests to test_bot around setting and clearing of modes.
py
diff --git a/pypsa/io.py b/pypsa/io.py index <HASH>..<HASH> 100644 --- a/pypsa/io.py +++ b/pypsa/io.py @@ -295,7 +295,7 @@ def _export_to_exporter(network, exporter, basename, export_standard_types=False #exportable component types #what about None???? - nan is float? - allowed_types = (float,int,bool) +...
Fix export (#<I>) The fixed line crashed before as the lonely str could not be added to a tuple :(
py
diff --git a/angr/analyses/cfg/cfg_utils.py b/angr/analyses/cfg/cfg_utils.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg/cfg_utils.py +++ b/angr/analyses/cfg/cfg_utils.py @@ -1,6 +1,4 @@ -from collections import defaultdict - import networkx @@ -42,12 +40,8 @@ class CFGUtils(object): merge_poi...
find_merge_points: remove dead code (#<I>)
py
diff --git a/pyverilog/vparser/parser.py b/pyverilog/vparser/parser.py index <HASH>..<HASH> 100644 --- a/pyverilog/vparser/parser.py +++ b/pyverilog/vparser/parser.py @@ -1307,6 +1307,11 @@ class VerilogParser(PLYParser): 'edgesigs : edgesigs SENS_OR edgesig' p[0] = p[1] + (p[3],) p.set_linen...
Add comma separated edgesigs Verilog-<I> added the ability for signals to be separated by `,` instead of `or`, so this rule adds support for this feature.
py
diff --git a/patroni/postgresql.py b/patroni/postgresql.py index <HASH>..<HASH> 100644 --- a/patroni/postgresql.py +++ b/patroni/postgresql.py @@ -559,6 +559,7 @@ recovery_target_timeline = 'latest' def create_or_update_role(self, name, password, options): self.query("""DO $$ BEGIN + SET local synchro...
set synchronous_commit to local when creating roles
py
diff --git a/salt/roster/scan.py b/salt/roster/scan.py index <HASH>..<HASH> 100644 --- a/salt/roster/scan.py +++ b/salt/roster/scan.py @@ -42,10 +42,11 @@ class RosterMatcher(object): except ValueError: pass for addr in addrs: + addr = str(addr) try: ...
make sure addr is a string
py
diff --git a/huawei_lte_api/api/Net.py b/huawei_lte_api/api/Net.py index <HASH>..<HASH> 100644 --- a/huawei_lte_api/api/Net.py +++ b/huawei_lte_api/api/Net.py @@ -23,6 +23,13 @@ class Net(ApiGroup): def register(self) -> GetResponseType: return self._connection.get('net/register') + def set_register(...
Add set_register method Registering to a network: Mode: 1 for manual network selection; 0 for auto. Plmn: Plmn network for manual ("Numeric" value returned by net_mode_list()); "" for auto. Rat: "0": "2G", "2": "3G", "7": "4G" ("Rat" value returned by net_mode_list()); "" for auto.
py
diff --git a/tohu/v7/base.py b/tohu/v7/base.py index <HASH>..<HASH> 100644 --- a/tohu/v7/base.py +++ b/tohu/v7/base.py @@ -44,7 +44,7 @@ class MissingTohuItemsCls: self.is_unset = True self.__name__ = "<MissingTohuItemsCls>" - def __call__(self, *args, **kwargs): + def __call__(self, *args, **...
Add no cover pragma
py
diff --git a/digitalocean/Droplet.py b/digitalocean/Droplet.py index <HASH>..<HASH> 100644 --- a/digitalocean/Droplet.py +++ b/digitalocean/Droplet.py @@ -30,7 +30,7 @@ class Droplet(BaseAPI): self.ip_address = None self.private_ip_address = None self.ip_v6_address = None - self.ssh_ke...
The size property has not changed, but is using the slug information when creating a new Droplet.
py
diff --git a/test/conftest.py b/test/conftest.py index <HASH>..<HASH> 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -5,10 +5,11 @@ Pytest will also automatically pick up any fixtures defined here. import json import logging import os +import pytest import re from inspect import Parameter, getmembers, isf...
Disable rate-limiting during test session
py
diff --git a/test_schema.py b/test_schema.py index <HASH>..<HASH> 100644 --- a/test_schema.py +++ b/test_schema.py @@ -445,8 +445,6 @@ def test_optional_key_convert_failed_randomly_while_with_another_optional_object 'created_at': '2015-10-10 00:00:00' } validated_data = s.validate(data) -...
Remove print for py3+
py
diff --git a/mama_cas/response.py b/mama_cas/response.py index <HASH>..<HASH> 100644 --- a/mama_cas/response.py +++ b/mama_cas/response.py @@ -201,7 +201,7 @@ class SamlValidationResponse(CasResponseBase): assertion.set('MajorVersion', '1') assertion.set('MinorVersion', '1') assertion.append(...
Proper way to get username in SamlResponse
py
diff --git a/plex/objects/library/metadata/track.py b/plex/objects/library/metadata/track.py index <HASH>..<HASH> 100644 --- a/plex/objects/library/metadata/track.py +++ b/plex/objects/library/metadata/track.py @@ -13,9 +13,11 @@ class Track(Directory, Metadata, SessionMixin, ScrobbleMixin): index = Property(typ...
Added missing "view_count" property to the `Track` object
py
diff --git a/dragonmapper/__init__.py b/dragonmapper/__init__.py index <HASH>..<HASH> 100644 --- a/dragonmapper/__init__.py +++ b/dragonmapper/__init__.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -__version__ = '0.2.1' +__version__ = '0.2.2'
Bumps version to <I>.
py
diff --git a/GPy/core/parameterization/index_operations.py b/GPy/core/parameterization/index_operations.py index <HASH>..<HASH> 100644 --- a/GPy/core/parameterization/index_operations.py +++ b/GPy/core/parameterization/index_operations.py @@ -95,6 +95,9 @@ class ParameterIndexOperations(object): def __getitem__(se...
delete dangling fixed attribute in constraints
py
diff --git a/parsl/executors/swift_t.py b/parsl/executors/swift_t.py index <HASH>..<HASH> 100644 --- a/parsl/executors/swift_t.py +++ b/parsl/executors/swift_t.py @@ -62,9 +62,8 @@ def runner(incoming_q, outgoing_q): Returns the serialized result or exception. ''' - all_names = dir(__builtins...
Pass `__builtins__` to `exec` This is needed for python apps expecting the builtins to be there. Fixes #<I>.
py
diff --git a/bokeh/models/tests/test_annotations.py b/bokeh/models/tests/test_annotations.py index <HASH>..<HASH> 100644 --- a/bokeh/models/tests/test_annotations.py +++ b/bokeh/models/tests/test_annotations.py @@ -55,15 +55,6 @@ def check_line(annotation): assert annotation.line_cap == LineCap.butt assert an...
Add shade bound tests to unittests
py
diff --git a/pymatgen/io/vasp/outputs.py b/pymatgen/io/vasp/outputs.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/outputs.py +++ b/pymatgen/io/vasp/outputs.py @@ -3727,6 +3727,8 @@ class Xdatcar: else: if ionicstep_start <= ionicstep_cnt < ionicstep_end: ...
Added a break when reaching the expected number of ionic steps in the reading of an XDATCAR file. Previously, the code would read the whole XDATCAR and just store the structures until ionicstep_end.
py
diff --git a/pandas/core/series.py b/pandas/core/series.py index <HASH>..<HASH> 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1647,7 +1647,7 @@ class _Unstacker(object): # construct the new index if len(self.new_index_levels) == 1: - new_index = Index(self.new_index_l...
BUG: need to select unique groups from level when unstacking into regular index
py
diff --git a/angr/sim_type.py b/angr/sim_type.py index <HASH>..<HASH> 100644 --- a/angr/sim_type.py +++ b/angr/sim_type.py @@ -373,7 +373,7 @@ class SimTypeFixedSizeArray(SimType): def store(self, state, addr, values): for i, val in enumerate(values): - self.elem_type.store(state, addr + i*se...
sim_type: Fix size bits vs bytes issues There were some places where size was assumed to be bytes when it actually should be bits.
py
diff --git a/tests/test_issues.py b/tests/test_issues.py index <HASH>..<HASH> 100644 --- a/tests/test_issues.py +++ b/tests/test_issues.py @@ -21,13 +21,13 @@ def test_issue_11(): assert promise_rejected.get() == "-42" -def identity(x): - return x +# def identity(x): +# return x -def promise_somethi...
Commented issue #9 tests until are better covered by schedulers
py
diff --git a/steam/items.py b/steam/items.py index <HASH>..<HASH> 100644 --- a/steam/items.py +++ b/steam/items.py @@ -576,6 +576,9 @@ class item_attribute: # Workaround until Valve gives sane values try: int(self.get_value()) + # WORKAROUND: There is no type set on this for so...
Workaround untradable after date attribute not having the right type
py
diff --git a/tests/test_distance.py b/tests/test_distance.py index <HASH>..<HASH> 100644 --- a/tests/test_distance.py +++ b/tests/test_distance.py @@ -1912,6 +1912,9 @@ class EditexTestCases(unittest.TestCase): self.assertEqual(editex('neal', 'nihl'), 3) self.assertEqual(editex('nihl', 'neal'), 3) +...
split local variant of editex as a separate test
py
diff --git a/python/wkw/wkw.py b/python/wkw/wkw.py index <HASH>..<HASH> 100644 --- a/python/wkw/wkw.py +++ b/python/wkw/wkw.py @@ -139,11 +139,15 @@ class Dataset: handle = C.dataset_open(root_c) if handle == ffi.NULL: - error_msg = ffi.string(C.get_last_error_msg()) - raise WK...
Python: Factor our method for raising exceptions
py
diff --git a/chess/engine.py b/chess/engine.py index <HASH>..<HASH> 100644 --- a/chess/engine.py +++ b/chess/engine.py @@ -624,9 +624,11 @@ class EngineProtocol(asyncio.SubprocessProtocol, metaclass=abc.ABCMeta): stdin.write(b"\n") def pipe_data_received(self, fd: int, data: Union[bytes, Text]) -> None:...
Fix line decoding when \r\n arrives seperately (fixes #<I>)
py
diff --git a/dallinger/command_line.py b/dallinger/command_line.py index <HASH>..<HASH> 100755 --- a/dallinger/command_line.py +++ b/dallinger/command_line.py @@ -618,13 +618,18 @@ def backup(app): config.get('aws_secret_access_key'), ) - bucket = conn.create_bucket( - app, - location=b...
Use "dallinger" S3 bucket for all backups
py
diff --git a/kubernetes/client/models/v1_projected_volume_source.py b/kubernetes/client/models/v1_projected_volume_source.py index <HASH>..<HASH> 100644 --- a/kubernetes/client/models/v1_projected_volume_source.py +++ b/kubernetes/client/models/v1_projected_volume_source.py @@ -99,9 +99,6 @@ class V1ProjectedVolumeSour...
tolerate null sources on projected volumes See issue <I> Removes the false requirement that sources be a populated list
py
diff --git a/pywal/colors.py b/pywal/colors.py index <HASH>..<HASH> 100644 --- a/pywal/colors.py +++ b/pywal/colors.py @@ -132,12 +132,9 @@ def terminal_sexy_to_wal(data): data["colors"] = {} data["special"] = {} - for i in range(0, 16): - data["colors"]["color%s" % i] = data["color"][i if i < 9 e...
themes: Add support for terminal.sexy json
py
diff --git a/backtrader/lineseries.py b/backtrader/lineseries.py index <HASH>..<HASH> 100644 --- a/backtrader/lineseries.py +++ b/backtrader/lineseries.py @@ -82,6 +82,9 @@ class Lines(object): return len(self.lines[0]) def size(self): + return len(self.lines) - self._getlinesextra() + + def f...
Lines size correction and fullsize addition - Lines.size method returns only the number of "named" lines - fullsize method returns the total number of lines
py
diff --git a/horizon/workflows/views.py b/horizon/workflows/views.py index <HASH>..<HASH> 100644 --- a/horizon/workflows/views.py +++ b/horizon/workflows/views.py @@ -90,6 +90,8 @@ class WorkflowView(generic.TemplateView): next = self.request.REQUEST.get(workflow.redirect_param_name, None) context['RE...
Always pass 'modal' context variable to workflow template Workflow templates rely on 'modal' context variable to be true for modal dialogs. Still, when rendering from WorkflowView, this variable is missing. This causes e.g. absent cancel and close buttons in flavor creating dialog (and also affects Tuskar UI). Change...
py
diff --git a/rtv/objects.py b/rtv/objects.py index <HASH>..<HASH> 100644 --- a/rtv/objects.py +++ b/rtv/objects.py @@ -33,9 +33,9 @@ def patch_webbrowser(): https://bugs.python.org/issue31348 """ - # Add the suckless.org surf browser, which isn't in the python - # standard library + # Add support f...
Adding support for the vimb browser
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,15 @@ _faststat = Extension('_faststat', sources=['faststat/_faststat.c']) setup( name='faststat', version='0.1', + author="Kurt Rose", + author_email="kurt@kurtrose.com", description='fast online...
updating setup.py for cheeseshop registration
py
diff --git a/test/test_bregman.py b/test/test_bregman.py index <HASH>..<HASH> 100644 --- a/test/test_bregman.py +++ b/test/test_bregman.py @@ -347,4 +347,4 @@ def test_screenkhorn(): x = rng.randn(n, 2) M = ot.dist(x, x) - G_screen = ot.bregman.screenkhorn(a, b, M, 1e-1) \ No newline at end of file + ...
fix simple test of screenkhorn in test/
py
diff --git a/djangocms_text_ckeditor/models.py b/djangocms_text_ckeditor/models.py index <HASH>..<HASH> 100644 --- a/djangocms_text_ckeditor/models.py +++ b/djangocms_text_ckeditor/models.py @@ -41,9 +41,6 @@ class AbstractText(CMSPlugin): self.body = force_text(self.body) def save(self, *args, **kwargs...
Fixes database error on save(). update_fields should not be used if the object has not been saved once.
py
diff --git a/build.py b/build.py index <HASH>..<HASH> 100644 --- a/build.py +++ b/build.py @@ -28,6 +28,7 @@ def set_properties(project): @init def set_properties(project): + project.set_property('integrationtest_inherit_environment', True) project.set_property('install_dependencies_upgrade', True) pro...
Ensure integration tests use the correct python version When using a virtualenv configured with python3, the integration tests still use the system's default version (python2 in my case), unless the environment variables are passed to the integration tests. This was hiding a bug that only occurred with python3 and onl...
py
diff --git a/hszinc/parser.py b/hszinc/parser.py index <HASH>..<HASH> 100644 --- a/hszinc/parser.py +++ b/hszinc/parser.py @@ -32,7 +32,7 @@ NUMBER_RE = re.compile(r'^n:(-?\d+(:?\.\d+)?(:?[eE][+\-]?\d+)?)(:? (.*))?$') REF_RE = re.compile(r'^r:([a-zA-Z0-9_:\-.~]+)(:? (.*))?$') STR_RE = re.compile(r'^s:(.*)...
parser: Allow JSON time objects without seconds.
py
diff --git a/openquake/server/db/actions.py b/openquake/server/db/actions.py index <HASH>..<HASH> 100644 --- a/openquake/server/db/actions.py +++ b/openquake/server/db/actions.py @@ -21,7 +21,6 @@ import operator from datetime import datetime from openquake.hazardlib import valid -from openquake.commonlib import da...
Not importing commonlib.datastore into db.actions
py
diff --git a/concurrency/tests/contrib_admin.py b/concurrency/tests/contrib_admin.py index <HASH>..<HASH> 100644 --- a/concurrency/tests/contrib_admin.py +++ b/concurrency/tests/contrib_admin.py @@ -19,7 +19,7 @@ INSTALLED_APPS = ( 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.static...
removed django.contrib.admindocs from test INSTALLED_APPS
py
diff --git a/heartbeat/heartbeat.py b/heartbeat/heartbeat.py index <HASH>..<HASH> 100644 --- a/heartbeat/heartbeat.py +++ b/heartbeat/heartbeat.py @@ -107,13 +107,12 @@ class Heartbeat(object): return h.hexdigest() - def gen_seeds(self, num, root_seed): - """ - Deterministically generate l...
Refactor method name, turn into static method; fix doc string for sphinx/restucturedtext compat
py
diff --git a/dql/cli.py b/dql/cli.py index <HASH>..<HASH> 100644 --- a/dql/cli.py +++ b/dql/cli.py @@ -315,9 +315,12 @@ class DQLClient(cmd.Cmd): def _run_cmd(self, command): """ Run a DQL command """ results = self.engine.execute(command) + printable_types = six.string_types + six.integer...
Print integer results from engine (closes #1)
py
diff --git a/html4strict.py b/html4strict.py index <HASH>..<HASH> 100644 --- a/html4strict.py +++ b/html4strict.py @@ -128,11 +128,6 @@ class s(html_tag): valid = COMMON class u(html_tag): valid = COMMON class hr(single): valid = COMMON -class frameset(html_tag): valid = ['rows', 'cols', 'onload', 'onunload'] + COM...
Removed frame elements from HTML <I> strict.
py
diff --git a/py/selenium/webdriver/firefox/firefox_profile.py b/py/selenium/webdriver/firefox/firefox_profile.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/firefox/firefox_profile.py +++ b/py/selenium/webdriver/firefox/firefox_profile.py @@ -91,7 +91,7 @@ class FirefoxProfile(object): "browser.dom...
DavidBurns setting ASSUME_UNTRUSTED_ISSUER to true to align with other bindings r<I>
py
diff --git a/src/protect/binding_prediction/common.py b/src/protect/binding_prediction/common.py index <HASH>..<HASH> 100644 --- a/src/protect/binding_prediction/common.py +++ b/src/protect/binding_prediction/common.py @@ -239,7 +239,7 @@ def _process_sturniolo_mhcii(mhc_file, normal=False): continue ...
Fix index in _process_sturniolo_mhcii (resolves #<I>) resolves #<I> Correct index was 4, not 5 for pept
py
diff --git a/sqlserver/check.py b/sqlserver/check.py index <HASH>..<HASH> 100644 --- a/sqlserver/check.py +++ b/sqlserver/check.py @@ -57,7 +57,7 @@ class SQLConnectionError(Exception): pass -class SqlserverCheck(AgentCheck): +class SQLServer(AgentCheck): SERVICE_CHECK_NAME = 'sqlserver.can_connect' ...
[sqlserver] renaming check for consistency with dd-agent.
py
diff --git a/codetransformer/code.py b/codetransformer/code.py index <HASH>..<HASH> 100644 --- a/codetransformer/code.py +++ b/codetransformer/code.py @@ -1,4 +1,4 @@ -from dis import Bytecode +from dis import Bytecode, dis from enum import IntEnum, unique from functools import reduce import operator as op @@ -608,3...
ENH: adds dis method to code objects
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1921,7 +1921,7 @@ def _get_expr_syms(expr): e0 = expr[0] - if e0 == OR or e0 == AND: + if e0 == AND or e0 == OR: for term in expr[1]: rec(term) @@...
Move some ANDs after ORs for consistency.
py
diff --git a/dev/prepare-distribution.py b/dev/prepare-distribution.py index <HASH>..<HASH> 100755 --- a/dev/prepare-distribution.py +++ b/dev/prepare-distribution.py @@ -34,6 +34,7 @@ def main(): targets = [(os.path.join(proj_path, "tmpve3.7"), "python")] os.environ["CASS_DRIVER_NO_CYTHON"] = "1" from e...
Adjusted prepare-distribution.py.
py
diff --git a/examples/happenings.py b/examples/happenings.py index <HASH>..<HASH> 100644 --- a/examples/happenings.py +++ b/examples/happenings.py @@ -2,7 +2,7 @@ import nationstates from nationstates import Shard from pprint import pprint -api = nationstates.Api("Example for Nationstates API for python") +api = na...
Updated Example Happenings.py
py
diff --git a/spambl.py b/spambl.py index <HASH>..<HASH> 100644 --- a/spambl.py +++ b/spambl.py @@ -126,21 +126,21 @@ class BaseDNSBLClient(object): raise NotImplementedError('The method is not implemented') - def add_dnsbl(self, dnsbl_service): + def add_dnsbl(self, dnsbl): ''' C...
Rename an argument of a method Renames dnsbl_service to dnsbl in add_dnsbl method of BaseDNSBLService
py
diff --git a/hdl_toolkit/hdlObjects/types/bitsVal.py b/hdl_toolkit/hdlObjects/types/bitsVal.py index <HASH>..<HASH> 100644 --- a/hdl_toolkit/hdlObjects/types/bitsVal.py +++ b/hdl_toolkit/hdlObjects/types/bitsVal.py @@ -237,7 +237,7 @@ class BitsVal(EventCapableVal): firstBitNo = key.val[1].val ...
fix vld mask in slice by SliceVal
py
diff --git a/consul/base.py b/consul/base.py index <HASH>..<HASH> 100644 --- a/consul/base.py +++ b/consul/base.py @@ -537,8 +537,7 @@ class Consul(object): http=None, timeout=None, notes=None, - service_id=None, - serv...
Removing ServiceName per discussion in python-consul/pull/<I>
py
diff --git a/labelImg.py b/labelImg.py index <HASH>..<HASH> 100755 --- a/labelImg.py +++ b/labelImg.py @@ -1101,14 +1101,11 @@ class MainWindow(QMainWindow, WindowMixin): self.setDirty() def deleteSelectedShape(self): - yes, no = QMessageBox.Yes, QMessageBox.No - msg = u'You are about ...
Remove confirmation when deleting a ROI
py
diff --git a/src/python/dxpy/scripts/dx_build_app.py b/src/python/dxpy/scripts/dx_build_app.py index <HASH>..<HASH> 100755 --- a/src/python/dxpy/scripts/dx_build_app.py +++ b/src/python/dxpy/scripts/dx_build_app.py @@ -306,7 +306,7 @@ def _check_file_syntax(filename, override_lang=None, enforce=True): Raises DXSyn...
Windows compatibility for Python syntax checks.
py
diff --git a/phonopy/cui/phonopy_argparse.py b/phonopy/cui/phonopy_argparse.py index <HASH>..<HASH> 100644 --- a/phonopy/cui/phonopy_argparse.py +++ b/phonopy/cui/phonopy_argparse.py @@ -396,7 +396,7 @@ def get_parser(): "--readfc-format", dest="readfc_format", help="Force constants input file-format"...
Option name --read-qpointsfc is wrong. Fixed to be--read-qpoints.
py
diff --git a/_pydev_runfiles/pydev_runfiles.py b/_pydev_runfiles/pydev_runfiles.py index <HASH>..<HASH> 100644 --- a/_pydev_runfiles/pydev_runfiles.py +++ b/_pydev_runfiles/pydev_runfiles.py @@ -498,7 +498,7 @@ class PydevTestRunner(object): imports = [(s, self.__importify(s)) for s in pyfiles] sys_...
pyunit runner fix on removing duplicates from sys_path
py
diff --git a/tests/unit/algorithms/ReactiveTransportTest.py b/tests/unit/algorithms/ReactiveTransportTest.py index <HASH>..<HASH> 100644 --- a/tests/unit/algorithms/ReactiveTransportTest.py +++ b/tests/unit/algorithms/ReactiveTransportTest.py @@ -27,6 +27,7 @@ class ReactiveTransportTest: ...
BUG: revert settings dict after modification in ReactiveTransportTest
py
diff --git a/basil/RL/StdRegister.py b/basil/RL/StdRegister.py index <HASH>..<HASH> 100644 --- a/basil/RL/StdRegister.py +++ b/basil/RL/StdRegister.py @@ -43,6 +43,7 @@ class StdRegister(RegisterLayer): self._bv = BitLogic(self._conf['size']) def init(self): + super(StdRegister, self).init() ...
BUG: needs to be inherited from RL base class
py
diff --git a/treeherder/etl/taskcluster_pulse/handler.py b/treeherder/etl/taskcluster_pulse/handler.py index <HASH>..<HASH> 100644 --- a/treeherder/etl/taskcluster_pulse/handler.py +++ b/treeherder/etl/taskcluster_pulse/handler.py @@ -272,7 +272,9 @@ async def handleTaskException(pushInfo, task, message): retu...
Jobs cancelled before starting do not have a started time
py
diff --git a/spacy/language.py b/spacy/language.py index <HASH>..<HASH> 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -17,9 +17,12 @@ from .tagger import Tagger from .lemmatizer import Lemmatizer from .syntax.parser import get_templates from .syntax import nonproj + from .pipeline import NeuralDependenc...
Add factory for experimental SimilarityHook component
py