diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/providers/test_address.py b/tests/providers/test_address.py index <HASH>..<HASH> 100644 --- a/tests/providers/test_address.py +++ b/tests/providers/test_address.py @@ -242,6 +242,21 @@ class TestFrFR(unittest.TestCase): assert isinstance(department_number, string_types) +class TestHeIL(u...
Unit Tests for he_IL Address Provider (#<I>)
py
diff --git a/fusesoc/config.py b/fusesoc/config.py index <HASH>..<HASH> 100644 --- a/fusesoc/config.py +++ b/fusesoc/config.py @@ -53,7 +53,7 @@ class Config(object): for item in ['build_root', 'cache_root', 'systems_root', 'library_root']: try: - setattr(self, item, config.get('m...
Support ~ in cache_root, build_root and library_root
py
diff --git a/pypump/pypump.py b/pypump/pypump.py index <HASH>..<HASH> 100644 --- a/pypump/pypump.py +++ b/pypump/pypump.py @@ -390,8 +390,6 @@ class PyPump(object): 'token_secret': data[self.PARAM_TOKEN_SECRET][0] } - logging.debug("Recieved request tokens. token: %s secret: %s" % dat...
Remove logging from oauth as it's already done by requests library
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ setup( "lems.dlems", ], scripts=["pylems"], + data_files=[("man/man1", ['man/man1/pylems.1'])], author="PyLEMS authors and contributors", author_email="gautham@lisphacker.org, p.g...
docs: install man page Abusing `data_files` seems to be the simplest way of doing this. <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with open('requirements.txt') as f: setuptools.setup( name="luthor-for-lex", - version='0.0.15.dev0', + version='0.0.15', author="Troy Larson", author_email="troylar@gmail.com", descri...
Preparing release <I>
py
diff --git a/bigchaindb/commands/utils.py b/bigchaindb/commands/utils.py index <HASH>..<HASH> 100644 --- a/bigchaindb/commands/utils.py +++ b/bigchaindb/commands/utils.py @@ -151,6 +151,10 @@ base_parser.add_argument('-c', '--config', help='Specify the location of the configuration file ' ...
Add log-level option for all CLI commands
py
diff --git a/cassandra/connection.py b/cassandra/connection.py index <HASH>..<HASH> 100644 --- a/cassandra/connection.py +++ b/cassandra/connection.py @@ -1020,6 +1020,9 @@ class Timer(object): if timeout < 0: self.callback() + def __lt__(self, other): + return self.end < other.end + ...
Fix Python3 bug with Timers and heaps Add comparison operator to allow Timers with the same end time to be pushed into heaps. It's poorly documented, but the warning can be found here: <URL> pairs if the priorities are equal and the tasks do not have a default comparison order."
py
diff --git a/runcommands/runners/remote.py b/runcommands/runners/remote.py index <HASH>..<HASH> 100644 --- a/runcommands/runners/remote.py +++ b/runcommands/runners/remote.py @@ -103,6 +103,8 @@ class RemoteRunner(Runner): channel.close() reset_stdin() except SSHException: + ...
Improve handling of SSHException in RemoteRunner.run() When debugging, re-raise `SSHException`s so we can figure out what happened.
py
diff --git a/tests/test_views.py b/tests/test_views.py index <HASH>..<HASH> 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -38,13 +38,13 @@ class ExifPhotoListViewTestCase(ViewTestCase): view_class = ExifPhotoListView def test_photo_found(self): - photo = PhotoFactory(exif={'Make': 'Ca...
Use some real titles to avoid looking up empty strings.
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -2307,7 +2307,7 @@ class MasterHighState(HighState): opts['state_top'] = master_opts['state_top'] opts['id'] = id_ opts['grains'] = grains - BaseHighState.__init__(self, op...
fix init call in inherited class with inheritence change
py
diff --git a/mutagen/musepack.py b/mutagen/musepack.py index <HASH>..<HASH> 100644 --- a/mutagen/musepack.py +++ b/mutagen/musepack.py @@ -143,9 +143,13 @@ class MusepackInfo(StreamInfo): # packets can be at maximum data_size big and are padded with zeros if frame_type == b"SH": + ...
musepack: gracefully handle duplicate RG/SH packets
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ setup( version='0.5.1', description='The better way to build large Flask apps', long_description=long_description, + long_description_content_type='text/markdown', url='https://github.com/...
support for markdown readme on pypi
py
diff --git a/nodeconductor/billing/backend/paypal.py b/nodeconductor/billing/backend/paypal.py index <HASH>..<HASH> 100644 --- a/nodeconductor/billing/backend/paypal.py +++ b/nodeconductor/billing/backend/paypal.py @@ -154,6 +154,6 @@ class PaypalBackend(object): raise BillingBackendError('Agreement no...
Use formatted date for search of transactions (SAAS-<I>)
py
diff --git a/apio/managers/scons.py b/apio/managers/scons.py index <HASH>..<HASH> 100644 --- a/apio/managers/scons.py +++ b/apio/managers/scons.py @@ -127,6 +127,24 @@ class SCons(object): click.secho('Error: board not detected', fg='red') return 1 + # -- Litterbox + el...
Added checks for the Cat Board litterbox uploader.
py
diff --git a/docker_tag_naming/utils.py b/docker_tag_naming/utils.py index <HASH>..<HASH> 100644 --- a/docker_tag_naming/utils.py +++ b/docker_tag_naming/utils.py @@ -105,6 +105,7 @@ def version_bump(image_name, branch, commit): return Version(1, commit, branch) version.bump() + version.commit = comm...
Fix bug where commit was not used in bump
py
diff --git a/src/pybel_tools/api.py b/src/pybel_tools/api.py index <HASH>..<HASH> 100644 --- a/src/pybel_tools/api.py +++ b/src/pybel_tools/api.py @@ -513,7 +513,8 @@ class DatabaseService(QueryService): :param tuple node: A PyBEL node tuple """ warnings.warn('Deprecated usage - user hash_nod...
returning assigned variable in get_hash (avoid problem at serializing in json)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -19,9 +19,9 @@ setup( name='mcc', packages=['mcc'], package_data={'mcc': ['config.ini']}, - entry_points={'console_scripts': ['mcc=mcc.core:main', - 'mccl=mcc.core:list_on...
setup.py v <I> While in alpha: - “mcc” performs list & exit - “mccx” routes to build-out of command-driven basic UI
py
diff --git a/stanza/pipeline/depparse_processor.py b/stanza/pipeline/depparse_processor.py index <HASH>..<HASH> 100644 --- a/stanza/pipeline/depparse_processor.py +++ b/stanza/pipeline/depparse_processor.py @@ -10,6 +10,7 @@ from stanza.models.depparse.trainer import Trainer from stanza.pipeline._constants import * f...
Try to set a reasonable default for having a separate batch in depparse
py
diff --git a/niworkflows/interfaces/bids.py b/niworkflows/interfaces/bids.py index <HASH>..<HASH> 100644 --- a/niworkflows/interfaces/bids.py +++ b/niworkflows/interfaces/bids.py @@ -12,6 +12,7 @@ from json import dumps from pathlib import Path from shutil import copytree, rmtree +import numpy as np import nibabel...
FIX: Copy image data array to avoid mmap-truncation
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -62,4 +62,9 @@ def raises_lookup_error_when_frames_are_not_found(): if __name__ == "__main__": + print "Native Tests..." + suite.run() + + print "\nNon-Native Tests..." + frames.Frame.NATIVE = False suite.run...
Adding non-native tests.
py
diff --git a/udiskie/mount.py b/udiskie/mount.py index <HASH>..<HASH> 100644 --- a/udiskie/mount.py +++ b/udiskie/mount.py @@ -257,10 +257,11 @@ class Mounter(object): success = False # if these operations work, everything is fine, we can return True: if lock and device.is_luks_cleartext:...
Fix eject/detach from command line
py
diff --git a/tests/base.py b/tests/base.py index <HASH>..<HASH> 100644 --- a/tests/base.py +++ b/tests/base.py @@ -143,11 +143,8 @@ class TestBaseBackend(unittest.TestCase): self.enrich_aliases = [] def tearDown(self): - delete_raw = self.es_con + "/" + self.ocean_index - requests.delete(d...
changed logic to delete all test indexes
py
diff --git a/fitsio/fitslib.py b/fitsio/fitslib.py index <HASH>..<HASH> 100644 --- a/fitsio/fitslib.py +++ b/fitsio/fitslib.py @@ -2344,7 +2344,7 @@ class TableHDU(HDUBase): If input is a fits bool, convert to numpy boolean """ - output = (array.astype(numpy.int8) == ord('T')).astype(numpy.bo...
fix all False boolean for some versions of numpy. astype does the wrong thing. we want to view the same memory chunk as an int. Seriously, we need to develop reading numpy documentations as a bed side hobby.
py
diff --git a/bokeh/models/renderers.py b/bokeh/models/renderers.py index <HASH>..<HASH> 100644 --- a/bokeh/models/renderers.py +++ b/bokeh/models/renderers.py @@ -80,23 +80,23 @@ class Legend(Renderer): """) label_standoff = Int(15, help=""" - The distance in pixels to separate the label from its associa...
Improve docstring readability in renderers.py
py
diff --git a/test/test_actions.py b/test/test_actions.py index <HASH>..<HASH> 100644 --- a/test/test_actions.py +++ b/test/test_actions.py @@ -246,7 +246,7 @@ run: script = SoS_Script(r''' [0] run: args='-n ${filename!q}' - touch a.txt + echo "" > a.txt ''') wf = script.workflow() Ba...
Fix test for windows on which there is no touch command
py
diff --git a/mha_helper/config_helper.py b/mha_helper/config_helper.py index <HASH>..<HASH> 100644 --- a/mha_helper/config_helper.py +++ b/mha_helper/config_helper.py @@ -41,6 +41,9 @@ class ConfigHelper(object): def load_config(): pattern = '*.conf' + if not os.path.exists(ConfigHelper.MHA_HELPE...
The ConfigHelper now checks for the existence of the configuration directory and that configuration for at least one host is found, otherwise it bails out with an error
py
diff --git a/src/ploneintranet/workspace/config.py b/src/ploneintranet/workspace/config.py index <HASH>..<HASH> 100644 --- a/src/ploneintranet/workspace/config.py +++ b/src/ploneintranet/workspace/config.py @@ -1,2 +1,2 @@ -INTRANET_USERS_GROUP_ID = 'all_intranet_users' +INTRANET_USERS_GROUP_ID = 'All Intranet Users' ...
Rename all users group in keeping with existing plone defaults
py
diff --git a/uliweb/orm/__init__.py b/uliweb/orm/__init__.py index <HASH>..<HASH> 100644 --- a/uliweb/orm/__init__.py +++ b/uliweb/orm/__init__.py @@ -4565,7 +4565,7 @@ class Model(object): if is_condition(parent): query = cls.filter(parent, *condition) else: - query = cls.filt...
Fix get_tree for parent value is not condition bug
py
diff --git a/xero/utils.py b/xero/utils.py index <HASH>..<HASH> 100644 --- a/xero/utils.py +++ b/xero/utils.py @@ -43,6 +43,7 @@ OBJECT_NAMES = { "Reports": "Report", "TaxRates": "TaxRate", "TrackingCategories": "TrackingCategory", + "Tracking": "TrackingCategory", "Users": "User", "Associat...
Add 'Tracking' as a plural of 'TrackingCategory' This feels a bit uncomfortable, but effectively; the Xero API is inconsistent about using 'TrackingCategories' as the key for elements where it expects the sub-elements to be 'TrackingCategory'. Specifically, for LineItems, it uses the term 'Tracking' instead, as per <U...
py
diff --git a/warehouse/accounts/views.py b/warehouse/accounts/views.py index <HASH>..<HASH> 100644 --- a/warehouse/accounts/views.py +++ b/warehouse/accounts/views.py @@ -55,4 +55,8 @@ def login(request): headers = remember(request, form.user.id) request.response.headerlist.extend(headers) + ...
Rotate the CSRF token on login.
py
diff --git a/pmxbot/slack.py b/pmxbot/slack.py index <HASH>..<HASH> 100644 --- a/pmxbot/slack.py +++ b/pmxbot/slack.py @@ -35,7 +35,7 @@ class Bot(pmxbot.core.Bot): def handle_message(self, msg): if msg.get('type') != 'message': return - + if msg.get('user'): nick = self.slack.server.users.find(msg['u...
Get rid of indentation on empty lines
py
diff --git a/coursera/test/utils.py b/coursera/test/utils.py index <HASH>..<HASH> 100644 --- a/coursera/test/utils.py +++ b/coursera/test/utils.py @@ -2,6 +2,7 @@ Helper functions that are only used in tests. """ import os +from io import open def slurp_fixture(path):
Import open from io in slurp_fixture (attempt to fix test failures on Windows Python<I>)
py
diff --git a/flowcraft/generator/inspect.py b/flowcraft/generator/inspect.py index <HASH>..<HASH> 100644 --- a/flowcraft/generator/inspect.py +++ b/flowcraft/generator/inspect.py @@ -1515,9 +1515,9 @@ class NextflowInspector: self._print_msg(run_hash) _broadcast_sent = True -...
Modified debug logging for inspect
py
diff --git a/pytestsalt/salt/log_handlers/pytest_log_handler.py b/pytestsalt/salt/log_handlers/pytest_log_handler.py index <HASH>..<HASH> 100644 --- a/pytestsalt/salt/log_handlers/pytest_log_handler.py +++ b/pytestsalt/salt/log_handlers/pytest_log_handler.py @@ -36,7 +36,12 @@ def __virtual__(): def setup_handlers...
Limit the log queue size to 1 million records
py
diff --git a/ykman/__init__.py b/ykman/__init__.py index <HASH>..<HASH> 100644 --- a/ykman/__init__.py +++ b/ykman/__init__.py @@ -25,4 +25,4 @@ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -__version__ = '0.4.1' +__version__ = '0.4.2-dev'
update version to <I>-dev
py
diff --git a/tint/registry.py b/tint/registry.py index <HASH>..<HASH> 100644 --- a/tint/registry.py +++ b/tint/registry.py @@ -46,6 +46,8 @@ def _hex_to_rgb(hex_code): >>> _hex_to_rgb("007fff") (0, 127, 255) """ + if len(hex_code) != 6: + raise ValueError(hex_code + " is not a string of length ...
Added Exception if hex code string doesn't have the right length
py
diff --git a/sos/plugins/samba.py b/sos/plugins/samba.py index <HASH>..<HASH> 100644 --- a/sos/plugins/samba.py +++ b/sos/plugins/samba.py @@ -38,6 +38,7 @@ class Samba(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "wbinfo --domain='.' --domain-users", "wbinfo --domain='.' --domain-groups...
[samba] Get information about the primary trust Resolves: #<I>
py
diff --git a/pandas/core/strings.py b/pandas/core/strings.py index <HASH>..<HASH> 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -293,6 +293,8 @@ def str_contains(arr, pat, case=True, flags=0, na=np.nan, regex=True): See Also -------- match : analogous, but stricter, relying on re.ma...
DOC: updated Series.str.contains see also section (#<I>)
py
diff --git a/bloop/filter.py b/bloop/filter.py index <HASH>..<HASH> 100644 --- a/bloop/filter.py +++ b/bloop/filter.py @@ -301,7 +301,7 @@ class Filter(object): else: set(selected) ''' if self._select == 'all': - return self.model.Meta.Columns + return self.model.Meta....
Fix typo in Filter._expected
py
diff --git a/acceptancetests/assess_deploy_webscale.py b/acceptancetests/assess_deploy_webscale.py index <HASH>..<HASH> 100755 --- a/acceptancetests/assess_deploy_webscale.py +++ b/acceptancetests/assess_deploy_webscale.py @@ -306,8 +306,11 @@ def main(argv=None): "git-sha": args.git_sha, ...
Add extra mongo-related influxdb tags to webscale test The new tags "mongo-ss-txns" and "mongo-profile" are currently placeholders; the tests will be updated when a mechanism for querying them becomes available.
py
diff --git a/werkzeug/testsuite/wsgi.py b/werkzeug/testsuite/wsgi.py index <HASH>..<HASH> 100644 --- a/werkzeug/testsuite/wsgi.py +++ b/werkzeug/testsuite/wsgi.py @@ -13,8 +13,9 @@ from __future__ import with_statement import unittest from os import path -from io import StringIO, BytesIO +from io import BytesIO fr...
Use six.StringIO instead of io.StringIO Apparently io.StringIO changed the API from <I> to <I>
py
diff --git a/asciimatics/widgets.py b/asciimatics/widgets.py index <HASH>..<HASH> 100644 --- a/asciimatics/widgets.py +++ b/asciimatics/widgets.py @@ -2544,7 +2544,8 @@ class _BaseListBox(with_metaclass(ABCMeta, Widget)): # Check for scroll bar interactions: if self._scroll_bar: - ...
Fix mouse events processing for _BaseListBox scroll bar (#<I>) Return None if mouse event was processed by scroll bar instead of re-assigning event to True/False.
py
diff --git a/extensions/management/commands/create_command.py b/extensions/management/commands/create_command.py index <HASH>..<HASH> 100644 --- a/extensions/management/commands/create_command.py +++ b/extensions/management/commands/create_command.py @@ -10,7 +10,7 @@ class Command(AppCommand): help='The b...
fixed a minor typo in the help string of create_command.
py
diff --git a/tests/bcbio_vm/test_docker.py b/tests/bcbio_vm/test_docker.py index <HASH>..<HASH> 100755 --- a/tests/bcbio_vm/test_docker.py +++ b/tests/bcbio_vm/test_docker.py @@ -93,9 +93,9 @@ class TestCWL(): with install_cwl_test_files(data_dir) as workdir: with utils.chdir(os.path.join(workdir,...
CWL RNA-seq: test with Toil runner Toil is correctly mounting into Docker instances while bunny appears to be currently having issues.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,10 +29,8 @@ setup(name='spglm', #name of package 'Topic :: Scientific/Engineering :: GIS', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', - 'Programming Langua...
removing python versions below <I> in setup.py
py
diff --git a/webdriver_test_tools/__main__.py b/webdriver_test_tools/__main__.py index <HASH>..<HASH> 100644 --- a/webdriver_test_tools/__main__.py +++ b/webdriver_test_tools/__main__.py @@ -1,6 +1,9 @@ #!/usr/bin/env python3 import argparse +from webdriver_test_tools.version import __version__ +from webdriver_test...
Added main() which parses args and handles appropriately
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ setup( author='Nikolaus Sonnenschein', author_email='niko.sonnenschein@gmail.com', description='swiglpk - Simple swig bindings for the GNU Linear Programming Kit', - license='Apache License Ver...
fix: license information in setup.py
py
diff --git a/pelican_alias.py b/pelican_alias.py index <HASH>..<HASH> 100644 --- a/pelican_alias.py +++ b/pelican_alias.py @@ -11,7 +11,7 @@ logger = logging.getLogger(__name__) class AliasGenerator(object): TEMPLATE = """<!DOCTYPE html><html><head><meta charset="utf-8" /> -<meta http-equiv="refresh" content="0...
Changed template to use single curly braces.
py
diff --git a/visidata/loaders/xlsx.py b/visidata/loaders/xlsx.py index <HASH>..<HASH> 100644 --- a/visidata/loaders/xlsx.py +++ b/visidata/loaders/xlsx.py @@ -28,10 +28,22 @@ class XlsxIndexSheet(IndexSheet): class XlsxSheet(SequenceSheet): + # rowdef: AttrDict of column_letter to cell + def setCols(self, he...
[xlsx] change rowdef to list of AttrDict #<I>
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -16,6 +16,7 @@ from haystack import connections from haystack.backends import BaseEngine, BaseSearchBackend, BaseSearchQuery, SearchNode, log_query from haystack.constants import ID, DJANG...
Fixed #<I> - Adds support to AutoQuery.
py
diff --git a/internetarchive/item.py b/internetarchive/item.py index <HASH>..<HASH> 100644 --- a/internetarchive/item.py +++ b/internetarchive/item.py @@ -410,7 +410,9 @@ class Item(BaseItem): print(msg, end='') errors = list() + downloaded = 0 responses = list() + f...
Display 'download failed' instead of 'success' when download fails
py
diff --git a/experiments/fields/bd1xx.py b/experiments/fields/bd1xx.py index <HASH>..<HASH> 100644 --- a/experiments/fields/bd1xx.py +++ b/experiments/fields/bd1xx.py @@ -27,6 +27,7 @@ from __future__ import absolute_import, division, print_function import six from dojson import utils +from dojson.errors import Ign...
dojson: fix date_started rule in experiments
py
diff --git a/djoser/conf.py b/djoser/conf.py index <HASH>..<HASH> 100644 --- a/djoser/conf.py +++ b/djoser/conf.py @@ -1,7 +1,7 @@ import warnings from django.core.exceptions import ImproperlyConfigured -from django.conf import settings +from django.conf import settings as django_settings from django.utils import ...
Rename import of django settings -> django_settings to avoid recursion bug
py
diff --git a/tenant_schemas/tests/test_apps.py b/tenant_schemas/tests/test_apps.py index <HASH>..<HASH> 100644 --- a/tenant_schemas/tests/test_apps.py +++ b/tenant_schemas/tests/test_apps.py @@ -1,4 +1,4 @@ -from django.apps.registry import Apps +from django.apps import apps from django.core.checks import Critical, Er...
Query the apps registry in test cases The override_settings module looks after revising the cache, so no need to build our own - the settings.INSTALLED_APPS was holding unexpected values (strangely only in Python <I>, though) but this should give the expected outcome every time.
py
diff --git a/rest_framework_swagger/__init__.py b/rest_framework_swagger/__init__.py index <HASH>..<HASH> 100644 --- a/rest_framework_swagger/__init__.py +++ b/rest_framework_swagger/__init__.py @@ -1 +1 @@ -__version__ = '2.0.1' +__version__ = '2.0.2'
Bump to version <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,6 @@ import os import re -from distribute_setup import use_setuptools; use_setuptools() from setuptools import setup
remove offending line that prevents installation on python <I>
py
diff --git a/mordred.py b/mordred.py index <HASH>..<HASH> 100755 --- a/mordred.py +++ b/mordred.py @@ -320,7 +320,7 @@ class TaskPanels(Task): }, "discourse": { "raw":["discourse-dev"], - "enrich":["discourse_enrich"] + "enrich":["discourse"] }, "st...
[panels] discourse panel now uses discourse enrich name
py
diff --git a/proselint/checks/nfl/naughty_words.py b/proselint/checks/nfl/naughty_words.py index <HASH>..<HASH> 100644 --- a/proselint/checks/nfl/naughty_words.py +++ b/proselint/checks/nfl/naughty_words.py @@ -683,7 +683,6 @@ def check_debased_language(text): "limy", "live sex", "livesex", -...
Remove 'll' from NFL's naughty words
py
diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py index <HASH>..<HASH> 100644 --- a/scapy/layers/inet6.py +++ b/scapy/layers/inet6.py @@ -1676,6 +1676,7 @@ icmp6ndraprefs = {0: "Medium (default)", 2: "Reserved", 3: "Low"} # RFC 4191 + class _ICMPv6NDGuessPayload: ...
fixes PEP8-uncompliant overlong code lines
py
diff --git a/pymc3/step_methods/arraystep.py b/pymc3/step_methods/arraystep.py index <HASH>..<HASH> 100644 --- a/pymc3/step_methods/arraystep.py +++ b/pymc3/step_methods/arraystep.py @@ -10,7 +10,7 @@ from enum import IntEnum, unique __all__ = ['ArrayStep', 'ArrayStepShared', 'metrop_select', 'SamplerHist', ...
DOC: Adding an arraystep docstring (#<I>) Fixes the docstring
py
diff --git a/ezurl/__init__.py b/ezurl/__init__.py index <HASH>..<HASH> 100644 --- a/ezurl/__init__.py +++ b/ezurl/__init__.py @@ -154,3 +154,4 @@ class Url(object): """ self.fragmenttrack = text return self +
Added Newline at EOF
py
diff --git a/bin/parser/train.py b/bin/parser/train.py index <HASH>..<HASH> 100755 --- a/bin/parser/train.py +++ b/bin/parser/train.py @@ -100,7 +100,7 @@ def evaluate(Language, gold_tuples, model_dir, gold_preproc=False, verbose=False nlp.entity(tokens) else: tokens = nlp...
Fix train script for <I>
py
diff --git a/pyjade/ext/django/compiler.py b/pyjade/ext/django/compiler.py index <HASH>..<HASH> 100644 --- a/pyjade/ext/django/compiler.py +++ b/pyjade/ext/django/compiler.py @@ -72,7 +72,10 @@ except ImportError: def decorate_templatize(func): def templatize(src, origin=None): src = to_text(src, setting...
fix for django makemessage command pyjade try to compile all files in various template dirs in makemessages command. Solution: Force it only compile jade file.
py
diff --git a/examples/nats-pub/__main__.py b/examples/nats-pub/__main__.py index <HASH>..<HASH> 100644 --- a/examples/nats-pub/__main__.py +++ b/examples/nats-pub/__main__.py @@ -43,6 +43,7 @@ async def run(loop): parser.add_argument('-d', '--data', default="hello world") parser.add_argument('-s', '--servers'...
Update __main__.py Authentication by token against NATS. It is needed by Argo event bus.
py
diff --git a/src/pyrocore/torrent/engine.py b/src/pyrocore/torrent/engine.py index <HASH>..<HASH> 100644 --- a/src/pyrocore/torrent/engine.py +++ b/src/pyrocore/torrent/engine.py @@ -459,7 +459,7 @@ class TorrentProxy(object): kind = DynamicField(set, "kind", "ALL kinds of files in this item (the same as kind_0)",...
misc/other to always have 2 levels for now
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -9,8 +9,8 @@ from setuptools.command.test import test REQUIREMENTS = [] -# with open("README.rst", "r") as resource: -# LONG_DESCRIPTION = resource.read() +with open("README.rst", "r") as resource: + LONG_DESCRIPTI...
Add package long description to setup.py
py
diff --git a/zenpy/lib/mapping.py b/zenpy/lib/mapping.py index <HASH>..<HASH> 100644 --- a/zenpy/lib/mapping.py +++ b/zenpy/lib/mapping.py @@ -68,8 +68,7 @@ class ZendeskObjectMapping(object): 'sharing_agreement': SharingAgreement, 'macro': Macro, 'action': Action, - 'result': None, #...
Fix bug raised in #<I>.
py
diff --git a/luigi_td/targets/td.py b/luigi_td/targets/td.py index <HASH>..<HASH> 100644 --- a/luigi_td/targets/td.py +++ b/luigi_td/targets/td.py @@ -21,10 +21,10 @@ class DatabaseTarget(luigi.Target): return self.database_name in [db.name for db in client.databases()] class TableTarget(luigi.Target): - ...
Fix using [] as the default value
py
diff --git a/salt/pillar/git_pillar.py b/salt/pillar/git_pillar.py index <HASH>..<HASH> 100644 --- a/salt/pillar/git_pillar.py +++ b/salt/pillar/git_pillar.py @@ -124,15 +124,15 @@ def init(branch, repo_location): def update(branch, repo_location): ''' - Execute a git pull on all of the repos + Enxure you...
Fixing update of repo, it was updating the .git directory, but not the filesystem that is used for the pillar data
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,6 @@ setup( author = 'Beau Barker', author_email = 'beauinmelbourne@gmail.com', url = 'https://bitbucket.org/beau-barker/jsonrpcclient', - download_url = 'https://bitbucket.org/beau-barker/jsonrpccl...
setup.py: Removed download_url
py
diff --git a/atlassian/bitbucket.py b/atlassian/bitbucket.py index <HASH>..<HASH> 100644 --- a/atlassian/bitbucket.py +++ b/atlassian/bitbucket.py @@ -801,7 +801,7 @@ class Bitbucket(AtlassianRestAPI): pr_list.extend(response.get("values", [])) else: - while not response.get('isLa...
[RestClient] Enfore PR limit when using server (#<I>) When pulling PRs from bitbucket server, the limit url parameter doesn't seem to be beeing heeded. This change allows the library to prevent too many PRs from being returned to the client.
py
diff --git a/zengine/views/menu.py b/zengine/views/menu.py index <HASH>..<HASH> 100644 --- a/zengine/views/menu.py +++ b/zengine/views/menu.py @@ -28,6 +28,8 @@ class Menu(BaseView): result[k].extend(v) if current.user.superuser: result['other'].extend(settings.ADMIN_MENUS) + ...
fixed quick menu to include admin menus
py
diff --git a/irc/server.py b/irc/server.py index <HASH>..<HASH> 100755 --- a/irc/server.py +++ b/irc/server.py @@ -423,7 +423,8 @@ class IRCClient(socketserver.BaseRequestHandler): for client in channel.clients: client.send_queue.append(response) channel.clients.re...
Suppress error when self.nick is None.
py
diff --git a/tests/ignite/engine/test_create_supervised.py b/tests/ignite/engine/test_create_supervised.py index <HASH>..<HASH> 100644 --- a/tests/ignite/engine/test_create_supervised.py +++ b/tests/ignite/engine/test_create_supervised.py @@ -12,13 +12,7 @@ from torch.nn.functional import mse_loss from torch.optim imp...
Remove unused imports in test (#<I>) * Remove unused imports in test * autopep8 fix
py
diff --git a/src/sagemaker/model.py b/src/sagemaker/model.py index <HASH>..<HASH> 100644 --- a/src/sagemaker/model.py +++ b/src/sagemaker/model.py @@ -274,9 +274,18 @@ class Model(object): framework (str): The framework name. framework_version (str): The framework version. """ - ...
fix: add a condition to retrieve correct image URI for xgboost (#<I>)
py
diff --git a/intranet/apps/eighth/views/admin/groups.py b/intranet/apps/eighth/views/admin/groups.py index <HASH>..<HASH> 100644 --- a/intranet/apps/eighth/views/admin/groups.py +++ b/intranet/apps/eighth/views/admin/groups.py @@ -74,9 +74,9 @@ def delete_group_view(request, group_id): else: context = { ...
Use str() for group item_name and fix wording of help text
py
diff --git a/dependency-lock/update.py b/dependency-lock/update.py index <HASH>..<HASH> 100755 --- a/dependency-lock/update.py +++ b/dependency-lock/update.py @@ -195,11 +195,16 @@ class ProjectDependency(object): line = line[endOfInfo:] line = line.strip() parts = line.split(':')...
[Java] Fix dependencies lock script Java <I> problem
py
diff --git a/nrrd.py b/nrrd.py index <HASH>..<HASH> 100644 --- a/nrrd.py +++ b/nrrd.py @@ -443,7 +443,13 @@ def write(filename, data, options={}, separate_header=False): # For all other cases, header & data written to same file. if filename[-5:] == '.nhdr': separate_header = True - datafilenam...
Allow separate data file to be set in options.
py
diff --git a/brother_ql/brother_ql_analyse.py b/brother_ql/brother_ql_analyse.py index <HASH>..<HASH> 100755 --- a/brother_ql/brother_ql_analyse.py +++ b/brother_ql/brother_ql_analyse.py @@ -7,12 +7,17 @@ from brother_ql.reader import BrotherQLReader def main(): parser = argparse.ArgumentParser() - parser.ad...
brother_ql_analyze can now read from stdin (with '-')
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 @@ -69,7 +69,7 @@ if OQ_DISTRIBUTE == 'zmq': continue num_workers += sock.send('get_num_workers') OqParam.conc...
Removed annoying logs [skip CI]
py
diff --git a/mwerkscompiler.py b/mwerkscompiler.py index <HASH>..<HASH> 100644 --- a/mwerkscompiler.py +++ b/mwerkscompiler.py @@ -18,7 +18,6 @@ from distutils.ccompiler import \ import distutils.util import distutils.dir_util from distutils import log -import mkcwproject class MWerksCompiler (CCompiler) : "...
Add all of the distuils modules that don't seem to have explicit tests. :-( Move an import in mworkscompiler so that this module can be imported on any platform. Hopefully this works on all platforms.
py
diff --git a/soco/discovery.py b/soco/discovery.py index <HASH>..<HASH> 100644 --- a/soco/discovery.py +++ b/soco/discovery.py @@ -96,14 +96,14 @@ def discover( if interface_addr is not None: # Use the specified interface, if any try: _ = socket.inet_aton(interface_addr) - address...
Minor improvement to logical flow in 'discover()'
py
diff --git a/future/tests/test_dict.py b/future/tests/test_dict.py index <HASH>..<HASH> 100644 --- a/future/tests/test_dict.py +++ b/future/tests/test_dict.py @@ -66,6 +66,8 @@ class TestDict(unittest.TestCase): assert not isinstance(d.values(), list) assert not isinstance(d.items(), list) +...
Mark xfail for Py<I> for a test of set-like behaviour with dict methods
py
diff --git a/fbchat/utils.py b/fbchat/utils.py index <HASH>..<HASH> 100644 --- a/fbchat/utils.py +++ b/fbchat/utils.py @@ -15,7 +15,7 @@ def now(): return int(time()*1000) def get_json(text): - return json.loads(re.sub(r"for.*(;;).*;", '', text.decode("unicode-escape").encode('utf-8'), 1)) + return json.l...
have bug AttributeError: 'str' object has no attribute 'decode'
py
diff --git a/tests/test_client.py b/tests/test_client.py index <HASH>..<HASH> 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -10,7 +10,9 @@ client_id = os.environ.get("SMASHRUN_CLIENT_ID") client_secret = os.environ.get("SMASHRUN_CLIENT_SECRET") refresh_token = os.environ.get("SMASHRUN_REFRESH_TOKEN"...
only set logging level to DEBUG in tests if DEBUG env var is set
py
diff --git a/quantecon/models/solow/model.py b/quantecon/models/solow/model.py index <HASH>..<HASH> 100644 --- a/quantecon/models/solow/model.py +++ b/quantecon/models/solow/model.py @@ -75,6 +75,9 @@ References @date : 2014-08-18 TODO: +1. Add code for computing the marginal product of capital. +2. Add code for co...
Added property for computing the marginal product of capital.
py
diff --git a/src/scs_core/gas/ndir_datum.py b/src/scs_core/gas/ndir_datum.py index <HASH>..<HASH> 100644 --- a/src/scs_core/gas/ndir_datum.py +++ b/src/scs_core/gas/ndir_datum.py @@ -58,6 +58,10 @@ class NDIRDatum(JSONable): return True + def __add__(self, other): + pass + + # --------------...
Added __eq__ to NDIRDatum.
py
diff --git a/testing/test_predict.py b/testing/test_predict.py index <HASH>..<HASH> 100644 --- a/testing/test_predict.py +++ b/testing/test_predict.py @@ -70,9 +70,6 @@ class TestFullCov(unittest.TestCase): GPflow.gpmc.GPMC(X, Y, kern=k(), likelihood=GPflow.likelihoods.Gaussian()), ...
Removing extraneous optimize.
py
diff --git a/eventkit/tests/tests.py b/eventkit/tests/tests.py index <HASH>..<HASH> 100644 --- a/eventkit/tests/tests.py +++ b/eventkit/tests/tests.py @@ -237,7 +237,7 @@ class TestEventPropagation(WebTest): with self.assertRaisesMessage(AssertionError, message): event2.save() - def test_prop...
Rename `test_propagate()` to `test_propagate_title()` for consistency and explicitness.
py
diff --git a/usgs/api.py b/usgs/api.py index <HASH>..<HASH> 100644 --- a/usgs/api.py +++ b/usgs/api.py @@ -116,16 +116,27 @@ def dataset_search(dataset=None, catalog=None, ll=None, ur=None, start_date=None return response def login(username, password, save=True): + """ + Log in, creating a temporary API k...
Use _check_for_usgs_error to ensure the USGSAuthExpired hint will be shown if an expired API key already exists. Also add a docstring to explain how login and logout affect the stored API key (#<I>)
py
diff --git a/pandas/tests/test_groupby.py b/pandas/tests/test_groupby.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_groupby.py +++ b/pandas/tests/test_groupby.py @@ -4369,6 +4369,17 @@ class TestGroupBy(tm.TestCase): exc.args += ('operation: %s' % op,) raise + def test_ma...
BUG/TST: test for groupby max nan subselection bug
py
diff --git a/django_mobile/loader.py b/django_mobile/loader.py index <HASH>..<HASH> 100644 --- a/django_mobile/loader.py +++ b/django_mobile/loader.py @@ -11,6 +11,9 @@ class Loader(BaseLoader): is_usable = True _template_source_loaders = None + def get_contents(self, origin): + return origin.load...
to support recursion in Django <I>
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,17 +38,17 @@ master_doc = 'index' # General information about the project. project = u'django-authority' -copyright = u'2009, Jannis Leidel' +copyright = u'2009, The django-authority team' # The vers...
Docs: Updated to version <I>. Removed Jannis from the copyright line.
py
diff --git a/apitools/base/py/http_wrapper.py b/apitools/base/py/http_wrapper.py index <HASH>..<HASH> 100644 --- a/apitools/base/py/http_wrapper.py +++ b/apitools/base/py/http_wrapper.py @@ -247,6 +247,8 @@ def HandleExceptionsAndRebuildHttpConnections(retry_args): logging.debug('Caught socket error, retrying: %s'...
Include socket timeout in http_wrapper retryable errors Reviewed at <URL>
py
diff --git a/samcli/commands/init/init_templates.py b/samcli/commands/init/init_templates.py index <HASH>..<HASH> 100644 --- a/samcli/commands/init/init_templates.py +++ b/samcli/commands/init/init_templates.py @@ -118,7 +118,7 @@ class InitTemplates: def _shared_dir_check(self, shared_dir): try: - ...
fix: config_dir creation permission. Hex permissions were used instead of Oct (#<I>)
py
diff --git a/abilian/services/conversion.py b/abilian/services/conversion.py index <HASH>..<HASH> 100644 --- a/abilian/services/conversion.py +++ b/abilian/services/conversion.py @@ -441,6 +441,7 @@ class UnoconvPdfHandler(Handler): accepts_mime_types = ['application/vnd.oasis.*', 'applicati...
converter: unoconv: added another mimetype signature for powerpoint docs
py
diff --git a/blockstack_cli_0.14.1/blockstack_registrar/blockdata/register.py b/blockstack_cli_0.14.1/blockstack_registrar/blockdata/register.py index <HASH>..<HASH> 100755 --- a/blockstack_cli_0.14.1/blockstack_registrar/blockdata/register.py +++ b/blockstack_cli_0.14.1/blockstack_registrar/blockdata/register.py @@ -1...
limit the max size of a single field of a profile; solving #1
py
diff --git a/pypot/dynamixel/error.py b/pypot/dynamixel/error.py index <HASH>..<HASH> 100644 --- a/pypot/dynamixel/error.py +++ b/pypot/dynamixel/error.py @@ -69,8 +69,3 @@ class BaseErrorHandler(DxlErrorHandler): extra={'port': com_error.dxl_io.port, 'baudrate': c...
This error was indeed linked to the voltage problem. Prepare for release <I>
py
diff --git a/Pynac/Plotting.py b/Pynac/Plotting.py index <HASH>..<HASH> 100644 --- a/Pynac/Plotting.py +++ b/Pynac/Plotting.py @@ -1,3 +1,7 @@ +from bokeh.io import push_notebook, show, output_notebook +from bokeh.plotting import figure +from bokeh.layouts import gridplot, column, row + class PynPlt(object): ''' ...
booked imports got lost when refactoring. Putting them back
py
diff --git a/salt/modules/useradd.py b/salt/modules/useradd.py index <HASH>..<HASH> 100644 --- a/salt/modules/useradd.py +++ b/salt/modules/useradd.py @@ -180,6 +180,7 @@ def info(name): ret['gid'] = data.pw_gid ret['home'] = data.pw_dir ret['shell'] = data.pw_shell + ret['groups'] = list_groups(name)...
Add groups to the info return data for the user
py