diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/loginas/views.py b/loginas/views.py index <HASH>..<HASH> 100644 --- a/loginas/views.py +++ b/loginas/views.py @@ -82,4 +82,9 @@ def user_logout(request): """ restore_original_login(request) - return redirect(la_settings.LOGOUT_REDIRECT) + try: + url = request.META.get("HTTP_REFERER...
feat: Redirect logouts to the 'next' url (#<I>)
py
diff --git a/invocations/testing.py b/invocations/testing.py index <HASH>..<HASH> 100644 --- a/invocations/testing.py +++ b/invocations/testing.py @@ -96,7 +96,22 @@ def coverage(c, html=True, integration_=True): @task def count_errors(c, command, trials=10, verbose=False, fail_fast=False): """ - Run ``comman...
Expand params in docstring for count-errors
py
diff --git a/websocket/_http.py b/websocket/_http.py index <HASH>..<HASH> 100644 --- a/websocket/_http.py +++ b/websocket/_http.py @@ -94,7 +94,11 @@ def _get_addrinfo_list(hostname, port, is_secure, proxy): return addrinfo_list, False, None else: pport = pport and pport or 80 - ...
_http.py: fix windows proxy error due to socktype Resolves #<I> When running on windows <I> with a proxy, there is a connect error: _on_error: exception Socket type must be stream or datagram, not 0 This commit fixes that issue.
py
diff --git a/isort/isort.py b/isort/isort.py index <HASH>..<HASH> 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -113,6 +113,7 @@ class SortImports(object): file_contents = file_to_import_sort.read() if file_contents is None or ("isort:" + "skip_file") in file_contents: + ...
Set skipped=True when we skip the file We already do this when the configuration specifies skipping a file, but not when the file is empty or the _file_ specifies skipping. The "skipped" flag is relied upon by some tooling (I'm not sure if it constitutes public API, but it should be fixed anyway), and that tooling ...
py
diff --git a/xmltodict.py b/xmltodict.py index <HASH>..<HASH> 100755 --- a/xmltodict.py +++ b/xmltodict.py @@ -18,9 +18,9 @@ try: # pragma no cover _basestring = basestring except NameError: # pragma no cover _basestring = str -try: +try: # pragma no cover _unicode = unicode -except NameError: +except N...
coverage annotations for tricky py3k workarounds
py
diff --git a/localshop/settings.py b/localshop/settings.py index <HASH>..<HASH> 100644 --- a/localshop/settings.py +++ b/localshop/settings.py @@ -160,6 +160,7 @@ class Base(Settings): BROKER_URL = "django://" + CELERY_ACCEPT_CONTENT = ['json'] CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseSchedu...
Add AWS_ settings for s3 boto
py
diff --git a/django_ulogin/templatetags/ulogin_tags.py b/django_ulogin/templatetags/ulogin_tags.py index <HASH>..<HASH> 100644 --- a/django_ulogin/templatetags/ulogin_tags.py +++ b/django_ulogin/templatetags/ulogin_tags.py @@ -28,10 +28,12 @@ def get_redirect_url(request): FLD: request.build_absolute_uri(r...
FIX: Python 3 has no urllib.unquote
py
diff --git a/celerytask/tasks.py b/celerytask/tasks.py index <HASH>..<HASH> 100644 --- a/celerytask/tasks.py +++ b/celerytask/tasks.py @@ -235,13 +235,13 @@ def update_discourse_groups(pk): if len(groups) == 0: logger.debug("No syncgroups found for user. Adding empty group.") groups.append('empty...
Typo in discourse task (#<I>)
py
diff --git a/telemetry/telemetry/page/page_measurement_results.py b/telemetry/telemetry/page/page_measurement_results.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/page/page_measurement_results.py +++ b/telemetry/telemetry/page/page_measurement_results.py @@ -58,6 +58,8 @@ class PageMeasurementResults(page_t...
[Telemetry]: Assert that page measurement results don't contain a '.' in their name. Telemetry uses a '.' to delimit chart_name and trace_names in Value types, so trace names cannot include a '.' in them. BUG=<I> Review URL: <URL>
py
diff --git a/m9dicts/__init__.py b/m9dicts/__init__.py index <HASH>..<HASH> 100644 --- a/m9dicts/__init__.py +++ b/m9dicts/__init__.py @@ -2,15 +2,18 @@ .. module:: m9dicts :synopsis: dict-like objects support recursive merge operations """ -from .globals import MS_REPLACE, MS_NO_REPLACE, MS_DICTS, MS_DICTS_AND_L...
fix: add workaround for flake8 error (import-not-used error)
py
diff --git a/plexapi/settings.py b/plexapi/settings.py index <HASH>..<HASH> 100644 --- a/plexapi/settings.py +++ b/plexapi/settings.py @@ -21,7 +21,10 @@ class Settings(PlexObject): def __getattr__(self, attr): if attr.startswith('_'): - return self.__dict__[attr] + try: + ...
Settings __getattr__ needs to raise AttributeError
py
diff --git a/sample/tox-register-sha2.py b/sample/tox-register-sha2.py index <HASH>..<HASH> 100755 --- a/sample/tox-register-sha2.py +++ b/sample/tox-register-sha2.py @@ -69,12 +69,12 @@ def fetch(gh_s, dci_client, product, repositories): for repository in repositories: r = dci_client.get("/products", w...
drop the repository from the product name It seems easier to just do overwrite the repository URL in the data.git_url key of the version. Change-Id: I<I>f<I>c8f3c0c4dbd3ae9c<I>ddc<I>bdc9c<I>df1
py
diff --git a/testing/python/fixture.py b/testing/python/fixture.py index <HASH>..<HASH> 100644 --- a/testing/python/fixture.py +++ b/testing/python/fixture.py @@ -2564,6 +2564,38 @@ class TestShowFixtures: Fixture B """) + def test_show_fixtures_with_same_name(self, testdir): + tes...
Implement a test for showfixtures to show fixtures with same name
py
diff --git a/blockstack_client/config.py b/blockstack_client/config.py index <HASH>..<HASH> 100644 --- a/blockstack_client/config.py +++ b/blockstack_client/config.py @@ -440,6 +440,7 @@ def configure(config_file=CONFIG_PATH, force=False, interactive=True, set_migrat blockstack_opts['email'] = email_opts['...
fix e-mail signup bug: if you run setup in non-interactive mode, the e-mail *should* be set to '' and you shouldn't get more prompts
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def find_package_data(package): setuptools.setup( name='brozzler', - version='1.1b10', + version='1.1b10.dev218', description='Distributed web crawling with browsers', ...
back to a dev version number
py
diff --git a/satpy/readers/mimic_TPW2_nc.py b/satpy/readers/mimic_TPW2_nc.py index <HASH>..<HASH> 100644 --- a/satpy/readers/mimic_TPW2_nc.py +++ b/satpy/readers/mimic_TPW2_nc.py @@ -133,7 +133,7 @@ class MimicTPW2FileHandler(NetCDF4FileHandler): description = "MIMIC TPW Equirectangular Projection" ar...
BUG FIX: remove units=degrees from proj definition; unit=degrees is not always valid.
py
diff --git a/benchmark/btb_benchmark/main.py b/benchmark/btb_benchmark/main.py index <HASH>..<HASH> 100644 --- a/benchmark/btb_benchmark/main.py +++ b/benchmark/btb_benchmark/main.py @@ -268,9 +268,8 @@ def _get_challenges_list(challenges=None, challenge_types=None, sample=None, max return selected -def run_be...
Indent properly args for run_benchmark
py
diff --git a/skorch/tests/test_callbacks.py b/skorch/tests/test_callbacks.py index <HASH>..<HASH> 100644 --- a/skorch/tests/test_callbacks.py +++ b/skorch/tests/test_callbacks.py @@ -870,17 +870,17 @@ class TestProgressBar: ]) net.fit(*data) - @pytest.mark.parametrize('scheme', [ 'coun...
Minor adjustment in pbar unit test Add/remove spaces/newlines, add None as parameter.
py
diff --git a/salt/modules/pw_group.py b/salt/modules/pw_group.py index <HASH>..<HASH> 100644 --- a/salt/modules/pw_group.py +++ b/salt/modules/pw_group.py @@ -136,6 +136,8 @@ def members(name, members_list): ''' Replaces members of the group with a provided list. + .. versionadded:: 2015.5.4 + CLI E...
Add versionadded to new members function
py
diff --git a/tests/tests_character.py b/tests/tests_character.py index <HASH>..<HASH> 100644 --- a/tests/tests_character.py +++ b/tests/tests_character.py @@ -70,4 +70,5 @@ class TestCharacter(TestTibiaPy): spawn_invasion = Death("Galarza", 270, killers=[Killer("a demon"), Killer("Nezune", True)]) s...
Added test for Killer.url
py
diff --git a/inputs.py b/inputs.py index <HASH>..<HASH> 100644 --- a/inputs.py +++ b/inputs.py @@ -102,7 +102,10 @@ SPECIAL_DEVICES = ( ("Raspberry Pi Sense HAT Joystick", "/dev/input/by-id/gpio-Raspberry_Pi_Sense_HAT_Joystick-event-kbd"), ("Nintendo Wii Remote", - "/dev/input/by-id/bluetooth-Ninten...
Add Raspberry Pi Touchscreen to specials.
py
diff --git a/ara/clients/offline.py b/ara/clients/offline.py index <HASH>..<HASH> 100644 --- a/ara/clients/offline.py +++ b/ara/clients/offline.py @@ -20,7 +20,6 @@ import logging import os -import sys import threading from django.core.handlers.wsgi import WSGIHandler @@ -36,7 +35,7 @@ class AraOfflineClient(Ar...
Fix pep8 issues It doesn't look like the integration test job picked those up. Change-Id: I<I>e0c<I>f5d<I>c<I>f<I>b0ed<I>a4b3
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100644 --- a/runtests.py +++ b/runtests.py @@ -59,6 +59,7 @@ def runcommand(command): def runcommands(commands): if is_windows: + commands = ["\"" + comm + "\"" if " " in comm else comm for comm in commands] commands = ['powershell.exe'...
Fix the tck command line on windows
py
diff --git a/pyani/pyani_config.py b/pyani/pyani_config.py index <HASH>..<HASH> 100644 --- a/pyani/pyani_config.py +++ b/pyani/pyani_config.py @@ -54,7 +54,7 @@ MAKEBLASTDB_DEFAULT = Path("makeblastdb") BLASTALL_DEFAULT = Path("blastall") FORMATDB_DEFAULT = Path("formatdb") QSUB_DEFAULT = Path("qsub") -FASTANI_DEFAU...
Updated `fastANI` entries in `pyani_config.py`
py
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py index <HASH>..<HASH> 100644 --- a/openquake/engine/engine.py +++ b/openquake/engine/engine.py @@ -271,6 +271,9 @@ def zip(job_ini, archive_zip, extra=(), oq=None, log=logging.info): if isinstance(fname, list): for f in fname: ...
Fixed a bug when zipping files with [reqv]
py
diff --git a/tests/api_test.py b/tests/api_test.py index <HASH>..<HASH> 100644 --- a/tests/api_test.py +++ b/tests/api_test.py @@ -2534,13 +2534,17 @@ class CustomJVPTest(jtu.JaxTestCase): def run(): return jax.grad(unroll)(jnp.array(1.0), jnp.array([1.0])) + expected = run() + # we just don't wan...
attempt to fix CI failure (from #<I> test?) (#<I>)
py
diff --git a/BDMesh/TreeMesh1D.py b/BDMesh/TreeMesh1D.py index <HASH>..<HASH> 100644 --- a/BDMesh/TreeMesh1D.py +++ b/BDMesh/TreeMesh1D.py @@ -101,11 +101,9 @@ class TreeMesh1D(object): self.recalculate_levels() def recalculate_levels(self): - tidy = False - while not tidy: - fo...
recalculate_levels bug fixed.
py
diff --git a/scripts/notifier.py b/scripts/notifier.py index <HASH>..<HASH> 100644 --- a/scripts/notifier.py +++ b/scripts/notifier.py @@ -63,7 +63,7 @@ emails_since = now - timedelta(seconds=sleep) cal_items_before = now + timedelta(seconds=sleep * 4) # Longer notice of upcoming appointments than new emails usernam...
Don't encourage disabling SSL verification
py
diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py index <HASH>..<HASH> 100644 --- a/salt/utils/parsers.py +++ b/salt/utils/parsers.py @@ -2002,7 +2002,7 @@ class SaltRunOptionParser(OptionParser, ConfigDirMixIn, MergeConfigMixIn, default=False, action='store_true', help=(...
salt-run: make help for --doc consistent
py
diff --git a/scripts/update_contributors.py b/scripts/update_contributors.py index <HASH>..<HASH> 100644 --- a/scripts/update_contributors.py +++ b/scripts/update_contributors.py @@ -64,7 +64,11 @@ class ContributorsJSONFile: def __contains__(self, github_login: str): """Provide a nice API to do: `usern...
Avoid duplicate contributors due to different case
py
diff --git a/fermipy/jobs/link.py b/fermipy/jobs/link.py index <HASH>..<HASH> 100644 --- a/fermipy/jobs/link.py +++ b/fermipy/jobs/link.py @@ -903,7 +903,7 @@ class Link(object): elif isinstance(value, str) and value.find(' ') >= 0 and key != 'args': format_dict[key] = '"%s"' % value ...
replace None with 'none' in command lines
py
diff --git a/lib/elements/bfe_fulltext.py b/lib/elements/bfe_fulltext.py index <HASH>..<HASH> 100644 --- a/lib/elements/bfe_fulltext.py +++ b/lib/elements/bfe_fulltext.py @@ -206,7 +206,8 @@ def get_files(bfo): for doc in bibarchive.list_bibdocs(): if int(doc.get_latest_version()) ...
When fulltext is local, but metadata does not have the complete path to the file, still consider the file as local, not as external file.
py
diff --git a/shinken/satellite.py b/shinken/satellite.py index <HASH>..<HASH> 100644 --- a/shinken/satellite.py +++ b/shinken/satellite.py @@ -57,6 +57,7 @@ import sys import cPickle import traceback import socket +from util import if_else try: import shinken.pyro_wrapper as pyro @@ -367,7 +368,7 @@ class Sa...
replace a ternary operator by if_else so that <I> tests succeed
py
diff --git a/core/containers.py b/core/containers.py index <HASH>..<HASH> 100644 --- a/core/containers.py +++ b/core/containers.py @@ -119,7 +119,7 @@ class FCPlate(BasePlate): example: gHandleList[1][0][2] returns the subplot in row 0 and column 2 """ def plotSampleDataFunction(data)...
made sure that in a multi-plot the axis autolabeling is set to off
py
diff --git a/scriptabit/habitica_service.py b/scriptabit/habitica_service.py index <HASH>..<HASH> 100644 --- a/scriptabit/habitica_service.py +++ b/scriptabit/habitica_service.py @@ -183,13 +183,13 @@ class HabiticaService(object): else: return None - def delete_task(self, _id): - """ ...
fixed bug in habitica service task delete
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ Features Development Version ------------------- -The `Werkzeug tip <http://dev.pocoo.org/hg/werkzeug-main/archive/tip.zip#egg=Werkzeug-dev` +The `Werkzeug tip <http://dev.pocoo.org/hg/werkzeug-main/archive/...
fixed typo in setup.py description
py
diff --git a/wallace/networks.py b/wallace/networks.py index <HASH>..<HASH> 100644 --- a/wallace/networks.py +++ b/wallace/networks.py @@ -16,6 +16,7 @@ class Network(object): return self.db.query(Agent)\ .order_by(Agent.creation_time)\ .filter(Agent.status != "failed")\ + ...
Don't include dead nodes in network.agents
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -from setuptools import setup +from setuptools import setup, find_packages setup( name="dev-pipeline-cmake", @@ -8,7 +8,7 @@ setup( package_dir={ "": "lib" }, - ...
Use find_packages instead of manually listing packages
py
diff --git a/synapse/tools/cmdr.py b/synapse/tools/cmdr.py index <HASH>..<HASH> 100644 --- a/synapse/tools/cmdr.py +++ b/synapse/tools/cmdr.py @@ -1,7 +1,7 @@ import sys -import asyncio import logging +import synapse.glob as s_glob import synapse.common as s_common import synapse.telepath as s_telepath @@ -15,7...
Fix cmdr run from cmdline
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -97,7 +97,7 @@ setup( "twine==3.1.1", ], "test-old-python": [ - "check-manifest==0.42", + "check-manifest==0.41", "contextlib2==0.6.0.post1", "cove...
Down graded check-manifest for old python
py
diff --git a/keyring/backends/chainer.py b/keyring/backends/chainer.py index <HASH>..<HASH> 100644 --- a/keyring/backends/chainer.py +++ b/keyring/backends/chainer.py @@ -34,11 +34,16 @@ class ChainerBackend(backend.KeyringBackend): """ Discover all keyrings for chaining. """ - allowed...
Ensure ChainerBackend is excluded early to avoid recursion errors when evaluating limits on backends. Fixes #<I>.
py
diff --git a/tests/asm/test_risks.py b/tests/asm/test_risks.py index <HASH>..<HASH> 100644 --- a/tests/asm/test_risks.py +++ b/tests/asm/test_risks.py @@ -125,7 +125,7 @@ TEST_RISK_TYPE_JSON = { "type": "string", } TEST_RISK_TYPES_JSON = { - "constants": [TEST_RISK_TYPE_JSON], + "type": [TEST_RISK_TYPE_JSO...
fix:update language to match pipeline/discover
py
diff --git a/tests/connection.py b/tests/connection.py index <HASH>..<HASH> 100644 --- a/tests/connection.py +++ b/tests/connection.py @@ -720,20 +720,6 @@ class Connection_(Spec): def multiple_tunnels_can_be_open_at_once(self): skip() - def multiple_tunnel_errors_appear_in_thread_excepti...
Realized these don't actually make as much sense. Was basing off how invoke ThreadException wraps N exceptions...but that is because it was written to handle N sibling IO threads that all want their exceptions treated equally. In the tunnel use case, tunnels do not know if they are being run at the same time as others...
py
diff --git a/napalm/eos.py b/napalm/eos.py index <HASH>..<HASH> 100644 --- a/napalm/eos.py +++ b/napalm/eos.py @@ -1037,7 +1037,7 @@ class EOSDriver(NetworkDriver): continue snmp_information['community'][community_name] = { 'acl': unicode(snmp_entry.get('acl', '')), - ...
Defined for IOS-XR
py
diff --git a/aiovk/longpoll.py b/aiovk/longpoll.py index <HASH>..<HASH> 100644 --- a/aiovk/longpoll.py +++ b/aiovk/longpoll.py @@ -87,6 +87,12 @@ class BaseLongPoll(ABC): self.base_url = None return await self.wait() + + async def iter(self): + while True: + updates = aw...
support iteration over longpoll event
py
diff --git a/tests/markdown/header_tests.py b/tests/markdown/header_tests.py index <HASH>..<HASH> 100644 --- a/tests/markdown/header_tests.py +++ b/tests/markdown/header_tests.py @@ -117,7 +117,7 @@ class SetextTest(TemplarTest): expect = """ <p>This should be one paragraph</p> - <h1>Header h...
Add some missing slugs to header_tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ requirements = ( setup( name='combine', - version='0.0.10.dev0', + version='0.0.10', description='A helpful, simple static site generator.', long_description=long_description, long_d...
Preparing release <I>
py
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/cache.py +++ b/allegedb/allegedb/cache.py @@ -836,15 +836,7 @@ class Cache(object): tick, turn, branch ) ) - ...
Loosen the restrictions on caching plans The old rule where you could only plan for the very end of the current branch was preventing me from scheduling multiple things to travel at once. I think I want to implement a new restriction for non-plans so that you can overwrite plans but not any events that have "really h...
py
diff --git a/salesforce/__init__.py b/salesforce/__init__.py index <HASH>..<HASH> 100644 --- a/salesforce/__init__.py +++ b/salesforce/__init__.py @@ -10,10 +10,13 @@ A database backend for the Django ORM. Allows access to all Salesforce objects accessible via the SOQL API. """ +from pkg_resources import get_distri...
Added __version__ string (#<I>)
py
diff --git a/fuzzywuzzy/tests.py b/fuzzywuzzy/tests.py index <HASH>..<HASH> 100644 --- a/fuzzywuzzy/tests.py +++ b/fuzzywuzzy/tests.py @@ -132,9 +132,9 @@ class RatioTest(unittest.TestCase): s3 = "LSINJHUANG DISTRIC" s4 = "SINJHUANG DISTRICT" - self.assertGreater(partial_ratio(s1, s2), 75) - ...
assertGreater did not exist in python <I>
py
diff --git a/cmsplugin_cascade/icon/mixins.py b/cmsplugin_cascade/icon/mixins.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/icon/mixins.py +++ b/cmsplugin_cascade/icon/mixins.py @@ -41,7 +41,7 @@ class IconPluginMixin(CascadePluginMixinBase): def render(self, context, instance, placeholder): if p...
update cmsplugin_cascade/icon/mixins.py
py
diff --git a/spyder/plugins/shortcuts.py b/spyder/plugins/shortcuts.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/shortcuts.py +++ b/spyder/plugins/shortcuts.py @@ -211,7 +211,7 @@ class ShortcutEditor(QDialog): # buttons, if the cancel button was clicked without first setting focus # to the bu...
Update super() call to use Python 2 style call.
py
diff --git a/sphinx_markdown_builder/doctree2md.py b/sphinx_markdown_builder/doctree2md.py index <HASH>..<HASH> 100644 --- a/sphinx_markdown_builder/doctree2md.py +++ b/sphinx_markdown_builder/doctree2md.py @@ -579,7 +579,7 @@ class Translator(nodes.NodeVisitor): return url # If HTTP page build UR...
Changed the behavior of _refuri2http to return a refid fragment when markdown_http_base is None
py
diff --git a/jupyterthemes/__init__.py b/jupyterthemes/__init__.py index <HASH>..<HASH> 100644 --- a/jupyterthemes/__init__.py +++ b/jupyterthemes/__init__.py @@ -29,7 +29,7 @@ def install_path(profile=None, jupyter=True): home_path = os.path.expanduser(os.path.join(IPY_HOME)) profile = profile or DEFAULT_P...
fix inf loop during install on ipython4
py
diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py index <HASH>..<HASH> 100644 --- a/pyzotero/zotero.py +++ b/pyzotero/zotero.py @@ -669,9 +669,9 @@ class Zotero(object): """ verify(payload) if not parentid: - liblevel = '/users/{u}/items?key={k}' + ...
Use group type when creating attachments Closes #<I>
py
diff --git a/tests/ut/test_serializers.py b/tests/ut/test_serializers.py index <HASH>..<HASH> 100644 --- a/tests/ut/test_serializers.py +++ b/tests/ut/test_serializers.py @@ -29,10 +29,12 @@ class TestPickleSerializer: class TestJsonSerializer: def test_dumps(self): - assert JsonSerializer().dumps({"hi":...
Fixed tests for ujson compatibility execution
py
diff --git a/slave/ls340.py b/slave/ls340.py index <HASH>..<HASH> 100644 --- a/slave/ls340.py +++ b/slave/ls340.py @@ -314,7 +314,7 @@ class Input(InstrumentBase): '300uA', '1mA', '10mV', '1mV'), Enum('1mV', '2.5mV', '5mV', '10mV', '25mV', ...
Fixed wrong start value in Input enum of LS<I>.
py
diff --git a/fuel/converters/svhn.py b/fuel/converters/svhn.py index <HASH>..<HASH> 100644 --- a/fuel/converters/svhn.py +++ b/fuel/converters/svhn.py @@ -236,7 +236,9 @@ def convert_svhn_format_1(directory, output_directory, h5file['features'].dims[0]['shapes'][index] = image.shape fo...
The error of casting '-1' from int to uint<I> was fixed by converting them to 0.
py
diff --git a/pmxbot/quotes.py b/pmxbot/quotes.py index <HASH>..<HASH> 100644 --- a/pmxbot/quotes.py +++ b/pmxbot/quotes.py @@ -132,7 +132,7 @@ class MongoDBQuotes(Quotes, storage.MongoDBStorage): """ lookup, num = self.split_num(lookup) if num: - result = self.find_maches(lookup)[num-1] + result = self.fin...
Fix issue deleting a specific issue by number
py
diff --git a/python/ray/__init__.py b/python/ray/__init__.py index <HASH>..<HASH> 100644 --- a/python/ray/__init__.py +++ b/python/ray/__init__.py @@ -129,7 +129,7 @@ __all__ = [ "client", "ClientBuilder", "cluster_resources", - "data" + "data", "get", "get_actor", "get_gpu_ids",
fix: data not exported (#<I>) * fix: data not exported * empty commit
py
diff --git a/tools/im2rec.py b/tools/im2rec.py index <HASH>..<HASH> 100644 --- a/tools/im2rec.py +++ b/tools/im2rec.py @@ -41,6 +41,7 @@ def write_list(path_out, image_list): def make_list(prefix_out, root, recursive, exts, num_chunks, train_ratio): image_list = list_image(root, recursive, exts) + random.see...
Update random seed in im2rec.py (#<I>)
py
diff --git a/homu/server.py b/homu/server.py index <HASH>..<HASH> 100644 --- a/homu/server.py +++ b/homu/server.py @@ -256,7 +256,7 @@ def github(): if action == 'reopened': # FIXME: Review comments are ignored here - for comment in get_repo(repo_label, repo_cfg).issue(pul...
Restore the status when a PR is reopened Previously, the status of a reopened PR was set to an empty string.
py
diff --git a/udiskie/appindicator.py b/udiskie/appindicator.py index <HASH>..<HASH> 100644 --- a/udiskie/appindicator.py +++ b/udiskie/appindicator.py @@ -3,7 +3,10 @@ Status icon using AppIndicator3. """ from gi.repository import Gtk -from gi.repository import AppIndicator3 +try: + from gi.repository import Aya...
Support also new AyatanaAppIndicator3 This should fix Debian issue in loading tray, see: <URL>
py
diff --git a/src/tdl/client.py b/src/tdl/client.py index <HASH>..<HASH> 100644 --- a/src/tdl/client.py +++ b/src/tdl/client.py @@ -28,6 +28,7 @@ class Client(object): time.sleep(1) remote_broker.close() except Exception as e: + print('There was a problem processing messages...
Add a print to pass scenario 'Exit gracefully is broker not available' in new spec.
py
diff --git a/unyt/array.py b/unyt/array.py index <HASH>..<HASH> 100644 --- a/unyt/array.py +++ b/unyt/array.py @@ -139,7 +139,7 @@ from unyt.unit_registry import ( ) NULL_UNIT = Unit() -POWER_SIGN_MAPPING = {multiply: 1, divide: -1} +POWER_MAPPING = {multiply: lambda x: x, divide: lambda x: 2 - x} __doctest_requ...
Correct implementation of unit handling for np.divide.reduce (fixes #<I>).
py
diff --git a/airflow/providers/microsoft/azure/hooks/adx.py b/airflow/providers/microsoft/azure/hooks/adx.py index <HASH>..<HASH> 100644 --- a/airflow/providers/microsoft/azure/hooks/adx.py +++ b/airflow/providers/microsoft/azure/hooks/adx.py @@ -97,7 +97,6 @@ class AzureDataExplorerHook(BaseHook): "hidden...
Removing redundant relabeling of password conn field (#<I>)
py
diff --git a/django_coverage_plugin/plugin.py b/django_coverage_plugin/plugin.py index <HASH>..<HASH> 100644 --- a/django_coverage_plugin/plugin.py +++ b/django_coverage_plugin/plugin.py @@ -6,6 +6,7 @@ from __future__ import print_function import os.path +import re from six.moves import range @@ -162,6 +163,1...
Initial attempt at finding unexecuted files
py
diff --git a/pynexus/pynexus.py b/pynexus/pynexus.py index <HASH>..<HASH> 100644 --- a/pynexus/pynexus.py +++ b/pynexus/pynexus.py @@ -387,7 +387,7 @@ class NexusConn(object): class Client(NexusConn): - def __init__(self, url): + def __init__(self, url, keepAlive=60): nexusURL = urlparse(url) ...
Allow keep alive setting in client instantiation
py
diff --git a/numina/array/offrot.py b/numina/array/offrot.py index <HASH>..<HASH> 100644 --- a/numina/array/offrot.py +++ b/numina/array/offrot.py @@ -32,7 +32,7 @@ def fit_offset_and_rotation(coords0, coords1): Notes ------ - Fit offset and rotation using Kabsch's algorithm[1]_ [2]_ + Fit offset and ...
Fix spacing in docs [skip ci]
py
diff --git a/qiskit/providers/models/backendconfiguration.py b/qiskit/providers/models/backendconfiguration.py index <HASH>..<HASH> 100644 --- a/qiskit/providers/models/backendconfiguration.py +++ b/qiskit/providers/models/backendconfiguration.py @@ -270,7 +270,7 @@ class QasmBackendConfiguration: self.dynamic...
Enable zero rep delay #2 (#<I>) * Enable zero rep delay * Add backend fix
py
diff --git a/pygccxml/declarations/declaration.py b/pygccxml/declarations/declaration.py index <HASH>..<HASH> 100644 --- a/pygccxml/declarations/declaration.py +++ b/pygccxml/declarations/declaration.py @@ -174,6 +174,12 @@ class declaration_t(object): def _get_name_impl(self): return self._name + de...
Add back _on_rename method which is needed as placeholder in parent class
py
diff --git a/scripts/devops_tasks/setup_execute_tests.py b/scripts/devops_tasks/setup_execute_tests.py index <HASH>..<HASH> 100644 --- a/scripts/devops_tasks/setup_execute_tests.py +++ b/scripts/devops_tasks/setup_execute_tests.py @@ -22,7 +22,7 @@ dev_setup_script_location = os.path.join(root_dir, 'scripts/dev_setup.p...
properly ignoring all of cognitive services missing tests (#<I>)
py
diff --git a/src/mousedb/animal/models.py b/src/mousedb/animal/models.py index <HASH>..<HASH> 100644 --- a/src/mousedb/animal/models.py +++ b/src/mousedb/animal/models.py @@ -130,7 +130,8 @@ BACKGROUND_CHOICES = ( CAUSE_OF_DEATH = ( ('Unknown', 'Unknown'), ('Sacrificed', 'Sacrificed'), -('Accidental', 'Accidental') ...
added estimated death as a potential cause of death to indicate ambiguous death dates.
py
diff --git a/test/test_managers.py b/test/test_managers.py index <HASH>..<HASH> 100644 --- a/test/test_managers.py +++ b/test/test_managers.py @@ -104,3 +104,12 @@ class TestTags(object): assert self.mgr.get_parent_tag() == 'tip' assert self.mgr.get_parent_tag('.') == '1.1' assert self.mgr.get_parent_tag('ti...
Added test to capture failure where latest tag isn't always returned
py
diff --git a/src/harvesters/core.py b/src/harvesters/core.py index <HASH>..<HASH> 100644 --- a/src/harvesters/core.py +++ b/src/harvesters/core.py @@ -2329,6 +2329,7 @@ class ImageAcquirer: if do_clean_up: os.remove(file_path) + _logger.info('{} has been removed'.format(fi...
Resolve issue #<I>
py
diff --git a/ledger/util.py b/ledger/util.py index <HASH>..<HASH> 100644 --- a/ledger/util.py +++ b/ledger/util.py @@ -51,3 +51,6 @@ class F(Enum): STH = namedtuple("STH", ["tree_size", "sha256_root_hash"]) + +class ConsistencyVerificationFailed(Exception): + pass
create ConsistencyVerificationFailed class
py
diff --git a/thoth/solver/python/python.py b/thoth/solver/python/python.py index <HASH>..<HASH> 100644 --- a/thoth/solver/python/python.py +++ b/thoth/solver/python/python.py @@ -71,7 +71,7 @@ def _install_requirement(python_bin, package, version=None, index_url=None, clea try: cmd = "{} -m pip install --...
Use arbitrary equality for solvers
py
diff --git a/src/python/pants/goal/run_tracker.py b/src/python/pants/goal/run_tracker.py index <HASH>..<HASH> 100644 --- a/src/python/pants/goal/run_tracker.py +++ b/src/python/pants/goal/run_tracker.py @@ -80,7 +80,7 @@ class RunTracker(object): cmd_line = ' '.join(['./pants'] + sys.argv[1:]) # run_id is s...
Fix `./pants server` output - Fix floating point millis in run name, which was breaking the `./pants server` output good: pants_run_<I>_<I>_<I>_<I>_<I>_<I>_<I> bad: pants_run_<I>_<I>_<I>_<I>_<I>_<I>_<I> Testing Done: verified that the server reports logs Reviewed at <URL>
py
diff --git a/pywb/webapp/query_handler.py b/pywb/webapp/query_handler.py index <HASH>..<HASH> 100644 --- a/pywb/webapp/query_handler.py +++ b/pywb/webapp/query_handler.py @@ -129,6 +129,7 @@ class QueryHandler(object): wburl.QUERY: {'collapseTime': collapse_time, 'filter'...
cdx api query: pass query timestamp mod to index query via 'query_closest' field, to avoid confusion with 'closest'
py
diff --git a/wpull/version.py b/wpull/version.py index <HASH>..<HASH> 100644 --- a/wpull/version.py +++ b/wpull/version.py @@ -1,2 +1,2 @@ # encoding=utf-8 -__version__ = '0.9.4' +__version__ = '0.9.5'
Bumps version to <I>.
py
diff --git a/PyFunceble/helpers/environment_variable.py b/PyFunceble/helpers/environment_variable.py index <HASH>..<HASH> 100644 --- a/PyFunceble/helpers/environment_variable.py +++ b/PyFunceble/helpers/environment_variable.py @@ -144,13 +144,13 @@ class EnvironmentVariableHelper: The name to set. ...
Fix issue and missing side effect found while testing.
py
diff --git a/thumbnails/conf/wrapper.py b/thumbnails/conf/wrapper.py index <HASH>..<HASH> 100644 --- a/thumbnails/conf/wrapper.py +++ b/thumbnails/conf/wrapper.py @@ -33,18 +33,18 @@ class SettingsWrapper(object): makedirs(self.THUMBNAIL_PATH, exist_ok=True) def __getattr__(self, key): - valu...
Fix SettingsWrapper, support None as default value
py
diff --git a/quilt/tools/build.py b/quilt/tools/build.py index <HASH>..<HASH> 100644 --- a/quilt/tools/build.py +++ b/quilt/tools/build.py @@ -23,8 +23,10 @@ def _build_table(build_dir, store, name, table, target='pandas'): ext, rel_path = table path = os.path.join(build_dir, rel_path) # read...
Print messages before reading the file and saving the dataframe. (#<I>)
py
diff --git a/tests/test_pkey.py b/tests/test_pkey.py index <HASH>..<HASH> 100644 --- a/tests/test_pkey.py +++ b/tests/test_pkey.py @@ -466,6 +466,16 @@ class KeyTest(unittest.TestCase): self.assertTrue(not pub.can_sign()) self.assertEqual(key, pub) + def test_ed25519_nonbytes_password(self): + ...
Test proving #<I> / efficacy of #<I>
py
diff --git a/nion/swift/model/DocumentModel.py b/nion/swift/model/DocumentModel.py index <HASH>..<HASH> 100755 --- a/nion/swift/model/DocumentModel.py +++ b/nion/swift/model/DocumentModel.py @@ -2463,7 +2463,7 @@ class DocumentModel(Observable.Observable, ReferenceCounting.ReferenceCounted, D mappi...
Fix problem with mapped sum/average where pick graphic did not have proper role.
py
diff --git a/acme_tiny.py b/acme_tiny.py index <HASH>..<HASH> 100644 --- a/acme_tiny.py +++ b/acme_tiny.py @@ -193,5 +193,5 @@ if __name__ == "__main__": args = parser.parse_args() LOGGER.setLevel(args.quiet or LOGGER.level) - signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, LOGGER, CA=arg...
added kwarg for log to argparse function calling
py
diff --git a/master/buildbot/reporters/irc.py b/master/buildbot/reporters/irc.py index <HASH>..<HASH> 100644 --- a/master/buildbot/reporters/irc.py +++ b/master/buildbot/reporters/irc.py @@ -61,7 +61,7 @@ _irc_colors = ( 'TEAL', 'AQUA_LIGHT', 'ROYAL_BLUE', - 'HOT_PINK', + 'PINK', 'DARK_GRAY', ...
Fix IRC notification of cancelled bulids The color name conflicted between the name-to-code and result-to-name mappings.
py
diff --git a/drizzlepac/hlautils/hla_flag_filter.py b/drizzlepac/hlautils/hla_flag_filter.py index <HASH>..<HASH> 100755 --- a/drizzlepac/hlautils/hla_flag_filter.py +++ b/drizzlepac/hlautils/hla_flag_filter.py @@ -157,7 +157,7 @@ def run_source_list_flagging(drizzled_image, flt_list, param_dict, exptime, plat #...
Fixed typo (#<I>)
py
diff --git a/threadloop/threadloop.py b/threadloop/threadloop.py index <HASH>..<HASH> 100644 --- a/threadloop/threadloop.py +++ b/threadloop/threadloop.py @@ -38,7 +38,7 @@ class ThreadLoop(object): self.thread = None if io_loop is None: - self.io_loop = ioloop.IOLoop.current() + ...
Use dedicated IOLoops for each ThreadLoop
py
diff --git a/src/satosa/frontends/saml2.py b/src/satosa/frontends/saml2.py index <HASH>..<HASH> 100644 --- a/src/satosa/frontends/saml2.py +++ b/src/satosa/frontends/saml2.py @@ -271,6 +271,8 @@ class SAMLFrontend(FrontendModule): else: auth_info["class_ref"] = internal_response.auth_info.auth_cla...
carry the proxy through as authenticationauthority
py
diff --git a/pywbem/_server.py b/pywbem/_server.py index <HASH>..<HASH> 100644 --- a/pywbem/_server.py +++ b/pywbem/_server.py @@ -554,7 +554,7 @@ class WBEMServer(object): # Namespace class is implemented in the current namespace. # Use the returned namespace name, if possible. ...
Added list() around zip() to fix TypeError on Python 3.
py
diff --git a/cpuinfo/cpuinfo.py b/cpuinfo/cpuinfo.py index <HASH>..<HASH> 100644 --- a/cpuinfo/cpuinfo.py +++ b/cpuinfo/cpuinfo.py @@ -192,7 +192,7 @@ def _get_field_actual(cant_be_number, raw_string, field_names): for field_name in field_names: field_name = field_name.lower() if ':' in line: - left, righ...
Fixed potential errors with brands that contain colons.
py
diff --git a/charade/chardistribution.py b/charade/chardistribution.py index <HASH>..<HASH> 100644 --- a/charade/chardistribution.py +++ b/charade/chardistribution.py @@ -40,6 +40,7 @@ from .compat import wrap_ord ENOUGH_DATA_THRESHOLD = 1024 SURE_YES = 0.99 SURE_NO = 0.01 +MINIMUM_DATA_THRESHOLD = 3 clas...
don't overfit for short multibyte sequences <<URL>
py
diff --git a/insteonplm/devices/switchedLightingControl.py b/insteonplm/devices/switchedLightingControl.py index <HASH>..<HASH> 100644 --- a/insteonplm/devices/switchedLightingControl.py +++ b/insteonplm/devices/switchedLightingControl.py @@ -9,6 +9,7 @@ class SwitchedLightingControl(BaseDevice): BaseDevice.__...
Added 0x<I> command handler to SwithcedLightingControl
py
diff --git a/quarkc/compiler.py b/quarkc/compiler.py index <HASH>..<HASH> 100644 --- a/quarkc/compiler.py +++ b/quarkc/compiler.py @@ -38,7 +38,7 @@ from .dispatch import overload from .helpers import ( lineinfo, is_meta, get_fields, base_bindings, get_methods, get_field, is_abstract, constructor, base_type,...
Only try to track parent relationships of types have a reflect.Class.
py
diff --git a/openquake/risklib/scientific.py b/openquake/risklib/scientific.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/scientific.py +++ b/openquake/risklib/scientific.py @@ -125,8 +125,8 @@ class VulnerabilityFunction(object): assert all(x >= 0.0 for x in imls) assert len(covs) == len(iml...
scientific: Correct constraint checks for loss ratios. A ratio is NOT a probability, and should not be constrained to [0, 1]. *sigh*
py
diff --git a/address/apps.py b/address/apps.py index <HASH>..<HASH> 100644 --- a/address/apps.py +++ b/address/apps.py @@ -7,3 +7,4 @@ class AddressConfig(AppConfig): """ name = "address" + default_auto_field = "django.db.models.AutoField"
:bug: Set default ID field to AutoField Resolves #<I>
py
diff --git a/janitor/resources/s3.py b/janitor/resources/s3.py index <HASH>..<HASH> 100644 --- a/janitor/resources/s3.py +++ b/janitor/resources/s3.py @@ -335,6 +335,9 @@ class BucketScanLog(object): return self def __exit__(self, exc_type=None, exc_value=None, exc_frame=None): + # we need an...
write an empty marker when closing out the json log file
py
diff --git a/elastic_doc_manager.py b/elastic_doc_manager.py index <HASH>..<HASH> 100755 --- a/elastic_doc_manager.py +++ b/elastic_doc_manager.py @@ -82,7 +82,7 @@ class DocManager(): """Called to query Elastic for documents in a time range. This method is only used by rollbacks to query al...
fixed commands inelastic doc manager
py
diff --git a/salt/modules/network.py b/salt/modules/network.py index <HASH>..<HASH> 100644 --- a/salt/modules/network.py +++ b/salt/modules/network.py @@ -484,8 +484,12 @@ def _netstat_route_sunos(): ''' Return netstat routing information for SunOS ''' + tailpath = '/usr/xpg4/bin/tail' + if not os....
Further update to support correct tail in network for Solaris
py