diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pyOCD/transport/cmsis_dap_core.py b/pyOCD/transport/cmsis_dap_core.py index <HASH>..<HASH> 100644 --- a/pyOCD/transport/cmsis_dap_core.py +++ b/pyOCD/transport/cmsis_dap_core.py @@ -104,7 +104,7 @@ class CMSIS_DAP_Protocol(object): return x.tostring() - def setLed(interface): + def setLe...
Missed replacing interface arg with self for a couple methods in CMSIS_DAP_Protocol.
py
diff --git a/pyipmi/ipmitool.py b/pyipmi/ipmitool.py index <HASH>..<HASH> 100755 --- a/pyipmi/ipmitool.py +++ b/pyipmi/ipmitool.py @@ -167,10 +167,18 @@ def print_sdr_list_entry(record_id, number, id_string, value, states): def cmd_sdr_list(ipmi, args): + iter_fct = None + + device_id = ipmi.get_device_id() ...
ipmitool: use get sdr dependent on support If sdr devices are supporte use SDR commands otherwise if sensor is supported use sensor commands.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,6 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- +# # Copyright (c) 2002-2005 ActiveState Software Ltd. # Copyright (C) 2011 Yesudeep Mangalapilly <yesudeep@gmail.com>
Cleans up header in setup.py
py
diff --git a/maintain/release/npm.py b/maintain/release/npm.py index <HASH>..<HASH> 100644 --- a/maintain/release/npm.py +++ b/maintain/release/npm.py @@ -9,6 +9,8 @@ from maintain.process import invoke class NPMReleaser(Releaser): + name = 'npm' + @classmethod def detect(cls): return os.path...
fix(npm): npm releaser was missing name
py
diff --git a/gwpy/timeseries/io/losc.py b/gwpy/timeseries/io/losc.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/io/losc.py +++ b/gwpy/timeseries/io/losc.py @@ -310,7 +310,7 @@ def read_losc_state(filename, channel, group=None, start=None, end=None, maskset = _find_dataset(h5file, '%s/DQDescriptions' % chann...
timeseries.io.losc: cast bit names to str via bytes for python3 compatibility
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ extras_require = { # Writers: 'cf': ['h5netcdf >= 0.7.3'], 'scmi': ['netCDF4 >= 1.1.8'], - 'geotiff': ['gdal', 'trollimage[geotiff]'], + 'geotiff': ['rasterio', 'trollimage[geotiff]'], ...
Remove 'gdal' as a dependency for the geotiff writer
py
diff --git a/curdling/download.py b/curdling/download.py index <HASH>..<HASH> 100644 --- a/curdling/download.py +++ b/curdling/download.py @@ -88,7 +88,8 @@ class DownloadManager(Service): package, end='') try: locator = get_locator(self.conf) - requirement = locator.locate...
Allowing prereleases to be located by default in the downloader
py
diff --git a/Quandl/Quandl.py b/Quandl/Quandl.py index <HASH>..<HASH> 100644 --- a/Quandl/Quandl.py +++ b/Quandl/Quandl.py @@ -83,6 +83,11 @@ def get(dataset, authtoken='', startdate=None, enddate=None, frequency=None, tra #Helper function to parse dates def _parse_dates(date): + #Check if datetime object + i...
Added datetime object support in params
py
diff --git a/payment_paypal/indico_payment_paypal/controllers.py b/payment_paypal/indico_payment_paypal/controllers.py index <HASH>..<HASH> 100644 --- a/payment_paypal/indico_payment_paypal/controllers.py +++ b/payment_paypal/indico_payment_paypal/controllers.py @@ -82,7 +82,7 @@ class RHPaypalIPN(RH): ...
Payment/PayPal: Fix error (event -> event_new)
py
diff --git a/linkedin/utils.py b/linkedin/utils.py index <HASH>..<HASH> 100644 --- a/linkedin/utils.py +++ b/linkedin/utils.py @@ -1,4 +1,4 @@ -def make_enum(enum_type='enum', base_classes=(), methods={}, **attrs): +def make_enum(enum_type='enum', base_classes=None, methods=None, **attrs): """ Generates a enu...
make_enum parameters are locally initiated
py
diff --git a/parler/models.py b/parler/models.py index <HASH>..<HASH> 100644 --- a/parler/models.py +++ b/parler/models.py @@ -320,7 +320,7 @@ class TranslatableModel(models.Model): """ lang_dict = get_language_settings(self._current_language) fallbacks = [lang for lang in lang_dict['fallback...
Fix get_fallback_languages(), always return a list, never None This fixes the multi-fallback support introduced by #<I> Also fixes any_language features in other calls
py
diff --git a/searx/webapp.py b/searx/webapp.py index <HASH>..<HASH> 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -435,7 +435,8 @@ def index(): if 'content' in result and result['content']: result['content'] = highlight_content(escape(result['content'][:1024]), ...
[enh] central handling of empty result titles
py
diff --git a/schema_salad/ref_resolver.py b/schema_salad/ref_resolver.py index <HASH>..<HASH> 100644 --- a/schema_salad/ref_resolver.py +++ b/schema_salad/ref_resolver.py @@ -145,7 +145,7 @@ class DefaultFetcher(Fetcher): # remove the leading /. if os.path.isabs(path[1:]): # checking ...
py3 compatibility: modified url2pathname acoordingly
py
diff --git a/tests/frameworks/layers/combined_sequence_creation_test.py b/tests/frameworks/layers/combined_sequence_creation_test.py index <HASH>..<HASH> 100644 --- a/tests/frameworks/layers/combined_sequence_creation_test.py +++ b/tests/frameworks/layers/combined_sequence_creation_test.py @@ -60,7 +60,7 @@ networkConf...
Fix test to account for latest code changes
py
diff --git a/aiocache/cache.py b/aiocache/cache.py index <HASH>..<HASH> 100644 --- a/aiocache/cache.py +++ b/aiocache/cache.py @@ -453,6 +453,8 @@ class RedisCache(RedisBackend, BaseCache): :param port: int with the port to connect to :param db: int indicating database to use :param password: str indicat...
Updated RedisCache docs @minor
py
diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/private/session.py +++ b/pyghmi/ipmi/private/session.py @@ -1140,27 +1140,19 @@ class Session(object): raise exc.IpmiException( "Unable to transmit to specifie...
Remove surviving 'callback' code Having previously forgotten about the callback option in logout, programs could generally not actually complete. Fix it so that logout() works as intended. Change-Id: I<I>c<I>b7de<I>c<I>e2c<I>
py
diff --git a/furious/config.py b/furious/config.py index <HASH>..<HASH> 100644 --- a/furious/config.py +++ b/furious/config.py @@ -197,7 +197,7 @@ def _parse_yaml_config(config_data=None): return data_map # TODO: validate the yaml contents - config = yaml.load(config_data) + config = yaml.safe_loa...
Change yaml.load usage to yaml.safe_load It was brought to our attention yaml.load is unsafe.
py
diff --git a/doc/source/generate_doc.py b/doc/source/generate_doc.py index <HASH>..<HASH> 100644 --- a/doc/source/generate_doc.py +++ b/doc/source/generate_doc.py @@ -44,12 +44,9 @@ string = """{shortname} {fun_string} """ + def import_submodules(package, recursive=True): """ Import all submodules of a module...
DOC: fix bad dict link in doc
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,24 +1,19 @@ -import ast -import re import sys from setuptools import setup, find_packages +import querylist + # If we're using Python 2.7 or higher, we don't need unittest2. unittest2_module = 'unittest2<1.2' if sys...
Remove unnecsssary hack from setup.py Now that six is no longer used, we don't need this.
py
diff --git a/owslib/coverage/wcs100.py b/owslib/coverage/wcs100.py index <HASH>..<HASH> 100644 --- a/owslib/coverage/wcs100.py +++ b/owslib/coverage/wcs100.py @@ -135,7 +135,7 @@ class WebCoverageService_1_0_0(WCSBase): u = urlopen(base_url + data) except HTTPError, e: #Some servers may set the ht...
correction: did not mean to append +data to e.read()
py
diff --git a/crispy_forms_foundation/forms.py b/crispy_forms_foundation/forms.py index <HASH>..<HASH> 100644 --- a/crispy_forms_foundation/forms.py +++ b/crispy_forms_foundation/forms.py @@ -21,7 +21,7 @@ class FoundationFormMixin(object): method = "post" #: Defines the method used for the action attrs = {} #...
Extended init_helper() to allow more customization - Renamed attribute input to submit as this is more descriptive - Allow to give a string which is used as display text for the Submit button - Allow to give a Submit instance wich is directly used
py
diff --git a/chess/syzygy.py b/chess/syzygy.py index <HASH>..<HASH> 100644 --- a/chess/syzygy.py +++ b/chess/syzygy.py @@ -1319,10 +1319,10 @@ class Tablebases(object): except ValueError: pass - self.wdl_lru.append(table) + self.wdl_lru.appendleft(table) if len(self.wdl_...
Reverse deque order for faster remove
py
diff --git a/parsl/version.py b/parsl/version.py index <HASH>..<HASH> 100644 --- a/parsl/version.py +++ b/parsl/version.py @@ -1 +1 @@ -VERSION = '0.1.2' +VERSION = '0.2.0-DEV'
Bumping version from <I> to <I>. Adding remote site execution with ipyparallel.
py
diff --git a/sos/plugins/opendaylight.py b/sos/plugins/opendaylight.py index <HASH>..<HASH> 100644 --- a/sos/plugins/opendaylight.py +++ b/sos/plugins/opendaylight.py @@ -22,7 +22,7 @@ class OpenDaylight(Plugin, RedHatPlugin): plugin_name = 'opendaylight' profiles = ('openstack', 'openstack_controller') - ...
[opendaylight] Enable plugin by puppet-opendaylight package Required for ODL running in a container. Resolves: #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,17 +13,17 @@ setup( author='Noel Maersk', author_email='veox+packages+spamremove@veox.pw', url='https://gitlab.com/veox/pygments-lexer-solidity', - packages=['pygments_lexer_solidity'], classifiers=[...
setup: add Python version requirement, remove Python 2 tag. Closes #1 as implemented. Python 2 support has not actually been tested, and I don't intend to, so remove the tag to avoid confusing others. Not sure if this works with Python <I>, too, but this'll do as a starting point. Tests run with Python <I> on gitlab...
py
diff --git a/imgaug/parameters.py b/imgaug/parameters.py index <HASH>..<HASH> 100644 --- a/imgaug/parameters.py +++ b/imgaug/parameters.py @@ -872,7 +872,7 @@ class Laplace(StochasticParameter): scale = self.scale.draw_sample(random_state=random_state) ia.do_assert(scale >= 0, "Expected scale to be in...
Improve performance for deterministic Laplace
py
diff --git a/charmhelpers/contrib/openstack/utils.py b/charmhelpers/contrib/openstack/utils.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/openstack/utils.py +++ b/charmhelpers/contrib/openstack/utils.py @@ -472,7 +472,7 @@ def os_requires_version(ostack_release, pkg): def git_install_requested(): ""...
Test lowercased openstack-origin-git in git_install_requested()
py
diff --git a/plaso/cli/extraction_tool.py b/plaso/cli/extraction_tool.py index <HASH>..<HASH> 100644 --- a/plaso/cli/extraction_tool.py +++ b/plaso/cli/extraction_tool.py @@ -89,7 +89,7 @@ class ExtractionTool( be expanded or if an invalid parser or plugin name is specified. """ parser_filter_expre...
Fixed manual parser selection being ignored #<I> (#<I>)
py
diff --git a/MuseParse/classes/Output/LilypondOutput.py b/MuseParse/classes/Output/LilypondOutput.py index <HASH>..<HASH> 100644 --- a/MuseParse/classes/Output/LilypondOutput.py +++ b/MuseParse/classes/Output/LilypondOutput.py @@ -61,7 +61,7 @@ class LilypondRenderer(object): # subprocess.Popen(['sudo', self.l...
issue fix #<I> added log level flag to lilypond command
py
diff --git a/scripts/fix-ttf-vmet.py b/scripts/fix-ttf-vmet.py index <HASH>..<HASH> 100755 --- a/scripts/fix-ttf-vmet.py +++ b/scripts/fix-ttf-vmet.py @@ -15,6 +15,9 @@ # limitations under the License. # # See AUTHORS.txt for the list of Authors and LICENSE.txt for the License. +# +# Based on http://typophile.com/no...
Adding links in comments of fix-ttf-vmet.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,8 @@ setup( # your project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/requirements.html - install_requires=['hedg...
fix dependency versions for HedgehogClient
py
diff --git a/libaio/__init__.py b/libaio/__init__.py index <HASH>..<HASH> 100644 --- a/libaio/__init__.py +++ b/libaio/__init__.py @@ -216,7 +216,7 @@ class AIOBlock(object): if value is None: self._iocb.aio_fildes = 0 else: - self._iocb.aio_fildes = value.fileno() + ...
libaio: Tolerate target_file being set to an integer. For consistency with how eventfd is handled. Useful for anonymous pipes (os.pipe).
py
diff --git a/can/__init__.py b/can/__init__.py index <HASH>..<HASH> 100644 --- a/can/__init__.py +++ b/can/__init__.py @@ -9,7 +9,7 @@ from __future__ import absolute_import import logging -__version__ = "3.0.0-dev" +__version__ = "3.0.0" log = logging.getLogger('can')
Set version to <I> final
py
diff --git a/billy/importers/events.py b/billy/importers/events.py index <HASH>..<HASH> 100644 --- a/billy/importers/events.py +++ b/billy/importers/events.py @@ -76,10 +76,8 @@ def import_events(abbr, data_dir, import_actions=False): entity['id'] = id for bill in data['related_bills']: - ...
Renamed some event attributes to match naming in other parts of billy
py
diff --git a/pyqode/core/widgets/splittable_tab_widget.py b/pyqode/core/widgets/splittable_tab_widget.py index <HASH>..<HASH> 100644 --- a/pyqode/core/widgets/splittable_tab_widget.py +++ b/pyqode/core/widgets/splittable_tab_widget.py @@ -127,6 +127,7 @@ class BaseTabWidget(QtWidgets.QTabWidget): tab_bar.tab_m...
TabWidget: always set useScrollButtons to True to fix bug on osx, tabs should remain readable, see #<I>
py
diff --git a/src/packagebuilder/__init__.py b/src/packagebuilder/__init__.py index <HASH>..<HASH> 100644 --- a/src/packagebuilder/__init__.py +++ b/src/packagebuilder/__init__.py @@ -5,6 +5,6 @@ from ._pip import filter_sources, find_installation_candidates from ._pip_shims import get_sources from .build import Built...
Prebump to <I>.dev0
py
diff --git a/master/buildbot/test/integration/test_upgrade.py b/master/buildbot/test/integration/test_upgrade.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/integration/test_upgrade.py +++ b/master/buildbot/test/integration/test_upgrade.py @@ -89,12 +89,13 @@ class UpgradeTestMixin(db.RealDatabaseMixin): ...
Also don't use with with tarfile. It isn't supported by python <I>.
py
diff --git a/tests/test_vuln20007.py b/tests/test_vuln20007.py index <HASH>..<HASH> 100644 --- a/tests/test_vuln20007.py +++ b/tests/test_vuln20007.py @@ -73,6 +73,7 @@ def Vuln20007TrapPrevent(client): class TestVuln20007(KeepKeyTest): def test_vuln(self): + self.requires_firmware("6.4.1") PREVHA...
fw version requirement for vuln-<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,6 @@ import os import pathlib import subprocess import sys -import platform import textwrap from setuptools import Command, Extension, setup @@ -18,7 +17,7 @@ def define_extensions(use_openmp): if not os.en...
Switch to sys library for consistency
py
diff --git a/librosa/core/audio.py b/librosa/core/audio.py index <HASH>..<HASH> 100644 --- a/librosa/core/audio.py +++ b/librosa/core/audio.py @@ -143,7 +143,7 @@ def load(path, sr=22050, mono=True, offset=0.0, duration=None, # tack on the current frame y.append(frame) - if len(y): + i...
replaced a length condition check in load
py
diff --git a/pex/common.py b/pex/common.py index <HASH>..<HASH> 100644 --- a/pex/common.py +++ b/pex/common.py @@ -48,7 +48,17 @@ def safe_copy(source, dest, overwrite=False): if overwrite: do_copy() elif e.errno in (errno.EPERM, errno.EXDEV): - # Hard link across devices or permission...
Explain hard link EPERM copy fallback. (#<I>) This follows up on #<I> to provide more explanation of how a copy can succeed where a hard link fails due to apparent permission issues.
py
diff --git a/superset/sql_lab.py b/superset/sql_lab.py index <HASH>..<HASH> 100644 --- a/superset/sql_lab.py +++ b/superset/sql_lab.py @@ -98,6 +98,7 @@ def get_sql_results( query.status = QueryStatus.FAILED query.tmp_table_name = None sesh.commit() + raise def execute_sql(ctask, ...
sql_lab: re-raise exception in get_sql_results (#<I>) As caller expect it to raise an exception instead of returning None. Refs #<I>
py
diff --git a/compiler/js/component.py b/compiler/js/component.py index <HASH>..<HASH> 100644 --- a/compiler/js/component.py +++ b/compiler/js/component.py @@ -284,6 +284,7 @@ class component_generator(object): def transform_handlers(self, registry, blocks): result = {} for (path, name), (args, code) in blocks.i...
decode code as utf-8
py
diff --git a/satpy/tests/modifier_tests/test_parallax.py b/satpy/tests/modifier_tests/test_parallax.py index <HASH>..<HASH> 100644 --- a/satpy/tests/modifier_tests/test_parallax.py +++ b/satpy/tests/modifier_tests/test_parallax.py @@ -65,6 +65,20 @@ def fake_area_5x5_wide(): shape=(5, 5)) +@pytest.fixture ...
Add parameterised fixture for generating a cloud. Add a parameterised fixture for generating a cloud with certain parameters. Will be used for to-be-written unit tests.
py
diff --git a/test/test_mediafile_edge.py b/test/test_mediafile_edge.py index <HASH>..<HASH> 100644 --- a/test/test_mediafile_edge.py +++ b/test/test_mediafile_edge.py @@ -442,6 +442,10 @@ class ReadOnlyTagTest(unittest.TestCase, _common.TempDirMixin): def tearDown(self): self.remove_temp_dir() + ...
Clean up after `add_field` in test Should fix #<I>.
py
diff --git a/src/masonite/auth/guards/WebGuard.py b/src/masonite/auth/guards/WebGuard.py index <HASH>..<HASH> 100644 --- a/src/masonite/auth/guards/WebGuard.py +++ b/src/masonite/auth/guards/WebGuard.py @@ -71,7 +71,10 @@ class WebGuard(AuthenticationGuard): else: model = self.auth_model.w...
Check type of stored hashed password
py
diff --git a/allennlp/training/trainer.py b/allennlp/training/trainer.py index <HASH>..<HASH> 100644 --- a/allennlp/training/trainer.py +++ b/allennlp/training/trainer.py @@ -1062,6 +1062,15 @@ class Trainer(Registrable): grad_clipping = params.pop_float("grad_clipping", None) lr_scheduler_params = pa...
Fix loaded model not taken to cuda device (#<I>) * Fix loaded model not taken to cuda device * Check that cuda_device is int before >= * Add comment * Handle multi-gpu case
py
diff --git a/arangodb/tests.py b/arangodb/tests.py index <HASH>..<HASH> 100644 --- a/arangodb/tests.py +++ b/arangodb/tests.py @@ -563,6 +563,35 @@ class CollectionModelManagerTestCase(unittest.TestCase): TestModel.destroy() + def test_retrieve_all_models_and_update_one(self): + + class TestModel...
Added test case to see if a saved model from an all query still is only an updated model
py
diff --git a/zk_shell/copy.py b/zk_shell/copy.py index <HASH>..<HASH> 100644 --- a/zk_shell/copy.py +++ b/zk_shell/copy.py @@ -189,8 +189,6 @@ class ZKProxy(Proxy): if self.client.exists(self.path): self.client.set(self.path, path_value.value) - if acl: - self.client.se...
Don't set an ACL if the znode already exists
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ required_packages = [ "protobuf>=3.1", "scipy>=0.19.0", "protobuf3-to-dict>=0.1.5", - "smdebug-rulesconfig==0.1.2", + "smdebug-rulesconfig==0.1.4", "importlib-metadata>=1.4.0", "pa...
change: upgrade smdebug-rulesconfig to <I> (#<I>)
py
diff --git a/spacy/language.py b/spacy/language.py index <HASH>..<HASH> 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -350,6 +350,7 @@ class Language(object): 'ner': self.entity.cfg if self.entity else {}, } + path = util.ensure_path(path) self.setup_directory(path, *...
Ensure path in save_to_directory
py
diff --git a/tests/all_test.py b/tests/all_test.py index <HASH>..<HASH> 100644 --- a/tests/all_test.py +++ b/tests/all_test.py @@ -1091,7 +1091,7 @@ class ConnectionClosing(unittest.TestCase): cur.execute('select 1') kill(master_conn, get_spid(conn)) sleep(0.2) - ...
Fix test on Windows Windows raises ConnectionResetError, linux raises BrokenPipeError but both are subclasses of ConnectionError
py
diff --git a/tests/test_plugin.py b/tests/test_plugin.py index <HASH>..<HASH> 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -1,6 +1,14 @@ from unittest import TestCase +from nosedjango.nosedjango import NoseDjango -class CustomURLConfTestCase(TestCase): + +class PluginTestBase(TestCase): + def...
Import the plugin, created a test base class
py
diff --git a/SpiffWorkflow/bpmn2/specs/ParallelGateway.py b/SpiffWorkflow/bpmn2/specs/ParallelGateway.py index <HASH>..<HASH> 100644 --- a/SpiffWorkflow/bpmn2/specs/ParallelGateway.py +++ b/SpiffWorkflow/bpmn2/specs/ParallelGateway.py @@ -1,6 +1,9 @@ +import logging from SpiffWorkflow.bpmn2.specs.BpmnSpecMixin import ...
The ParallelGateway should not enter the waiting state if the parent is not yet finished.
py
diff --git a/scripts/get_ldif.py b/scripts/get_ldif.py index <HASH>..<HASH> 100644 --- a/scripts/get_ldif.py +++ b/scripts/get_ldif.py @@ -13,6 +13,7 @@ def run(*args): u.user_type = "staff" else: u.user_type = "students" + tj_email = u.tj_email ldiftemplate = """dn: uid={username},ou={...
feat(scripts): add TJ email to LDIF
py
diff --git a/lib/webinterface_handler_flask.py b/lib/webinterface_handler_flask.py index <HASH>..<HASH> 100644 --- a/lib/webinterface_handler_flask.py +++ b/lib/webinterface_handler_flask.py @@ -468,6 +468,8 @@ def create_invenio_flask_app(): try: return url_for(endpoint, **values) ...
WebStyle: support for absolute url in url_for
py
diff --git a/pyrtl/wire.py b/pyrtl/wire.py index <HASH>..<HASH> 100644 --- a/pyrtl/wire.py +++ b/pyrtl/wire.py @@ -74,7 +74,6 @@ class WireVector(object): Greater or Eq. a >= b Greater or Equal to, return 1-bit WireVector Equality a == b Hardware to check equality, return 1-bit...
removed dup line in docstring, fixes #<I>
py
diff --git a/angrdbg/page.py b/angrdbg/page.py index <HASH>..<HASH> 100755 --- a/angrdbg/page.py +++ b/angrdbg/page.py @@ -1,4 +1,3 @@ -import bintrees import cooldict import claripy import cffi
removed bintrees dep from page.py
py
diff --git a/src/armet/resources/base.py b/src/armet/resources/base.py index <HASH>..<HASH> 100755 --- a/src/armet/resources/base.py +++ b/src/armet/resources/base.py @@ -1399,7 +1399,7 @@ class BaseResource(object): # Check if the operation is allowed. if operation not in self._allowed_operations: ...
Fix forbidden operations throwing <I> errors
py
diff --git a/helpers/etcd.py b/helpers/etcd.py index <HASH>..<HASH> 100644 --- a/helpers/etcd.py +++ b/helpers/etcd.py @@ -45,6 +45,8 @@ class Etcd: time.sleep(3) elif ex: raise ex + else: + break return response.json(), response.status...
Bugfix: get_client_path might get into infinite loop when response code is not <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name = "countries", - version = "0.1.1-2", + version = "0.2.0", description = 'Provides models for a "complete" list of countries', author...
Release <I> as first clean version
py
diff --git a/salt/client/ssh/state.py b/salt/client/ssh/state.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/state.py +++ b/salt/client/ssh/state.py @@ -135,9 +135,9 @@ def lowstate_file_refs(chunks, extras=''): elif state.startswith('__'): continue crefs.extend(salt_ref...
--extra-filerefs include files even if no refs in states to apply Fixes #<I>
py
diff --git a/gwpy/table/io/ascii.py b/gwpy/table/io/ascii.py index <HASH>..<HASH> 100644 --- a/gwpy/table/io/ascii.py +++ b/gwpy/table/io/ascii.py @@ -25,6 +25,8 @@ Each specific ASCII table format should define their own line parser (that generates each row of the table) and pass it to the factory method. """ +fro...
table.io.ascii: cast str-like to str explicitly this works around a bug in `glue.lal.LIGOTimeGPS` that checks for exact type matching, not `isinstance`
py
diff --git a/seleniumbase/config/settings.py b/seleniumbase/config/settings.py index <HASH>..<HASH> 100755 --- a/seleniumbase/config/settings.py +++ b/seleniumbase/config/settings.py @@ -8,7 +8,8 @@ NOSETESTS USERS: IF YOU MAKE CHANGES TO THIS FILE, YOU NEED TO RERUN # #####>>>>>----- REQUIRED/IMPORTANT SETTINGS ---...
Add TINY_TIMEOUT to settings.py
py
diff --git a/numina/user/xdgdirs.py b/numina/user/xdgdirs.py index <HASH>..<HASH> 100644 --- a/numina/user/xdgdirs.py +++ b/numina/user/xdgdirs.py @@ -43,3 +43,8 @@ xdg_config_home = os.environ.get( 'XDG_CONFIG_HOME', os.path.join(_home, '.config') ) + +xdg_cache_home = os.environ.get( + 'XDG_CACHE_HO...
Add XDG_CACHE_HOME support
py
diff --git a/OpenPNM/Geometry/models/pore_seed.py b/OpenPNM/Geometry/models/pore_seed.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Geometry/models/pore_seed.py +++ b/OpenPNM/Geometry/models/pore_seed.py @@ -161,11 +161,9 @@ def spatially_correlated(geometry, weights=None, strel=None, **kwargs): im = spim.convolve(...
Changed from fitting a gaussian stats object to just using equations to renormalize the convoluted pore seeds
py
diff --git a/salt/states/supervisord.py b/salt/states/supervisord.py index <HASH>..<HASH> 100644 --- a/salt/states/supervisord.py +++ b/salt/states/supervisord.py @@ -106,7 +106,7 @@ def running(name, changes.append(comment) log.debug(comment) - if '{0}: updated' in result['stdout']: + ...
Fix restart/update problem in supervisord state, adding a way to force update and checking if changes were detected in case a restart is also needed. (Result of module supervisord.update is the actual stdout)
py
diff --git a/samp-server-cli.py b/samp-server-cli.py index <HASH>..<HASH> 100755 --- a/samp-server-cli.py +++ b/samp-server-cli.py @@ -93,22 +93,20 @@ def is_linux(): def read_config(filename): options = {} - file = open(filename, 'r') - for line in file.readlines(): - try: - name, value = string.split(...
Use 'with' statement in read/write_config()
py
diff --git a/pyt/cfg/alias_helper.py b/pyt/cfg/alias_helper.py index <HASH>..<HASH> 100644 --- a/pyt/cfg/alias_helper.py +++ b/pyt/cfg/alias_helper.py @@ -92,4 +92,3 @@ def fully_qualify_alias_labels(label, aliases): if label.startswith(alias+'.'): return full_name + label[len(alias):] return...
Remove blank line at end of file.
py
diff --git a/viper/types.py b/viper/types.py index <HASH>..<HASH> 100644 --- a/viper/types.py +++ b/viper/types.py @@ -142,9 +142,13 @@ class NullType(NodeType): # Convert type into common form used in ABI -def canonicalize_type(t): +def canonicalize_type(t, is_event=False): if isinstance(t, ByteArrayType): -...
Abi output for events shows maxlen
py
diff --git a/django_tenants/models.py b/django_tenants/models.py index <HASH>..<HASH> 100644 --- a/django_tenants/models.py +++ b/django_tenants/models.py @@ -91,7 +91,7 @@ class TenantMixin(models.Model): if has_schema and is_new and self.auto_create_schema: try: self.create_sche...
in certain cases the user model isn't serializable so you may want to only send the id
py
diff --git a/vprof/__main__.py b/vprof/__main__.py index <HASH>..<HASH> 100644 --- a/vprof/__main__.py +++ b/vprof/__main__.py @@ -53,10 +53,10 @@ def main(): help='Python module or package to profile') parser.add_argument('-c', '--config', metavar='options', ...
Swap host and port in help.
py
diff --git a/server.py b/server.py index <HASH>..<HASH> 100644 --- a/server.py +++ b/server.py @@ -40,10 +40,11 @@ def main(): application = ThumborServiceApp() server = HTTPServer(application) - server.listen(port, '0.0.0.0') + server.bind(port, '0.0.0.0') + server.start(0) print 'server st...
Now thumbor runs with the number of cpus available
py
diff --git a/src/pydocstyle/config.py b/src/pydocstyle/config.py index <HASH>..<HASH> 100644 --- a/src/pydocstyle/config.py +++ b/src/pydocstyle/config.py @@ -394,7 +394,7 @@ class ConfigurationParser(object): @staticmethod def _expand_error_codes(code_parts): - """Returns expanded set of error codes...
First line should be in imperative mood. :facepalm:
py
diff --git a/pywavefront/texture.py b/pywavefront/texture.py index <HASH>..<HASH> 100644 --- a/pywavefront/texture.py +++ b/pywavefront/texture.py @@ -77,7 +77,8 @@ class Texture: try: first = next(locations) except StopIteration: - raise ValueError("Cannot locate texture in se...
Better error message when find doesn't locate texture
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100755 --- a/python/setup.py +++ b/python/setup.py @@ -109,7 +109,7 @@ if platform.system() == 'Darwin': setup( name='neuroglancer', - version='2.6', + version='2.7', description='Python data backend for neuroglancer, a WebGL-based v...
chore: bump Python package version to <I>
py
diff --git a/angr/state_plugins/preconstrainer.py b/angr/state_plugins/preconstrainer.py index <HASH>..<HASH> 100644 --- a/angr/state_plugins/preconstrainer.py +++ b/angr/state_plugins/preconstrainer.py @@ -60,7 +60,11 @@ class SimStatePreconstrainer(SimStatePlugin): "claripy replacement backend....
Preconstraints should not be simplified away (#<I>)
py
diff --git a/gns3server/compute/base_node.py b/gns3server/compute/base_node.py index <HASH>..<HASH> 100644 --- a/gns3server/compute/base_node.py +++ b/gns3server/compute/base_node.py @@ -99,10 +99,7 @@ class BaseNode: self._console = self._manager.port_manager.get_free_tcp_port(self._project) ...
Fix when you switch console from VNC to telnet it's fail Fix #<I>
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -143,7 +143,7 @@ setup( "six >= 1.0.0", "flatbuffers" ], - setup_requires=["cython >= 0.23"], + setup_requires=["cython >= 0.27, < 0.28"], extras_require=extras, ...
Require Cython <I> for setup. (#<I>) * Require Cython <I> for setup. * Make Cython version even more specific. * Restrict to any <I> version
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 @@ -272,7 +272,7 @@ class OpenIDConsumer(object): NONCE_LEN = 8 NONCE_CHRS = string.letters + string.digits - sessionKeyPrefix = "_openid_...
[project @ Re-name sessionKeyPrefix attribute to be more consistent with library style]
py
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py index <HASH>..<HASH> 100644 --- a/tools/interop_matrix/client_matrix.py +++ b/tools/interop_matrix/client_matrix.py @@ -172,6 +172,9 @@ LANG_RELEASE_MATRIX = { { 'v1.12.0': None }, + { + ...
Add <I> release of grpc-java
py
diff --git a/pelix/services/configadmin.py b/pelix/services/configadmin.py index <HASH>..<HASH> 100644 --- a/pelix/services/configadmin.py +++ b/pelix/services/configadmin.py @@ -210,9 +210,6 @@ class Configuration(object): # Nothing to do return False - if properties == self.__proper...
Configuration: Check differences after adding constants
py
diff --git a/telethon/update_state.py b/telethon/update_state.py index <HASH>..<HASH> 100644 --- a/telethon/update_state.py +++ b/telethon/update_state.py @@ -79,11 +79,14 @@ class UpdateState: """Raises "StopIterationException" on the worker threads to stop them, and also clears all of them off th...
Fix setting None update workers not causing all threads to stop
py
diff --git a/pybromo/diffusion.py b/pybromo/diffusion.py index <HASH>..<HASH> 100644 --- a/pybromo/diffusion.py +++ b/pybromo/diffusion.py @@ -594,7 +594,7 @@ class ParticlesSimulation(object): for ipop, (max_rate, pop) in enumerate(zip(max_rates, populations)): kw = dict(npop = ipop + 1, max_rate...
Emission rate in cps in timestamps array name
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -132,10 +132,10 @@ setup( # For an analysis of "install_requires" vs pip's requirements files see: # https://packaging.python.org/en/latest/requirements.html install_requires=[ - 'tensorflow>=1.7.1', + ...
Fixing setup.py versions.
py
diff --git a/tests/builder_test.py b/tests/builder_test.py index <HASH>..<HASH> 100644 --- a/tests/builder_test.py +++ b/tests/builder_test.py @@ -75,6 +75,22 @@ class SetCustomParamsTest(unittest.TestCase): set_custom_params(ufo, parsed=[('glyphOrder', ['A', 'B'])]) self.assertEqual(ufo.lib[PUBLIC_PR...
[builder_test] add tests for setting OS/2.fsSelection flags
py
diff --git a/gsh/remote_dispatcher.py b/gsh/remote_dispatcher.py index <HASH>..<HASH> 100644 --- a/gsh/remote_dispatcher.py +++ b/gsh/remote_dispatcher.py @@ -233,14 +233,16 @@ class remote_dispatcher(buffered_dispatcher): def handle_read_fast_case(self, data): """If we are in a fast case we'll avoid the ...
Look for '\n' only once
py
diff --git a/bcbio/qc/fastqc.py b/bcbio/qc/fastqc.py index <HASH>..<HASH> 100644 --- a/bcbio/qc/fastqc.py +++ b/bcbio/qc/fastqc.py @@ -31,9 +31,11 @@ def run(bam_file, data, fastqc_out): if not os.path.exists(sentry_file): work_dir = os.path.dirname(fastqc_out) utils.safe_makedir(work_dir) - ...
fastQC: use original BAM file if not downsampled
py
diff --git a/trustar/TruStar.py b/trustar/TruStar.py index <HASH>..<HASH> 100644 --- a/trustar/TruStar.py +++ b/trustar/TruStar.py @@ -104,17 +104,17 @@ class TruStar(object): resp = requests.get(self.base + "/reports/correlate", payload, headers=headers) return json.loads(resp.content) - def que...
Update `indicators` field names
py
diff --git a/montblanc/tests/test_biro_v4.py b/montblanc/tests/test_biro_v4.py index <HASH>..<HASH> 100644 --- a/montblanc/tests/test_biro_v4.py +++ b/montblanc/tests/test_biro_v4.py @@ -246,6 +246,13 @@ class TestBiroV4(unittest.TestCase): self.B_sqrt_test_impl(slvr) + def test_B_sqrt_double(self):...
Add a double test for the B_sqrt kernel.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='block', - version='0.0.3', + version='0.0.4', description="Improved block matrix creation for numpy and PyTorch.", author='Brandon A...
Bump to <I>.
py
diff --git a/Python/phate/utils.py b/Python/phate/utils.py index <HASH>..<HASH> 100644 --- a/Python/phate/utils.py +++ b/Python/phate/utils.py @@ -101,8 +101,8 @@ def matrix_is_equivalent(X, Y): """ Checks matrix equivalence with numpy, scipy and pandas """ - return isinstance(X, Y.__class__) and X.sh...
add is check in matrix equivalence
py
diff --git a/hal/internet/parser.py b/hal/internet/parser.py index <HASH>..<HASH> 100644 --- a/hal/internet/parser.py +++ b/hal/internet/parser.py @@ -95,4 +95,4 @@ def html_stripper(string): .replace(" ", " ") \ .strip() - return out.encode("utf-8") + return str(out)
discarded utf-8 encoding in html stripper
py
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/editor.py +++ b/spyderlib/plugins/editor.py @@ -610,8 +610,15 @@ class EditorTabWidget(Tabs): ).arg(name), QMessageBox.Yes | QMess...
Editor/bugfix - Issue <I>: when fixing EOL chars automatically, OS-specific EOL chars are set as default file's EOL chars (instead of CR+LF if CR+LF and LF were found no matter the OS)
py
diff --git a/setuptools/svn_utils.py b/setuptools/svn_utils.py index <HASH>..<HASH> 100644 --- a/setuptools/svn_utils.py +++ b/setuptools/svn_utils.py @@ -244,7 +244,6 @@ class SvnInfo(object): "on pre 1.7 .svn parsing"), DeprecationWarning) return SvnFileInfo(dirname) ...
Removed verbose warning from svn_utils.py
py
diff --git a/slither/detectors/operations/block_timestamp.py b/slither/detectors/operations/block_timestamp.py index <HASH>..<HASH> 100644 --- a/slither/detectors/operations/block_timestamp.py +++ b/slither/detectors/operations/block_timestamp.py @@ -29,7 +29,7 @@ def _timestamp(func: Function) -> List[Node]: ...
Timestamp detector: make result order deterministic
py
diff --git a/pympi/Elan.py b/pympi/Elan.py index <HASH>..<HASH> 100644 --- a/pympi/Elan.py +++ b/pympi/Elan.py @@ -976,7 +976,7 @@ class Eaf: :returns: The alignment annotation at the end of the reference chain. """ parentTier = self.tiers[self.annotations[ref_id]] - while "PARENT_REF"...
Fixed bug in get_parent_aligned_annotation. PARENT_REF key is set to None by default, so checking whether the key exists was not enough
py
diff --git a/SoftLayer/managers/vs.py b/SoftLayer/managers/vs.py index <HASH>..<HASH> 100644 --- a/SoftLayer/managers/vs.py +++ b/SoftLayer/managers/vs.py @@ -198,7 +198,7 @@ class VSManager(utils.IdentifierMixin, object): 'primaryIpAddress,' '''networkComponents[id, status, speed, max...
Fixed vs primarySubnet addressSpace
py
diff --git a/appkit/app.py b/appkit/app.py index <HASH>..<HASH> 100644 --- a/appkit/app.py +++ b/appkit/app.py @@ -6,6 +6,7 @@ import sys import multiprocessing from flask import Flask import socket +from gevent import pywsgi try: from urllib2 import urlopen, HTTPError, URLError @@ -84,10 +85,15 @@ class App...
Switch to gevent wsgi server
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,9 +27,6 @@ setup( 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - ...
Remove python2 in setup.py
py