diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -79,9 +79,10 @@ setup( 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Utilities', + 'Topic :: Software Dev...
Extend keywords and classifiers.
py
diff --git a/api/check.py b/api/check.py index <HASH>..<HASH> 100644 --- a/api/check.py +++ b/api/check.py @@ -144,7 +144,7 @@ def check_pending_labels(ast): for x in node.children: pending.append(x) - if node.token != 'ID' or (node.token == 'ID' and node.class_ is not None): + if ...
Updated to correctly checks for vars
py
diff --git a/spyderlib/plugins/runconfig.py b/spyderlib/plugins/runconfig.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/runconfig.py +++ b/spyderlib/plugins/runconfig.py @@ -317,7 +317,7 @@ class RunConfigOneDialog(BaseRunConfigDialog): self.runconfigoptions.set(RunConfiguration(fname).get()) ...
Run config dialog: Improve its title name on a first file run
py
diff --git a/dispatch/api/serializers.py b/dispatch/api/serializers.py index <HASH>..<HASH> 100644 --- a/dispatch/api/serializers.py +++ b/dispatch/api/serializers.py @@ -60,6 +60,8 @@ class ArticleSerializer(serializers.HyperlinkedModelSerializer): featured_image = AttachmentImageSerializer(read_only=True) a...
changing url and author_string in Article API endpoint
py
diff --git a/django_extensions/management/commands/runserver_plus.py b/django_extensions/management/commands/runserver_plus.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/runserver_plus.py +++ b/django_extensions/management/commands/runserver_plus.py @@ -338,11 +338,10 @@ class Command(BaseC...
check for errors retrieving the handler at the right spot
py
diff --git a/safe/metadata/base_metadata.py b/safe/metadata/base_metadata.py index <HASH>..<HASH> 100644 --- a/safe/metadata/base_metadata.py +++ b/safe/metadata/base_metadata.py @@ -174,7 +174,7 @@ class BaseMetadata(object): 'gmd:supplementalInformation/' 'inasafe/' 'resolution/...
Use resolution as float, not tuple.
py
diff --git a/lib/check_files.py b/lib/check_files.py index <HASH>..<HASH> 100644 --- a/lib/check_files.py +++ b/lib/check_files.py @@ -428,7 +428,7 @@ def countInput(input): files = parseinput.parseinput(input) count = len(files[0]) for f in files[0]: - if pyfits.getval(f, 'INSTRUME') == 'STIS': +...
Updated 'countInput()' in 'pytools.check_files' to only check FITS files to see whether they are STIS ASN files. The check was done using 'fileutil.isFITS()'. The updated code was tested on a directory of WFPC2 GEIS images, a STIS ASN file, and a directory of ACS flt.fits files. WJH git-svn-id: <URL>
py
diff --git a/implicit/recommender_base.py b/implicit/recommender_base.py index <HASH>..<HASH> 100644 --- a/implicit/recommender_base.py +++ b/implicit/recommender_base.py @@ -43,6 +43,9 @@ class RecommenderBase(object): calculate the best items for this user. N : int, optional The num...
Doc update - filter_already_liked_items Adding filter_already_liked_items to docstring.
py
diff --git a/tests/analyses/reaching_definitions/test_reachingdefinitions.py b/tests/analyses/reaching_definitions/test_reachingdefinitions.py index <HASH>..<HASH> 100644 --- a/tests/analyses/reaching_definitions/test_reachingdefinitions.py +++ b/tests/analyses/reaching_definitions/test_reachingdefinitions.py @@ -3,7 +...
Add a call to unittest.main in test_reachingdefinitions.py
py
diff --git a/skyfield/tests/test_planetarylib.py b/skyfield/tests/test_planetarylib.py index <HASH>..<HASH> 100644 --- a/skyfield/tests/test_planetarylib.py +++ b/skyfield/tests/test_planetarylib.py @@ -99,7 +99,6 @@ def test_rotating_vector_into_frame(): # TODO: # a Moon-based topos object, tested against ...
Tighten a precision that has gotten better
py
diff --git a/quickunit/plugin.py b/quickunit/plugin.py index <HASH>..<HASH> 100644 --- a/quickunit/plugin.py +++ b/quickunit/plugin.py @@ -311,6 +311,9 @@ class QuickUnitPlugin(Plugin): missing[filename] = missing[filename].difference(covered_linenos) + if filename not in data[test]:...
Gracefully handle files which werent part of the original data but contained import level coverage
py
diff --git a/utils/SSLyzeSSLConnection.py b/utils/SSLyzeSSLConnection.py index <HASH>..<HASH> 100644 --- a/utils/SSLyzeSSLConnection.py +++ b/utils/SSLyzeSSLConnection.py @@ -118,7 +118,11 @@ def create_sslyze_connection(target, shared_settings, sslVersion=None, sslVerify # Add Server Name Indication if sha...
Fix SNI + SSLv2 The rest of the fix was pushed to nassl. This closes issue #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -86,8 +86,8 @@ setup( 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: POSIX', - 'Programming Language :: Python :: 2.6', 'Programming Lan...
Update supported Python versions in setup.py
py
diff --git a/src/cobra/sampling/sampling.py b/src/cobra/sampling/sampling.py index <HASH>..<HASH> 100644 --- a/src/cobra/sampling/sampling.py +++ b/src/cobra/sampling/sampling.py @@ -73,7 +73,7 @@ def sample(model, n, method="optgp", thinning=100, processes=1, seed=None): """ if method == "optgp": - ...
refactor: adapt cobra.sampling.sampling to work with OptGPSampler
py
diff --git a/tests/functional_tests/test_providers.py b/tests/functional_tests/test_providers.py index <HASH>..<HASH> 100644 --- a/tests/functional_tests/test_providers.py +++ b/tests/functional_tests/test_providers.py @@ -41,7 +41,6 @@ PROVIDERS = sorted([(k, v) for k, v in fixtures.ASSEMBLED_CONFIG.items() PROVIDERS...
The expected value of the content should contain test is now casted to str.
py
diff --git a/buildbot/slave/commands/vcs.py b/buildbot/slave/commands/vcs.py index <HASH>..<HASH> 100644 --- a/buildbot/slave/commands/vcs.py +++ b/buildbot/slave/commands/vcs.py @@ -1424,6 +1424,7 @@ class Mercurial(SourceBase): self.branchType = args.get('branchType', 'dirname') self.stdout = "" ...
Avoid infinite recursion in Mercurial step (see #<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,12 +21,5 @@ setup( install_requires=[ 'Django', ], - tests_require=[ - 'Django', - 'django-nose', - 'coverage', - 'django-coverage', - 'fake-factory', - ], t...
remove test requires from setup.py (now in tox.ini)
py
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index <HASH>..<HASH> 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -1740,6 +1740,8 @@ def maybe_cast_to_integer_array(arr, dtype, copy: bool = False): ... ValueError: Trying to coerce float values to integer...
assert that dtype arg is an integer type (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,11 +37,12 @@ setup(name='pypayex', install_requires=install_requires, test_suite='tests', classifiers = ( - "Development Status :: 3 - Alpha", - "License :: OSI Approved :: BSD License", ...
Minor: cleaned up classifiers in setup.py.
py
diff --git a/salt/states/elasticsearch_index.py b/salt/states/elasticsearch_index.py index <HASH>..<HASH> 100644 --- a/salt/states/elasticsearch_index.py +++ b/salt/states/elasticsearch_index.py @@ -50,7 +50,7 @@ def present(name, definition): ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''} ...
a small, and unfortunate error (#<I>)
py
diff --git a/dedupe/api.py b/dedupe/api.py index <HASH>..<HASH> 100644 --- a/dedupe/api.py +++ b/dedupe/api.py @@ -525,6 +525,13 @@ class ActiveMatching(Matching) : def readTraining(self, training_source) : # pragma : no cover + ''' + Read training from previously saved training data file + ...
docstrings for readTraining
py
diff --git a/services/views.py b/services/views.py index <HASH>..<HASH> 100755 --- a/services/views.py +++ b/services/views.py @@ -279,5 +279,6 @@ def reset_teamspeak3_perm(request): # if blank we failed if result != "": AuthServicesInfoManager.update_user_teamspeak3_info(result[0], result[1], reques...
Added fix to teamspeak with reactivation of accounts.
py
diff --git a/homu/server.py b/homu/server.py index <HASH>..<HASH> 100644 --- a/homu/server.py +++ b/homu/server.py @@ -222,22 +222,25 @@ def github(): body = info['comment']['body'] username = info['sender']['login'] - state = g.states[repo_label][pull_num] - - if parse...
Do not raise an exception when review comments are posted on closed PRs
py
diff --git a/runcommands/config.py b/runcommands/config.py index <HASH>..<HASH> 100644 --- a/runcommands/config.py +++ b/runcommands/config.py @@ -419,13 +419,11 @@ class Config(RawConfig): return value def __iter__(self): - yield from self.keys() - - def keys(self): - yield from super(...
Simplify iteration in Config Defining both `__iter__()` and `keys()` wasn't necessary and also caused infinite recursion on some Python versions. Only `__iter__()` is necessary. We also have to be careful about how `run` keys are yielded. On some versions of Python, calling `super.__contains__(key)` doesn't seem to w...
py
diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py index <HASH>..<HASH> 100644 --- a/openid/consumer/consumer.py +++ b/openid/consumer/consumer.py @@ -171,11 +171,7 @@ USING THIS LIBRARY -@var SUCCESS: This is the status code returned when either the of the - C{L{beginAuth<openid.consumer.c...
[project @ Simplify docs for SUCCESS flag]
py
diff --git a/jupytercontrib/__init__.py b/jupytercontrib/__init__.py index <HASH>..<HASH> 100644 --- a/jupytercontrib/__init__.py +++ b/jupytercontrib/__init__.py @@ -3,7 +3,7 @@ Some Jupyter contrib extensions """ -__version__ = '0.0.1' +__version__ = '0.0.2' from .py2to3exporter import Python2to3Exporter
'bump to <I>'
py
diff --git a/infoblox_client/objects.py b/infoblox_client/objects.py index <HASH>..<HASH> 100644 --- a/infoblox_client/objects.py +++ b/infoblox_client/objects.py @@ -833,9 +833,12 @@ class DNSZone(InfobloxObject): class Member(InfobloxObject): _infoblox_type = 'member' - _fields = ['host_name', 'ipv6_settin...
Set Extensible Attributes values on Member object Added capability to set EA values on Member object. Also allowing searching for Member using it's ip address.
py
diff --git a/domaintools/exceptions.py b/domaintools/exceptions.py index <HASH>..<HASH> 100644 --- a/domaintools/exceptions.py +++ b/domaintools/exceptions.py @@ -6,7 +6,7 @@ class ServiceException(Exception): def __init__(self, code, reason): self.code = code self.reason = reason - super(...
Add the str() value of reason to the base Exception so the reason data is cleanly logged by logging.exception. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -261,8 +261,8 @@ def get_version_info(): # If this is a release or another kind of source distribution of PyCBC except: - version = '1.7.0dev' - release = 'False' + version = '1.6.2' + r...
Set for <I> release (#<I>)
py
diff --git a/pysat/tests/test_utils_coords.py b/pysat/tests/test_utils_coords.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_utils_coords.py +++ b/pysat/tests/test_utils_coords.py @@ -93,8 +93,14 @@ class TestLonSLT(): slt_name='slt') # This works because test ins...
BUG: Updated slt test for periodic space
py
diff --git a/versioner.py b/versioner.py index <HASH>..<HASH> 100755 --- a/versioner.py +++ b/versioner.py @@ -14,15 +14,9 @@ print("Setting new version to - {}".format(version_git)) # Write version to ipyrad/__init__.py -# Also set default __loglevel__ to ERROR so we don't check in -# DEBUG by accident. for line...
Changed the way debug works so now it doesn't need to check the __loglevel__ before checkin
py
diff --git a/gui/component.py b/gui/component.py index <HASH>..<HASH> 100644 --- a/gui/component.py +++ b/gui/component.py @@ -587,7 +587,7 @@ class SizerMixin(object): sizer = Spec(lambda self: self._get_sizer(), lambda self, value: self._set_sizer(value), group="sizer", - ...
minor changes to sizer docstring / specs
py
diff --git a/dragonmapper/tests/test-hanzi.py b/dragonmapper/tests/test-hanzi.py index <HASH>..<HASH> 100644 --- a/dragonmapper/tests/test-hanzi.py +++ b/dragonmapper/tests/test-hanzi.py @@ -81,6 +81,6 @@ class TestConversionFunctions(unittest.TestCase): self.npinyin_segmented_readings) ...
Fixes hanzi to pinyin word conversion test.
py
diff --git a/tests/common.py b/tests/common.py index <HASH>..<HASH> 100644 --- a/tests/common.py +++ b/tests/common.py @@ -98,6 +98,6 @@ class KeepKeyTest(unittest.TestCase): self.client.init_device() features = self.client.features version = "%s.%s.%s" % (features.major_version, features.min...
resolve semver.compare deprecation warnings
py
diff --git a/beaver/worker.py b/beaver/worker.py index <HASH>..<HASH> 100644 --- a/beaver/worker.py +++ b/beaver/worker.py @@ -162,7 +162,11 @@ class Worker(object): lines = self.tail(data['file'].name, encoding=encoding, window=tail_lines) if lines: - self._callba...
fixed issue where tailed lines were not being properly sent to the callback
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -4118,12 +4118,17 @@ class ForeignKeyField(Field): setattr(self.rel_model, self.backref, BackrefAccessor(self)) def foreign_key_constraint(self): - return NodeList(( + parts = [ ...
Add code to include ON DELETE / ON UPDATE clauses in fk constraint. Fixes #<I>.
py
diff --git a/spyderlib/app/spyder.py b/spyderlib/app/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/app/spyder.py +++ b/spyderlib/app/spyder.py @@ -440,8 +440,8 @@ class MainWindow(QMainWindow): if DEBUG: title += " [DEBUG MODE %d]" % DEBUG if options.window_title is not None: -...
Improve a little bit the displaying of the new window-title cli option
py
diff --git a/gears/processors/__init__.py b/gears/processors/__init__.py index <HASH>..<HASH> 100644 --- a/gears/processors/__init__.py +++ b/gears/processors/__init__.py @@ -1 +1,2 @@ +from .base import BaseProcessor from .directives import DirectivesProcessor
BaseProcessor can be imported from gears.processors now
py
diff --git a/tests/unresolved_bugs/test_bug_81.py b/tests/unresolved_bugs/test_bug_81.py index <HASH>..<HASH> 100644 --- a/tests/unresolved_bugs/test_bug_81.py +++ b/tests/unresolved_bugs/test_bug_81.py @@ -59,6 +59,7 @@ def use_memory(): class TestMemory(unittest.TestCase): @unittest.skipIf(not on_linux, "Work...
Mark leak test as expected to failure We have some regression with a memory leak on Unicode builds. Reference: <URL>
py
diff --git a/benchexec/util.py b/benchexec/util.py index <HASH>..<HASH> 100644 --- a/benchexec/util.py +++ b/benchexec/util.py @@ -546,8 +546,10 @@ class ProcessExitCode(collections.namedtuple("ProcessExitCode", "raw value signa return self.__bool__() -def kill_process(pid, sig=signal.SIGKILL): +def kill_p...
Fix import of benchexec.util on Windows where SIGKILL is missing This module is also used by table-generator.
py
diff --git a/bin/otu_to_tax_name.py b/bin/otu_to_tax_name.py index <HASH>..<HASH> 100755 --- a/bin/otu_to_tax_name.py +++ b/bin/otu_to_tax_name.py @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys +import csv import argparse from phylotoast import otu_calc as otuc importerrors = [] @@ -47,7 +48,8 @@ def main(): ...
Updated otu_to_tax.py Using CSV module, only first column will be interpreted as input OTUs to be converted.
py
diff --git a/tests/integration/modules/event.py b/tests/integration/modules/event.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/event.py +++ b/tests/integration/modules/event.py @@ -81,7 +81,7 @@ class EventModuleTest(integration.ModuleCase): with self.assertRaises(Empty): eventfi...
stub out another event test that needs refinement
py
diff --git a/cumulusci/tasks/bulkdata/tests/test_factory_utils.py b/cumulusci/tasks/bulkdata/tests/test_factory_utils.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/bulkdata/tests/test_factory_utils.py +++ b/cumulusci/tasks/bulkdata/tests/test_factory_utils.py @@ -23,7 +23,7 @@ class TestFactoryUtils(unittest.Tes...
Generate num_records divisible by 4
py
diff --git a/fluentcms_emailtemplates/rendering.py b/fluentcms_emailtemplates/rendering.py index <HASH>..<HASH> 100644 --- a/fluentcms_emailtemplates/rendering.py +++ b/fluentcms_emailtemplates/rendering.py @@ -222,6 +222,7 @@ def _get_dummy_request(base_url, user): dummy_request = RequestFactory(HTTP_HOST=split_u...
Add workaround for rendering in a site that also has a wagtail setting context_processor
py
diff --git a/pandas/tests/io/test_gbq.py b/pandas/tests/io/test_gbq.py index <HASH>..<HASH> 100644 --- a/pandas/tests/io/test_gbq.py +++ b/pandas/tests/io/test_gbq.py @@ -196,6 +196,7 @@ class TestToGBQIntegrationWithServiceAccountKeyPath: ) assert result["num_rows"][0] == test_size + @pytest.mar...
TST: Xfailing broken GBQ test (#<I>)
py
diff --git a/tests/test_pipeline.py b/tests/test_pipeline.py index <HASH>..<HASH> 100644 --- a/tests/test_pipeline.py +++ b/tests/test_pipeline.py @@ -104,9 +104,7 @@ class TestOptionable(unittest.TestCase): with self.assertRaises(ValueError): comp.add_option("alpha beta", Numeric()) - # ...
rm test after SetOption
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -109,7 +109,9 @@ elif platform_name == 'Linux': def run(self): if not self.force: try: - output = subprocess.check_output(['which', 'patchelf']) + ou...
Fetch the path for patchelf as a string, even in Python 3
py
diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based_risk.py +++ b/openquake/calculators/event_based_risk.py @@ -396,11 +396,9 @@ class EbriskCalculator(base.RiskCalculator): self.datas...
Stored num_losses even if all zeros [skip CI]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ install_requires = [ extras_require = { # For technical note Sphinx projects 'technote': [ - 'lsst-dd-rtd-theme==0.2.1', + 'lsst-dd-rtd-theme==0.2.2', # 0.4.1 is incompatible wi...
Update lsst-dd-rtd-theme to <I> This new version of the technote sphinx theme should fix the edition link in the sidebar for non-main editions.
py
diff --git a/tests/unit_project/test_core/test_custom_urls.py b/tests/unit_project/test_core/test_custom_urls.py index <HASH>..<HASH> 100644 --- a/tests/unit_project/test_core/test_custom_urls.py +++ b/tests/unit_project/test_core/test_custom_urls.py @@ -13,7 +13,7 @@ def second_view(request, bits, context): retur...
Added test for custom_detail
py
diff --git a/pyes/filters.py b/pyes/filters.py index <HASH>..<HASH> 100644 --- a/pyes/filters.py +++ b/pyes/filters.py @@ -366,3 +366,22 @@ class HasChildFilter(Filter): if self._scope is not None: data['_scope'] = self._scope return {self._internal_name: data} + + +class IdsFilte...
Add IdsFilter based on feature: <URL>
py
diff --git a/email_obfuscator/templatetags/email_obfuscator.py b/email_obfuscator/templatetags/email_obfuscator.py index <HASH>..<HASH> 100644 --- a/email_obfuscator/templatetags/email_obfuscator.py +++ b/email_obfuscator/templatetags/email_obfuscator.py @@ -6,7 +6,7 @@ register = template.Library() def obfuscate_...
Fix mixup of old and new-style string formatting
py
diff --git a/git/test/performance/test_streams.py b/git/test/performance/test_streams.py index <HASH>..<HASH> 100644 --- a/git/test/performance/test_streams.py +++ b/git/test/performance/test_streams.py @@ -141,5 +141,5 @@ class TestObjDBPerformance(TestBigRepoR): # compare print("Git-Python...
Once again, make flake8 happy
py
diff --git a/blockstack_cli_0.14.1/blockstack_client/proxy.py b/blockstack_cli_0.14.1/blockstack_client/proxy.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/proxy.py +++ b/blockstack_cli_0.14.1/blockstack_client/proxy.py @@ -61,10 +61,6 @@ from config import get_logger, DEBUG, MAX_RPC_LEN,...
don't need virtualchain or wallet here
py
diff --git a/sos/plugins/juju.py b/sos/plugins/juju.py index <HASH>..<HASH> 100644 --- a/sos/plugins/juju.py +++ b/sos/plugins/juju.py @@ -25,3 +25,6 @@ class Juju(Plugin, UbuntuPlugin): def setup(self): self.add_copy_specs(["/var/log/juju", "/var/lib/juju"]) + + self.ad...
Add juju status and get-constraints outputs
py
diff --git a/projects/views.py b/projects/views.py index <HASH>..<HASH> 100644 --- a/projects/views.py +++ b/projects/views.py @@ -330,8 +330,8 @@ class ProjectStageView(DetailView): RequestConfig(self.request).configure(host_table) context['hosts'] = host_table - context['available_hosts'] =...
Corrected available host query in the project stage view.
py
diff --git a/rest_framework_tracking/__init__.py b/rest_framework_tracking/__init__.py index <HASH>..<HASH> 100644 --- a/rest_framework_tracking/__init__.py +++ b/rest_framework_tracking/__init__.py @@ -1,2 +1,2 @@ -__version__ = '1.4.0' +__version__ = '1.5.0' default_app_config = 'rest_framework_tracking.apps.RestFra...
Update version constant for release From version <I> to version <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( url='http://github.com/mbr/flask-appconfig', license='MIT', packages=find_packages(exclude=['tests']), - install_requires=['flask', 'six', 'click'], + install_requires=['flask>=0.12',...
Added flask>=<I> dependency.
py
diff --git a/salt/states/dockerio.py b/salt/states/dockerio.py index <HASH>..<HASH> 100644 --- a/salt/states/dockerio.py +++ b/salt/states/dockerio.py @@ -57,6 +57,16 @@ Available Functions - name: mysuperdocker - hostname: superdocker - image: corp/mysuperdocker_img + +- loaded + + .....
Update dockerio.py Added comments for extra function loaded
py
diff --git a/python/ccxt/base/decimal_to_precision.py b/python/ccxt/base/decimal_to_precision.py index <HASH>..<HASH> 100644 --- a/python/ccxt/base/decimal_to_precision.py +++ b/python/ccxt/base/decimal_to_precision.py @@ -56,7 +56,7 @@ def decimal_to_precision(n, rounding_mode=ROUND, precision=None, counting_mode=D ...
Add small change from frosty<I>
py
diff --git a/PBB_Core.py b/PBB_Core.py index <HASH>..<HASH> 100755 --- a/PBB_Core.py +++ b/PBB_Core.py @@ -135,7 +135,7 @@ class WDItemEngine(object): self.__construct_claim_json() self.__append_references() - if 'labels' not in self.wd_json_representation and item_name != '': + if ('l...
Adapted to WD API changes
py
diff --git a/ryu/controller/ofp_event.py b/ryu/controller/ofp_event.py index <HASH>..<HASH> 100644 --- a/ryu/controller/ofp_event.py +++ b/ryu/controller/ofp_event.py @@ -19,10 +19,10 @@ OpenFlow event definitions. """ import inspect +import time from ryu.controller import handler from ryu import ofproto -from ...
ofp_event: Timestamp when OpenFlow event was generated This patch introduces "timestamp" attribute for OpenFlow event classes which shows when that event was generated by Datapath instance and nearly equivalent to when Ryu finished receiving the message contained in that event instance.
py
diff --git a/URLFinder.py b/URLFinder.py index <HASH>..<HASH> 100644 --- a/URLFinder.py +++ b/URLFinder.py @@ -26,7 +26,7 @@ class URLFinder: self.tlds = sorted(tmp_idna_tlds.union(tmp_tlds), key=len, reverse=True) # escaped = [re.escape(tld) for tld in self.tlds] self.tlds_re = re.compile('|...
Added '@' as stop character
py
diff --git a/pygtail/core.py b/pygtail/core.py index <HASH>..<HASH> 100755 --- a/pygtail/core.py +++ b/pygtail/core.py @@ -218,6 +218,9 @@ def main(): cmdline.add_option("--paranoid", "-p", action="store_true", help="Update the offset file every time we read a line (as opposed to" " only whe...
offer -f feature on command line
py
diff --git a/gui/is_impact_calculator_thread.py b/gui/is_impact_calculator_thread.py index <HASH>..<HASH> 100644 --- a/gui/is_impact_calculator_thread.py +++ b/gui/is_impact_calculator_thread.py @@ -24,6 +24,7 @@ from PyQt4.QtCore import (QObject, pyqtSignal) from is_exceptions import Insuff...
Added missing sys import. See #<I>
py
diff --git a/stravalib/client.py b/stravalib/client.py index <HASH>..<HASH> 100644 --- a/stravalib/client.py +++ b/stravalib/client.py @@ -9,6 +9,8 @@ import calendar from io import BytesIO from datetime import datetime, timedelta +import pytz + from dateutil.parser import parser dateparser = parser() @@ -132,9...
Fixes #<I> - Make the timestamp -> utc conversion respect time zone
py
diff --git a/fs/base.py b/fs/base.py index <HASH>..<HASH> 100644 --- a/fs/base.py +++ b/fs/base.py @@ -21,7 +21,7 @@ import warnings import six -from . import copy, errors, fsencode, iotools, move, tools, walk, wildcard +from . import copy, errors, fsencode, iotools, tools, walk, wildcard from .copy import copy_m...
Fix circular import between `fs.base`, `fs.osfs` and `fs.move`
py
diff --git a/nbtlib/tag.py b/nbtlib/tag.py index <HASH>..<HASH> 100644 --- a/nbtlib/tag.py +++ b/nbtlib/tag.py @@ -1,4 +1,5 @@ +import sys import struct from array import array @@ -238,14 +239,18 @@ class IntArray(Base, array): def parse(cls, buff): int_array = cls() int_array.fromfi...
Check for platform endianness before performing byteswaps
py
diff --git a/odl/operator/solvers.py b/odl/operator/solvers.py index <HASH>..<HASH> 100644 --- a/odl/operator/solvers.py +++ b/odl/operator/solvers.py @@ -439,10 +439,10 @@ def steepest_decent(deriv, x, line_search, niter=1, partial=None): `min f(x)` - The algorithm is intended for unconstrained problems, b...
Changed doc on SD slightly.
py
diff --git a/lib/search_engine.py b/lib/search_engine.py index <HASH>..<HASH> 100644 --- a/lib/search_engine.py +++ b/lib/search_engine.py @@ -87,7 +87,7 @@ from invenio.intbitset import intbitset as HitSet from invenio.dbquery import DatabaseError, deserialize_via_marshal from invenio.access_control_engine import ac...
WebSearch: wash user query of bad UTF-8 chars * Fix the problem when incorrect UTF-8 query parameters are passed to the search engine. (closes #<I>)
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -109,6 +109,8 @@ html_theme = 'armstrong' # html_theme_options = {"collapsiblesidebar" : "true"} +html_sidebars = { '**': ['globaltoc.html', 'relations.html', 'searchbox.html'] } + # Add any paths that con...
globaltoc on navigation side bar and removing sourcelink
py
diff --git a/coconut/parser.py b/coconut/parser.py index <HASH>..<HASH> 100644 --- a/coconut/parser.py +++ b/coconut/parser.py @@ -925,7 +925,7 @@ class processor(object): hold = None elif c == hold[1][0]: hold[2] = c - elif c in endline: + ...
Allows linebreaks in multiline strings
py
diff --git a/spinoff/actor/_actor.py b/spinoff/actor/_actor.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/_actor.py +++ b/spinoff/actor/_actor.py @@ -80,6 +80,9 @@ class Actor(object): def stop(self): self.ref.stop() + def reply(self, msg): + self.sender << msg + def __eq__(self, oth...
Added Actor.reply
py
diff --git a/test_tube/log.py b/test_tube/log.py index <HASH>..<HASH> 100644 --- a/test_tube/log.py +++ b/test_tube/log.py @@ -46,6 +46,7 @@ class DDPExperiment(object): self.create_git_tag = exp.create_git_tag self.exp_hash = exp.exp_hash self.created_at = exp.created_at + self.save_d...
added init with ddp class method
py
diff --git a/localization_flow/jtlocalize/genstrings.py b/localization_flow/jtlocalize/genstrings.py index <HASH>..<HASH> 100644 --- a/localization_flow/jtlocalize/genstrings.py +++ b/localization_flow/jtlocalize/genstrings.py @@ -61,7 +61,8 @@ def generate_strings(project_base_dir, localization_bundle_path, tmp_direct...
We now look for strings in .mm files as well And added a TODO about the current way we find files to look in
py
diff --git a/tests/test_invenio_documents.py b/tests/test_invenio_documents.py index <HASH>..<HASH> 100644 --- a/tests/test_invenio_documents.py +++ b/tests/test_invenio_documents.py @@ -32,6 +32,7 @@ import os from click.testing import CliRunner from flask import Flask from flask_cli import FlaskCLI, ScriptInfo +fr...
tests: addition of missing database commit * Adds a missing database commit to a test_cli. (closes #<I>)
py
diff --git a/flux_led/base_device.py b/flux_led/base_device.py index <HASH>..<HASH> 100644 --- a/flux_led/base_device.py +++ b/flux_led/base_device.py @@ -367,6 +367,9 @@ class LEDENETDevice: assert raw_state is not None if self.dimmable_effects and self._mode == MODE_PRESET: + if self.pr...
Fix effect brightness reporting for A2,A3 models (#<I>)
py
diff --git a/src/aws_encryption_sdk/streaming_client.py b/src/aws_encryption_sdk/streaming_client.py index <HASH>..<HASH> 100644 --- a/src/aws_encryption_sdk/streaming_client.py +++ b/src/aws_encryption_sdk/streaming_client.py @@ -243,10 +243,11 @@ class _EncryptionStream(io.IOBase): output.write(self.outp...
remove source_stream.closed from _EncryptionStream.read()
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def long_description(): return(readme_text) setup(name='PyUserInput', - version='0.1.8', + version='0.1.9', description='A simple, cross-platform module for mouse and keyboard control', ...
bumping version to reflect changes in X<I> PykeyboardEvent, as well as Python3 compatibility fixes
py
diff --git a/thingy.py b/thingy.py index <HASH>..<HASH> 100644 --- a/thingy.py +++ b/thingy.py @@ -63,8 +63,12 @@ class ThingyMetaClass(type): return klass -def is_property(attr, instance): - return any(attr in cls.__dict__ for cls in type(instance).__mro__) +def getclassattr(instance, attr): + for c...
Replace is_property by a more generic solution that's able to retrieve property objects
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, find_packages setup( name = "deploy", - version = "1.0.0", + version = "1.1.0", url = 'http://ondrejsika.com/docs/deploy', download_url = 'https://github.com/s...
update setup.py (bin, version)
py
diff --git a/salt/modules/win_pkg.py b/salt/modules/win_pkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_pkg.py +++ b/salt/modules/win_pkg.py @@ -1274,7 +1274,7 @@ def install(name=None, refresh=False, pkgs=None, **kwargs): if use_msiexec: cmd = msiexec arguments = ['/i', cac...
Update win_pkg.py
py
diff --git a/meshio/_cli/_binary.py b/meshio/_cli/_binary.py index <HASH>..<HASH> 100644 --- a/meshio/_cli/_binary.py +++ b/meshio/_cli/_binary.py @@ -2,7 +2,7 @@ import argparse import os import pathlib -from .. import ansys, gmsh, mdpa, ply, stl, vtk, vtu, xdmf +from .. import ansys, flac3d, gmsh, mdpa, ply, stl,...
add flac3d format to meshio-binary
py
diff --git a/baron/render.py b/baron/render.py index <HASH>..<HASH> 100644 --- a/baron/render.py +++ b/baron/render.py @@ -37,7 +37,7 @@ def get_node_at_position_in_rendering_list(node, position_in_rendering_list): return render_key if key_type == 'constant' else node[render_key] -node_types = set('node', 'lis...
[fix] set wasn't declared correctly, thx inconsistant initiatlizators
py
diff --git a/services/managers/util/ts3.py b/services/managers/util/ts3.py index <HASH>..<HASH> 100755 --- a/services/managers/util/ts3.py +++ b/services/managers/util/ts3.py @@ -72,11 +72,14 @@ class TS3Proto: break if resp['command'] == 'error': - if data and resp['keys']['id'] ...
prevent error being raised on OK empty response closes #<I>
py
diff --git a/panwid/datatable/cells.py b/panwid/datatable/cells.py index <HASH>..<HASH> 100644 --- a/panwid/datatable/cells.py +++ b/panwid/datatable/cells.py @@ -76,7 +76,8 @@ class DataTableCell(urwid.WidgetWrap): @property def value(self): if self.column.value_fn: - val = self.column.va...
Pass underlying object to column value function in datatable
py
diff --git a/commitizen/commands/init.py b/commitizen/commands/init.py index <HASH>..<HASH> 100644 --- a/commitizen/commands/init.py +++ b/commitizen/commands/init.py @@ -35,7 +35,6 @@ class Init: out.info("cz bump --changelog") out.success("The configuration are all set.") else: - ...
docs(init): remove unneeded TODO (the feature has been implemented)
py
diff --git a/GPy/core/gp.py b/GPy/core/gp.py index <HASH>..<HASH> 100644 --- a/GPy/core/gp.py +++ b/GPy/core/gp.py @@ -124,6 +124,7 @@ class GP(Model): else: self.X = ObsAr(X) self.update_model(True) + self._trigger_params_changed() def set_X(self,X): """
force set_XY to update the model
py
diff --git a/luminoso_api/auth.py b/luminoso_api/auth.py index <HASH>..<HASH> 100644 --- a/luminoso_api/auth.py +++ b/luminoso_api/auth.py @@ -78,7 +78,7 @@ class LuminosoAuth(object): """Return the signing string for a proposed request""" # Determine if there is a payload if content_type is ...
Fixing a bug in calculating content hashes
py
diff --git a/dev/coverage.py b/dev/coverage.py index <HASH>..<HASH> 100644 --- a/dev/coverage.py +++ b/dev/coverage.py @@ -586,7 +586,7 @@ def _do_request(method, url, headers, data=None, query_params=None, timeout=20): stdout, stderr = _execute( args, os.getcwd(), - ...
Retry when a timeout occurs uploading coverage
py
diff --git a/scripts/generate_empty_tests.py b/scripts/generate_empty_tests.py index <HASH>..<HASH> 100755 --- a/scripts/generate_empty_tests.py +++ b/scripts/generate_empty_tests.py @@ -6,7 +6,6 @@ from __future__ import print_function -import json import sys from os import makedirs, path @@ -20,18 +19,20 @@ ...
Don't `json.dumps` dicts for empty test file, just use raw strings.
py
diff --git a/spiceypy/tests/test_wrapper.py b/spiceypy/tests/test_wrapper.py index <HASH>..<HASH> 100644 --- a/spiceypy/tests/test_wrapper.py +++ b/spiceypy/tests/test_wrapper.py @@ -640,7 +640,7 @@ def test_ckw05(): # test subtype 2 spice.ckw05(handle, 2, 15, epochs[0], epochs[-1], inst[2], "J2000", avflag, ...
Fix subtype typo (#<I>)
py
diff --git a/pyThreadpool/worker_thread.py b/pyThreadpool/worker_thread.py index <HASH>..<HASH> 100644 --- a/pyThreadpool/worker_thread.py +++ b/pyThreadpool/worker_thread.py @@ -14,7 +14,7 @@ class worker_thread(threading.Thread): try: job = self._job_q.get(None) except Queue...
Made worker_thread return False when Q is empty.
py
diff --git a/calendarium/tests/factories.py b/calendarium/tests/factories.py index <HASH>..<HASH> 100644 --- a/calendarium/tests/factories.py +++ b/calendarium/tests/factories.py @@ -86,7 +86,7 @@ class EventFactory(EventFactoryMixin): # for one week, so 6 days after the current if self.rule: ...
Corrected mistake in EventFactory
py
diff --git a/dci/api/v1/utils.py b/dci/api/v1/utils.py index <HASH>..<HASH> 100644 --- a/dci/api/v1/utils.py +++ b/dci/api/v1/utils.py @@ -294,14 +294,13 @@ class QueryBuilder(object): query = query.order_by(embed_sort) if not self._do_subquery(): - query = self._add_sort_to_query...
Fix sort when a subquery is present Change-Id: Id1aed<I>b5cc<I>e<I>aca<I>cd4bec<I>f2dabf
py
diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py +++ b/{{cooki...
Update view test should set user to form instance (#<I>)
py
diff --git a/billy/importers/names.py b/billy/importers/names.py index <HASH>..<HASH> 100644 --- a/billy/importers/names.py +++ b/billy/importers/names.py @@ -3,6 +3,7 @@ import csv import os.path from billy import db +from billy.conf import settings __matchers = {} @@ -88,7 +89,7 @@ class NameMatcher(object):...
fix for use of MANUAL_DATA_DIR in NameMatcher
py
diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index <HASH>..<HASH> 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -503,7 +503,7 @@ support representative. host_release = os.environ[ENV_HOST_SYSROOT] + cls._redhat_release try: for line in open(host_relea...
[redhat] Update CoreOS release line match Updates the release line we try to match against for identifying CoreOS hosts to the syntax now used by Red Hat CoreOS. Resolves: #<I>
py
diff --git a/supernova/supernova.py b/supernova/supernova.py index <HASH>..<HASH> 100644 --- a/supernova/supernova.py +++ b/supernova/supernova.py @@ -17,6 +17,7 @@ Contains the actual class that runs novaclient (or the executable chosen by the user) """ +import copy import os import subprocess import sys @@ -108...
make sure we only insert the executable in once If we don't copy the nova_args, then it gets inserted more than one time
py
diff --git a/src/toil/provisioners/aws/awsProvisioner.py b/src/toil/provisioners/aws/awsProvisioner.py index <HASH>..<HASH> 100644 --- a/src/toil/provisioners/aws/awsProvisioner.py +++ b/src/toil/provisioners/aws/awsProvisioner.py @@ -432,8 +432,8 @@ class AWSProvisioner(AbstractProvisioner): if workers: ...
Fix logging off-by-one typo
py