diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/py/nupic/support/decorators.py b/py/nupic/support/decorators.py index <HASH>..<HASH> 100644 --- a/py/nupic/support/decorators.py +++ b/py/nupic/support/decorators.py @@ -21,6 +21,7 @@ import functools import logging +import sys import time import traceback @@ -55,10 +56,11 @@ def logExceptions(getL...
Fixed substitution arg order to match format format string in logExceptions decorator. Also fixed it to log any exception, not just those that are based on Exception.
py
diff --git a/ccmlib/common.py b/ccmlib/common.py index <HASH>..<HASH> 100644 --- a/ccmlib/common.py +++ b/ccmlib/common.py @@ -189,7 +189,7 @@ def replace_in_file(file, regexp, replace): def replaces_in_file(file, replacement_list): rs = [(re.compile(regexp), repl) for (regexp, repl) in replacement_list] - f...
Use PID as part of tmp file name to avoid race conditions of running operations in parallel
py
diff --git a/tarbell/app.py b/tarbell/app.py index <HASH>..<HASH> 100644 --- a/tarbell/app.py +++ b/tarbell/app.py @@ -497,21 +497,23 @@ class TarbellSite: def generate_static_site(self, output_root, extra_context): if self.base: base_dir = os.path.join(self.path, self.blueprint_name) - ...
work out kinks in handling both blueprint and base conventions in main tarbellsite object
py
diff --git a/doitlive/__init__.py b/doitlive/__init__.py index <HASH>..<HASH> 100755 --- a/doitlive/__init__.py +++ b/doitlive/__init__.py @@ -320,7 +320,7 @@ def run_command(cmd, shell=None, aliases=None, envvars=None, test_mode=False): def wait_for(chars): while True: in_char = getchar() - if in...
Make "Ctrl-C" exit after last command is finished
py
diff --git a/psyplot/data.py b/psyplot/data.py index <HASH>..<HASH> 100755 --- a/psyplot/data.py +++ b/psyplot/data.py @@ -2556,7 +2556,10 @@ class InteractiveArray(InteractiveBase): 'coordinates'] self.arr._variable = res._variable self.arr._coords = res._coords - self.arr._in...
backwards compatibility fix for xr<<I>
py
diff --git a/multiqc/modules/bismark/bismark.py b/multiqc/modules/bismark/bismark.py index <HASH>..<HASH> 100755 --- a/multiqc/modules/bismark/bismark.py +++ b/multiqc/modules/bismark/bismark.py @@ -233,8 +233,8 @@ class MultiqcModule(BaseMultiqcModule): # Specify the order of the different possible ...
Fixed stupid labelling bug in bismark. Closes #<I>.
py
diff --git a/spinoff/actor/remoting.py b/spinoff/actor/remoting.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/remoting.py +++ b/spinoff/actor/remoting.py @@ -92,7 +92,7 @@ class ConnectedNode(object): self.queue = None def __repr__(self): - return '<nodeinfo:%s>' % (self.addr,) + retu...
Use a better __repr__ for ConnectedNode
py
diff --git a/examples/dqn_atari.py b/examples/dqn_atari.py index <HASH>..<HASH> 100644 --- a/examples/dqn_atari.py +++ b/examples/dqn_atari.py @@ -42,7 +42,7 @@ class AtariProcessor(Processor): parser = argparse.ArgumentParser() parser.add_argument('--mode', choices=['train', 'test'], default='train') -parser.add_a...
Use latest version of ALE Breakout (#<I>) Changing to v4, seems to fix the issue. Tested on Python <I>, gym (<I>) and atari-py (<I>)
py
diff --git a/stores/postgres/store.py b/stores/postgres/store.py index <HASH>..<HASH> 100644 --- a/stores/postgres/store.py +++ b/stores/postgres/store.py @@ -225,7 +225,6 @@ class Store(BaseStore): param.update(vals[1]) stmts.append(vals[0]) - print 'XXX STMTS', stmts if stm...
removed a print statement (debugging) from postgres store
py
diff --git a/unyt/tests/test_unyt_array.py b/unyt/tests/test_unyt_array.py index <HASH>..<HASH> 100644 --- a/unyt/tests/test_unyt_array.py +++ b/unyt/tests/test_unyt_array.py @@ -746,6 +746,17 @@ def test_temperature_conversions(): assert_array_almost_equal(balmy.in_cgs(), unyt_quantity(300, "K")) +@pytest.mar...
TST: add a (broken) test. Expose a bug where unyt_array with dtype int8 fail to convert units
py
diff --git a/mir_eval/melody.py b/mir_eval/melody.py index <HASH>..<HASH> 100644 --- a/mir_eval/melody.py +++ b/mir_eval/melody.py @@ -214,11 +214,11 @@ def resample_melody_series(times, frequencies, voicing, """ # Warn when the delta between the original times is not constant, - # unless times[0] == 0. ...
Bugfix: Typo in variable name Can be reconstructed by setting ref to est. ref_time = melodia_time ref_freq = melodia_freq est_time = ref_time est_freq = est_time melody_scores = mir_eval.melody.evaluate(ref_time, ref_freq, est_time, est_...
py
diff --git a/src/sos/jupyter/inspector.py b/src/sos/jupyter/inspector.py index <HASH>..<HASH> 100644 --- a/src/sos/jupyter/inspector.py +++ b/src/sos/jupyter/inspector.py @@ -54,6 +54,8 @@ class SoS_SyntaxInspector(object): else: return {'text/plain': 'Magic %{}'.format(name) } el...
Fix a bug when inspection does not work if the sos kernel is newly started #<I>
py
diff --git a/mintapi/api.py b/mintapi/api.py index <HASH>..<HASH> 100644 --- a/mintapi/api.py +++ b/mintapi/api.py @@ -73,7 +73,11 @@ def get_accounts(email, password): if df in account: # Convert from javascript timestamp to unix timestamp # http://stackoverflow.com/a/974...
Fix: Sometimes closeDate is None
py
diff --git a/falafel/mappers/mount.py b/falafel/mappers/mount.py index <HASH>..<HASH> 100644 --- a/falafel/mappers/mount.py +++ b/falafel/mappers/mount.py @@ -4,7 +4,7 @@ Mount """ from falafel.core.plugins import mapper -from falafel.mappers import optlist_to_dict +from falafel.mappers import get_active_lines, opt...
Added filter to mount shared mapper to parse active lines. Added filter to eliminate empty lines from content prior to parsing content.
py
diff --git a/pygrok.py b/pygrok.py index <HASH>..<HASH> 100644 --- a/pygrok.py +++ b/pygrok.py @@ -27,8 +27,13 @@ def grok_match(text, pattern, patterns_dir = DEFAULT_PATTERNS_DIR): """ if loaded_pre_patterns is False: _reload_patterns(patterns_dir) - py_regex_pattern = re.sub(r'%{(\w+):(\w+)}', -...
grok match is able to handle patterns cantaining sub patterns now
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,11 +2,13 @@ from setuptools import setup, find_packages +version_t=None + with open("__conda_version__.h") as w: for line in w: version_t=line.strip() -if None in version: +if version_t is None: p...
Correct error handling in setup.py.
py
diff --git a/drivers/python/rethinkdb/ast.py b/drivers/python/rethinkdb/ast.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/ast.py +++ b/drivers/python/rethinkdb/ast.py @@ -498,6 +498,12 @@ class RqlTzinfo(datetime.tzinfo): self.offsetstr = offsetstr self.delta = datetime.timedelta(hours...
making python driver RqlTzinfo copyable
py
diff --git a/write.py b/write.py index <HASH>..<HASH> 100644 --- a/write.py +++ b/write.py @@ -18,7 +18,7 @@ import sys from datetime import datetime from typing import Iterable -from cptv import CPTVReader, Frame +from cptv import CPTVWriter, Frame def write_cptv(frames: Iterable[Frame], filename: str):
Fix up import in write.py example
py
diff --git a/olctools/databasesetup/enterobase_api_download.py b/olctools/databasesetup/enterobase_api_download.py index <HASH>..<HASH> 100644 --- a/olctools/databasesetup/enterobase_api_download.py +++ b/olctools/databasesetup/enterobase_api_download.py @@ -1,5 +1,10 @@ from olctools.accessoryFunctions.accessoryFunct...
Added try/except to account for missing env file
py
diff --git a/taxi/utils/file.py b/taxi/utils/file.py index <HASH>..<HASH> 100644 --- a/taxi/utils/file.py +++ b/taxi/utils/file.py @@ -24,15 +24,19 @@ def spawn_editor(filepath, editor=None): editor.append(filepath) try: - subprocess.call(editor) - except OSError: - if 'EDITOR' not in os.en...
Catch KeyboardInterrupt in edit command Fixes #<I>.
py
diff --git a/moto/ssm/models.py b/moto/ssm/models.py index <HASH>..<HASH> 100644 --- a/moto/ssm/models.py +++ b/moto/ssm/models.py @@ -1,11 +1,11 @@ from __future__ import unicode_literals import re +from boto3 import Session from collections import defaultdict from moto.core import BaseBackend, BaseModel from...
SSM - Get your own regions, instead of relying on EC2
py
diff --git a/charmhelpers/contrib/openstack/amulet/deployment.py b/charmhelpers/contrib/openstack/amulet/deployment.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/openstack/amulet/deployment.py +++ b/charmhelpers/contrib/openstack/amulet/deployment.py @@ -310,8 +310,8 @@ class OpenStackAmuletDeployment(Amule...
Remove EOL comparison in get_expected_pools test helper (#<I>)
py
diff --git a/cobe/brain.py b/cobe/brain.py index <HASH>..<HASH> 100644 --- a/cobe/brain.py +++ b/cobe/brain.py @@ -767,21 +767,12 @@ CREATE UNIQUE INDEX IF NOT EXISTS edges_all_prev ON edges def delete_token_stems(self): c = self.cursor() - try: - c.execute(""" -DROP INDEX token_stems_...
Clean up delete_token_stems by using IF EXISTS on the index drops
py
diff --git a/fedora_messaging/twisted/protocol.py b/fedora_messaging/twisted/protocol.py index <HASH>..<HASH> 100644 --- a/fedora_messaging/twisted/protocol.py +++ b/fedora_messaging/twisted/protocol.py @@ -253,6 +253,7 @@ class FedoraMessagingProtocol(TwistedProtocolConnection): log.msg("AMQP consumer is read...
pauseProducing is async
py
diff --git a/salt/states/mount.py b/salt/states/mount.py index <HASH>..<HASH> 100644 --- a/salt/states/mount.py +++ b/salt/states/mount.py @@ -329,7 +329,7 @@ def mounted(name, # convert uid/gid to numeric value from user/group name name_id_opts = {'uid': 'user.info', ...
fixes issue #<I> (#<I>)
py
diff --git a/gwpy/cli/spectrum.py b/gwpy/cli/spectrum.py index <HASH>..<HASH> 100644 --- a/gwpy/cli/spectrum.py +++ b/gwpy/cli/spectrum.py @@ -89,13 +89,13 @@ class Spectrum(FFTMixin, FrequencyDomainProduct): plot = FrequencySeriesPlot(figsize=self.figsize, dpi=self.dpi) ax = plot.gca() - for...
cli.spectrum: renamed variable to appease pylint
py
diff --git a/bcbio/distributed/multi.py b/bcbio/distributed/multi.py index <HASH>..<HASH> 100644 --- a/bcbio/distributed/multi.py +++ b/bcbio/distributed/multi.py @@ -70,6 +70,8 @@ def zeromq_aware_logging(f): def run_multicore(fn, items, config, parallel=None): """Run the function using multiple cores on the giv...
Skip trying to calculate resources for multicore jobs if there is nothing to run #<I>
py
diff --git a/transit/writer.py b/transit/writer.py index <HASH>..<HASH> 100644 --- a/transit/writer.py +++ b/transit/writer.py @@ -72,6 +72,8 @@ class Marshaler(object): self.handlers = WriteHandler() def are_stringable_keys(self, m): + """ Test whether the keys within a map are stringable - a si...
There should be more descriptive doc strings around some auxiliary functions
py
diff --git a/pyemu/pst/pst_utils.py b/pyemu/pst/pst_utils.py index <HASH>..<HASH> 100644 --- a/pyemu/pst/pst_utils.py +++ b/pyemu/pst/pst_utils.py @@ -1460,7 +1460,8 @@ class InstructionFile(object): break # copy a version of line commas replaced # (to support ...
fix for tab chars in 'w' instruction
py
diff --git a/social_friends_finder/models.py b/social_friends_finder/models.py index <HASH>..<HASH> 100644 --- a/social_friends_finder/models.py +++ b/social_friends_finder/models.py @@ -94,7 +94,10 @@ class SocialFriendsManager(models.Manager): """ social_friend_coll = [] for sa in social_au...
Silently skip social account if there is no corresponding friends provider.
py
diff --git a/src/manhole.py b/src/manhole.py index <HASH>..<HASH> 100644 --- a/src/manhole.py +++ b/src/manhole.py @@ -70,7 +70,8 @@ class Manhole(threading.Thread): finally: del client finally: - os.unlink(name) + if os: + os.unlink(na...
os module could be None ?! WAT ?!
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ except (IOError, ImportError): long_description = f.read() -version = '0.1.4' +version = '0.1.5' setup(name="perceval-mozilla",
Increase version package to <I>
py
diff --git a/scripts/benchmark.py b/scripts/benchmark.py index <HASH>..<HASH> 100644 --- a/scripts/benchmark.py +++ b/scripts/benchmark.py @@ -98,7 +98,7 @@ try: git_swing(tb["git_tag"]) t0 = time.time() n_eq = tb["function"](max_order) - logdt = round(m...
ok this should be all right now 3
py
diff --git a/python/unitytrainers/ppo/trainer.py b/python/unitytrainers/ppo/trainer.py index <HASH>..<HASH> 100755 --- a/python/unitytrainers/ppo/trainer.py +++ b/python/unitytrainers/ppo/trainer.py @@ -317,7 +317,7 @@ class PPOTrainer(Trainer): self.training_buffer[agent_id]['visual_obs%d'...
[Fix bug <I>] (#<I>)
py
diff --git a/salt/modules/grains.py b/salt/modules/grains.py index <HASH>..<HASH> 100644 --- a/salt/modules/grains.py +++ b/salt/modules/grains.py @@ -138,6 +138,8 @@ def setval(key, val, destructive=False): ''' Set a grains value in the grains config file + :param Destructive: If an operation results in...
I don't always write docstrings, but when I do, sometimes I only write half of them and then I feel silly. :-/
py
diff --git a/phonopy/interface/vasp.py b/phonopy/interface/vasp.py index <HASH>..<HASH> 100644 --- a/phonopy/interface/vasp.py +++ b/phonopy/interface/vasp.py @@ -376,7 +376,9 @@ def get_born_OUTCAR(poscar_filename="POSCAR", borns, epsilon = _read_born_and_epsilon(filename) num_atom = len(borns) - as...
vasprunxmlExpat is fixed.
py
diff --git a/test/test_polysquare_lint.py b/test/test_polysquare_lint.py index <HASH>..<HASH> 100644 --- a/test/test_polysquare_lint.py +++ b/test/test_polysquare_lint.py @@ -68,9 +68,13 @@ class TestPolysquareLintCommand(TestCase): project_directory = mkdtemp(prefix=os.path.join(os.getcwd(), ...
Leave the directory we're in before removing it. Windows requires that nobody be inside a directory before it is deleted.
py
diff --git a/mockredis/tests/test_redis.py b/mockredis/tests/test_redis.py index <HASH>..<HASH> 100644 --- a/mockredis/tests/test_redis.py +++ b/mockredis/tests/test_redis.py @@ -8,7 +8,7 @@ class TestRedis(TestCase): self.redis.flushdb() def test_get(self): - self.assertEqual('', self.redis.get(...
Small fix to tests to prevent failure.
py
diff --git a/ddlgenerator/reshape.py b/ddlgenerator/reshape.py index <HASH>..<HASH> 100644 --- a/ddlgenerator/reshape.py +++ b/ddlgenerator/reshape.py @@ -286,7 +286,7 @@ def unnest_children(data, parent_name='', pk_name=None, force_pk=False): parent = ParentTable(data, parent_name, pk_name=pk_name, force_pk=force...
Fix for <URL> to iterate over and prevent "RuntimeError: OrderedDict mutated during iteration" when row is flattened
py
diff --git a/src/mousedb/urls.py b/src/mousedb/urls.py index <HASH>..<HASH> 100644 --- a/src/mousedb/urls.py +++ b/src/mousedb/urls.py @@ -36,8 +36,7 @@ urlpatterns = patterns('', url(r'^timedmatings?/', include('mousedb.timed_mating.urls')), url(r'^timed_matings?/', include('mousedb.timed_mating.urls')), - url(...
removed specs entry in root urlconf
py
diff --git a/blockstack_client/actions.py b/blockstack_client/actions.py index <HASH>..<HASH> 100644 --- a/blockstack_client/actions.py +++ b/blockstack_client/actions.py @@ -3867,7 +3867,7 @@ def cli_put_profile(args, config_path=CONFIG_PATH, password=None, proxy=None, fo ) required_storage_drivers = require...
simple bug in cli_put_profile (wallet keys isn't an arg to get_name_zonefile)
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -71,6 +71,13 @@ print options.list_arg out = python(py.name, l=[1, 2, 3]).strip() self.assertEqual(out, "1 2 3") + + def test_ok_code(self): + from pbs import ls, ErrorReturnCode_2 + ...
pulling ok_code test from master
py
diff --git a/src/cqparts/display/web.py b/src/cqparts/display/web.py index <HASH>..<HASH> 100644 --- a/src/cqparts/display/web.py +++ b/src/cqparts/display/web.py @@ -43,9 +43,13 @@ SocketServer.TCPServer.allow_reuse_address = True # stops crash on re-use of po @map_environment( - name='web', + # named 'cmd...
changed 'web' to 'cmdline' for clairty
py
diff --git a/metainfo.py b/metainfo.py index <HASH>..<HASH> 100644 --- a/metainfo.py +++ b/metainfo.py @@ -3,6 +3,7 @@ "Project meta information" +import sys __version__ = "0.6.3" __license__ = "LGPL 3" @@ -81,7 +82,10 @@ url = _baseURL download_url = _baseURL + "tmp/%s-%s.tar.gz" % (name, __version__) packa...
Added conditional dependancy on argparse, fixed syntax error
py
diff --git a/pylds/lds_messages_interface.py b/pylds/lds_messages_interface.py index <HASH>..<HASH> 100644 --- a/pylds/lds_messages_interface.py +++ b/pylds/lds_messages_interface.py @@ -11,6 +11,7 @@ from lds_messages import \ kalman_filter as _kalman_filter, \ rts_smoother as _rts_smoother, \ filter_an...
add kalman_filter_diagonal to interface
py
diff --git a/test/layers_test.py b/test/layers_test.py index <HASH>..<HASH> 100644 --- a/test/layers_test.py +++ b/test/layers_test.py @@ -264,8 +264,8 @@ class TestClockwork(BaseRecurrent): inputs=Base.INPUTS, size=Base.SIZE, periods=(2, 5), name='l') def test_create(self): - self.assert_par...
Update test to work with new clockwork params.
py
diff --git a/docx2html/core.py b/docx2html/core.py index <HASH>..<HASH> 100644 --- a/docx2html/core.py +++ b/docx2html/core.py @@ -903,7 +903,6 @@ def get_list_data(li_nodes, meta_data): elif el.tag == '%sp' % w_namespace: return get_p_data(el, meta_data), [el] if has_text(el): - ...
refs #<I>: removed print statement
py
diff --git a/python/bigdl/dllib/nn/layer.py b/python/bigdl/dllib/nn/layer.py index <HASH>..<HASH> 100644 --- a/python/bigdl/dllib/nn/layer.py +++ b/python/bigdl/dllib/nn/layer.py @@ -964,6 +964,20 @@ class ExpandSize(Layer): def __init__(self, sizes, bigdl_type="float"): super(ExpandSize, self).__init__(N...
[New feature] add transformer layer (#<I>) * add transformer * refactor class name * use same embedding for translation * fix pr comments
py
diff --git a/dimod/response.py b/dimod/response.py index <HASH>..<HASH> 100644 --- a/dimod/response.py +++ b/dimod/response.py @@ -68,8 +68,8 @@ class Response(Iterable, Sized): >>> sampler = RandomSampler() >>> bqm = dimod.BinaryQuadraticModel({0: 0.0, 1: 1.0}, {(0, 1): 0.5}, -0.5, dimod.SPIN) ...
Fix #<I> failed by skipping doctest on vartype output
py
diff --git a/pypet/brian2/parameter.py b/pypet/brian2/parameter.py index <HASH>..<HASH> 100644 --- a/pypet/brian2/parameter.py +++ b/pypet/brian2/parameter.py @@ -424,7 +424,7 @@ class Brian2MonitorResult(Brian2Result): self.f_set(name=monitor.name) if len(monitor.record_variables) > 0: - ...
FIX: Converted record variables to list (which was now a set in brian2);
py
diff --git a/great_expectations/cli/init.py b/great_expectations/cli/init.py index <HASH>..<HASH> 100644 --- a/great_expectations/cli/init.py +++ b/great_expectations/cli/init.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import os import glob import shutil @@ -53,7 +55,7 @@ Always know what to expect from your data...
Enable utf-8?
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,17 +6,17 @@ packages = [ setup( name = 'Highton', - version = '1.1', + version = '1.1.1', license = 'Apache License 2.0', description = 'A Python library for Highrise', long_description = 'A bea...
Changed author email url keywords and version bump
py
diff --git a/yolk/cli.py b/yolk/cli.py index <HASH>..<HASH> 100755 --- a/yolk/cli.py +++ b/yolk/cli.py @@ -84,7 +84,10 @@ def show_distributions(show, project_name, version, show_metadata, fields): develop = "" else: develop = dist.location - print_metadata(show, metadata, develop, ac...
Fix for pkgs with no metadata
py
diff --git a/claripy/frontends/composite_frontend.py b/claripy/frontends/composite_frontend.py index <HASH>..<HASH> 100644 --- a/claripy/frontends/composite_frontend.py +++ b/claripy/frontends/composite_frontend.py @@ -244,19 +244,19 @@ class CompositeFrontend(ConstrainedFrontend): return r def is_true(...
is_true and is_false are currently cheap passthroughs; reflecting that in composite frontend
py
diff --git a/pystache/__init__.py b/pystache/__init__.py index <HASH>..<HASH> 100644 --- a/pystache/__init__.py +++ b/pystache/__init__.py @@ -5,7 +5,7 @@ TODO: add a docstring. """ # We keep all initialization code in a separate module. -# TODO: consider doing something like this instead: + from pystache.init imp...
Removed a TODO that has already been addressed.
py
diff --git a/test/test_circuit.py b/test/test_circuit.py index <HASH>..<HASH> 100644 --- a/test/test_circuit.py +++ b/test/test_circuit.py @@ -99,7 +99,7 @@ class CircuitTests(unittest.TestCase): def test_path_update(self): cp = TorControlProtocol() state = TorState(cp, False) - circuit = ...
fix Circuit instantiation after rebase to master
py
diff --git a/model/Image.py b/model/Image.py index <HASH>..<HASH> 100644 --- a/model/Image.py +++ b/model/Image.py @@ -255,7 +255,7 @@ def create_rgba_image_from_array(array, normalize=True, data_range=None, display if display_limits and len(display_limits) == 2: nmin_new = display_limits[...
Display calculation optimization. svn r<I>
py
diff --git a/packages/vaex-meta/vaex/meta/_version.py b/packages/vaex-meta/vaex/meta/_version.py index <HASH>..<HASH> 100644 --- a/packages/vaex-meta/vaex/meta/_version.py +++ b/packages/vaex-meta/vaex/meta/_version.py @@ -1,2 +1,2 @@ -__version_tuple__ = (4, 2, 0) -__version__ = '4.2.0' +__version_tuple__ = (4, 3, 0) ...
🔖 vaex-meta <I> released
py
diff --git a/nion/swift/ProjectPanel.py b/nion/swift/ProjectPanel.py index <HASH>..<HASH> 100644 --- a/nion/swift/ProjectPanel.py +++ b/nion/swift/ProjectPanel.py @@ -26,7 +26,7 @@ def reveal_project(project_path: pathlib.Path) -> None: if sys.platform == "darwin": subprocess.Popen(["open", "-R", str(proj...
Adjust commands to show project location on Windows.
py
diff --git a/tests/featureCompiler_test.py b/tests/featureCompiler_test.py index <HASH>..<HASH> 100644 --- a/tests/featureCompiler_test.py +++ b/tests/featureCompiler_test.py @@ -213,6 +213,7 @@ class FeatureCompilerTest(object): ufo = FontClass() ufo.newGlyph("f") ufo.newGlyph("f.alt01") + ...
featureCompiler_test: feaLib parser is now very picky about missing glyphs
py
diff --git a/fluo/http/__init__.py b/fluo/http/__init__.py index <HASH>..<HASH> 100644 --- a/fluo/http/__init__.py +++ b/fluo/http/__init__.py @@ -21,11 +21,28 @@ # THE SOFTWARE. from django.utils import simplejson -from django.http import HttpResponse +from django.http import * from django.conf import settings ...
in fluo.http imports and exports all public django.http objects
py
diff --git a/config_loader/loader.py b/config_loader/loader.py index <HASH>..<HASH> 100644 --- a/config_loader/loader.py +++ b/config_loader/loader.py @@ -8,7 +8,8 @@ class ConfigLoader(object): config_root_class = None def __init__(self, config_text, context={}, *args, **kwargs): - assert self.confi...
raise AttributeError instead of asserting
py
diff --git a/api/__init__.py b/api/__init__.py index <HASH>..<HASH> 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -2,4 +2,4 @@ The **api** Django app presents a RESTful web API for interacting with the **deis** system. """ -__version__ = '1.1.0' +__version__ = '1.1.1'
chore(release): update release version in master to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def parse_dependencies(requirements_path, vcs_id, egg_id): for req in reqs: if req.startswith(vcs_id) and egg_id in req: package_name = req[req.find(egg_id) + len(egg_id):] - ...
trying without egg id on url
py
diff --git a/pymongo/common.py b/pymongo/common.py index <HASH>..<HASH> 100644 --- a/pymongo/common.py +++ b/pymongo/common.py @@ -14,6 +14,7 @@ """Functions and classes common to multiple pymongo modules.""" +import sys import warnings from pymongo import read_preferences @@ -28,6 +29,11 @@ except ImportError...
Jython <I>'s ssl module is incomplete.
py
diff --git a/rosetta/views.py b/rosetta/views.py index <HASH>..<HASH> 100644 --- a/rosetta/views.py +++ b/rosetta/views.py @@ -371,7 +371,7 @@ def lang_sel(request, langid, idx): third_party_apps = rosetta_i18n_catalog_filter in ('all', 'third-party') django_apps = rosetta_i18n_catalog_filter in ('all...
fixed lang_sel view picking the wrong file.
py
diff --git a/vmo/VMO/oracle.py b/vmo/VMO/oracle.py index <HASH>..<HASH> 100644 --- a/vmo/VMO/oracle.py +++ b/vmo/VMO/oracle.py @@ -403,8 +403,8 @@ class FactorOracle(object): return min(self.lrs[p1], self.lrs[p2]) def _find_better(self, i, symbol): - self.rsfx[i].sort() - for j in self.rsf...
possible fix for _find_better method
py
diff --git a/autopep8.py b/autopep8.py index <HASH>..<HASH> 100755 --- a/autopep8.py +++ b/autopep8.py @@ -175,11 +175,8 @@ class FixPEP8(object): """Reindent all lines.""" reindenter = Reindenter(self.source) if reindenter.run(): - lines = reindenter.fixed_lines() - for...
Simplify fix_e<I>()
py
diff --git a/wampy/roles/callee.py b/wampy/roles/callee.py index <HASH>..<HASH> 100644 --- a/wampy/roles/callee.py +++ b/wampy/roles/callee.py @@ -64,7 +64,8 @@ class RegisterProcedureDecorator(object): class RpcProxy(object): def __init__( - self, router, realm, procedure_names, callback, roles=None...
optionally pass custom message handler into RPCProxy
py
diff --git a/ontobio/io/qc.py b/ontobio/io/qc.py index <HASH>..<HASH> 100644 --- a/ontobio/io/qc.py +++ b/ontobio/io/qc.py @@ -59,9 +59,8 @@ class GoRule29(GoRule): annotation_date = annotation[13] now = datetime.datetime.today() - date = datetime.datetime.strptime(annotation_date, "%Y%m%d") ...
moved datetime parseing into the if statement directly so the is short circuited
py
diff --git a/xarray/tests/test_cupy.py b/xarray/tests/test_cupy.py index <HASH>..<HASH> 100644 --- a/xarray/tests/test_cupy.py +++ b/xarray/tests/test_cupy.py @@ -47,7 +47,7 @@ def test_cupy_import(): def test_check_data_stays_on_gpu(toy_weather_data): """Perform some operations and check the data stays on the GP...
Update test for CuPy v9 (#<I>)
py
diff --git a/tmuxp/server.py b/tmuxp/server.py index <HASH>..<HASH> 100644 --- a/tmuxp/server.py +++ b/tmuxp/server.py @@ -27,9 +27,9 @@ class Server(object): ''' The :term:`tmux(1)` server. Container for: - :attr:`Server._sessions` [:class:`Session`, ..] - :attr:`Session._windows` [:class:`Window...
docs: 3 periods for ellipsis in list
py
diff --git a/src/rinoh/templates/book.py b/src/rinoh/templates/book.py index <HASH>..<HASH> 100644 --- a/src/rinoh/templates/book.py +++ b/src/rinoh/templates/book.py @@ -47,6 +47,9 @@ class Book(DocumentTemplate): 'contents', 'back_matter']) # default document part templates + c...
Book template: allow for a cover page The cover part is by default not included in the document. The parts configuration option needs to be set to include 'cover'. Additionally, the flowables and/or background for the cover page need to be configured.
py
diff --git a/simuvex/plugins/abstract_memory.py b/simuvex/plugins/abstract_memory.py index <HASH>..<HASH> 100644 --- a/simuvex/plugins/abstract_memory.py +++ b/simuvex/plugins/abstract_memory.py @@ -189,7 +189,7 @@ class SimAbstractMemory(SimMemory): #pylint:disable=abstract-method pos = 0 f...
bug fix in SimAbstractMemory: incorrectly put the first address of an AR to its previous AR.
py
diff --git a/autograd/util.py b/autograd/util.py index <HASH>..<HASH> 100644 --- a/autograd/util.py +++ b/autograd/util.py @@ -52,8 +52,9 @@ def check_equivalent(A, B, rtol=1e-4, atol=1e-6): def check_grads(fun, *args): if not args: raise Exception("No args given") - A = nd(fun, *args) B = tuple(...
Reordered checkgrad to give better error messages
py
diff --git a/media_tree/admin/filenode_admin.py b/media_tree/admin/filenode_admin.py index <HASH>..<HASH> 100644 --- a/media_tree/admin/filenode_admin.py +++ b/media_tree/admin/filenode_admin.py @@ -69,7 +69,6 @@ except ImportError: # pre 1.2 from django.contrib.csrf.middleware import csrf_view_exempt -seta...
No longer sets MPTT_ADMIN_LEVEL_INDENT
py
diff --git a/src/rezgui/objects/App.py b/src/rezgui/objects/App.py index <HASH>..<HASH> 100644 --- a/src/rezgui/objects/App.py +++ b/src/rezgui/objects/App.py @@ -56,7 +56,8 @@ class App(QtGui.QApplication): try: context = ResolvedContext.load(filepath) except ResolvedContextE...
- very minor fix in rez-gui
py
diff --git a/ccmlib/cmds/cluster_cmds.py b/ccmlib/cmds/cluster_cmds.py index <HASH>..<HASH> 100644 --- a/ccmlib/cmds/cluster_cmds.py +++ b/ccmlib/cmds/cluster_cmds.py @@ -38,6 +38,7 @@ def cluster_cmds(): "scrub", "verify", "invalidatecache", + "checklogerror", ] def parse_popu...
Check for errors in node logs in a cluster
py
diff --git a/openquake/commonlib/export/risk.py b/openquake/commonlib/export/risk.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/export/risk.py +++ b/openquake/commonlib/export/risk.py @@ -18,6 +18,7 @@ import os import csv +import operator from openquake.baselib.general import AccumDict from openquak...
Losses per asset are exported ordered by asset
py
diff --git a/MySQLdb/MySQLdb/connections.py b/MySQLdb/MySQLdb/connections.py index <HASH>..<HASH> 100644 --- a/MySQLdb/MySQLdb/connections.py +++ b/MySQLdb/MySQLdb/connections.py @@ -180,6 +180,15 @@ class Connection(_mysql.connection): """ return self.escape(o, self.converter) + def begin(self):...
Restore the begin() method, but issue a DeprecationWarning.
py
diff --git a/test_isort.py b/test_isort.py index <HASH>..<HASH> 100644 --- a/test_isort.py +++ b/test_isort.py @@ -1485,3 +1485,17 @@ def test_comments_not_duplicated(): output = SortImports(file_contents=test_input).output assert output.count("# Whole line comment\n") == 1 assert output.count("# inline ...
Ensure that issue <I> is fixed
py
diff --git a/pycbc/strain.py b/pycbc/strain.py index <HASH>..<HASH> 100644 --- a/pycbc/strain.py +++ b/pycbc/strain.py @@ -861,7 +861,7 @@ class StrainSegments(object): trig_end_idx = (trigger_end - int(strain.start_time)) * strain.sample_rate if filter_inj_only and hasattr(strain, 'injections'): - ...
fix end times invocation (#<I>)
py
diff --git a/greenhouse/io/ssl.py b/greenhouse/io/ssl.py index <HASH>..<HASH> 100644 --- a/greenhouse/io/ssl.py +++ b/greenhouse/io/ssl.py @@ -259,20 +259,6 @@ class SSLSocket(gsock.Socket): raise socket.error(err, errno.errorcode[err]) return 0 - def _accept_attempt(self): - s...
didn't end up using that function
py
diff --git a/test/common/test_common.py b/test/common/test_common.py index <HASH>..<HASH> 100755 --- a/test/common/test_common.py +++ b/test/common/test_common.py @@ -518,9 +518,9 @@ class FailoverMemcachedWrapper(object): def kill_server(self, victim): - # To avoid spurious failures, give the server a ...
Increase replication peer shutdown grace period for integration tests.
py
diff --git a/spikeylab/main/control.py b/spikeylab/main/control.py index <HASH>..<HASH> 100644 --- a/spikeylab/main/control.py +++ b/spikeylab/main/control.py @@ -200,8 +200,6 @@ class MainWindow(ControlWindow): self.ui.start_btn.setText('Start') self.ui.start_btn.clicked.disconnect() self.ui...
Abort button on calibration functions properly
py
diff --git a/pip_accel/tests.py b/pip_accel/tests.py index <HASH>..<HASH> 100644 --- a/pip_accel/tests.py +++ b/pip_accel/tests.py @@ -291,11 +291,14 @@ class PipAccelTestCase(unittest.TestCase): # Install the verboselogs package using the S3 cache backend. num_installed = accelerator.install_...
Only test read only status of S3 cache backend when applicable
py
diff --git a/salt/modules/zpool.py b/salt/modules/zpool.py index <HASH>..<HASH> 100644 --- a/salt/modules/zpool.py +++ b/salt/modules/zpool.py @@ -525,12 +525,16 @@ def offline(pool_name, *vdevs, **kwargs): ''' Ensure that the specified devices are offline + .. warning:: + + By default, the OFFLIN...
Adding ability to bring a device offline temporarily in salt.modules.zpool.offline
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,5 +8,7 @@ setup( packages=find_packages(), install_requires=[ 'selenium>=3.9', - 'colour-runner>=0.0.5' - ]) + 'colour-runner>=0.0.5', + 'randomuser...
Added external randomuser package as a dependency
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,14 @@ __author__ = 'kulakov.ilya@gmail.com' from setuptools import setup +from sys import platform + + +REQUIREMENTS = [] + + +if platform.startswith('darwin'): + REQUIREMENTS.append('pyobjc == 2.3') setup(...
Ensure requirement of PyObjC is enabled only on darwin.
py
diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py index <HASH>..<HASH> 100644 --- a/tests/utilities_tests.py +++ b/tests/utilities_tests.py @@ -56,8 +56,7 @@ class ExecutableTest(unittest.TestCase): self.assertTrue(is_executable("/usr/bin/timeout")) def test_output(self): - path = ...
[tests] use echo instead of py script in test_{output,shell_out}() Related: #<I>
py
diff --git a/HARK/interpolation.py b/HARK/interpolation.py index <HASH>..<HASH> 100644 --- a/HARK/interpolation.py +++ b/HARK/interpolation.py @@ -1038,6 +1038,9 @@ class CubicInterp(HARKinterpolator1D): + x[out_top] * self.coeffs[self.n, 1] - self.coeffs[self.n, 2] * np.exp(al...
Update interpolation.py plug in for interpolating lower bound
py
diff --git a/spyderlib/userconfig.py b/spyderlib/userconfig.py index <HASH>..<HASH> 100644 --- a/spyderlib/userconfig.py +++ b/spyderlib/userconfig.py @@ -98,7 +98,10 @@ class UserConfig(ConfigParser): # If config file already exists, it overrides Default options: self.load_from_ini() ...
userconfig: resetting to defaults only if major/minor version is different (remove obsolete entries if major version number has changed)
py
diff --git a/clearly/client/client.py b/clearly/client/client.py index <HASH>..<HASH> 100644 --- a/clearly/client/client.py +++ b/clearly/client/client.py @@ -301,15 +301,15 @@ class ClearlyClient: @staticmethod def _parse_pattern(pattern: str) -> PatternFilter: - pattern = pattern or '' - if ...
improve parse_pattern, detecting and removing blanks
py
diff --git a/workshift/forms.py b/workshift/forms.py index <HASH>..<HASH> 100644 --- a/workshift/forms.py +++ b/workshift/forms.py @@ -251,9 +251,11 @@ class VerifyShiftForm(InteractShiftForm): def clean_pk(self): instance = super(VerifyShiftForm, self).clean_pk() - if not instance.workshifter: + workshifter =...
Fixed verify shift form to all verify liable people
py
diff --git a/angr/procedures/definitions/__init__.py b/angr/procedures/definitions/__init__.py index <HASH>..<HASH> 100644 --- a/angr/procedures/definitions/__init__.py +++ b/angr/procedures/definitions/__init__.py @@ -171,7 +171,7 @@ class SimLibrary(object): if proc.display_name in self.prototypes: ...
set the damn arch up correctly when applying metadata to simprocedures. closes #<I>
py
diff --git a/zipline/data/data_portal.py b/zipline/data/data_portal.py index <HASH>..<HASH> 100644 --- a/zipline/data/data_portal.py +++ b/zipline/data/data_portal.py @@ -887,11 +887,15 @@ class DataPortal(object): ) df.fillna(method='ffill', inplace=True) + # forward-filling will...
PERF: Pull out loop-invariant code. This shaves off <I> out of <I> seconds for an algorithm that makes a large number of large universe, short window_length `history()` calls.
py
diff --git a/salt/states/debconfmod.py b/salt/states/debconfmod.py index <HASH>..<HASH> 100644 --- a/salt/states/debconfmod.py +++ b/salt/states/debconfmod.py @@ -39,7 +39,7 @@ set_file dict must be indented four spaces instead of two. ''' from __future__ import absolute_import -import six +import salt.utils.six...
Replaced import six in file /salt/states/debconfmod.py
py
diff --git a/sas_kernel/kernel.py b/sas_kernel/kernel.py index <HASH>..<HASH> 100644 --- a/sas_kernel/kernel.py +++ b/sas_kernel/kernel.py @@ -83,15 +83,20 @@ class SASKernel(Kernel): remap = { ord('\t') : ' ', ord('\f') : ' ', - ord('\r') : None + ord('\r') : No...
add more debugging and more complete white space replacement
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,10 +12,10 @@ reqs = [str(ir.req) for ir in install_reqs] setup( name = "pyfg", - version = "0.47", + version = "0.48", packages = find_packages(), author = "XNET", - author_email = "dbarroso@sp...
Version bump to <I> and maintainer update
py
diff --git a/python/ccxt/async_support/base/throttler.py b/python/ccxt/async_support/base/throttler.py index <HASH>..<HASH> 100644 --- a/python/ccxt/async_support/base/throttler.py +++ b/python/ccxt/async_support/base/throttler.py @@ -28,7 +28,8 @@ class Throttler: cost = self.config['cost'] if cost is Non...
[Python][Throttler] Reapply an old workaround We have the same issue as <URL>
py