diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/parambokeh/__init__.py b/parambokeh/__init__.py index <HASH>..<HASH> 100644 --- a/parambokeh/__init__.py +++ b/parambokeh/__init__.py @@ -83,13 +83,16 @@ class Widgets(param.ParameterizedFunction): Whether to push data in notebook mode. Allows disabling pushing of data if the callback han...
Allow passing in plots to Widgets function
py
diff --git a/bezier/_intersection_helpers.py b/bezier/_intersection_helpers.py index <HASH>..<HASH> 100644 --- a/bezier/_intersection_helpers.py +++ b/bezier/_intersection_helpers.py @@ -104,7 +104,7 @@ def _check_parameters(s, t): else: raise ValueError(name, 'outside of unit interval', val) - ...
Lint fix. Pylint was worried about "Possible unbalanced tuple unpacking".
py
diff --git a/src/python/test/test_dxpy_utils.py b/src/python/test/test_dxpy_utils.py index <HASH>..<HASH> 100755 --- a/src/python/test/test_dxpy_utils.py +++ b/src/python/test/test_dxpy_utils.py @@ -30,6 +30,7 @@ from dxpy.compat import USING_PYTHON2 # TODO: unit tests for dxpy.utils.get_field_from_jbor, get_job_fro...
Regression tests for daeecf<I>, f<I>a3e2
py
diff --git a/plex/objects/core/base.py b/plex/objects/core/base.py index <HASH>..<HASH> 100644 --- a/plex/objects/core/base.py +++ b/plex/objects/core/base.py @@ -25,15 +25,22 @@ class Property(object): if value is None: return None - # Return string + return self.value_convert(val...
Added ability to run multiple type conversions (string -> int -> bool)
py
diff --git a/tests/integration/test_httplib2.py b/tests/integration/test_httplib2.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_httplib2.py +++ b/tests/integration/test_httplib2.py @@ -22,7 +22,7 @@ def http(): kwargs = { 'ca_certs': pytest_httpbin.certs.where() } - if sys.version_in...
httplib2 has issues validating certificate with python <I>, disabling it
py
diff --git a/hiwenet/test_medpy.py b/hiwenet/test_medpy.py index <HASH>..<HASH> 100644 --- a/hiwenet/test_medpy.py +++ b/hiwenet/test_medpy.py @@ -108,4 +108,7 @@ def check_triangle_inequality(method, h1, h2, h3): d12 = method(h1, h2) d23 = method(h2, h3) d13 = method(h1, h3) - assert d12 <= d13 + d23...
controlling the precision in checks on triangle inequality
py
diff --git a/stimela_misc/stimela-test-ngc417.py b/stimela_misc/stimela-test-ngc417.py index <HASH>..<HASH> 100644 --- a/stimela_misc/stimela-test-ngc417.py +++ b/stimela_misc/stimela-test-ngc417.py @@ -25,10 +25,11 @@ GAINCAL_TABLE2 = PREFIX + '.G1:output' LABEL = "ngc147_reduction" -OUTPUT = "output_%s"%LABEL ...
register globals after setting LABEL
py
diff --git a/indra/db/belief.py b/indra/db/belief.py index <HASH>..<HASH> 100644 --- a/indra/db/belief.py +++ b/indra/db/belief.py @@ -1,6 +1,10 @@ class MockStatement(object): + """A class to imitate real INDRA Statements for calculating belief.""" def __init__(self, evidence, mk_hash, supports): - sel...
Allow evidence to be list of single instance.
py
diff --git a/examples/kubernetes/guestbook/main.py b/examples/kubernetes/guestbook/main.py index <HASH>..<HASH> 100644 --- a/examples/kubernetes/guestbook/main.py +++ b/examples/kubernetes/guestbook/main.py @@ -67,6 +67,6 @@ if __name__ == "__main__": topoconn.close() # Connect to vtgate. - conn = vtgatev2.con...
Fix guestbook example for _vt -> vt port rename.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os import sys -version = '0.1.1' +version = '0.1.2' try: from setuptools import setup
bumped version <I>
py
diff --git a/spyder/plugins/ipythonconsole.py b/spyder/plugins/ipythonconsole.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/ipythonconsole.py +++ b/spyder/plugins/ipythonconsole.py @@ -830,16 +830,16 @@ class IPythonConsole(SpyderPluginWidget): create_pylab_action = create_action( ...
Changed the order of "console" and description
py
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -87,6 +87,6 @@ def test_csv_output(MockedClient): assert MockedClient.connect.called assert not MockedClient.connect().delete.called eq_(sys.stdout.getvalue(), - "one,t...
use CRLF line breaks in csv tests
py
diff --git a/alot/helper.py b/alot/helper.py index <HASH>..<HASH> 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -245,14 +245,35 @@ def call_cmd(cmdlist, stdin=None): return out, err, ret -def guess_mimetype(path): +def guess_mimetype(blob): + """ + uses file magic to determine the mime-type of the ...
more generic guess_mimetype and docs this can be called with arbitrary data blobs and will be reused throughout the interface issue #<I>
py
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index <HASH>..<HASH> 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -389,7 +389,7 @@ def write_toplevel_names(cmd, basename, filename): for k in cmd.distribution.iter_distribution_names() ...
Backed out changeset: be<I>eff<I>c<I> Syntax was invalid.
py
diff --git a/h2o-py/h2o/model/autoencoder.py b/h2o-py/h2o/model/autoencoder.py index <HASH>..<HASH> 100644 --- a/h2o-py/h2o/model/autoencoder.py +++ b/h2o-py/h2o/model/autoencoder.py @@ -13,13 +13,14 @@ class H2OAutoEncoderModel(ModelBase): def __init__(self, dest_key, model_json): super(H2OAutoEncoderModel, se...
PUBDEV-<I>: Add extra argument to get per-feature reconstruction error for anomaly detection from Python.
py
diff --git a/salt/auth/__init__.py b/salt/auth/__init__.py index <HASH>..<HASH> 100644 --- a/salt/auth/__init__.py +++ b/salt/auth/__init__.py @@ -120,7 +120,7 @@ class LoadAuth(object): 'name': fcall['args'][0], 'eauth': load['eauth'], 'token': tok} - with s...
read/write binary w/msgpack
py
diff --git a/photon.py b/photon.py index <HASH>..<HASH> 100644 --- a/photon.py +++ b/photon.py @@ -221,6 +221,10 @@ def requester(url): response.close() return 'dummy' + # developer.facebook.com API + def facebook(url): + return get('https://developers.facebook.com/tools/debug/e...
Added developer.facebook.com API for Ninja mode
py
diff --git a/furious/_pkg_meta.py b/furious/_pkg_meta.py index <HASH>..<HASH> 100644 --- a/furious/_pkg_meta.py +++ b/furious/_pkg_meta.py @@ -1,2 +1,2 @@ -version_info = (1, 2, 0) +version_info = (1, 3, 0) version = '.'.join(map(str, version_info))
Upgrade the version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import urllib from setuptools import setup from distutils.core import Command -__version__ = '0.0.2' +__version__ = '0.0.3' project_name = 'winrmlib' # PyPi supports only reStructuredText, so pandoc should...
Incrementing version for PyPi release
py
diff --git a/plenum/server/validator_info_tool.py b/plenum/server/validator_info_tool.py index <HASH>..<HASH> 100644 --- a/plenum/server/validator_info_tool.py +++ b/plenum/server/validator_info_tool.py @@ -345,7 +345,7 @@ class ValidatorNodeInfoTool: stashed_txns["Stashed_checkoints"] = self._prepare_for_...
[INDY-<I>] Fix for dict 'Metrics'
py
diff --git a/src/wormhole/server/rendezvous.py b/src/wormhole/server/rendezvous.py index <HASH>..<HASH> 100644 --- a/src/wormhole/server/rendezvous.py +++ b/src/wormhole/server/rendezvous.py @@ -10,8 +10,8 @@ HOUR = 60*MINUTE DAY = 24*HOUR MB = 1000*1000 -CHANNEL_EXPIRATION_TIME = 3*DAY -EXPIRATION_CHECK_PERIOD = 2...
expire channels faster: 2 hours, not 3 days With increased usage, I'm seeing a buildup of stale channels. Since the channels aren't properly ephemeral yet (where they get closed as soon as the last subscriber disconnects), clients which terminate without calling close() tend to leave the channel lying around. We don't...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def readme(): base_requirements = [ 'attrs>=17.4,<20', - 'conformity~=1.20', + 'conformity~=1.21', 'currint~=1.6', 'enum34;python_version<"3.4"', 'msgpack-python~=0.5,>=0.5.2',
[MINOR] Bump Conformity to <I>
py
diff --git a/salt/states/linux_acl.py b/salt/states/linux_acl.py index <HASH>..<HASH> 100644 --- a/salt/states/linux_acl.py +++ b/salt/states/linux_acl.py @@ -345,11 +345,15 @@ def list_present(name, acl_type, acl_names=None, perms='', recurse=False, force= _current_acl_types.append(current_acl_name.en...
EAFP optimization in linux_acl state The `in` operator and `list.remove()` both iterate over the contents of the list. Attempting the remove and catching the ValueError prevents the extra iteration performed by the membership check.
py
diff --git a/porespy/tools/__funcs__.py b/porespy/tools/__funcs__.py index <HASH>..<HASH> 100644 --- a/porespy/tools/__funcs__.py +++ b/porespy/tools/__funcs__.py @@ -160,7 +160,8 @@ def extract_subsection(im, shape): Examples -------- - >>> from scipy.tools import extract_subsection + >>> import scip...
added scipy import to docstring examples
py
diff --git a/tests/fread/test_fread_random.py b/tests/fread/test_fread_random.py index <HASH>..<HASH> 100644 --- a/tests/fread/test_fread_random.py +++ b/tests/fread/test_fread_random.py @@ -108,6 +108,18 @@ def test_fread_omnibus(seed): except: with open("omnibus.csv", "w") as o: o.write(tex...
In omnibus test detect empty string as integer-like; produce more output during failure (#<I>)
py
diff --git a/salt/modules/ebuild.py b/salt/modules/ebuild.py index <HASH>..<HASH> 100644 --- a/salt/modules/ebuild.py +++ b/salt/modules/ebuild.py @@ -325,7 +325,7 @@ def install(name=None, prefix += eq or '' # If no prefix characters were supplied, use '=' ...
Fixed quoting pkg atoms if comparision is provided
py
diff --git a/ipyrad/assemble/cluster_across.py b/ipyrad/assemble/cluster_across.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/cluster_across.py +++ b/ipyrad/assemble/cluster_across.py @@ -1053,7 +1053,7 @@ def build_input_file(data, samples, randomseed): allhaps = allcons.replace("_catcons.tmp", "_cathaps.t...
closing pipe was causing a stall in step6
py
diff --git a/ads/core.py b/ads/core.py index <HASH>..<HASH> 100644 --- a/ads/core.py +++ b/ads/core.py @@ -123,8 +123,8 @@ class Article(object): ) def __eq__(self, other): - if not hasattr(self, 'bibcode') or not hasattr(other, 'bibcode') or \ - self.bibcode is None or other.bibco...
Article: remove bibcode from cached_property to prevent undesirable lookups on __eq__
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ setup( install_requires=[ "eth-hash>=0.1.0,<1.0.0", - "eth-utils>=1.3.0b0,<2.0.0a0", + "eth-utils>=1.3.0,<2.0.0", "rlp>=1,<2", ], extras_require=extras_require,
fix eth-utils version constraints
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name='sensu_plugin', - version='0.3.0', + version='0.3.1', author='Sensu-Plugins and contributors', author_email='sensu-users@googlegroups.com', ...
Update setup.py forgot to update the version number in setup.py
py
diff --git a/test/test_reader.py b/test/test_reader.py index <HASH>..<HASH> 100644 --- a/test/test_reader.py +++ b/test/test_reader.py @@ -95,7 +95,8 @@ class TestReader(unittest.TestCase, TestResultDataModel): 'nidm_PValueUncorrected': 'nidm_UncorrectedPValue', 'ht...
Manually add missing activity in qualified generation
py
diff --git a/livelossplot/plot_losses.py b/livelossplot/plot_losses.py index <HASH>..<HASH> 100644 --- a/livelossplot/plot_losses.py +++ b/livelossplot/plot_losses.py @@ -37,3 +37,30 @@ class PlotLosses: """Send method substitute from old livelossplot api""" warnings.warn('draw will be deprecated, ple...
feat: added to_matplotlib to PlotLosses
py
diff --git a/FlowCal/plot.py b/FlowCal/plot.py index <HASH>..<HASH> 100644 --- a/FlowCal/plot.py +++ b/FlowCal/plot.py @@ -994,7 +994,7 @@ def density2d(data, x = np.ravel(xv)[Hind != 0] y = np.ravel(yv)[Hind != 0] z = np.ravel(H if sH is None else sH)[Hind != 0] - plt.scatter(x, y, s=...
Increased dot size in scatter-density diagram.
py
diff --git a/kmip/demos/locate.py b/kmip/demos/locate.py index <HASH>..<HASH> 100644 --- a/kmip/demos/locate.py +++ b/kmip/demos/locate.py @@ -1,6 +1,3 @@ -# Copyright (c) 2014 The Johns Hopkins University/Applied Physics Laboratory -# All Rights Reserved. -# # Licensed under the Apache License, Version 2.0 (the "Lice...
Update locate.py removed Johns Hopkins copyright lines.
py
diff --git a/gooey/python_bindings/config_generator.py b/gooey/python_bindings/config_generator.py index <HASH>..<HASH> 100644 --- a/gooey/python_bindings/config_generator.py +++ b/gooey/python_bindings/config_generator.py @@ -12,7 +12,7 @@ def create_from_parser(parser, source_path, **kwargs): if hasattr(sys, 'froz...
Set python unbuffered flag (Issue #<I>)
py
diff --git a/rehive/api/client.py b/rehive/api/client.py index <HASH>..<HASH> 100644 --- a/rehive/api/client.py +++ b/rehive/api/client.py @@ -10,7 +10,7 @@ class Client: """ Interface for interacting with the rehive api """ - API_ENDPOINT = os.environ.get("REHIVE_API_V3_URL", + API_ENDPOINT = os.e...
Updated env variable name to get a custom rehive endpoint
py
diff --git a/better_exceptions/__init__.py b/better_exceptions/__init__.py index <HASH>..<HASH> 100644 --- a/better_exceptions/__init__.py +++ b/better_exceptions/__init__.py @@ -43,7 +43,7 @@ except UnicodeEncodeError: CAP_CHAR = '->' COMMENT_REGXP = re.compile(r'((?:(?:"(?:[^\\"]|(\\\\)*\\")*")|(?:\'(?:[^\\"]...
allow for non-whitespace characters to surround strings
py
diff --git a/runners/vr/runners/base.py b/runners/vr/runners/base.py index <HASH>..<HASH> 100644 --- a/runners/vr/runners/base.py +++ b/runners/vr/runners/base.py @@ -106,7 +106,7 @@ class BaseRunner(object): print("Writing env.sh") envsh_path = os.path.join(get_container_path(self.config), 'env.sh') ...
Save env.sh as text
py
diff --git a/holoviews/element/path.py b/holoviews/element/path.py index <HASH>..<HASH> 100644 --- a/holoviews/element/path.py +++ b/holoviews/element/path.py @@ -64,6 +64,15 @@ class Path(Element2D): return self.clone(extents=(xstart, ystart, xstop, ystop)) + @classmethod + def collapse_data(cls, da...
Allowed collapsing of Path types
py
diff --git a/openfisca_survey_manager/calibration.py b/openfisca_survey_manager/calibration.py index <HASH>..<HASH> 100644 --- a/openfisca_survey_manager/calibration.py +++ b/openfisca_survey_manager/calibration.py @@ -34,7 +34,7 @@ class Calibration(object): initial_weight_name = None def __init__(self, su...
Partial fix: use meange_ordinaire instead of champm
py
diff --git a/upgrades/formatter_2015_01_29_removal_of_format_tables.py b/upgrades/formatter_2015_01_29_removal_of_format_tables.py index <HASH>..<HASH> 100644 --- a/upgrades/formatter_2015_01_29_removal_of_format_tables.py +++ b/upgrades/formatter_2015_01_29_removal_of_format_tables.py @@ -55,7 +55,7 @@ def estimate():...
formatter: upgrade recipe fix * Fixes typo in path of migration script.
py
diff --git a/betfairlightweight/streaming/stream.py b/betfairlightweight/streaming/stream.py index <HASH>..<HASH> 100644 --- a/betfairlightweight/streaming/stream.py +++ b/betfairlightweight/streaming/stream.py @@ -196,10 +196,9 @@ class RaceStream(BaseStream): market_id = update['mid'] race...
RaceStream on_process updated to be consistent
py
diff --git a/selene/core/entity.py b/selene/core/entity.py index <HASH>..<HASH> 100644 --- a/selene/core/entity.py +++ b/selene/core/entity.py @@ -981,6 +981,7 @@ class Browser(WaitingEntity): def quit(self) -> None: self.driver.quit() + self.config._source.put(None) def clear_local_storag...
#<I> Remove config source when quitting driver
py
diff --git a/pyscreenshot/plugins/wxscreen.py b/pyscreenshot/plugins/wxscreen.py index <HASH>..<HASH> 100644 --- a/pyscreenshot/plugins/wxscreen.py +++ b/pyscreenshot/plugins/wxscreen.py @@ -27,7 +27,12 @@ class WxScreen(object): del mem myWxImage = wx.ImageFromBitmap(bmp) im = Image.new('RGB...
check existence of frombytes() , frombytes() was introduced in Pillow
py
diff --git a/linkcheck/dns/resolver.py b/linkcheck/dns/resolver.py index <HASH>..<HASH> 100644 --- a/linkcheck/dns/resolver.py +++ b/linkcheck/dns/resolver.py @@ -40,6 +40,12 @@ class NXDOMAIN(linkcheck.dns.exception.DNSException): """The query name does not exist.""" pass +# The definition of the Timeout e...
Revert previous commit: re-add Timeout exception.
py
diff --git a/liquid_tags/video.py b/liquid_tags/video.py index <HASH>..<HASH> 100644 --- a/liquid_tags/video.py +++ b/liquid_tags/video.py @@ -14,9 +14,11 @@ Example Output ------ -<video width='100%' height='480' preload='none' controls poster='http://site.com/poster-frame.jpg'> - <source src='http://site.com/vi...
Output example did not include the enclosing tag
py
diff --git a/wishlib/si.py b/wishlib/si.py index <HASH>..<HASH> 100644 --- a/wishlib/si.py +++ b/wishlib/si.py @@ -44,7 +44,7 @@ def inside_softimage(): return False -def show_qt(qt_class): +def show_qt(qt_class, modal=False): """ Shows and raise a pyqt window inside softimage ensuring it's not d...
show_qt() now supports modal mode
py
diff --git a/treetime/clock_tree.py b/treetime/clock_tree.py index <HASH>..<HASH> 100644 --- a/treetime/clock_tree.py +++ b/treetime/clock_tree.py @@ -476,7 +476,7 @@ class ClockTree(TreeAnc): LH -= node.branch_length_interpolator(node.branch_length) # add the root sequence LH and return - ...
only add sequence LH to total if reconstruction has been performed
py
diff --git a/pypci/pypci.py b/pypci/pypci.py index <HASH>..<HASH> 100644 --- a/pypci/pypci.py +++ b/pypci/pypci.py @@ -123,18 +123,24 @@ def parse_lspci_output(output_txt): return size def get_io_addr(line): - if line.find('bridge') != -1: - line = line.split('-')[0] - r...
Avoid stopping on unexpected lspci result format
py
diff --git a/benchexec/tablegenerator/columns.py b/benchexec/tablegenerator/columns.py index <HASH>..<HASH> 100644 --- a/benchexec/tablegenerator/columns.py +++ b/benchexec/tablegenerator/columns.py @@ -452,7 +452,8 @@ def _get_column_type_heur(column, column_values): if (column_type and column_type.type...
Column recognizes nan and inf as measure types
py
diff --git a/python/mxnet/io.py b/python/mxnet/io.py index <HASH>..<HASH> 100644 --- a/python/mxnet/io.py +++ b/python/mxnet/io.py @@ -97,8 +97,12 @@ class DataBatch(object): The key of the bucket, used for bucket IO. provide_data : list of (name, shape), optional The *i*-th elements describe...
Clarify order of data and labels in DataBatch (#<I>)
py
diff --git a/alchemyjsonschema/__init__.py b/alchemyjsonschema/__init__.py index <HASH>..<HASH> 100644 --- a/alchemyjsonschema/__init__.py +++ b/alchemyjsonschema/__init__.py @@ -62,6 +62,9 @@ default_column_to_schema = { } +if getattr(t, "Binary", None) is not None: + default_column_to_schema[t.Binary] = "xxx"...
revert t.Binary
py
diff --git a/tools/run_tests/run_tests_matrix.py b/tools/run_tests/run_tests_matrix.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_tests_matrix.py +++ b/tools/run_tests/run_tests_matrix.py @@ -169,7 +169,7 @@ def _create_test_jobs(extra_args=[], inner_jobs=_DEFAULT_INNER_JOBS): # sanitizers test_jobs ...
Add UBSan to list of tests generated
py
diff --git a/moto/sns/responses.py b/moto/sns/responses.py index <HASH>..<HASH> 100644 --- a/moto/sns/responses.py +++ b/moto/sns/responses.py @@ -184,3 +184,25 @@ class SNSResponse(BaseResponse): } } }) + + def list_endpoints_by_platform_application(self): + return json...
add mock for list_endpoints_by_platform_application method
py
diff --git a/source/rafcon/gui/mygaphas/aspect.py b/source/rafcon/gui/mygaphas/aspect.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/mygaphas/aspect.py +++ b/source/rafcon/gui/mygaphas/aspect.py @@ -188,7 +188,10 @@ class SegmentHandleSelection(ItemHandleSelection): after = handles[handle_index + 1] ...
fix(SegmentHandleSelection): Properly merge segments The merging of segments (removal of waypoints) should now properly work on all zoom and hierarchy levels. The commit fixes the issues, where it was no longer possible to create new waypoints on a deeply nested state.
py
diff --git a/hotdoc/core/formatter.py b/hotdoc/core/formatter.py index <HASH>..<HASH> 100644 --- a/hotdoc/core/formatter.py +++ b/hotdoc/core/formatter.py @@ -1053,10 +1053,12 @@ class Formatter(Configurable): return 'default' if not sha: - with open(tarball) as file_: - ...
Fix incorrect use of hashlib and cache
py
diff --git a/hydpy/docs/sphinx/conf.py b/hydpy/docs/sphinx/conf.py index <HASH>..<HASH> 100644 --- a/hydpy/docs/sphinx/conf.py +++ b/hydpy/docs/sphinx/conf.py @@ -53,9 +53,9 @@ napoleon_use_rtype = False intersphinx_mapping = { 'python': ('https://docs.python.org/3', None), - 'numpy': ('http://docs.scipy.org...
Update intersphinx inventory addresses.
py
diff --git a/ommprotocol/md.py b/ommprotocol/md.py index <HASH>..<HASH> 100644 --- a/ommprotocol/md.py +++ b/ommprotocol/md.py @@ -289,14 +289,14 @@ class Stage(object): if self.total_stages is not None: status += '/{}'.format(self.total_stages) status += ': {}'.format(self.na...
fix(md): status message building for restraints
py
diff --git a/openquake/engine/calculators/hazard/classical/core.py b/openquake/engine/calculators/hazard/classical/core.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/hazard/classical/core.py +++ b/openquake/engine/calculators/hazard/classical/core.py @@ -135,6 +135,7 @@ class ClassicalHazardCalculat...
Logged the preferred_block_size
py
diff --git a/tests/plugins/mixins/test_mixin_phenotype.py b/tests/plugins/mixins/test_mixin_phenotype.py index <HASH>..<HASH> 100644 --- a/tests/plugins/mixins/test_mixin_phenotype.py +++ b/tests/plugins/mixins/test_mixin_phenotype.py @@ -21,6 +21,10 @@ def test_add_phenotype(test_db, phenomizer_auth): # test wi...
Fix the tests :simple_smile:
py
diff --git a/raiden/tests/utils/network.py b/raiden/tests/utils/network.py index <HASH>..<HASH> 100644 --- a/raiden/tests/utils/network.py +++ b/raiden/tests/utils/network.py @@ -427,7 +427,7 @@ def wait_for_alarm_start(raiden_apps, retry_timeout=DEFAULT_RETRY_TIMEOUT): while apps: app = apps[-1] - ...
Fix one more occurrence of `last_block_number`
py
diff --git a/airflow/operators/email.py b/airflow/operators/email.py index <HASH>..<HASH> 100644 --- a/airflow/operators/email.py +++ b/airflow/operators/email.py @@ -33,7 +33,7 @@ class EmailOperator(BaseOperator): :param html_content: content of the email, html markup is allowed. (templated) :type ...
PR to add 'files' to template-fields in EmailOperator class (#<I>)
py
diff --git a/mtools/mlaunch/mlaunch.py b/mtools/mlaunch/mlaunch.py index <HASH>..<HASH> 100755 --- a/mtools/mlaunch/mlaunch.py +++ b/mtools/mlaunch/mlaunch.py @@ -1691,6 +1691,10 @@ class MLaunchTool(BaseCmdLineTool): % (name, self.config_docs[name])) print("replica set '%s' initiali...
Wait for each RS to elect a primary (#<I>) In a sharded replica set, wait for each of the shards to elect a primary before continuing to hopefully fix #<I>
py
diff --git a/datapackage_pipelines/lib/stream_remote_resources.py b/datapackage_pipelines/lib/stream_remote_resources.py index <HASH>..<HASH> 100644 --- a/datapackage_pipelines/lib/stream_remote_resources.py +++ b/datapackage_pipelines/lib/stream_remote_resources.py @@ -139,6 +139,11 @@ def stream_reader(_resource, _ur...
stream_remote_resources: copy common tabulator paramters as well
py
diff --git a/functional/pipeline.py b/functional/pipeline.py index <HASH>..<HASH> 100644 --- a/functional/pipeline.py +++ b/functional/pipeline.py @@ -347,8 +347,8 @@ class Sequence(object): :param n: number of elements to drop :return: sequence with last n elements dropped """ - self....
fixed transformation that was being forced evaluated isntead of lazy
py
diff --git a/splinter/driver/webdriver/firefox.py b/splinter/driver/webdriver/firefox.py index <HASH>..<HASH> 100644 --- a/splinter/driver/webdriver/firefox.py +++ b/splinter/driver/webdriver/firefox.py @@ -49,3 +49,9 @@ class WebDriverElement(BaseWebDriverElement): Firefox doesn't support doubleclick. ...
right click doesnt works in firefox
py
diff --git a/RAPIDpy/helper_functions.py b/RAPIDpy/helper_functions.py index <HASH>..<HASH> 100644 --- a/RAPIDpy/helper_functions.py +++ b/RAPIDpy/helper_functions.py @@ -58,7 +58,7 @@ def get_rivid_list_from_file(in_rapid_connect): """ rapid_connect_rivid_list = [] with open(in_rapid_connect, "rb") as c...
Added delimiter for rivid function
py
diff --git a/dictator/__init__.py b/dictator/__init__.py index <HASH>..<HASH> 100644 --- a/dictator/__init__.py +++ b/dictator/__init__.py @@ -70,14 +70,14 @@ class Dictator(object): :return: value of item with given name """ logger.debug('call __getattr__ %s', item) - key_type = self....
Convert reds type name to str instead of bytes
py
diff --git a/tests/test_parser.py b/tests/test_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -50,8 +50,8 @@ class TestParsers(unittest.TestCase): self.assertRaises(GrammarError, Lark, g, parser='lalr') - l = Lark(g, parser='earley', lexer='dynamic') -...
Earley now ignores infinite recursion
py
diff --git a/sdk/eventgrid/azure-mgmt-eventgrid/azure/mgmt/eventgrid/version.py b/sdk/eventgrid/azure-mgmt-eventgrid/azure/mgmt/eventgrid/version.py index <HASH>..<HASH> 100644 --- a/sdk/eventgrid/azure-mgmt-eventgrid/azure/mgmt/eventgrid/version.py +++ b/sdk/eventgrid/azure-mgmt-eventgrid/azure/mgmt/eventgrid/version....
Update version.py (#<I>)
py
diff --git a/django_extensions/admin/__init__.py b/django_extensions/admin/__init__.py index <HASH>..<HASH> 100644 --- a/django_extensions/admin/__init__.py +++ b/django_extensions/admin/__init__.py @@ -16,7 +16,10 @@ from django.db.models.query import QuerySet from django.utils.encoding import smart_str from django....
Try to import update_wrapper from functools. Django trunk is abandoning Python <I> support, and thus no longer includes update_wrapper in its functional library. Try to get it from functools first
py
diff --git a/limpyd_jobs/workers.py b/limpyd_jobs/workers.py index <HASH>..<HASH> 100644 --- a/limpyd_jobs/workers.py +++ b/limpyd_jobs/workers.py @@ -781,7 +781,10 @@ class WorkerConfig(object): print "The worker will run with the following options:" for name in self.options.worker_class.parameters: ...
Update print_options "callback" entry if default one (which call jobs run method)
py
diff --git a/km3pipe/core.py b/km3pipe/core.py index <HASH>..<HASH> 100644 --- a/km3pipe/core.py +++ b/km3pipe/core.py @@ -188,9 +188,17 @@ class Geometry(Module): """A very simple, preliminary Module which gives access to the geometry""" def __init__(self, **context): super(self.__class__, self).__i...
Allows initialisation via det_id through the database
py
diff --git a/pymongo/mongo_replica_set_client.py b/pymongo/mongo_replica_set_client.py index <HASH>..<HASH> 100644 --- a/pymongo/mongo_replica_set_client.py +++ b/pymongo/mongo_replica_set_client.py @@ -1401,10 +1401,6 @@ class MongoReplicaSetClient(common.BaseObject): sock_info.sock.settimeout(sel...
Revert change that undid timeout-robustness in RSC
py
diff --git a/salt/modules/seed.py b/salt/modules/seed.py index <HASH>..<HASH> 100644 --- a/salt/modules/seed.py +++ b/salt/modules/seed.py @@ -72,7 +72,7 @@ def _mount(path, ftype, root=None): return path elif ftype == 'file': if 'guestfs.mount' in __salt__: - util = 'qemu_nbd' + ...
fixed guestfs mounting for salt virt
py
diff --git a/sigal/gallery.py b/sigal/gallery.py index <HASH>..<HASH> 100644 --- a/sigal/gallery.py +++ b/sigal/gallery.py @@ -132,7 +132,7 @@ class PathsDb(object): alb_thumb = self.db[path].setdefault('thumbnail', '') if alb_thumb and os.path.isfile(join(self.basepath, path, ...
Fix stupid mistake in previous commit (ref #<I>).
py
diff --git a/glue/GWDataFindClient.py b/glue/GWDataFindClient.py index <HASH>..<HASH> 100644 --- a/glue/GWDataFindClient.py +++ b/glue/GWDataFindClient.py @@ -26,8 +26,8 @@ from __future__ import division import os, sys, time, calendar, httplib, M2Crypto, cjson, re, unittest from glue import lal, git_version, segment...
glue.GWDataFindClient: fix to metadata that was breaking epydoc
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -111,8 +111,9 @@ logger.addHandler(NullHandler()) # Python 2/3 compatibility helpers. These helpers are used internally and are # not exported. +_METACLASS_ = '_metaclass_helper_' def with_metaclass(meta, base=object)...
Fix #<I>, cannot create model named "Model".
py
diff --git a/rest_framework_hstore/serializers.py b/rest_framework_hstore/serializers.py index <HASH>..<HASH> 100755 --- a/rest_framework_hstore/serializers.py +++ b/rest_framework_hstore/serializers.py @@ -66,4 +66,22 @@ class HStoreSerializer(ModelSerializer): # override self.field_mapping with a c...
overridden restore_object in order to properly support schema mode
py
diff --git a/python/thunder/viz/plugins.py b/python/thunder/viz/plugins.py index <HASH>..<HASH> 100644 --- a/python/thunder/viz/plugins.py +++ b/python/thunder/viz/plugins.py @@ -42,13 +42,18 @@ class LinkedView(plugins.PluginBase): "idline": utils.get_id(line), "data": lin...
make hiding axes its own plugin
py
diff --git a/syn/base_utils/tests/test_py.py b/syn/base_utils/tests/test_py.py index <HASH>..<HASH> 100644 --- a/syn/base_utils/tests/test_py.py +++ b/syn/base_utils/tests/test_py.py @@ -216,6 +216,7 @@ def test_full_funcname(): Foo.baz() r = REPL() + s = set([1, 2, 3]) modname = this_module().__nam...
Adding builtin tests to full_funcname
py
diff --git a/jsonrpc/site.py b/jsonrpc/site.py index <HASH>..<HASH> 100644 --- a/jsonrpc/site.py +++ b/jsonrpc/site.py @@ -16,7 +16,6 @@ class JSONRPCSite(object): return [(r'^json/%s/' % k, v) for k, v in self.urls.iteritems()] def register(self, name, method): - print name, method self.urls[unicod...
Remove print statements. They cause errors in mod_wsgi
py
diff --git a/thumbor/transformer.py b/thumbor/transformer.py index <HASH>..<HASH> 100644 --- a/thumbor/transformer.py +++ b/thumbor/transformer.py @@ -39,17 +39,21 @@ class Transformer(object): def adjust_focal_points(self): source_width, source_height = self.engine.size - self.focal_points = [] ...
Making sure to only ignore focal points if we're receiving crop coordinates. Fixes #<I>
py
diff --git a/panoptes_client/project.py b/panoptes_client/project.py index <HASH>..<HASH> 100644 --- a/panoptes_client/project.py +++ b/panoptes_client/project.py @@ -51,10 +51,11 @@ class Project(PanoptesObject): while datetime.datetime.now() < end_time: export_description = self.describe_class...
Skip trying to read export state if description was empty (#<I>)
py
diff --git a/benchexec/test_tool_info.py b/benchexec/test_tool_info.py index <HASH>..<HASH> 100644 --- a/benchexec/test_tool_info.py +++ b/benchexec/test_tool_info.py @@ -127,6 +127,12 @@ def print_tool_info(tool): "Path to executable is absolute, this might be problematic " "in scenarios wher...
Add some more warnings to test_tool_info
py
diff --git a/hotdoc/extensions/devhelp/devhelp_extension.py b/hotdoc/extensions/devhelp/devhelp_extension.py index <HASH>..<HASH> 100644 --- a/hotdoc/extensions/devhelp/devhelp_extension.py +++ b/hotdoc/extensions/devhelp/devhelp_extension.py @@ -86,11 +86,9 @@ class DevhelpExtension(Extension): html_path = os...
devhelp: Fix link to symbols in subprojects
py
diff --git a/automain.py b/automain.py index <HASH>..<HASH> 100644 --- a/automain.py +++ b/automain.py @@ -3,7 +3,6 @@ from argparse import ArgumentParser # TODO: find a way to separate options from trailing optional arguments. Maybe. - def _get_type_description(annotation): ''' Given an annotation, ret...
The original main is now attached to main_wrapper
py
diff --git a/test/unit/test_filters.py b/test/unit/test_filters.py index <HASH>..<HASH> 100644 --- a/test/unit/test_filters.py +++ b/test/unit/test_filters.py @@ -35,7 +35,7 @@ class FilterTest(): steps = sp.unique(mip) ans = sp.array([0.00000000, 1.00000000, 1.37871571, 1.61887041, ...
Fixing a pesky test that I feel like keeps flip-flopping
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 @@ -47,6 +47,8 @@ string = """{shortname} def make_interface(): + sys.path.append(odl.__path__) + modnames = [modname for _, modname, _ in pkgut...
DOC: add odl path to system path in generate_doc
py
diff --git a/python/ray/autoscaler/util.py b/python/ray/autoscaler/util.py index <HASH>..<HASH> 100644 --- a/python/ray/autoscaler/util.py +++ b/python/ray/autoscaler/util.py @@ -103,8 +103,17 @@ def with_head_node_ip(cmds): def hash_launch_conf(node_conf, auth): hasher = hashlib.sha1() + # For hashing, we r...
Hash contents of SSH key instead of key path (#<I>)
py
diff --git a/contrail_api_cli/resource.py b/contrail_api_cli/resource.py index <HASH>..<HASH> 100644 --- a/contrail_api_cli/resource.py +++ b/contrail_api_cli/resource.py @@ -120,7 +120,10 @@ class Collection(ResourceBase, UserList): """ if not self.data: res = self.session.get_json(self....
Don't fail when counting the RootCollection
py
diff --git a/django_common/helper.py b/django_common/helper.py index <HASH>..<HASH> 100644 --- a/django_common/helper.py +++ b/django_common/helper.py @@ -81,7 +81,7 @@ def start_thread(target, *args): def send_mail(subject, message, from_email, recipient_emails, files = None, html=False, reply_to=None, bcc=None, cc=N...
Hotfix in send_mail. recipient_emails could be list so logging.debug failed all the time.
py
diff --git a/tests/test_document.py b/tests/test_document.py index <HASH>..<HASH> 100644 --- a/tests/test_document.py +++ b/tests/test_document.py @@ -4,6 +4,7 @@ import io import tempfile from nose import tools +from unittest import skipIf as skip_if from PyPDF2 import PdfFileReader @@ -33,6 +34,13 @@ METADAT...
Skip document tests in pypy
py
diff --git a/examples/patent_example/patent_example.py b/examples/patent_example/patent_example.py index <HASH>..<HASH> 100644 --- a/examples/patent_example/patent_example.py +++ b/examples/patent_example/patent_example.py @@ -91,9 +91,9 @@ def readData(filename, set_delim='**'): with open(filename) as f: ...
Fixed a typo and ensured correct lat/long type conversion in the full patstat file
py
diff --git a/ddmrp/models/stock_buffer.py b/ddmrp/models/stock_buffer.py index <HASH>..<HASH> 100644 --- a/ddmrp/models/stock_buffer.py +++ b/ddmrp/models/stock_buffer.py @@ -239,7 +239,10 @@ class StockBuffer(models.Model): self.ensure_one() profile = self.buffer_profile_id dlt = int(self.dl...
Ignore max proc time for manufactured
py
diff --git a/gns3server/controller/gns3vm/vmware_gns3_vm.py b/gns3server/controller/gns3vm/vmware_gns3_vm.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/gns3vm/vmware_gns3_vm.py +++ b/gns3server/controller/gns3vm/vmware_gns3_vm.py @@ -134,6 +134,9 @@ class VMwareGNS3VM(BaseGNS3VM): if self._vmx_p...
Avoid dead lock if you can not close the GNS3VM at exit
py
diff --git a/ReText/syncscroll.py b/ReText/syncscroll.py index <HASH>..<HASH> 100644 --- a/ReText/syncscroll.py +++ b/ReText/syncscroll.py @@ -59,7 +59,9 @@ class SyncScroll: self.contentIsLoading = True def _handleLoadFinished(self): + self.frame.setScrollPosition(self.previewPositionBeforeLoad)...
syncscroll: Prevent preview position from resetting during live preview WebEngine, unlike WebKit, does not emit contentsSizeChanged during load, so we must reset to the initial position as soon as the page has loaded.
py
diff --git a/salt/client/ssh/wrapper/__init__.py b/salt/client/ssh/wrapper/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/wrapper/__init__.py +++ b/salt/client/ssh/wrapper/__init__.py @@ -44,12 +44,16 @@ class FunctionWrapper(object): ''' The remote execution function ...
Replaced insufficient string concatenation with joining list
py
diff --git a/scvelo/tools/utils.py b/scvelo/tools/utils.py index <HASH>..<HASH> 100644 --- a/scvelo/tools/utils.py +++ b/scvelo/tools/utils.py @@ -403,6 +403,8 @@ def convolve(adata, x): conn = get_connectivities(adata) if isinstance(x, str) and x in adata.layers.keys(): x = adata.layers[x] + if x...
convolve one-dim array
py
diff --git a/MRS/tests/test_qc.py b/MRS/tests/test_qc.py index <HASH>..<HASH> 100644 --- a/MRS/tests/test_qc.py +++ b/MRS/tests/test_qc.py @@ -1,4 +1,3 @@ -import os import MRS import MRS.qc as qc from nibabel.tmpdirs import InTemporaryDirectory @@ -15,8 +14,4 @@ def test_motion(): with InTemporaryDirectory() a...
RF: clean up the code a bit.
py