diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/spinoff/actor/remoting.py b/spinoff/actor/remoting.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/remoting.py +++ b/spinoff/actor/remoting.py @@ -184,11 +184,11 @@ class Hub(Logging): conn.state = 'reverse-radiosilence' if msg == PING else 'visible' if prevstate != conn.state:...
Simplification/optimisation in Hub._got_message
py
diff --git a/lambda_uploader/uploader.py b/lambda_uploader/uploader.py index <HASH>..<HASH> 100644 --- a/lambda_uploader/uploader.py +++ b/lambda_uploader/uploader.py @@ -33,7 +33,6 @@ def upload_package(pkg, config): existing_function = False LOG.debug("function not found creating new function") - ...
Fixed issue with updating lambda configurations - When updating existing lambda functions, only code was updated. Changed to call `update-function-configuration` and update the configuration.
py
diff --git a/pebble/pebble.py b/pebble/pebble.py index <HASH>..<HASH> 100644 --- a/pebble/pebble.py +++ b/pebble/pebble.py @@ -17,7 +17,13 @@ from uuid import uuid4 +from inspect import isclass +from itertools import count from threading import Condition, Lock +try: # Python 2 + from Queue import Queue +excep...
added PoolContext object to share state within pool's threads
py
diff --git a/microcosm_flask/conventions/encoding.py b/microcosm_flask/conventions/encoding.py index <HASH>..<HASH> 100644 --- a/microcosm_flask/conventions/encoding.py +++ b/microcosm_flask/conventions/encoding.py @@ -64,8 +64,8 @@ def merge_data(path_data, request_data): Path data wins. """ - merged = ...
Account for empty content (e.g. on PATCH with no args)
py
diff --git a/simple_rest/utils/serializers.py b/simple_rest/utils/serializers.py index <HASH>..<HASH> 100644 --- a/simple_rest/utils/serializers.py +++ b/simple_rest/utils/serializers.py @@ -42,7 +42,11 @@ def to_json(content, indent=None): json_serializer = serializers.get_serializer('json')() serial...
fix for Django <I> for json serialization
py
diff --git a/ipwhois/asn.py b/ipwhois/asn.py index <HASH>..<HASH> 100644 --- a/ipwhois/asn.py +++ b/ipwhois/asn.py @@ -600,7 +600,7 @@ class ASNOrigin: net_start (:obj:`int`): The starting point of the network (if parsing multiple networks). Defaults to None. net_end (:obj:`in...
docstring typo fix (#<I>)
py
diff --git a/openquake/hazardlib/pmf.py b/openquake/hazardlib/pmf.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/pmf.py +++ b/openquake/hazardlib/pmf.py @@ -68,6 +68,17 @@ class PMF(object): :returns: Samples from PMF as a list """ + return [pair[1] for pair in self.sampl...
Added a method PMF.sample_pairs
py
diff --git a/emoticons/__init__.py b/emoticons/__init__.py index <HASH>..<HASH> 100644 --- a/emoticons/__init__.py +++ b/emoticons/__init__.py @@ -1,5 +1,5 @@ """django-emoticons""" -__version__ = '1.0' +__version__ = '1.0.1' __license__ = 'BSD License' __author__ = 'Fantomas42'
Bumping to version <I>
py
diff --git a/tests/api/test_people.py b/tests/api/test_people.py index <HASH>..<HASH> 100644 --- a/tests/api/test_people.py +++ b/tests/api/test_people.py @@ -116,8 +116,16 @@ class PeopleManager(object): return iter(self.list) def __del__(self): - for person in self.test_people.values(): - ...
Disable test account clean-up Licensed privileges aren't taking effect for accounts that have just been created and this is causing some tests to fail. I am temporarily disabling test account clean-up to enable the accounts (with their privileges) to persist. It would be good to find a way around this.
py
diff --git a/pyquil/paulis.py b/pyquil/paulis.py index <HASH>..<HASH> 100644 --- a/pyquil/paulis.py +++ b/pyquil/paulis.py @@ -22,8 +22,7 @@ from itertools import product import numpy as np import copy from .quil import Program -from .gates import H, RZ, RX, CNOT, X, PHASE -from . import quilbase as pqb +from .gates...
PauliSum helper functions for computing expectation (#<I>) * Pauli convenience * Fancy qvm expectation * Revert "Fancy qvm expectation" This reverts commit b4cd<I>ca<I>adf<I>fd5c<I>e5c<I>a<I>.
py
diff --git a/alerta/exceptions.py b/alerta/exceptions.py index <HASH>..<HASH> 100644 --- a/alerta/exceptions.py +++ b/alerta/exceptions.py @@ -1,7 +1,7 @@ import traceback -from flask import jsonify +from flask import current_app, jsonify class AlertaException(IOError): @@ -49,15 +49,6 @@ class ExceptionHandl...
Log application exception tracebacks (#<I>)
py
diff --git a/pipeinspector/app.py b/pipeinspector/app.py index <HASH>..<HASH> 100644 --- a/pipeinspector/app.py +++ b/pipeinspector/app.py @@ -51,6 +51,8 @@ def get_pump(input_file): pump = EvtPump(filename=input_file, cache_enabled=True) elif extension == 'dat': pump = DAQPump(filename=input_fil...
Adds pump for CLB file extension 'dqd'
py
diff --git a/emirdrp/store.py b/emirdrp/store.py index <HASH>..<HASH> 100644 --- a/emirdrp/store.py +++ b/emirdrp/store.py @@ -29,7 +29,7 @@ from numina.store import dump, load from .products import ChannelLevelStatistics from .products import LinesCatalog from .products import SlitsCatalog -from emirdrp.wavecal.sli...
Fix import of slitlet, now in numina
py
diff --git a/lib/shopify/base.py b/lib/shopify/base.py index <HASH>..<HASH> 100644 --- a/lib/shopify/base.py +++ b/lib/shopify/base.py @@ -1,4 +1,3 @@ -import pyactiveresource.util import pyactiveresource.connection from pyactiveresource.activeresource import ActiveResource, ResourceMeta import shopify.yamlobjects @...
Remove ShopifyResource.encode which is no longer needed. This should still be provided in pyactiveresource to support json encoding.
py
diff --git a/tests/test_functions.py b/tests/test_functions.py index <HASH>..<HASH> 100644 --- a/tests/test_functions.py +++ b/tests/test_functions.py @@ -27,7 +27,7 @@ class Test_IncludeStatement(TestCase): def test_includeStatement(self): stream = tokenize(self.sql) - includeStatement = Include...
Fixed test_includeStatement
py
diff --git a/tests/metadata/test_genconverter.py b/tests/metadata/test_genconverter.py index <HASH>..<HASH> 100644 --- a/tests/metadata/test_genconverter.py +++ b/tests/metadata/test_genconverter.py @@ -15,7 +15,6 @@ from . import nested_typed_classes, simple_typed_attrs, simple_typed_classes unstructure_strats = samp...
Tone down GenConverter tests
py
diff --git a/pyipmi/ipmitool.py b/pyipmi/ipmitool.py index <HASH>..<HASH> 100755 --- a/pyipmi/ipmitool.py +++ b/pyipmi/ipmitool.py @@ -534,7 +534,7 @@ COMMANDS = ( Command('chassis power cycle', lambda i, a: i.chassis_control_power_cycle()), Command('chassis power reset', - lam...
Fix ipmitool command chassis power reset Use the correct API function.
py
diff --git a/tests/test_journals.py b/tests/test_journals.py index <HASH>..<HASH> 100644 --- a/tests/test_journals.py +++ b/tests/test_journals.py @@ -583,3 +583,20 @@ def test_book_series_from_double_980__a(): assert validate(result['book_series'], subschema) is None assert expected == result['book_series'...
tests: add test for deleted in journals
py
diff --git a/wfdb/plot/plot.py b/wfdb/plot/plot.py index <HASH>..<HASH> 100644 --- a/wfdb/plot/plot.py +++ b/wfdb/plot/plot.py @@ -286,7 +286,7 @@ def plot_items( ) if ecg_grids: - plot_ecg_grids( + _plot_ecg_grids( ecg_grids, fs, ...
wfdb.plot.plot: rename plot_ecg_grids to _plot_ecg_grids. This function is not in the wfdb module, is not listed in the documentation, and shouldn't be used by applications directly.
py
diff --git a/tests/test_select_model.py b/tests/test_select_model.py index <HASH>..<HASH> 100644 --- a/tests/test_select_model.py +++ b/tests/test_select_model.py @@ -68,8 +68,9 @@ def test_top(): def definition(io): # Instance declaration of adder, definition will be selected ...
Reuse declaration to make it more clear
py
diff --git a/pysat/_meta.py b/pysat/_meta.py index <HASH>..<HASH> 100644 --- a/pysat/_meta.py +++ b/pysat/_meta.py @@ -1,3 +1,9 @@ +#!/usr/bin/env python +# Full license can be found in License.md +# Full author list can be found in .zenodo.json file +# DOI:10.5281/zenodo.1199703 +# ------------------------------------...
ENH: export_nan update Updated export_nan to default to allowing NaN in all floating labels.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,8 @@ setup( include_package_data = True, install_requires = [ 'Django >= 1.6', + # Form helper. + 'django-crispy-forms >= 1.4', # Needed for address field. 'django-c...
Added django-crispy-forms dependency.
py
diff --git a/bottom/event.py b/bottom/event.py index <HASH>..<HASH> 100644 --- a/bottom/event.py +++ b/bottom/event.py @@ -106,10 +106,10 @@ def validate_func(event, func, parameters): def partial_bind(func): + sig = inspect.signature(func) # Wrap non-coroutines so we can always `yield from func(**kw)` ...
calculate signature before wrapping in coro Fixes #9
py
diff --git a/tests/cli/test_init_missing_libraries.py b/tests/cli/test_init_missing_libraries.py index <HASH>..<HASH> 100644 --- a/tests/cli/test_init_missing_libraries.py +++ b/tests/cli/test_init_missing_libraries.py @@ -180,7 +180,6 @@ def test_cli_init_spark_without_library_installed_instructs_user( great_expectat...
* bugfix in init_missing_libraries due to datasources folder
py
diff --git a/emma2/coordinates/tica.py b/emma2/coordinates/tica.py index <HASH>..<HASH> 100644 --- a/emma2/coordinates/tica.py +++ b/emma2/coordinates/tica.py @@ -1,13 +1,23 @@ +# -*- coding: utf-8 -*- + r""" ==== TICA ==== -TODO: describe usage here +performs this algo [Ref]_. + +.. TODO: describe method. See ht...
[tica] added some docstrings
py
diff --git a/asphalt/core/component.py b/asphalt/core/component.py index <HASH>..<HASH> 100644 --- a/asphalt/core/component.py +++ b/asphalt/core/component.py @@ -47,12 +47,12 @@ class ContainerComponent(Component): :vartype child_components: Dict[str, Component] :ivar component_configs: dictionary of compone...
Allow None in the values of component configurations These will be replaced by empty dictionaries.
py
diff --git a/billy/web/public/views/legislators.py b/billy/web/public/views/legislators.py index <HASH>..<HASH> 100644 --- a/billy/web/public/views/legislators.py +++ b/billy/web/public/views/legislators.py @@ -29,8 +29,10 @@ def legislators(request, abbr): chamber = request.GET.get('chamber', 'both') if cham...
add chamber_title to legislators view
py
diff --git a/djangocms_spa/views.py b/djangocms_spa/views.py index <HASH>..<HASH> 100644 --- a/djangocms_spa/views.py +++ b/djangocms_spa/views.py @@ -85,16 +85,8 @@ class SpaApiView(APIView): @cache_view def dispatch(self, request, **kwargs): # Take the language from the URL kwarg and set it as requ...
[language_activation] Remove language activation it is already handled by the Locale Middleware
py
diff --git a/xdata-web.py b/xdata-web.py index <HASH>..<HASH> 100644 --- a/xdata-web.py +++ b/xdata-web.py @@ -9,7 +9,7 @@ class Server(object): <h1>XDATA Web (running over CherryPy)</h1>""" @cherrypy.expose - def app(self, module, *pargs, **kwargs): + def service(self, module, *pargs, **kwargs): ...
changed name of service path from 'app' to 'service'
py
diff --git a/dataviews/ndmapping.py b/dataviews/ndmapping.py index <HASH>..<HASH> 100644 --- a/dataviews/ndmapping.py +++ b/dataviews/ndmapping.py @@ -487,24 +487,7 @@ class NdIndexableMapping(param.Parameterized, Dimensional): def __iter__(self): - return self - - def next(self): # For Python 2 and ...
Simplified the iterator interface for NdIndexableMapping
py
diff --git a/pyannote/metrics/diarization.py b/pyannote/metrics/diarization.py index <HASH>..<HASH> 100755 --- a/pyannote/metrics/diarization.py +++ b/pyannote/metrics/diarization.py @@ -91,6 +91,8 @@ class DiarizationErrorRate(IdentificationErrorRate): return self._mapper(hypothesis, reference) def _ge...
fix: anonymize annotations before computing diarization error rate
py
diff --git a/MAVProxy/modules/mavproxy_link.py b/MAVProxy/modules/mavproxy_link.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_link.py +++ b/MAVProxy/modules/mavproxy_link.py @@ -35,6 +35,7 @@ preferred_ports = [ '*mRo*', '*FMU*', '*Swift-Flyer*', + '*Serial*', ] class LinkModule(m...
Link: Add *serial* to preferred ports
py
diff --git a/stripe/__init__.py b/stripe/__init__.py index <HASH>..<HASH> 100644 --- a/stripe/__init__.py +++ b/stripe/__init__.py @@ -274,11 +274,17 @@ class APIRequestor(object): try: func = getattr(requests, meth) result = func(abs_url, headers=headers, data=data) + + # This causes the conten...
Handle socket timeouts in requests library
py
diff --git a/dev/ci.py b/dev/ci.py index <HASH>..<HASH> 100644 --- a/dev/ci.py +++ b/dev/ci.py @@ -3,11 +3,12 @@ from __future__ import unicode_literals, division, absolute_import, print_functi import sys -from .tests import run as run_tests if sys.version_info >= (2, 7): from .lint import run as run_lint i...
Ensure CI coverage reports include initial import
py
diff --git a/vyper/parser/parser.py b/vyper/parser/parser.py index <HASH>..<HASH> 100644 --- a/vyper/parser/parser.py +++ b/vyper/parser/parser.py @@ -378,6 +378,8 @@ def parse_func(code, sigs, origcode, global_ctx, _vars=None): custom_structs=global_ctx._structs, constants=global_ctx._constants ...
Remove old missing statement check, use unbalanced check instead.
py
diff --git a/watson_developer_cloud/speech_to_text_v1.py b/watson_developer_cloud/speech_to_text_v1.py index <HASH>..<HASH> 100644 --- a/watson_developer_cloud/speech_to_text_v1.py +++ b/watson_developer_cloud/speech_to_text_v1.py @@ -54,11 +54,8 @@ class SpeechToTextV1(WatsonService): 'interim_resul...
:art: remove reduntant is None checks
py
diff --git a/fsps/fsps.py b/fsps/fsps.py index <HASH>..<HASH> 100644 --- a/fsps/fsps.py +++ b/fsps/fsps.py @@ -6,7 +6,11 @@ from __future__ import (division, print_function, absolute_import, __all__ = ["StellarPopulation"] -from ._fsps import driver +try: + from ._fsps import driver + driver = driver +except...
deal with Fortran import error for the sake of readthedocs
py
diff --git a/pygame_vkeyboard/vkeyboard.py b/pygame_vkeyboard/vkeyboard.py index <HASH>..<HASH> 100644 --- a/pygame_vkeyboard/vkeyboard.py +++ b/pygame_vkeyboard/vkeyboard.py @@ -81,8 +81,10 @@ class VKeyboardRenderer(object): :param key: Target key to be drawn. """ pygame.draw.rect(surface, ...
Finalizes key text centering.
py
diff --git a/salt/fileclient.py b/salt/fileclient.py index <HASH>..<HASH> 100644 --- a/salt/fileclient.py +++ b/salt/fileclient.py @@ -359,15 +359,18 @@ class Client(object): if senv: saltenv = senv + escape = '|' if path.startswith('|') else '' + + # also strip escape char...
also handle salt://| escaping in fileclient
py
diff --git a/src/main/python/rlbot/agents/rlbot_runnable.py b/src/main/python/rlbot/agents/rlbot_runnable.py index <HASH>..<HASH> 100644 --- a/src/main/python/rlbot/agents/rlbot_runnable.py +++ b/src/main/python/rlbot/agents/rlbot_runnable.py @@ -81,6 +81,7 @@ class RLBotRunnable: details_config.add_value('fun...
Add tags field to details config (#<I>)
py
diff --git a/kerncraft/models/benchmark.py b/kerncraft/models/benchmark.py index <HASH>..<HASH> 100644 --- a/kerncraft/models/benchmark.py +++ b/kerncraft/models/benchmark.py @@ -306,7 +306,7 @@ class Benchmark(PerformanceModel): # Determine base runtime with 10 iterations runtime = 0.0 time_...
Benchmark mode now starts with <I> iterations (#<I>)
py
diff --git a/salt/utils/psutil_compat.py b/salt/utils/psutil_compat.py index <HASH>..<HASH> 100644 --- a/salt/utils/psutil_compat.py +++ b/salt/utils/psutil_compat.py @@ -16,7 +16,7 @@ from __future__ import absolute_import import psutil if psutil.version_info >= (2, 0): - from psutil import * # pylint: disable...
Make PyLint a little happier
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -213,7 +213,7 @@ else: print('Generating ffconfig.h') -with open(join('ffpyplayer', 'includes', 'ffconfig.h'), 'wb') as f: +with open(join('ffpyplayer', 'includes', 'ffconfig.h'), 'w') as f: f.write(''' #ifndef _FFC...
Fix py3 writing to file.
py
diff --git a/treebeard/mp_tree.py b/treebeard/mp_tree.py index <HASH>..<HASH> 100644 --- a/treebeard/mp_tree.py +++ b/treebeard/mp_tree.py @@ -1052,9 +1052,11 @@ class MP_Node(Node): """ parentpath = cls._get_basepath(path, depth - 1) key = cls._int2str(newstep) - return '%s%s%s' % (pa...
Fixed MP trees when using alphabets that don't start with a '0'.
py
diff --git a/tests/test_ec2/test_route_tables.py b/tests/test_ec2/test_route_tables.py index <HASH>..<HASH> 100644 --- a/tests/test_ec2/test_route_tables.py +++ b/tests/test_ec2/test_route_tables.py @@ -163,7 +163,6 @@ def test_route_table_associations(): # Refresh route_table = conn.get_all_route_tables(ro...
Route Tables: Added support for associate/disassociate subnets. (removed wayward print)
py
diff --git a/py/testdir_multi_jvm/test_rf_big_rand_tree_fvec.py b/py/testdir_multi_jvm/test_rf_big_rand_tree_fvec.py index <HASH>..<HASH> 100644 --- a/py/testdir_multi_jvm/test_rf_big_rand_tree_fvec.py +++ b/py/testdir_multi_jvm/test_rf_big_rand_tree_fvec.py @@ -73,7 +73,7 @@ class Basic(unittest.TestCase): ...
Test ran on my laptop successfully. Increase timeout from <I> to <I> seconds anyway.
py
diff --git a/treeherder/model/derived/jobs.py b/treeherder/model/derived/jobs.py index <HASH>..<HASH> 100644 --- a/treeherder/model/derived/jobs.py +++ b/treeherder/model/derived/jobs.py @@ -2829,7 +2829,7 @@ into chunks of chunk_size size. Returns the number of result sets deleted""" if rs['state'] == 'co...
Bug <I> - Fix count of uncompleted jobs in resultset-count embed
py
diff --git a/pysat/tests/test_instrument.py b/pysat/tests/test_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_instrument.py +++ b/pysat/tests/test_instrument.py @@ -206,6 +206,17 @@ class TestBasics(): self.testInst.load(fname=self.ref_time.strftime('%Y-%m-%d.nofile')) assert self.te...
TST: added test for fname and fname2 .load
py
diff --git a/pysswords/__main__.py b/pysswords/__main__.py index <HASH>..<HASH> 100644 --- a/pysswords/__main__.py +++ b/pysswords/__main__.py @@ -91,7 +91,7 @@ def list_credentials(database, query=None, show_password=False): table = [] for credential in database.credentials: row = [ - col...
Use yellow for listing credentials as a table
py
diff --git a/angr/analyses/decompiler/region_identifier.py b/angr/analyses/decompiler/region_identifier.py index <HASH>..<HASH> 100644 --- a/angr/analyses/decompiler/region_identifier.py +++ b/angr/analyses/decompiler/region_identifier.py @@ -71,12 +71,16 @@ class RegionIdentifier(Analysis): self.region = se...
RegionIdentifier: Do not crash if the beginning node has a self loop. (#<I>)
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,3 @@ -from unittest.mock import MagicMock import pytest from rocketchat_API.rocketchat import RocketChat @@ -13,7 +12,8 @@ def rocket(): @pytest.fixture(scope="session") def cr...
Remove Mock and create "empty" object on the fly
py
diff --git a/doctr/travis.py b/doctr/travis.py index <HASH>..<HASH> 100644 --- a/doctr/travis.py +++ b/doctr/travis.py @@ -166,7 +166,8 @@ def setup_GitHub_push(deploy_repo, auth_type='deploy_key', full_key_path='github remotes = subprocess.check_output(['git', 'remote']).decode('utf-8').split('\n') if 'doc...
Remote the doctr_remote if it already exists I don't know if this will fix the problem, but we need to do this anyway in case a second run has a separate deploy repo.
py
diff --git a/pypeerassets/voting.py b/pypeerassets/voting.py index <HASH>..<HASH> 100644 --- a/pypeerassets/voting.py +++ b/pypeerassets/voting.py @@ -17,14 +17,14 @@ def deck_vote_tag(deck): class Vote: def __init__(self, version: int, description: str, count_mode: str, - choices=[], metainfo=N...
voting: rename metainfo to vote_metainfo
py
diff --git a/flask_passwordless/login_url.py b/flask_passwordless/login_url.py index <HASH>..<HASH> 100644 --- a/flask_passwordless/login_url.py +++ b/flask_passwordless/login_url.py @@ -21,7 +21,7 @@ class PlainLoginURL(LoginURL): from flask import url_for return "".join([ url_for('authe...
use string concat since on our py<I> machines, .format fails despite "New in version <I>"
py
diff --git a/foolbox/ext/native/attacks/newtonfool.py b/foolbox/ext/native/attacks/newtonfool.py index <HASH>..<HASH> 100644 --- a/foolbox/ext/native/attacks/newtonfool.py +++ b/foolbox/ext/native/attacks/newtonfool.py @@ -52,6 +52,7 @@ class NewtonFoolAttack(MinimizationAttack): x_l2_norm = flatten(x.square()...
added TODO because the newtonfool loss function is wrong
py
diff --git a/luigi/worker.py b/luigi/worker.py index <HASH>..<HASH> 100644 --- a/luigi/worker.py +++ b/luigi/worker.py @@ -778,16 +778,16 @@ class Worker(object): def _run_task(self, task_id): task = self._scheduled_tasks[task_id] - p = self._create_task_process(task) + task_process = self...
Uses task_process instead of p as a variable name in _run_task
py
diff --git a/src/unity/python/turicreate/toolkits/object_detector/_sframe_loader.py b/src/unity/python/turicreate/toolkits/object_detector/_sframe_loader.py index <HASH>..<HASH> 100644 --- a/src/unity/python/turicreate/toolkits/object_detector/_sframe_loader.py +++ b/src/unity/python/turicreate/toolkits/object_detector...
Handle RGBA (4 channels) and L (1 channel) images in detector (#<I>) This relies on the `resize` function to do make these conversions. This function is really fast when there is no resizing or channel change, although a bit slower than the previous decoding method in speed tests. Fixes #<I>
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -281,6 +281,10 @@ class BaseGeneralInterfaceTest(StubbedClientTest): def test_returns_future_with_meta(self): self._setup_default_stubbed_responses() future = self.met...
Fix issue in tests The issue is that since we did not call result on the future, the process still maybe going during the tearDown and as a result on systems like windows we may be trying to remove the temporary file for downloads while the transfer manager is still acting on it, which causes issues when two processes...
py
diff --git a/tests/baseline_data.py b/tests/baseline_data.py index <HASH>..<HASH> 100644 --- a/tests/baseline_data.py +++ b/tests/baseline_data.py @@ -1,15 +1,14 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (c) 2014-18 Richard Hull and contributors +# Copyright (c) 2014-2020 Richard Hull and contribu...
tests: use pathlib (#<I>)
py
diff --git a/src/jukeboxmaya/__init__.py b/src/jukeboxmaya/__init__.py index <HASH>..<HASH> 100644 --- a/src/jukeboxmaya/__init__.py +++ b/src/jukeboxmaya/__init__.py @@ -1,3 +1,3 @@ __author__ = 'David Zuber' __email__ = 'zuber.david@gmx.de' -__version__ = '0.1.0' +__version__ = '1.0.0'
Bumped version number to <I>
py
diff --git a/pyathenajdbc/cursor.py b/pyathenajdbc/cursor.py index <HASH>..<HASH> 100644 --- a/pyathenajdbc/cursor.py +++ b/pyathenajdbc/cursor.py @@ -162,7 +162,7 @@ class Cursor(object): return None self._rownumber += 1 return tuple([ - self._converter.convert(column.getSQLCo...
Fix to support JDBC driver <I>
py
diff --git a/py/test/rsession/box.py b/py/test/rsession/box.py index <HASH>..<HASH> 100644 --- a/py/test/rsession/box.py +++ b/py/test/rsession/box.py @@ -7,6 +7,7 @@ import py import os import sys import marshal +from py.__.test import config as pytestconfig PYTESTSTDOUT = "pyteststdout" PYTESTSTDERR = "pytests...
[svn r<I>] have each boxed test run use its own tempdir --HG-- branch : trunk
py
diff --git a/netsnmptestenv.py b/netsnmptestenv.py index <HASH>..<HASH> 100644 --- a/netsnmptestenv.py +++ b/netsnmptestenv.py @@ -58,12 +58,7 @@ class netsnmpTestEnv(object): subprocess.check_call(cmd, shell=True) def shutdown(self): - # Check for existance of snmpd's PID file - if os.access(self.pidfile, os....
netsnmptestenv: Move shutdown()'s process killing into own function Sooner or later our net-snmp test environment will consist of more than snmpd (eg. snmptrapd), so it makes sense to generalize the process killing.
py
diff --git a/test/test_hosts.py b/test/test_hosts.py index <HASH>..<HASH> 100644 --- a/test/test_hosts.py +++ b/test/test_hosts.py @@ -153,11 +153,11 @@ class TestHost(ShinkenTest): def test_hostgroup(self): - hg = self.sched.hostgroups.find_by_name("hostgroup_01") + hg = self.conf.hostgroups.fin...
Fix: bad hostgroup test that was looking for hard objects
py
diff --git a/source/rafcon/gui/models/state_machine.py b/source/rafcon/gui/models/state_machine.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/models/state_machine.py +++ b/source/rafcon/gui/models/state_machine.py @@ -294,7 +294,6 @@ class StateMachineModel(ModelMT, Hashable): if 'before' in info: ...
refactor(StateMachineModel): remove obsolete line
py
diff --git a/lifxlan/unpack.py b/lifxlan/unpack.py index <HASH>..<HASH> 100644 --- a/lifxlan/unpack.py +++ b/lifxlan/unpack.py @@ -171,8 +171,9 @@ def unpack_lifx_message(packed_message): message = LightGet(target_addr, source_id, seq_num, {}, ack_requested, response_requested) elif message_type == MSG_...
Fixed unpack bug for LightSetColor message API spec and message packing routine both include a reserved 8-bit unsigned field. Unpack did not account for this.
py
diff --git a/ripe/atlas/sagan/helpers/abuf.py b/ripe/atlas/sagan/helpers/abuf.py index <HASH>..<HASH> 100644 --- a/ripe/atlas/sagan/helpers/abuf.py +++ b/ripe/atlas/sagan/helpers/abuf.py @@ -290,12 +290,14 @@ class AbufParser(object): edns0 = { 'UDPsize': res[1], ...
Fixed some bugs in EDNS0 parsing and extract DO flag.
py
diff --git a/pelix/shell/remote.py b/pelix/shell/remote.py index <HASH>..<HASH> 100644 --- a/pelix/shell/remote.py +++ b/pelix/shell/remote.py @@ -200,9 +200,12 @@ class RemoteConsole(socketserver.StreamRequestHandler): _logger.info("RemoteConsole client gone: [%s]:%d", self.clien...
Remote Shell: Log the connection ending error ... instead of letting it be shown on output
py
diff --git a/hug/test.py b/hug/test.py index <HASH>..<HASH> 100644 --- a/hug/test.py +++ b/hug/test.py @@ -87,8 +87,8 @@ def cli(method, *kargs, **arguments): try: method.cli() - except Exception: - pass + except Exception as e: + to_return = (e, ) method.cli.output = old_outp...
Improve how hug clis are tested
py
diff --git a/src/streamlink/plugins/bfmtv.py b/src/streamlink/plugins/bfmtv.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/bfmtv.py +++ b/src/streamlink/plugins/bfmtv.py @@ -8,7 +8,7 @@ from streamlink.stream import HLSStream class BFMTV(Plugin): _url_re = re.compile(r'https://.+\.(?:bfmtv|01net)\.co...
[plugins.bfmtv] Fix player regex
py
diff --git a/src/numdifftools/info.py b/src/numdifftools/info.py index <HASH>..<HASH> 100644 --- a/src/numdifftools/info.py +++ b/src/numdifftools/info.py @@ -54,7 +54,7 @@ Visualize high order derivatives of the tanh function ... y = df(x) ... h = plt.plot(x, y/np.abs(y).max()) - plt.show() + >...
Added "# doctest + SKIP" to doctest string in info.py
py
diff --git a/vk/groups.py b/vk/groups.py index <HASH>..<HASH> 100644 --- a/vk/groups.py +++ b/vk/groups.py @@ -44,10 +44,10 @@ class Group(VKBase): :param: sort {id_asc, id_desc, time_asc, time_desc} string Docs: https://vk.com/dev/groups.getMembers """ - return self._session.fetch_ite...
`Group.get_members` and `Group.get_members_only_id` at a time requests <I> users instead of <I>
py
diff --git a/generic_positions/templatetags/position_tags.py b/generic_positions/templatetags/position_tags.py index <HASH>..<HASH> 100644 --- a/generic_positions/templatetags/position_tags.py +++ b/generic_positions/templatetags/position_tags.py @@ -19,6 +19,9 @@ def order_by_position(qs, reverse=False): posi...
fixed order by position tag if items have no position object
py
diff --git a/rest_api/api.py b/rest_api/api.py index <HASH>..<HASH> 100644 --- a/rest_api/api.py +++ b/rest_api/api.py @@ -183,6 +183,7 @@ def biopax_process_pc_neighborhood(): ### PYSB ### @route('/assemblers/pysb', method='POST') +@allow_cors def assemble_pysb(): """Assemble INDRA Statements and return PySB...
Allow CORS on PySB assembler
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open('README.txt') as file: long_description = file.read() setup(name="ped_parser", - version="0.2.6", + version="0.3", author="Mans Magnusson", author_email="mans.magnusson@scilifelab.se", l...
Bumped version and added classifiers
py
diff --git a/pook/mock_engine.py b/pook/mock_engine.py index <HASH>..<HASH> 100644 --- a/pook/mock_engine.py +++ b/pook/mock_engine.py @@ -3,16 +3,27 @@ from .interceptors import interceptors class MockEngine(object): """ - MockEngine implements the built-in `pook` mock engine based on HTTP + ``MockEngine...
refactor(mock_engine): improve docstring docs
py
diff --git a/etrago/appl.py b/etrago/appl.py index <HASH>..<HASH> 100755 --- a/etrago/appl.py +++ b/etrago/appl.py @@ -360,6 +360,7 @@ def run_etrago(args, json_path): etrago.network.storage_units.capital_cost.fillna(0., inplace=True) etrago.network.storage_units.p_nom_max.fillna(np.inf, inplace=True) et...
set storage_units.lifetime as np.inf
py
diff --git a/varlink/__init__.py b/varlink/__init__.py index <HASH>..<HASH> 100644 --- a/varlink/__init__.py +++ b/varlink/__init__.py @@ -697,7 +697,7 @@ class Scanner: self.patterns = { 'interface-name': re.compile(r'[a-z]+(\.[a-z0-9][a-z0-9-]*)+'), 'member-name': re.compile(r'\b[A-...
identifier have to start with lowercase
py
diff --git a/src/adafruit_blinka/board/jetson_tx2.py b/src/adafruit_blinka/board/jetson_tx2.py index <HASH>..<HASH> 100644 --- a/src/adafruit_blinka/board/jetson_tx2.py +++ b/src/adafruit_blinka/board/jetson_tx2.py @@ -10,6 +10,7 @@ SCL_1 = pin.SCL_1 D4 = pin.J04 D5 = pin.J06 D6 = pin.AA02 +D7 = pin.N03 D8 = pin.N0...
Jetson TX2: Add missing D7 pin definition
py
diff --git a/acestream/request.py b/acestream/request.py index <HASH>..<HASH> 100644 --- a/acestream/request.py +++ b/acestream/request.py @@ -92,7 +92,7 @@ class Request(object): def _parse_json(self, string): try: - return json.loads(str(string)) + return json.loads(string) except (IOError, V...
request: fix json parsing
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -51,5 +51,20 @@ setup( include_package_data=True, long_description="""\ Python client for kubernetes http://kubernetes.io/ - """ + """, + classifiers=[ + "Development Status :: 4 - Alpha", + ...
Add classifiers to setup.py Add some classifiers for better metadata/information on pypi
py
diff --git a/vb_suite/test_perf.py b/vb_suite/test_perf.py index <HASH>..<HASH> 100755 --- a/vb_suite/test_perf.py +++ b/vb_suite/test_perf.py @@ -54,7 +54,6 @@ parser.add_argument('-o', '--output', metavar="<file>", dest='log_file', help='path of file in w...
CLN: modify test_perf to allow import as a module
py
diff --git a/multiqc/modules/quast/quast.py b/multiqc/modules/quast/quast.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/quast/quast.py +++ b/multiqc/modules/quast/quast.py @@ -54,11 +54,13 @@ class MultiqcModule(BaseMultiqcModule): 'content': self.quast_contigs_barplot() }) # Numbe...
Quast: Don't add genes_predicted section if no plot is created. See #<I>
py
diff --git a/intranet/apps/users/models.py b/intranet/apps/users/models.py index <HASH>..<HASH> 100644 --- a/intranet/apps/users/models.py +++ b/intranet/apps/users/models.py @@ -350,7 +350,7 @@ class User(AbstractBaseUser): data = results[0][1]['jpegPhoto'][0] else: ...
Allow missing ldap image data
py
diff --git a/scripts/experiments/run_experiments.py b/scripts/experiments/run_experiments.py index <HASH>..<HASH> 100644 --- a/scripts/experiments/run_experiments.py +++ b/scripts/experiments/run_experiments.py @@ -62,7 +62,7 @@ class DPExpParams(experiment_runner.JavaExpParams): def get_java_args(self, eprunner):...
Refining when Zimpl memory is accounted for git-svn-id: svn+ssh://external.hltcoe.jhu.edu/home/hltcoe/mgormley/public/repos/dep_parse_filtered/trunk@<I> <I>f-cb4b-<I>-8b<I>-c<I>bcb<I>
py
diff --git a/paypal/pro/helpers.py b/paypal/pro/helpers.py index <HASH>..<HASH> 100644 --- a/paypal/pro/helpers.py +++ b/paypal/pro/helpers.py @@ -212,6 +212,22 @@ class PayPalWPP(object): def refundTransaction(self, params): raise NotImplementedError + def doReferenceTransaction(self, params): + ...
Added a method to send a DoReferenceTransaction request
py
diff --git a/playhouse/db_url.py b/playhouse/db_url.py index <HASH>..<HASH> 100644 --- a/playhouse/db_url.py +++ b/playhouse/db_url.py @@ -8,7 +8,10 @@ from playhouse.pool import PooledMySQLDatabase from playhouse.pool import PooledPostgresqlDatabase from playhouse.pool import PooledSqliteDatabase from playhouse.poo...
Fix dependency on sqlite_ext in db_url.
py
diff --git a/quail/load.py b/quail/load.py index <HASH>..<HASH> 100644 --- a/quail/load.py +++ b/quail/load.py @@ -1,11 +1,8 @@ from __future__ import division from sqlalchemy import create_engine, MetaData, Table import json -import math import re import csv -from itertools import izip_longest -from collections i...
cleaned up reqs in load function
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import find_packages, setup setup( name='ActionCableZwei', - version='0.1.7', + version='0.1.7.1', license='MIT', description='Action Cable Client for Python 3', author...
Update version number to <I>
py
diff --git a/vdw/conf/global_settings.py b/vdw/conf/global_settings.py index <HASH>..<HASH> 100644 --- a/vdw/conf/global_settings.py +++ b/vdw/conf/global_settings.py @@ -42,6 +42,7 @@ INSTALLED_APPS = ( 'avocado.export', 'modeltree', 'reversion', + 'sts', )
Add sts to INSTALLED_APPS in global_settings
py
diff --git a/phonopy/unfolding/__init__.py b/phonopy/unfolding/__init__.py index <HASH>..<HASH> 100644 --- a/phonopy/unfolding/__init__.py +++ b/phonopy/unfolding/__init__.py @@ -37,7 +37,10 @@ from phonopy.harmonic.dynmat_to_fc import get_commensurate_points from phonopy.structure.atoms import Atoms from phonopy.str...
Correct Py2/Py3 iterator in unfolding.
py
diff --git a/test/test_sblgnt.py b/test/test_sblgnt.py index <HASH>..<HASH> 100644 --- a/test/test_sblgnt.py +++ b/test/test_sblgnt.py @@ -34,7 +34,7 @@ def test_text(): else: assert n['left'] is not None and n['right'] is not None assert text is not None - ...
added unicode flag for test string (back since python <I>)
py
diff --git a/ipyrad/analysis/bpp.py b/ipyrad/analysis/bpp.py index <HASH>..<HASH> 100644 --- a/ipyrad/analysis/bpp.py +++ b/ipyrad/analysis/bpp.py @@ -1547,7 +1547,7 @@ class Bpp(object): # do not allow any tips in node_dists: for nidx in node_dists: - if node in ttre.idx_dict[nidx].is_le...
node_dists check for tips in bpp plot
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -49,6 +49,7 @@ def test_packages(): line.strip() for line in open(test_reqs).readlines() if not line.startswith("#") ] + return tests_require setup(name='httpretty', version=versio...
Clarify project license and other setup fixes. In my case it is important that license is correctly set and attributed, also add a couple of other classifiers and fixes whilst there.
py
diff --git a/thinc/extra/load_nlp.py b/thinc/extra/load_nlp.py index <HASH>..<HASH> 100644 --- a/thinc/extra/load_nlp.py +++ b/thinc/extra/load_nlp.py @@ -22,6 +22,6 @@ def get_vectors(ops, lang): vectors = numpy.zeros((nV, nM), dtype='float32') for lex in nlp.vocab: if lex.has_vector: - ...
Fix divide by zero error in vectors loading
py
diff --git a/sendgrid/sendgrid.py b/sendgrid/sendgrid.py index <HASH>..<HASH> 100644 --- a/sendgrid/sendgrid.py +++ b/sendgrid/sendgrid.py @@ -103,6 +103,7 @@ class SendGridClient(object): data = urlencode(self._build_body(message), True).encode('utf-8') req = urllib_request.Request(self.mail_url, da...
Fix cause of HTTP <I> responses
py
diff --git a/hedgehog/protocol/messages/vision.py b/hedgehog/protocol/messages/vision.py index <HASH>..<HASH> 100644 --- a/hedgehog/protocol/messages/vision.py +++ b/hedgehog/protocol/messages/vision.py @@ -1,4 +1,4 @@ -from typing import Any, Dict, Optional, Sequence, Tuple, Union +from typing import Any, Dict, Option...
change keys type declaration to Set[str]
py
diff --git a/barf/barf/barf.py b/barf/barf/barf.py index <HASH>..<HASH> 100644 --- a/barf/barf/barf.py +++ b/barf/barf/barf.py @@ -145,6 +145,7 @@ class BARF(object): self.smt_translator = SmtTranslator(self.smt_solver, self.arch_info.address_size) self.ir_emulator.set_arch_registers(self.ar...
Fix missing emulator native flags set up.
py
diff --git a/python/ray/tests/test_placement_group_3.py b/python/ray/tests/test_placement_group_3.py index <HASH>..<HASH> 100644 --- a/python/ray/tests/test_placement_group_3.py +++ b/python/ray/tests/test_placement_group_3.py @@ -700,5 +700,16 @@ def test_placement_group_local_resource_view(monkeypatch, ray_start_clus...
[Placement Group] [Test] Add fractional resources test for placement group (#<I>) * add fractional resources test * lint
py
diff --git a/src/urh/dev/VirtualDevice.py b/src/urh/dev/VirtualDevice.py index <HASH>..<HASH> 100644 --- a/src/urh/dev/VirtualDevice.py +++ b/src/urh/dev/VirtualDevice.py @@ -6,6 +6,7 @@ from PyQt5.QtCore import pyqtSignal, QObject from urh.dev import config from urh.dev.BackendHandler import Backends, BackendHandl...
consider airspy in virtual device
py