diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/haphilipsjs/__init__.py b/haphilipsjs/__init__.py index <HASH>..<HASH> 100644 --- a/haphilipsjs/__init__.py +++ b/haphilipsjs/__init__.py @@ -114,15 +114,12 @@ class PhilipsTV(object): self.channel_id = id def getChannelLists(self): - if self.api_version >= '6': - r = ...
Get channel list is working in API version 5.
py
diff --git a/test/test_mail.py b/test/test_mail.py index <HASH>..<HASH> 100644 --- a/test/test_mail.py +++ b/test/test_mail.py @@ -468,6 +468,9 @@ class UnitTests(unittest.TestCase): json.dumps(expected_result, sort_keys=True) ) + def test_asm_display_group_limit(self): + self.assertRa...
Add a Mail/ASM unit test Do we really need this? It makes Codecov happy though.
py
diff --git a/sirmordred/task_panels.py b/sirmordred/task_panels.py index <HASH>..<HASH> 100644 --- a/sirmordred/task_panels.py +++ b/sirmordred/task_panels.py @@ -236,6 +236,7 @@ class TaskPanels(Task): :param strict: only upload a dashboard if it is newer than the one already existing """ es...
[task_panels] Align task panels with kidash After the latest modification on kidash (<URL>), task_panels needs to change accordingly.
py
diff --git a/master/buildbot/changes/bitbucket.py b/master/buildbot/changes/bitbucket.py index <HASH>..<HASH> 100644 --- a/master/buildbot/changes/bitbucket.py +++ b/master/buildbot/changes/bitbucket.py @@ -84,11 +84,10 @@ class BitbucketPullrequestPoller(base.PollingChangeSource, PullRequestMixin): "Bitbu...
changes: Use inlineCallbacks in poll() of bitbucket poller
py
diff --git a/bokeh/charts/glyphs.py b/bokeh/charts/glyphs.py index <HASH>..<HASH> 100644 --- a/bokeh/charts/glyphs.py +++ b/bokeh/charts/glyphs.py @@ -433,7 +433,7 @@ class BoxGlyph(AggregateGlyph): def __init__(self, label, values, outliers=True, **kwargs): width = kwargs.pop('width', None) - ba...
charts/glyphs.py change a Property.default to Property.class_default() the API has changed, update this usage.
py
diff --git a/spyder/widgets/findinfiles.py b/spyder/widgets/findinfiles.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/findinfiles.py +++ b/spyder/widgets/findinfiles.py @@ -557,14 +557,15 @@ class FindOptions(QWidget): file_search = self.path_selection_combo.is_file_search() path = self.path_se...
findinfiles: Translate exclude pattern before validation Move the code that translates a exclude pattern outside the block that that validates the pattern. This way the code is easier to follow, with the translation and validation steps clearly separated from each other.
py
diff --git a/chalice/app.py b/chalice/app.py index <HASH>..<HASH> 100644 --- a/chalice/app.py +++ b/chalice/app.py @@ -907,12 +907,12 @@ class Chalice(_HandlerRegistration, DecoratorAPI): status_code=e.STATUS_CODE) except Exception: headers = {} + self.l...
Always log uncaught exceptions as level ERROR
py
diff --git a/subliminal/cli.py b/subliminal/cli.py index <HASH>..<HASH> 100644 --- a/subliminal/cli.py +++ b/subliminal/cli.py @@ -317,8 +317,7 @@ def download(obj, provider, refiner, language, age, directory, encoding, single, # directories if os.path.isdir(p): try: - ...
Fix call to scan_videos in cli
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -191,7 +191,7 @@ latex_elements = { # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'OAuthLib.tex', u'OAuthLib Documentation', - u'Idan Gazi...
Replace latest occurences of Gazit w/ new community
py
diff --git a/python/ray/services.py b/python/ray/services.py index <HASH>..<HASH> 100644 --- a/python/ray/services.py +++ b/python/ray/services.py @@ -1148,7 +1148,7 @@ def start_plasma_store(node_ip_address, objstore_memory = int(system_memory * 0.8) # Start the Plasma store. logger.info("Starti...
[core] Improve logging message when plasma store is started. (#<I>) Improve logging message when plasma store is started.
py
diff --git a/jsonfeed/__version__.py b/jsonfeed/__version__.py index <HASH>..<HASH> 100644 --- a/jsonfeed/__version__.py +++ b/jsonfeed/__version__.py @@ -1,3 +1,3 @@ -VERSION = (0, 1, 2) +VERSION = (0, 1, 3) __version__ = '.'.join(map(str, VERSION))
:bookmark: Release version <I>.
py
diff --git a/run_tests.py b/run_tests.py index <HASH>..<HASH> 100644 --- a/run_tests.py +++ b/run_tests.py @@ -5,19 +5,20 @@ import sys from optparse import OptionParser import django - from settings import configure_settings # Configure the default settings configure_settings() -django.setup() + # Django...
run django setup in run_tests
py
diff --git a/tests/test_dependency_resolution.py b/tests/test_dependency_resolution.py index <HASH>..<HASH> 100644 --- a/tests/test_dependency_resolution.py +++ b/tests/test_dependency_resolution.py @@ -68,6 +68,8 @@ class ContainerDependencyTest(unittest.TestCase): f_dep = self.r_res.get_container_dependencie...
Fix test to consider unordered dependencies.
py
diff --git a/noxfile.py b/noxfile.py index <HASH>..<HASH> 100644 --- a/noxfile.py +++ b/noxfile.py @@ -55,7 +55,7 @@ def docs(session, batch_run: bool = False): """Build the documentation or serve documentation interactively.""" shutil.rmtree(Path("docs").joinpath("_build"), ignore_errors=True) session.i...
Update list of directories for looking for files changes in interactive documentation build
py
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -1846,8 +1846,8 @@ class HTTPServer: @staticmethod def resolve_real_bind_addr(socket_): """Retrieve actual bind addr from bound socket.""" - # TODO: keep requested ...
Turn TODO comment into FIXME
py
diff --git a/rollbar/contrib/django/middleware.py b/rollbar/contrib/django/middleware.py index <HASH>..<HASH> 100644 --- a/rollbar/contrib/django/middleware.py +++ b/rollbar/contrib/django/middleware.py @@ -17,6 +17,7 @@ import sys import rollbar from django.core.exceptions import MiddlewareNotUsed +from django.cor...
add context for errors in django middleware. Uses the url_name that was specified when building the url rules in urls.py @brianr
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -1910,7 +1910,7 @@ def download(*packages): to_purge = [] for pkg in packages: to_purge.extend([os.path.join(CACHE_DIR, x) - fo...
Don't run os.listdir in every loop iteration Use the cached_pkgs variable instead so you only run it once.
py
diff --git a/arctic/chunkstore/chunkstore.py b/arctic/chunkstore/chunkstore.py index <HASH>..<HASH> 100644 --- a/arctic/chunkstore/chunkstore.py +++ b/arctic/chunkstore/chunkstore.py @@ -39,8 +39,6 @@ class ChunkStore(object): self._collection.create_index([('symbol', pymongo.HASHED)], ...
Use symbol - SHA index rather than SHA index
py
diff --git a/redis/connection.py b/redis/connection.py index <HASH>..<HASH> 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -1,18 +1,21 @@ import errno -import os import socket from itertools import chain, imap from redis.exceptions import ConnectionError, ResponseError, InvalidResponse class Pytho...
make sure the class instance always has an ._fp attribute in case disconnect gets called before connect
py
diff --git a/pyoko/manage.py b/pyoko/manage.py index <HASH>..<HASH> 100644 --- a/pyoko/manage.py +++ b/pyoko/manage.py @@ -84,7 +84,7 @@ class FlushDB(Command): registry = import_module('pyoko.model').model_registry model_name = self.manager.args.model if model_name != 'all': - mod...
added comma separated model list support for flush_db
py
diff --git a/sgp4/__init__.py b/sgp4/__init__.py index <HASH>..<HASH> 100644 --- a/sgp4/__init__.py +++ b/sgp4/__init__.py @@ -227,6 +227,7 @@ https://pypi.org/project/sgp4/1.4/ Changelog --------- +| 2020-? — 2.6 — Added ``export_tle()`` routine. | 2020-03-22 — 2.5 — Gave the new accelerated ``twoline2rv()`` an o...
Start drafting changelog entry for next release
py
diff --git a/fault/verilator_target.py b/fault/verilator_target.py index <HASH>..<HASH> 100644 --- a/fault/verilator_target.py +++ b/fault/verilator_target.py @@ -49,7 +49,7 @@ void check(const char* port, int a, value_t b, int i) {{ std::cerr << port << "=" << b.value << ", "; }} if (!b.is_x && !(a ...
cerr instead of cout
py
diff --git a/cumulusci/tasks/bulkdata/step.py b/cumulusci/tasks/bulkdata/step.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/bulkdata/step.py +++ b/cumulusci/tasks/bulkdata/step.py @@ -429,7 +429,9 @@ class RestApiDmlOperation(BaseDmlOperation): def _convert(rec): result = dict(zip(self.fiel...
Fix handling of stored Booleans for REST DML
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,12 @@ #!/usr/bin/env python import sys, os.path import ConfigParser -from distutils.core import setup + +try: + from setuptools import setup +except: + from distutils.core import setup + setup(name='mmpy', ...
Use setuptools so that we can build an egg.
py
diff --git a/salt/cloud/clouds/nova.py b/salt/cloud/clouds/nova.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/nova.py +++ b/salt/cloud/clouds/nova.py @@ -155,6 +155,9 @@ def __virtual__(): ''' request_log.setLevel(getattr(logging, __opts__.get('requests_log_level', 'warning').upper())) + if get_...
Make sure nova configs are set before checking for dependencies
py
diff --git a/version.py b/version.py index <HASH>..<HASH> 100644 --- a/version.py +++ b/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -version = '1.0.3a1' +version = '1.1.0a1'
Fix version on master (resolves #7)
py
diff --git a/salt/modules/smartos_vmadm.py b/salt/modules/smartos_vmadm.py index <HASH>..<HASH> 100644 --- a/salt/modules/smartos_vmadm.py +++ b/salt/modules/smartos_vmadm.py @@ -143,6 +143,20 @@ def init(**kwargs): raise CommandExecutionError('Missing mandatory arguments') +def _call_vmadm(cmd): + ''' ...
Add standard vmadm call for all
py
diff --git a/examples/pmc.py b/examples/pmc.py index <HASH>..<HASH> 100644 --- a/examples/pmc.py +++ b/examples/pmc.py @@ -6,7 +6,6 @@ adapt the proposal density using the pmc algorithm. from __future__ import print_function import numpy as np import pypmc -from pypmc.tools._probability_densities import normalized_p...
[examples/pmc] deleted unneccesary import
py
diff --git a/instaLooter/core.py b/instaLooter/core.py index <HASH>..<HASH> 100755 --- a/instaLooter/core.py +++ b/instaLooter/core.py @@ -51,8 +51,8 @@ class InstaLooter(object): if 'date' in m else None, 'width': lambda m: m.get('dimensions', dict()).get('width'), 'heigth': lambda m: m....
Fix likescount and commentscount not being extracted properly
py
diff --git a/tests/test_edist.py b/tests/test_edist.py index <HASH>..<HASH> 100644 --- a/tests/test_edist.py +++ b/tests/test_edist.py @@ -27,6 +27,11 @@ try: except ImportError: from io import StringIO # NOQA +if sys.version_info > (2, 7): + from unittest import skipIf +else: + from unittest2 import ski...
Skip tests that are broken by float repr changes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ if os.environ.get('READTHEDOCS', None) == 'True': setup( name='luigi', - version='2.7.4', + version='2.7.5', description='Workflow mgmgt + task scheduling + dependency resolution', long_d...
Updated to version <I> (#<I>)
py
diff --git a/hdf5storage/utilities.py b/hdf5storage/utilities.py index <HASH>..<HASH> 100644 --- a/hdf5storage/utilities.py +++ b/hdf5storage/utilities.py @@ -587,10 +587,20 @@ def decode_complex(data, complex_names=(None, None)): cnames[1] = s # If the real and imaginary fields were found, construc...
Fixed bug when reading complex numbers where one part is NaN but the other is not.
py
diff --git a/indra/sources/tees/processor.py b/indra/sources/tees/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/tees/processor.py +++ b/indra/sources/tees/processor.py @@ -394,6 +394,21 @@ class TEESProcessor(object): subgraph_nodes.add(node) subgraph_nodes.update(dag.ancestors(G, node)...
Annotations more complete after subgraph bug fix
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( packages=find_packages(), keywords='graph neo4j py2neo model', zip_safe=True, - install_requires=['lucene-querybuilder==0.1.6', 'py2neo==1.4.4', 'pytz==2012g'], + ...
Bump py2neo version
py
diff --git a/tests/gui/widget/test_interface.py b/tests/gui/widget/test_interface.py index <HASH>..<HASH> 100644 --- a/tests/gui/widget/test_interface.py +++ b/tests/gui/widget/test_interface.py @@ -136,7 +136,8 @@ def test_gui_create_folder(monkeypatch): assert gui_interface.create_folder("query", "new_folder", R...
test: fix permission problem account for the fact that /root/not/writable can be writable in a ci setup
py
diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index <HASH>..<HASH> 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -100,7 +100,7 @@ class BaseTransferManagerIntegTest(unittest.TestCase): def wait_object_exists(self, key, extra_args=None): if e...
Increase retries on object exists waiter from 3 to 5
py
diff --git a/hbmqtt/broker.py b/hbmqtt/broker.py index <HASH>..<HASH> 100644 --- a/hbmqtt/broker.py +++ b/hbmqtt/broker.py @@ -236,10 +236,15 @@ class Broker: data = publish_packet.payload.data asyncio.Task(self.broadcast_application_message(client_session, topic_name, data, retained=F...
Delete retained messages when publish data is empty (and RETAIN=1) This fixes Retained message test HBMQTT-<I>
py
diff --git a/invenio_records/tasks/api.py b/invenio_records/tasks/api.py index <HASH>..<HASH> 100644 --- a/invenio_records/tasks/api.py +++ b/invenio_records/tasks/api.py @@ -23,6 +23,7 @@ from __future__ import absolute_import from celery import shared_task from celery.utils.log import get_task_logger +from flask ...
tasks: wrong imports fix * Fixes wrong imports in celery tasks.
py
diff --git a/helper/setupext.py b/helper/setupext.py index <HASH>..<HASH> 100644 --- a/helper/setupext.py +++ b/helper/setupext.py @@ -4,6 +4,11 @@ try: except ImportError: from distutils.core import Command +try: + from functools import reduce +except ImportError: + pass # use the builtin for py 2.x + ...
setupext: Fix usage of ``reduce``. ``reduce`` was moved into ``functools`` in Python 3. It has been available there for some time (e.g., Python <I>) so I switched to importing it and falling back to the builtin if the import fails.
py
diff --git a/examples/src/aws_kms_encrypted_item.py b/examples/src/aws_kms_encrypted_item.py index <HASH>..<HASH> 100644 --- a/examples/src/aws_kms_encrypted_item.py +++ b/examples/src/aws_kms_encrypted_item.py @@ -66,12 +66,11 @@ def encrypt_item(table_name, aws_cmk_id): # Create attribute actions that tells the ...
clean up index identification in item encryptor example
py
diff --git a/command/config.py b/command/config.py index <HASH>..<HASH> 100644 --- a/command/config.py +++ b/command/config.py @@ -148,10 +148,13 @@ class config (Command): libraries, library_dirs, lang): (src, obj) = self._compile(body, headers, include_dirs, lang) prog = os.path.spli...
[Patch #<I> from twburton] Add executable extension, needed to get the program name right on Win<I>
py
diff --git a/src/cr/cube/crunch_cube.py b/src/cr/cube/crunch_cube.py index <HASH>..<HASH> 100644 --- a/src/cr/cube/crunch_cube.py +++ b/src/cr/cube/crunch_cube.py @@ -222,7 +222,7 @@ class CrunchCube(object): slice_mask = np.logical_or(rows_pruned, cols_pruned) # 0 stands for row dim (it's i...
[#<I>]: Fix after rebase
py
diff --git a/rollyourown/seo/admin.py b/rollyourown/seo/admin.py index <HASH>..<HASH> 100644 --- a/rollyourown/seo/admin.py +++ b/rollyourown/seo/admin.py @@ -72,10 +72,21 @@ def register_seo_admin(admin_site, metadata_class): class ModelInstanceAdmin(model_instance_admin): pass - admin_site.register...
Fixed #<I>. Already registered exception is swallowed by system.
py
diff --git a/data/features/features_csv_to_dict.py b/data/features/features_csv_to_dict.py index <HASH>..<HASH> 100755 --- a/data/features/features_csv_to_dict.py +++ b/data/features/features_csv_to_dict.py @@ -91,7 +91,8 @@ def main(argv): keyline = ifile.readline().strip().split(',')[first_col:last_col] f...
added support for blank lines (and trimming comments) in the source CSV added a line between the two dicts
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ requirements = [ test_requirements = [ 'scipy', 'numpy>=1.16.4', 'pandas', - 'python-box', 'setuptools', 'pyyaml>=4.2b1' + 'python-box', 'setuptools', 'ruamel.yaml' 'matplotlib', 'lmfit', 'pyo...
try ruamel.yaml - third iteration
py
diff --git a/django_productline/tasks.py b/django_productline/tasks.py index <HASH>..<HASH> 100644 --- a/django_productline/tasks.py +++ b/django_productline/tasks.py @@ -66,6 +66,7 @@ def pre_context_deploy(): Generates the context. Refine this task and perform actions that are necessary before the context i...
added status print for task pre_context_deploy
py
diff --git a/geomet/tests/wkt_test.py b/geomet/tests/wkt_test.py index <HASH>..<HASH> 100644 --- a/geomet/tests/wkt_test.py +++ b/geomet/tests/wkt_test.py @@ -23,18 +23,18 @@ class PointTestCase(unittest.TestCase): def test_dumps_point_3d(self): # Test for an XYZ/XYM Point: - pt = dict(type='Poin...
tests/wkt_test: Added some negative number cases to point tests.
py
diff --git a/sos/plugins/rhui.py b/sos/plugins/rhui.py index <HASH>..<HASH> 100644 --- a/sos/plugins/rhui.py +++ b/sos/plugins/rhui.py @@ -22,7 +22,11 @@ class Rhui(Plugin, RedHatPlugin): files = [rhui_debug_path] def setup(self): - if self.is_installed("pulp-cds"): + cds_installed = [ + ...
[rhui] Fix detection of CDS for RHUI3 Detection of CDS node on RHUI 3 cant rely on deprecated pulp-cds package but rather on rhui-mirrorlist one. Resolves: #<I>
py
diff --git a/d1_common_python/src/setup.py b/d1_common_python/src/setup.py index <HASH>..<HASH> 100755 --- a/d1_common_python/src/setup.py +++ b/d1_common_python/src/setup.py @@ -39,8 +39,6 @@ def main(): install_requires=[ 'iso8601 == 0.1.11', 'pyxb == 1.2.5', - 'requests == 2.11.1', - 'ca...
Remove Requests dependency from d1_common
py
diff --git a/gpflow/likelihoods.py b/gpflow/likelihoods.py index <HASH>..<HASH> 100644 --- a/gpflow/likelihoods.py +++ b/gpflow/likelihoods.py @@ -492,7 +492,6 @@ class SwitchedLikelihood(Likelihood): # split up the arguments into chunks corresponding to the relevant likelihoods args = zip(*[tf.dyna...
Revert changes in "likelihood.py"
py
diff --git a/modin/core/io/text/text_file_dispatcher.py b/modin/core/io/text/text_file_dispatcher.py index <HASH>..<HASH> 100644 --- a/modin/core/io/text/text_file_dispatcher.py +++ b/modin/core/io/text/text_file_dispatcher.py @@ -23,7 +23,6 @@ from modin.core.storage_formats.pandas.utils import compute_chunksize from...
FEAT-#<I>: Support reading gzipped fwf. (#<I>)
py
diff --git a/redbeat/schedulers.py b/redbeat/schedulers.py index <HASH>..<HASH> 100644 --- a/redbeat/schedulers.py +++ b/redbeat/schedulers.py @@ -83,7 +83,7 @@ class RedBeatConfig(object): self.key_prefix = self.either_or('redbeat_key_prefix', 'redbeat:') self.schedule_key = self.key_prefix + ':sched...
Look for a redbeat_lock_key config value as documented.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,17 +1,16 @@ import os from setuptools import setup -setup_dir = os.path.dirname(os.path.abspath(__file__)) -with open(os.path.join(setup_dir, "README.rst")) as readme: +with open(os.path.join(os.path.dirname(__file__)...
hotfix to update the setup.py path issue
py
diff --git a/graphene_sqlalchemy/fields.py b/graphene_sqlalchemy/fields.py index <HASH>..<HASH> 100644 --- a/graphene_sqlalchemy/fields.py +++ b/graphene_sqlalchemy/fields.py @@ -28,7 +28,7 @@ class SQLAlchemyConnectionField(ConnectionField): _len = iterable.count() else: _len = len(i...
Set iterable to returned connection of connection_resolver.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ setup( ], install_requires=[ - 'gmusicapi >= 6.0.0', # Mobileclient Oauth login. + 'gmusicapi >= 7.0.0', # New Music Manager upload endpoint. 'mutagen' ],
Bump required gmusicapi version
py
diff --git a/lib/webinterface_layout.py b/lib/webinterface_layout.py index <HASH>..<HASH> 100644 --- a/lib/webinterface_layout.py +++ b/lib/webinterface_layout.py @@ -34,6 +34,7 @@ from invenio.websession_webinterface import WebInterfaceYourAccountPages from invenio.webalert_webinterface import WebInterfaceYourAlertsP...
WebMessage module is now using the new URL style. The yourmessages links updated everywhere in the codebase. Updated PO source files and INSTALL guide to reflect these changes.
py
diff --git a/tonnikala/ir/nodes.py b/tonnikala/ir/nodes.py index <HASH>..<HASH> 100644 --- a/tonnikala/ir/nodes.py +++ b/tonnikala/ir/nodes.py @@ -6,8 +6,10 @@ import re __docformat__ = "epytext" try: + # noinspection PyUnresolvedReferences unicode -except: + +except NameError: unicode = str @@ -14...
fix reference to instance variable, too broad except
py
diff --git a/tilequeue/wof.py b/tilequeue/wof.py index <HASH>..<HASH> 100644 --- a/tilequeue/wof.py +++ b/tilequeue/wof.py @@ -1058,7 +1058,7 @@ class WofProcessor(object): 'Found %d expired tiles' % len(expired_coord_ints)) else: self.logger.info('No diffs found, not generating e...
Fixed type error - expired coord ints should be a set, not a tuple.
py
diff --git a/src/you_get/common.py b/src/you_get/common.py index <HASH>..<HASH> 100755 --- a/src/you_get/common.py +++ b/src/you_get/common.py @@ -342,14 +342,19 @@ def get_location(url): return response.geturl() def urlopen_with_retry(*args, **kwargs): - for i in range(2): + retry_time = 3 + for i in ...
fix urlopen_with_retry may return None
py
diff --git a/src/transformers/tokenization_utils_base.py b/src/transformers/tokenization_utils_base.py index <HASH>..<HASH> 100644 --- a/src/transformers/tokenization_utils_base.py +++ b/src/transformers/tokenization_utils_base.py @@ -2604,7 +2604,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin): ...
Correct docstring. (#<I>) Related issue: <URL>
py
diff --git a/phy/cluster/tests/test_session.py b/phy/cluster/tests/test_session.py index <HASH>..<HASH> 100644 --- a/phy/cluster/tests/test_session.py +++ b/phy/cluster/tests/test_session.py @@ -393,14 +393,15 @@ def test_session_automatic(session, spike_ids): assert metadata['klustakwik_num_starting_clusters'] ==...
WIP: fixing detect_spikes test.
py
diff --git a/custodian/nwchem/handlers.py b/custodian/nwchem/handlers.py index <HASH>..<HASH> 100644 --- a/custodian/nwchem/handlers.py +++ b/custodian/nwchem/handlers.py @@ -72,11 +72,10 @@ class NwchemErrorHandler(ErrorHandler, MSONable): nwi.tasks.pop(self.ntasks - 1) else: ...
Better nocgmin fix for freq calcs.
py
diff --git a/danceschool/core/forms.py b/danceschool/core/forms.py index <HASH>..<HASH> 100644 --- a/danceschool/core/forms.py +++ b/danceschool/core/forms.py @@ -955,9 +955,20 @@ class RefundForm(forms.ModelForm): raise ValidationError('ID not in cleaned data') if summed_refunds != total: - ...
Added more information to refund form error codes.
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -1578,6 +1578,9 @@ class CompositeKey(object): for field, value in zip(self.field_names, other)] return reduce(operator.and_, expressions) + def __ne__(self, other): + return ~(...
Negation for composite keys. Fixes #<I>.
py
diff --git a/dallinger/experiment.py b/dallinger/experiment.py index <HASH>..<HASH> 100644 --- a/dallinger/experiment.py +++ b/dallinger/experiment.py @@ -49,6 +49,9 @@ def exp_class_working_dir(meth): class Experiment(object): """Define the structure of an experiment.""" app_id = None + # Optional Redis ...
Document channel and background_tasks, and add a default null implementation of send()
py
diff --git a/djangosaml2/utils.py b/djangosaml2/utils.py index <HASH>..<HASH> 100644 --- a/djangosaml2/utils.py +++ b/djangosaml2/utils.py @@ -52,7 +52,12 @@ def get_hidden_form_inputs(html): """ Extracts name/value pairs from hidden input tags in an html form.""" pairs = dict() tree = ElementTree.fromst...
Switch to a using a feature detection model to choose either iter or getiterator
py
diff --git a/spikeextractors/extractors/neoextractors/__init__.py b/spikeextractors/extractors/neoextractors/__init__.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/neoextractors/__init__.py +++ b/spikeextractors/extractors/neoextractors/__init__.py @@ -2,8 +2,5 @@ from .plexonextractor import PlexonRe...
resolved conflict from axonarawio and upstream master
py
diff --git a/pandas/tests/arrays/categorical/test_constructors.py b/pandas/tests/arrays/categorical/test_constructors.py index <HASH>..<HASH> 100644 --- a/pandas/tests/arrays/categorical/test_constructors.py +++ b/pandas/tests/arrays/categorical/test_constructors.py @@ -3,6 +3,8 @@ from datetime import datetime import...
TST: Add test for categorical with str and tuples (#<I>) The bug is not present any more. closes #<I>
py
diff --git a/tensorboardX/summary.py b/tensorboardX/summary.py index <HASH>..<HASH> 100644 --- a/tensorboardX/summary.py +++ b/tensorboardX/summary.py @@ -373,8 +373,7 @@ def audio(tag, tensor, sample_rate=44100): Wave_write.setsampwidth(2) Wave_write.setframerate(sample_rate) tensor_enc = b'' - for v...
Avoid call to struct.pack in loop in audio() (#<I>) Speeds up by 2x for 1 sec audio, <I>x for 1 min audio
py
diff --git a/backtrader/observers/operations.py b/backtrader/observers/operations.py index <HASH>..<HASH> 100644 --- a/backtrader/observers/operations.py +++ b/backtrader/observers/operations.py @@ -21,24 +21,18 @@ from __future__ import absolute_import, division, print_function, unicode_literals -from .. import L...
Operations Observer rewrote as ObserverPot and sub Observer
py
diff --git a/bcbio/install.py b/bcbio/install.py index <HASH>..<HASH> 100644 --- a/bcbio/install.py +++ b/bcbio/install.py @@ -588,7 +588,7 @@ def _install_kraken_db(datadir, args): db = os.path.join(kraken, base) tooldir = args.tooldir or get_defaults()["tooldir"] requests.packages.urllib3.disable_warni...
Fix urllib usage in install.py `getheader()` is no more in Python 3, use `get()` instead.
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2230,11 +2230,18 @@ class API: Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from. - :param stringify_ids: |stringify_i...
Update and improve documentation for API.no_retweets_friendships
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -81,8 +81,11 @@ class build_ext_subclass(build_ext): print("replacing '-O3' with '-O2' to address " "gcc bug") val='-O2' - CC.append(val) - ...
Remove ccache from compiler args if it is present Otherwise this breaks the configure step.
py
diff --git a/lettuce/django/steps/models.py b/lettuce/django/steps/models.py index <HASH>..<HASH> 100644 --- a/lettuce/django/steps/models.py +++ b/lettuce/django/steps/models.py @@ -152,6 +152,8 @@ def write_models(model, data, field=None): if hasattr(data, 'hashes'): data = hashes_data(data) + writ...
Return written models from write_models
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ setup(name=name, "urwid", "urwid-utils==0.1.0.dev2", "six", - "raccoon", + "raccoon==2.1.5", "blist", "orderedattrdict" ],
Point to raccoon <I> to avoid any incompatibilities.
py
diff --git a/zipline/assets/assets.py b/zipline/assets/assets.py index <HASH>..<HASH> 100644 --- a/zipline/assets/assets.py +++ b/zipline/assets/assets.py @@ -877,7 +877,7 @@ class AssetFinder(object): try: row_value = row[field] # Avoid passing placeholders - ...
BUG: Replaces is-check against string Replaces an " is 'None' " check with " != None "
py
diff --git a/menu/__init__.py b/menu/__init__.py index <HASH>..<HASH> 100644 --- a/menu/__init__.py +++ b/menu/__init__.py @@ -193,7 +193,7 @@ class MenuItem(object): if self.exact_url: if re.match("%s$" % (self.url,), request.path): matched = True - elif re.match(self.url,...
Fixed url matching when reverse_lazy() is used
py
diff --git a/raiden/network/protocol.py b/raiden/network/protocol.py index <HASH>..<HASH> 100644 --- a/raiden/network/protocol.py +++ b/raiden/network/protocol.py @@ -207,7 +207,7 @@ def retry_with_recovery( stop_or_unhealthy.clear() if event_stop.is_set(): - return + ...
fixed pylint issues with return
py
diff --git a/fluo/forms/fields.py b/fluo/forms/fields.py index <HASH>..<HASH> 100644 --- a/fluo/forms/fields.py +++ b/fluo/forms/fields.py @@ -32,7 +32,7 @@ from django.utils import six from django.core.exceptions import ValidationError from django.utils.encoding import smart_text from fluo.utils import json -from f...
use absolute_import in fluo.forms.fields
py
diff --git a/examples/training/train_parser.py b/examples/training/train_parser.py index <HASH>..<HASH> 100644 --- a/examples/training/train_parser.py +++ b/examples/training/train_parser.py @@ -21,7 +21,7 @@ TRAIN_DATA = [ 'heads': [1, 1, 4, 4, 5, 1, 1], 'deps': ['nsubj', 'ROOT', 'compound', 'punct',...
fix: Add missing period in train data
py
diff --git a/galpy/df_src/quasiisothermaldf.py b/galpy/df_src/quasiisothermaldf.py index <HASH>..<HASH> 100644 --- a/galpy/df_src/quasiisothermaldf.py +++ b/galpy/df_src/quasiisothermaldf.py @@ -1583,6 +1583,7 @@ class quasiisothermaldf: vz= vz+numpy.zeros(ngl*ngl) nR= 1 ...
correct shape for vRgl when using a single input for pvz, fixes #<I>
py
diff --git a/R/tests/run.py b/R/tests/run.py index <HASH>..<HASH> 100755 --- a/R/tests/run.py +++ b/R/tests/run.py @@ -216,7 +216,7 @@ class H2OCloudNode: @return: none """ - retries = 30 + retries = 60 while (retries > 0): if (self.terminated): r...
Allow <I> seconds for cloud to build instead of <I>.
py
diff --git a/codecov/__init__.py b/codecov/__init__.py index <HASH>..<HASH> 100644 --- a/codecov/__init__.py +++ b/codecov/__init__.py @@ -660,7 +660,7 @@ def main(*argv, **kwargs): if os.path.exists(opj(os.getcwd(), '.coverage')) and not os.path.exists(opj(os.getcwd(), 'coverage.xml')): i...
Replace `coverage merge` with `coverage combine` Whether "merge" is an old directive or just one mistaken for "combine", `coverage merge` would always fail as coveragepy does not have that as an actual command.
py
diff --git a/git/test/test_util.py b/git/test/test_util.py index <HASH>..<HASH> 100644 --- a/git/test/test_util.py +++ b/git/test/test_util.py @@ -215,7 +215,8 @@ class TestUtils(TestBase): def test_actor_from_string(self): self.assertEqual(Actor._from_string("name"), Actor("name", None)) self.as...
Satisfy flake8 Oh how much I dislike linters that don't format, and a lack of formatter integration into my IDE :(.
py
diff --git a/cumulusci/tasks/salesforce/update_profile.py b/cumulusci/tasks/salesforce/update_profile.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/salesforce/update_profile.py +++ b/cumulusci/tasks/salesforce/update_profile.py @@ -237,10 +237,15 @@ class ProfileGrantAllAccess(MetadataSingleEntityTransformTask, ...
Only remove record type defaults for record types that have a default specified in task options
py
diff --git a/pyciss/io.py b/pyciss/io.py index <HASH>..<HASH> 100644 --- a/pyciss/io.py +++ b/pyciss/io.py @@ -95,6 +95,7 @@ def print_db_stats(): Table with the found data items per type. """ dbroot = get_db_root() + print(f"Database location: {dbroot}") n_ids = len(list(dbroot.glob("[N,W]*"...
print out path for db_stats
py
diff --git a/spyder/plugins/ipythonconsole.py b/spyder/plugins/ipythonconsole.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/ipythonconsole.py +++ b/spyder/plugins/ipythonconsole.py @@ -1556,7 +1556,15 @@ class IPythonConsole(SpyderPluginWidget): stderr = None else: stderr ...
IPython console: Catch any error generated when trying to start kernels
py
diff --git a/zinnia/search.py b/zinnia/search.py index <HASH>..<HASH> 100644 --- a/zinnia/search.py +++ b/zinnia/search.py @@ -19,6 +19,7 @@ from pyparsing import operatorPrecedence from django.db.models import Q from zinnia.models.entry import Entry +from zinnia.models.author import Author from zinnia.settings im...
Make search full compatible with custom User model
py
diff --git a/fedmsg.d/config.py b/fedmsg.d/config.py index <HASH>..<HASH> 100644 --- a/fedmsg.d/config.py +++ b/fedmsg.d/config.py @@ -10,7 +10,7 @@ config = dict( 'org.fedoraproject.dev.compose.branched.rsync.complete', 'org.fedoraproject.dev.compose.rawhide.rsync.complete'], touch_dir...
Add a trailing slash to the end of the output_dir
py
diff --git a/plugins/meaningful.py b/plugins/meaningful.py index <HASH>..<HASH> 100644 --- a/plugins/meaningful.py +++ b/plugins/meaningful.py @@ -87,6 +87,7 @@ def show_current_function_meaningful(): def show_highlighted_function_meaningful(): line = sark.Line() + meaningful_displayed = False for xref ...
Added error messages to the meaningful plugin.
py
diff --git a/acos_client/logutils.py b/acos_client/logutils.py index <HASH>..<HASH> 100644 --- a/acos_client/logutils.py +++ b/acos_client/logutils.py @@ -12,27 +12,30 @@ # License for the specific language governing permissions and limitations # under the License. -import collections import copy CL...
Better way of dealing with mocks in log redaction
py
diff --git a/pyocd/tools/pyocd.py b/pyocd/tools/pyocd.py index <HASH>..<HASH> 100755 --- a/pyocd/tools/pyocd.py +++ b/pyocd/tools/pyocd.py @@ -1671,6 +1671,7 @@ class PyOCDCommander(object): addr = self.convert_value(args[0]) else: addr = self.target.read_core_register('pc') + ...
Commander: 'where' command prints offset from start of symbol.
py
diff --git a/tests/integration/test_session.py b/tests/integration/test_session.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_session.py +++ b/tests/integration/test_session.py @@ -41,7 +41,7 @@ def test_session_with_processing(mini_sentry, relay_with_processing, sessions_co "seq": 42, "...
fix(tests): Update test assertion
py
diff --git a/docker_squash/version.py b/docker_squash/version.py index <HASH>..<HASH> 100644 --- a/docker_squash/version.py +++ b/docker_squash/version.py @@ -1 +1 @@ -version = "1.1.0rc1.dev" +version = "1.0.1rc1"
<I>rc1 release
py
diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py index <HASH>..<HASH> 100644 --- a/ryu/lib/ofctl_v1_2.py +++ b/ryu/lib/ofctl_v1_2.py @@ -50,6 +50,9 @@ def actions_to_str(instructions): actions = [] for instruction in instructions: + if not isinstance(instruction, + ...
ofctl_v1_2.actions_to_str: ignore unknown instructions avoid crashing when the switch happens to have flows with non OFPInstructionActions instructions.
py
diff --git a/webhook2lambda2sqs/terraform_runner.py b/webhook2lambda2sqs/terraform_runner.py index <HASH>..<HASH> 100644 --- a/webhook2lambda2sqs/terraform_runner.py +++ b/webhook2lambda2sqs/terraform_runner.py @@ -234,8 +234,14 @@ class TerraformRunner(object): logger.debug('Running: terraform output') ...
fix outputs for tf <I>.x
py
diff --git a/cli_modules.py b/cli_modules.py index <HASH>..<HASH> 100644 --- a/cli_modules.py +++ b/cli_modules.py @@ -214,12 +214,18 @@ class CLIParameter(object): return result def parseValue(self, value): - if self.typ.endswith('-vector') and self.typ != 'string-vector': + if self.isNum...
extract duplicate code into isNumericVector()
py
diff --git a/tests/python/pants_test/python/test_python_run_integration.py b/tests/python/pants_test/python/test_python_run_integration.py index <HASH>..<HASH> 100644 --- a/tests/python/pants_test/python/test_python_run_integration.py +++ b/tests/python/pants_test/python/test_python_run_integration.py @@ -20,7 +20,7 @@...
Make the test pass for the right reason. TODO: Fix the test so it can tell the difference.
py
diff --git a/delphi/analysis/comparison/ForwardInfluenceBlanket.py b/delphi/analysis/comparison/ForwardInfluenceBlanket.py index <HASH>..<HASH> 100644 --- a/delphi/analysis/comparison/ForwardInfluenceBlanket.py +++ b/delphi/analysis/comparison/ForwardInfluenceBlanket.py @@ -10,6 +10,7 @@ from delphi.utils.misc import c...
shared input nodes are now bolded in display
py
diff --git a/tests/unit/test_cluster.py b/tests/unit/test_cluster.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_cluster.py +++ b/tests/unit/test_cluster.py @@ -33,9 +33,6 @@ try: except ImportError: LibevConnection = None # noqa -def setUp(): - LibevConnection.initialize_reactor() - class Exceptio...
Skipped some tests if LibevConnection is not installed
py