diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/mr/awsome/__init__.py b/mr/awsome/__init__.py index <HASH>..<HASH> 100644 --- a/mr/awsome/__init__.py +++ b/mr/awsome/__init__.py @@ -210,7 +210,7 @@ class Server(object): gz.close() result = "\n".join([ "#!/bin/bash", - "tail -n+4 $0 | gunzip -c | ...
Doh, debugging leftover.
py
diff --git a/babbage/cube.py b/babbage/cube.py index <HASH>..<HASH> 100644 --- a/babbage/cube.py +++ b/babbage/cube.py @@ -121,8 +121,8 @@ class Cube(object): """ List all the distinct members of the given reference, filtered and paginated. If the reference describes a dimension, all attributes are ...
Fix empty froms in facts and members
py
diff --git a/salt/states/cmd.py b/salt/states/cmd.py index <HASH>..<HASH> 100644 --- a/salt/states/cmd.py +++ b/salt/states/cmd.py @@ -667,7 +667,7 @@ def run( will run inside a chroot runas - The user name / uid to run the command as + The user name (or uid) to run the command as s...
Reword user name and uid reference for runas
py
diff --git a/tests/test_ascii.py b/tests/test_ascii.py index <HASH>..<HASH> 100644 --- a/tests/test_ascii.py +++ b/tests/test_ascii.py @@ -69,7 +69,7 @@ def test_use_with_qt_with_custom_locale_decimal_delimeter(speedups): prefix = tuple() if sys.platform.startswith('linux'): - prefix = ('xvfb-run', '...
Support old xvfb-run
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3132,7 +3132,7 @@ class _FileFeed(object): line = self.lines[linenr] while line.endswith("\\\n"): linenr += 1 - line = res[:-2] + self.lines[linenr] + l...
Fix _FileFeed.peek_next() continuation line handling. Typo - 'res' should be 'line'. Only affected .config header reading.
py
diff --git a/umap/tests/__init__.py b/umap/tests/__init__.py index <HASH>..<HASH> 100644 --- a/umap/tests/__init__.py +++ b/umap/tests/__init__.py @@ -18,9 +18,8 @@ testing operations. Fixtures -------- -All the data dependency for the multiple test cases -have been defined as test fixtures (preferred to -shared gl...
rephrase docstring on fixtures
py
diff --git a/jsonschema/tests/test_validators.py b/jsonschema/tests/test_validators.py index <HASH>..<HASH> 100644 --- a/jsonschema/tests/test_validators.py +++ b/jsonschema/tests/test_validators.py @@ -1235,10 +1235,11 @@ class TestRefResolver(TestCase): ref = validators.Draft3Validator.META_SCHEMA["id"] ...
Whee, assertions in context managers, dangerous stuff.
py
diff --git a/tests/connection.py b/tests/connection.py index <HASH>..<HASH> 100644 --- a/tests/connection.py +++ b/tests/connection.py @@ -463,8 +463,6 @@ class Connection_: def wins_over_default(self): # In this case, the 'default' is an empty list... value = ...
Yea don't think this matters
py
diff --git a/latex2text.py b/latex2text.py index <HASH>..<HASH> 100644 --- a/latex2text.py +++ b/latex2text.py @@ -94,6 +94,8 @@ macro_list = [ ('ss', u'\u00df'), # s-z allemand ('L', u"\N{LATIN CAPITAL LETTER L WITH STROKE}"), ('l', u"\N{LATIN SMALL LETTER L WITH STROKE}"), + ('i', u"\N{LATIN SMALL L...
added support for accented \i
py
diff --git a/pypump/pypump.py b/pypump/pypump.py index <HASH>..<HASH> 100644 --- a/pypump/pypump.py +++ b/pypump/pypump.py @@ -71,7 +71,7 @@ class PyPump(object): logginglevel = getattr(logging, loglevel.upper(), None) if logginglevel is None: raise PyPumpException("Unknown loglevel {0!r}...
Don't override settings on the root logger
py
diff --git a/netpyne/support/morlet.py b/netpyne/support/morlet.py index <HASH>..<HASH> 100644 --- a/netpyne/support/morlet.py +++ b/netpyne/support/morlet.py @@ -95,5 +95,5 @@ class MorletSpec(): self.TFR[j, :],self.PHS[j, :] = MorletVec(sig, self.sampr, freq, self.width, getphase=True) else:...
One more problem in morlet.py...
py
diff --git a/src/holodeck/environments.py b/src/holodeck/environments.py index <HASH>..<HASH> 100644 --- a/src/holodeck/environments.py +++ b/src/holodeck/environments.py @@ -481,7 +481,7 @@ class HolodeckEnvironment: self._total_ticks += 1 if self._total_ticks == self._max_ticks: ...
seems to work but finding best way to stop program
py
diff --git a/byteplay3.py b/byteplay3.py index <HASH>..<HASH> 100644 --- a/byteplay3.py +++ b/byteplay3.py @@ -601,7 +601,7 @@ _se = dict((op, getattr(_se_facts, opname[op])) hasflow = opcodes - set(_se) - \ set([CALL_FUNCTION, CALL_FUNCTION_VAR, CALL_FUNCTION_KW, CALL_FUNCTION_VAR_KW, BUILD...
Remove DUP_TOP_TWO, not present in Py3
py
diff --git a/lhc/binf/genomic_coordinate/genomic_position.py b/lhc/binf/genomic_coordinate/genomic_position.py index <HASH>..<HASH> 100644 --- a/lhc/binf/genomic_coordinate/genomic_position.py +++ b/lhc/binf/genomic_coordinate/genomic_position.py @@ -63,9 +63,7 @@ class GenomicPosition: """ if isinsta...
fix genomic position arithmetic
py
diff --git a/anoncreds/protocol/cred_def_secret_key.py b/anoncreds/protocol/cred_def_secret_key.py index <HASH>..<HASH> 100644 --- a/anoncreds/protocol/cred_def_secret_key.py +++ b/anoncreds/protocol/cred_def_secret_key.py @@ -4,9 +4,9 @@ from config.config import cmod # TODO Should be renamed to something like Issu...
made CredDefSecretKey constructor more forgiving
py
diff --git a/frame.py b/frame.py index <HASH>..<HASH> 100644 --- a/frame.py +++ b/frame.py @@ -3,7 +3,7 @@ import time import logging logger = logging.getLogger(__name__) -logging.basicConfig(level=logging.DEBUG) +logging.basicConfig(level=logging.INFO) class Framer:
Changed logging level from 'DEBUG' to 'INFO'
py
diff --git a/xbbg/__init__.py b/xbbg/__init__.py index <HASH>..<HASH> 100644 --- a/xbbg/__init__.py +++ b/xbbg/__init__.py @@ -1,3 +1,3 @@ """Bloomberg data toolkit for humans""" -__version__ = '0.5.0' +__version__ = '0.5.1'
dependency fixed in requirements.txt
py
diff --git a/atoml/container.py b/atoml/container.py index <HASH>..<HASH> 100644 --- a/atoml/container.py +++ b/atoml/container.py @@ -176,22 +176,17 @@ class Container(MutableMapping, dict): # item that is not a table and insert after it # If no such item exists, insert at the top of the tabl...
Improve last item tracking when appending to array This is based on the feedback received in code review.
py
diff --git a/salt/modules/ssh.py b/salt/modules/ssh.py index <HASH>..<HASH> 100644 --- a/salt/modules/ssh.py +++ b/salt/modules/ssh.py @@ -751,11 +751,9 @@ def set_known_host(user=None, full = os.path.join(uinfo['home'], config) else: full = '/etc/ssh/ssh_known_hosts' - if not key: - li...
moving duplicate line out of if statement.
py
diff --git a/src/psd_tools/user_api/psd_image.py b/src/psd_tools/user_api/psd_image.py index <HASH>..<HASH> 100644 --- a/src/psd_tools/user_api/psd_image.py +++ b/src/psd_tools/user_api/psd_image.py @@ -514,12 +514,15 @@ class PSDImage(object): """ Returns a dict of pattern (texture) data in PIL.Image...
Add _tagged_blocks to PSDImage
py
diff --git a/tests/testing_utils.py b/tests/testing_utils.py index <HASH>..<HASH> 100644 --- a/tests/testing_utils.py +++ b/tests/testing_utils.py @@ -327,6 +327,7 @@ def wait_for_gui(): def run_gui_thread(gui_config=None, runtime_config=None): import gobject + import gtk from rafcon.core.start import r...
fix(unit tests): set gravity of top window to GRAVITY_STATIC
py
diff --git a/poetry/repositories/installed_repository.py b/poetry/repositories/installed_repository.py index <HASH>..<HASH> 100644 --- a/poetry/repositories/installed_repository.py +++ b/poetry/repositories/installed_repository.py @@ -14,13 +14,11 @@ class InstalledRepository(Repository): def load(cls, env): # ty...
Read sys_path in reverse to ensure we get the proper paths first
py
diff --git a/salt/cli/key.py b/salt/cli/key.py index <HASH>..<HASH> 100644 --- a/salt/cli/key.py +++ b/salt/cli/key.py @@ -413,7 +413,7 @@ class Key(object): if fin: self._log('Signature for {0} public key: {1}'.format(fkey, fin)) sigs['{0}.pub'.format(fkey)] = fin - ...
salt-key -F was returning pub key sig for priv key salt-key -F was returning the public key signature for both the public and private keys. fixes #<I>
py
diff --git a/reppy/cache.py b/reppy/cache.py index <HASH>..<HASH> 100644 --- a/reppy/cache.py +++ b/reppy/cache.py @@ -40,6 +40,7 @@ class RobotsCache(object): def __init__(self, *args, **kwargs): # The provided args and kwargs are used when fetching robots.txt with # a `requests.get` + se...
Allow using a custom requests Session instance.
py
diff --git a/openquake/baselib/workerpool.py b/openquake/baselib/workerpool.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/workerpool.py +++ b/openquake/baselib/workerpool.py @@ -184,7 +184,7 @@ class WorkerPool(object): elif cmd == 'getpid': ctrlsock.send(self.pid) el...
Cleanup [skip CI]
py
diff --git a/Qt.py b/Qt.py index <HASH>..<HASH> 100644 --- a/Qt.py +++ b/Qt.py @@ -1260,18 +1260,13 @@ def _setup(module, extras): Qt.__binding__ = module.__name__ def _warn_import_error(exc, module): - if sys.version_info > (3, 0): - unicode = str - else: - try: - ...
Bugfix for cast to ascii Python logic: in previous version, the declaration of unicode = str in the Python 3 exclusive path made the Python 2 code fail, as unicode was now seen as an undeclared variable (as it had been declared in the Python 3 code, so Python assumes it is no longer the build-in type). This version...
py
diff --git a/pdblp/_version.py b/pdblp/_version.py index <HASH>..<HASH> 100644 --- a/pdblp/_version.py +++ b/pdblp/_version.py @@ -1 +1 @@ -__version__ = "0.1.3" +__version__ = "0.1.4"
updated version to <I> for upcoming release
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ requirements = [ # Protocol and data packages "pytmpdir >= 0.2.3", # A temporary directory, useful for extracting archives to "txhttputil >= 0.2.3", # Utility class for http requests - "vorte...
Updated vortexpy to <I>
py
diff --git a/web3/utils/address.py b/web3/utils/address.py index <HASH>..<HASH> 100644 --- a/web3/utils/address.py +++ b/web3/utils/address.py @@ -29,6 +29,7 @@ def is_address(address): if not is_string(address): return False + address = force_text(address) # python3 requires both re.match arguments...
Force address to be text before matching against regex
py
diff --git a/pythran/passes.py b/pythran/passes.py index <HASH>..<HASH> 100644 --- a/pythran/passes.py +++ b/pythran/passes.py @@ -211,7 +211,7 @@ class RemoveComprehension(Transformation): [ast.Name(starget, ast.Store())], ast.Call(ast.Name(comp_type, ast.Load()), [], [], None, None) ...
A few AST inconsistency. Return statement loads variable, no Store. orelse statement must be [] not None.
py
diff --git a/bibliopixel/control/control.py b/bibliopixel/control/control.py index <HASH>..<HASH> 100644 --- a/bibliopixel/control/control.py +++ b/bibliopixel/control/control.py @@ -41,7 +41,7 @@ class Control(runnable.Runnable): log.info('Starting %s', self) self.thread = self._make_thread() -...
Better handling of threads that are already started in control.py
py
diff --git a/geomdl/BSpline.py b/geomdl/BSpline.py index <HASH>..<HASH> 100644 --- a/geomdl/BSpline.py +++ b/geomdl/BSpline.py @@ -1054,6 +1054,12 @@ class Surface(object): def save_ctrlpts_to_txt(self, filename="", two_dimensional=True): """ Saves control points to a text file. + The control poi...
Update documentation of save_ctrlpts_to_txt in Surface
py
diff --git a/sos/plugins/hardware.py b/sos/plugins/hardware.py index <HASH>..<HASH> 100644 --- a/sos/plugins/hardware.py +++ b/sos/plugins/hardware.py @@ -45,6 +45,12 @@ class hardware(Plugin): self.collectExtOutput("/usr/sbin/dmidecode", root_symlink = "dmidecode") + if os.path.exists("/usr/bin/cpufreq-in...
Add cpu power information to hardware module Collect cpupower or cpufreq-info information if either is installed.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +# Copyright (c) 2015, V. Termanis, Iotic Labs Ltd. # All rights reserved. # Licensed under 2-clause BSD license - see LICENSE file for details.
Added forgotten license header to setup.py
py
diff --git a/dp/min_cost_path.py b/dp/min_cost_path.py index <HASH>..<HASH> 100644 --- a/dp/min_cost_path.py +++ b/dp/min_cost_path.py @@ -46,4 +46,8 @@ if __name__ == '__main__': [-1, -1, 0, 70], [-1, -1, -1, 0] ] # cost[i][j] = -1 for i > j N = len(cost) - print("...
implemented dp/min_cost_path.py (#<I>) * Create min_cost_path.py * Update min_cost_path.py * Update min_cost_path.py * Update min_cost_path.py * Update min_cost_path.py * update dp/min_cost_path.py
py
diff --git a/pgallery/tests/test_models.py b/pgallery/tests/test_models.py index <HASH>..<HASH> 100644 --- a/pgallery/tests/test_models.py +++ b/pgallery/tests/test_models.py @@ -11,20 +11,25 @@ from ..models import Gallery, Photo class UserFactory(factory.django.DjangoModelFactory): - FACTORY_FOR = settings.AU...
Updated tests for factory-boy Meta class.
py
diff --git a/rdfframework/connections/rdflibconn.py b/rdfframework/connections/rdflibconn.py index <HASH>..<HASH> 100644 --- a/rdfframework/connections/rdflibconn.py +++ b/rdfframework/connections/rdflibconn.py @@ -190,12 +190,20 @@ class RdflibConn(RdfwConnections): sparql = "%s\n%s" % (NSM.prefix(), spar...
Added rdflibconn query error catching
py
diff --git a/pyfolio/perf_attrib.py b/pyfolio/perf_attrib.py index <HASH>..<HASH> 100644 --- a/pyfolio/perf_attrib.py +++ b/pyfolio/perf_attrib.py @@ -203,11 +203,7 @@ def perf_attrib(returns, factor_returns = factor_returns.drop(missing_factor_loadings_index, erro...
BUG: get_turnover expects positions in dollars (#<I>) In perf_attrib() we convert positions to percentages, so be sure to only use positions in dollars when calculating turnover.
py
diff --git a/tests/test_window.py b/tests/test_window.py index <HASH>..<HASH> 100644 --- a/tests/test_window.py +++ b/tests/test_window.py @@ -60,7 +60,7 @@ def processEventsUntilIdle(eventTimeout=defaultEventTimeout): class FakeConverterProcess(QObject): conversionDone = pyqtSignal() - def start_conversion(...
Fix test_window for the previous change
py
diff --git a/hypermap/aggregator/populate_database.py b/hypermap/aggregator/populate_database.py index <HASH>..<HASH> 100644 --- a/hypermap/aggregator/populate_database.py +++ b/hypermap/aggregator/populate_database.py @@ -1,3 +1,5 @@ +from django.conf import settings + from models import Service from utils import cr...
In the shell we need to skip celery tasks
py
diff --git a/neo4j/meta.py b/neo4j/meta.py index <HASH>..<HASH> 100644 --- a/neo4j/meta.py +++ b/neo4j/meta.py @@ -44,3 +44,31 @@ def deprecated(message): f_.__dict__.update(f.__dict__) return f_ return f__ + + +class ExperimentalWarning(Warning): + """ Base class for warnings about experiment...
Added @experimental decorator
py
diff --git a/tensorflow_probability/python/internal/special_math_test.py b/tensorflow_probability/python/internal/special_math_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/internal/special_math_test.py +++ b/tensorflow_probability/python/internal/special_math_test.py @@ -185,8 +185,6 @@ class...
Removed unnecessary 'output' variable in _test_grad_finite() Hello, The assignment to 'output' is unnecessary as it is redefined in line <I> before the value is used. This makes the first assignment useless. This is a common weakness enumeration based on <URL>
py
diff --git a/tests/pytests/functional/states/test_npm.py b/tests/pytests/functional/states/test_npm.py index <HASH>..<HASH> 100644 --- a/tests/pytests/functional/states/test_npm.py +++ b/tests/pytests/functional/states/test_npm.py @@ -5,11 +5,11 @@ from salt.exceptions import CommandExecutionError @pytest.fixture(scop...
Use state.single to not upgrade npm
py
diff --git a/pipes/pipeline/create_pipeline.py b/pipes/pipeline/create_pipeline.py index <HASH>..<HASH> 100644 --- a/pipes/pipeline/create_pipeline.py +++ b/pipes/pipeline/create_pipeline.py @@ -136,7 +136,7 @@ class SpinnakerPipeline: pipeline_json = self.settings['pipeline'].get(env, None) ...
Renamed typo method Related: PSOBAT-<I>
py
diff --git a/nornir/plugins/connections/netmiko.py b/nornir/plugins/connections/netmiko.py index <HASH>..<HASH> 100644 --- a/nornir/plugins/connections/netmiko.py +++ b/nornir/plugins/connections/netmiko.py @@ -17,7 +17,7 @@ napalm_to_netmiko_map = { class Netmiko(ConnectionPlugin): """ - This plugin connect...
Fix comment under class Netmiko(ConnectionPlugin): Incorrectly stated that this function uses the Napalm driver. Should say Netmiko.
py
diff --git a/test_pylast.py b/test_pylast.py index <HASH>..<HASH> 100755 --- a/test_pylast.py +++ b/test_pylast.py @@ -484,6 +484,20 @@ class TestPyLast(unittest.TestCase): # Assert self.assertGreaterEqual(int(total), 0) + + def test_user_play_count_in_track_info(self): + # Arrange + ...
Add test case for #<I>: username parameter already supported for track.getInfo to get user's play count
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -255,7 +255,7 @@ link_files = { url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/', ), dict( - pattern=r"^(?m)((?P<scm_version>\d+(\.\d+){1,2}))\n[-=]+\n", + pattern=r"^(?m)((?P<scm_...
Recognize semver versions with v prefix in rst.linker config
py
diff --git a/arangodb/query/simple.py b/arangodb/query/simple.py index <HASH>..<HASH> 100644 --- a/arangodb/query/simple.py +++ b/arangodb/query/simple.py @@ -127,4 +127,25 @@ class SimpleQuery(object): return docs else: - return create_document_from_result_dict(result_dict['result'][...
Created first version of index query for hash
py
diff --git a/blueqat/utils.py b/blueqat/utils.py index <HASH>..<HASH> 100644 --- a/blueqat/utils.py +++ b/blueqat/utils.py @@ -43,14 +43,14 @@ def to_inttuple(bitstr: Union[str, Counter, dict]) -> Union[Tuple[int], Counter, raise ValueError("bitstr type shall be `str`, `Counter` or `dict`") -def ignore_global_...
MAINT: np.ndarray as type name insteads np.array
py
diff --git a/eventlet/__init__.py b/eventlet/__init__.py index <HASH>..<HASH> 100644 --- a/eventlet/__init__.py +++ b/eventlet/__init__.py @@ -3,10 +3,7 @@ version_info = (0, 9, 17, "dev") __version__ = ".".join(map(str, version_info)) from eventlet import greenthread -from eventlet import greenpool -from eventlet ...
Cleaned up some imports in __init__
py
diff --git a/test/unit/Base/ControllerTest.py b/test/unit/Base/ControllerTest.py index <HASH>..<HASH> 100644 --- a/test/unit/Base/ControllerTest.py +++ b/test/unit/Base/ControllerTest.py @@ -97,10 +97,10 @@ class WorkspaceTest: return a + b net = OpenPNM.Network.Cubic(shape=[10, 10, 10]) ...
changing controller to workspace in unit test file...must've been a merge conflict error
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,9 @@ setup( python_requires='>=3.4', setup_requires=[], install_requires=['click', - 'ruamel.yaml'], + 'ruamel.yaml', + 'typing', + ...
Bugfix - Include typing as requirement in setup.py
py
diff --git a/autopep8.py b/autopep8.py index <HASH>..<HASH> 100755 --- a/autopep8.py +++ b/autopep8.py @@ -1042,15 +1042,9 @@ def fix_whitespace(line, offset, replacement): def _spawn_pep8(pep8_options): """Execute pep8 via subprocess.Popen.""" - for path in os.environ['PATH'].split(':'): - if os.path...
Simplify pep8 spawning There is no need to iterate through "PATH".
py
diff --git a/markov/graph.py b/markov/graph.py index <HASH>..<HASH> 100644 --- a/markov/graph.py +++ b/markov/graph.py @@ -346,6 +346,10 @@ class Graph: """ if distance_weights is None: distance_weights = {1: 1} + # Convert distance_weights to a sorted list of tuples + #...
Sort distance_weights to make output node list order predictable
py
diff --git a/crackmapexec.py b/crackmapexec.py index <HASH>..<HASH> 100755 --- a/crackmapexec.py +++ b/crackmapexec.py @@ -69,7 +69,7 @@ parser.add_argument("-n", metavar='NAMESPACE', dest='namespace', default='//./ro parser.add_argument("-s", metavar="SHARE", dest='share', default="C$", help="Specify a share (default...
Changed the default server to HTTPS (cause why not)
py
diff --git a/tests/unit/test_views.py b/tests/unit/test_views.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_views.py +++ b/tests/unit/test_views.py @@ -79,8 +79,10 @@ class TestFrontend(unittest.TestCase): def testCors(self): def assertHeaders(response): - self.assertEqual('*', - ...
Temporary workaround for broken cors tests.
py
diff --git a/bin/parsers/DeploysServiceLookup.py b/bin/parsers/DeploysServiceLookup.py index <HASH>..<HASH> 100644 --- a/bin/parsers/DeploysServiceLookup.py +++ b/bin/parsers/DeploysServiceLookup.py @@ -9,6 +9,7 @@ elif alert['resource'].startswith('frontend'): alert['service'] = [ 'Frontend' ] if alert['even...
Add email tag to fronted deploy failures
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,13 +27,22 @@ setup( "click==6.6", ], classifiers=[ + 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', + 'Programming Language :: Python :: 2.6', + ...
Update classifiers to show off supported python versions
py
diff --git a/km3pipe/db.py b/km3pipe/db.py index <HASH>..<HASH> 100644 --- a/km3pipe/db.py +++ b/km3pipe/db.py @@ -146,7 +146,7 @@ class DBManager(object): @property def detectors(self): - if not self._detectors: + if self._detectors is None: self._detectors = self._get_detectors(...
Fixes error with detector caching
py
diff --git a/spinoff/actor/runner.py b/spinoff/actor/runner.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/runner.py +++ b/spinoff/actor/runner.py @@ -1,6 +1,7 @@ from __future__ import print_function import re +import socket from geventreactor import install install() @@ -19,10 +20,15 @@ from spinoff.util....
Use dynamic hostname detection in Actor runner when the :<port> form of remoting is specified, as opposed to a hardcoded localhost
py
diff --git a/jaraco/util/__init__.py b/jaraco/util/__init__.py index <HASH>..<HASH> 100644 --- a/jaraco/util/__init__.py +++ b/jaraco/util/__init__.py @@ -395,7 +395,7 @@ class iterQueue(object): class testSplit(hashSplit): def __init__(self, sequence): - raise NotImplementedError, 'This class is just an idea....
Began work on Python <I> compatibility
py
diff --git a/moderator/models.py b/moderator/models.py index <HASH>..<HASH> 100644 --- a/moderator/models.py +++ b/moderator/models.py @@ -203,4 +203,4 @@ def realtime_comment_classifier(sender, instance, created, **kwargs): classify_comment(instance) # Enable voting on Comments (for negative votes/repo...
leave this to be handled by the other branch
py
diff --git a/pyannote/metrics/errors/identification.py b/pyannote/metrics/errors/identification.py index <HASH>..<HASH> 100755 --- a/pyannote/metrics/errors/identification.py +++ b/pyannote/metrics/errors/identification.py @@ -25,6 +25,7 @@ # AUTHORS # Hervé BREDIN - http://herve.niderb.fr +# Benjamin MAURICE - mau...
fix: fix typo in IdentificationErrorAnalysis
py
diff --git a/ReText/window.py b/ReText/window.py index <HASH>..<HASH> 100644 --- a/ReText/window.py +++ b/ReText/window.py @@ -126,6 +126,7 @@ class ReTextWindow(QMainWindow): self.enableFakeVimMode(True) self.actionFullScreen = self.act(self.tr('Fullscreen mode'), 'view-fullscreen', shct=Qt.Key_F11, trigbo...
[#<I>] Add actionFullScreen to the toolbar
py
diff --git a/tests/test_objects.py b/tests/test_objects.py index <HASH>..<HASH> 100644 --- a/tests/test_objects.py +++ b/tests/test_objects.py @@ -15,21 +15,6 @@ class ObjectTest(unittest.TestCase): a = Gtk.AccelMap() self.assertTrue(isinstance(a, type(g))) - def test_gobject(self): - c = ...
Remove set/get_data tests. Those methods are deprecated in pygobject.
py
diff --git a/penn/studyspaces.py b/penn/studyspaces.py index <HASH>..<HASH> 100644 --- a/penn/studyspaces.py +++ b/penn/studyspaces.py @@ -42,10 +42,9 @@ class StudySpaces(object): thumbnail = "https:" + thumbnail out[int(items["eid"])] = { "name": title, + ...
changed empyty thumbnail from no key to key with null value
py
diff --git a/src/jukeboxcore/__init__.py b/src/jukeboxcore/__init__.py index <HASH>..<HASH> 100644 --- a/src/jukeboxcore/__init__.py +++ b/src/jukeboxcore/__init__.py @@ -1,3 +1,3 @@ __author__ = 'David Zuber' __email__ = 'zuber.david@gmx.de' -__version__ = '0.1.0' +__version__ = '1.0.0'
Bumped version number to <I>
py
diff --git a/etebase/__init__.py b/etebase/__init__.py index <HASH>..<HASH> 100644 --- a/etebase/__init__.py +++ b/etebase/__init__.py @@ -494,6 +494,10 @@ class SignedInvitation: return self._inner.get_access_level() @property + def from_username(self): + return bytes(self._inner.get_from_use...
Invitations: expose from_username.
py
diff --git a/geomdl/operations.py b/geomdl/operations.py index <HASH>..<HASH> 100644 --- a/geomdl/operations.py +++ b/geomdl/operations.py @@ -1524,7 +1524,6 @@ def rotate(obj, angle, **kwargs): for idx, pt in enumerate(ncs.ctrlpts): new_ctrlpts[idx][0] = (pt[0] * math.cos(rot)) - (pt[1] * math.si...
Fix a bug in rotate function causing error while processing curves
py
diff --git a/shinken/daemon.py b/shinken/daemon.py index <HASH>..<HASH> 100644 --- a/shinken/daemon.py +++ b/shinken/daemon.py @@ -614,7 +614,7 @@ Also put default value in the properties if some are missing in the config_file for line in self.get_header(): print line - def handleRequests(se...
Fix: suppl_socks given to handleRequests must not be by default None otherwise "X in None" fails. Replaced default value by None and on method call replace it by [] .
py
diff --git a/pywb/webapp/rangecache.py b/pywb/webapp/rangecache.py index <HASH>..<HASH> 100644 --- a/pywb/webapp/rangecache.py +++ b/pywb/webapp/rangecache.py @@ -55,6 +55,10 @@ class RangeCache(object): if result: range_h, url = result + if wbrequest.env.get('HTTP_X_IGNORE_RANGE_ARG'...
rangecache: Add check for X-Ignore-Range-Arg header to force ignoring range= and serving full request. (For use with nginx range cache handling)
py
diff --git a/pyramid_orb/__init__.py b/pyramid_orb/__init__.py index <HASH>..<HASH> 100644 --- a/pyramid_orb/__init__.py +++ b/pyramid_orb/__init__.py @@ -71,9 +71,17 @@ def includeme(config): if api_root: from .api import OrbApiFactory + # setup cross-origin support + cors_options = { + ...
* making CORS definitions explicitly definable within the settings
py
diff --git a/ovp_core/tests/runtests.py b/ovp_core/tests/runtests.py index <HASH>..<HASH> 100644 --- a/ovp_core/tests/runtests.py +++ b/ovp_core/tests/runtests.py @@ -15,6 +15,7 @@ sys.path.insert(0, os.path.abspath(os.path.join(BASE_DIR, '../..'))) # decorator, because it would miss the database setup. CUSTOM_INSTAL...
Add ovp_uploads to runtests
py
diff --git a/cltk/corpus/latin/corpora.py b/cltk/corpus/latin/corpora.py index <HASH>..<HASH> 100644 --- a/cltk/corpus/latin/corpora.py +++ b/cltk/corpus/latin/corpora.py @@ -71,6 +71,6 @@ LATIN_CORPORA = [ 'type': 'text', 'name': 'latin_text_antique_digiliblt'}, {'location': 'remote', - 'type': '...
Added Grammaticorum Latinorum Corpus to Latin
py
diff --git a/src/quart/wrappers/request.py b/src/quart/wrappers/request.py index <HASH>..<HASH> 100644 --- a/src/quart/wrappers/request.py +++ b/src/quart/wrappers/request.py @@ -224,15 +224,8 @@ class Request(BaseRequestWebsocket): await self._load_form_data() try: - body_future = as...
Alter body waiting Using wait_for is sufficient (since Python <I>) so the change introduced in <I>cd4b8fcfac<I>e8ceb2cc<I>ef<I>a0c5ef<I>b7 can now be altered to use it instead of creating and managing its own future.
py
diff --git a/schedula/ext/dispatcher/documenter.py b/schedula/ext/dispatcher/documenter.py index <HASH>..<HASH> 100644 --- a/schedula/ext/dispatcher/documenter.py +++ b/schedula/ext/dispatcher/documenter.py @@ -183,7 +183,11 @@ def _data(lines, dsp): link = ':obj:`%s <%s>`' % (_node_name(str(k)), link) ...
fix(sphinx): Correct bug when `"` is in csv-table directive.
py
diff --git a/sanic/response.py b/sanic/response.py index <HASH>..<HASH> 100644 --- a/sanic/response.py +++ b/sanic/response.py @@ -233,7 +233,7 @@ class HTTPResponse(BaseHTTPResponse): return self._cookies -def json(body, status=200, headers=None, **kwargs): +def json(body, status=200, headers=None, conten...
Added content_type to be set for son response
py
diff --git a/src/transformers/generation_tf_logits_process.py b/src/transformers/generation_tf_logits_process.py index <HASH>..<HASH> 100644 --- a/src/transformers/generation_tf_logits_process.py +++ b/src/transformers/generation_tf_logits_process.py @@ -332,7 +332,7 @@ class TFNoBadWordsLogitsProcessor(TFLogitsProcess...
Fix TF bad words filter with XLA (#<I>) * Fix bad words filter in XLA generation * Remove my cool debug breakpoints (again)
py
diff --git a/spade/swi.py b/spade/swi.py index <HASH>..<HASH> 100644 --- a/spade/swi.py +++ b/spade/swi.py @@ -1,5 +1,6 @@ import SimpleHTTPServer import pyratemp +import os class SWIHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): @@ -96,12 +97,14 @@ class SWIHandler(SimpleHTTPServer.SimpleHTTPRequestHan...
Fixed bug in swi regarding template directory location
py
diff --git a/grimoire/elk/discourse.py b/grimoire/elk/discourse.py index <HASH>..<HASH> 100644 --- a/grimoire/elk/discourse.py +++ b/grimoire/elk/discourse.py @@ -86,7 +86,7 @@ class DiscourseEnrich(Enrich): topic = item['data'] # Fields that are the same in item and eitem - copy_fields = ["l...
[enrich][discourse] Add created_at field
py
diff --git a/grimoire_elk/ocean/dockerhub.py b/grimoire_elk/ocean/dockerhub.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/ocean/dockerhub.py +++ b/grimoire_elk/ocean/dockerhub.py @@ -39,24 +39,24 @@ class Mapping(BaseMapping): if es_major != '2': mapping = ''' - { - ...
[ocean] Fix ES <I>.x mappings for Dockerhub ocean backend This patch fixes the mappings for Dockerhub, which now work also with ES <I>.x
py
diff --git a/oceansdb/woa.py b/oceansdb/woa.py index <HASH>..<HASH> 100644 --- a/oceansdb/woa.py +++ b/oceansdb/woa.py @@ -406,7 +406,7 @@ class WOA_var_nc(object): class WOA(object): """ """ - def __init__(self, dbname='WOA'): + def __init__(self, dbname='WOA13'): self.data = {} self...
WOA default moved to WOA<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ requires = [ 'aiodns', 'async_timeout~=3.0', 'attrs>=18.0', - 'etcd3~=0.7.0', + 'etcd3~=0.8.0', 'msgpack~=0.5.6', 'python-json-logger', ]
setup: Update etcd3 version (<I> -> <I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup( name='slackdown', - version='0.0.2', + version='0.0.3', description='A simple Slack message text formatting to HTML code converter.', author='Andrew Briz...
Updated pypi version number.
py
diff --git a/SoftLayer/tests/API/hardware_tests.py b/SoftLayer/tests/API/hardware_tests.py index <HASH>..<HASH> 100644 --- a/SoftLayer/tests/API/hardware_tests.py +++ b/SoftLayer/tests/API/hardware_tests.py @@ -1,6 +1,6 @@ """ SoftLayer.tests.API.hardware_tests - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~...
Macaroni called and asked for some tildes
py
diff --git a/backtrader/dataseries.py b/backtrader/dataseries.py index <HASH>..<HASH> 100644 --- a/backtrader/dataseries.py +++ b/backtrader/dataseries.py @@ -43,8 +43,8 @@ class TimeFrame(object): def getname(cls, tframe, compression=None): if compression == 1: # return singular if compressi...
Correct TimeFrame names indexing after having indexed from 1 the values
py
diff --git a/axes/decorators.py b/axes/decorators.py index <HASH>..<HASH> 100644 --- a/axes/decorators.py +++ b/axes/decorators.py @@ -94,6 +94,9 @@ def is_user_lockable(request): If so, then return the value to see if this user is special and doesn't get their account locked out """ + if request.meth...
Only look for lockable users on a POST. Resolves #<I>.
py
diff --git a/venv_update.py b/venv_update.py index <HASH>..<HASH> 100644 --- a/venv_update.py +++ b/venv_update.py @@ -425,7 +425,7 @@ def do_install(reqs): ) # Remove stale values from the cache that have not been accessed in a week. - run(["tmpwatch", "7d", pip_download_cache]) + run(['tmpwatch', '7...
Fixing double quote -> single quote on run commands.
py
diff --git a/simuvex/plugins/unicorn_engine.py b/simuvex/plugins/unicorn_engine.py index <HASH>..<HASH> 100644 --- a/simuvex/plugins/unicorn_engine.py +++ b/simuvex/plugins/unicorn_engine.py @@ -224,6 +224,20 @@ class Unicorn(SimStatePlugin): # this is the counter for the unicorn count self._unicount ...
be careful about propagating unicount, cachekey, and clear them (and the uniwrapper) on unpickling
py
diff --git a/tests/swarming/nupic/swarming/swarming_test.py b/tests/swarming/nupic/swarming/swarming_test.py index <HASH>..<HASH> 100755 --- a/tests/swarming/nupic/swarming/swarming_test.py +++ b/tests/swarming/nupic/swarming/swarming_test.py @@ -257,7 +257,7 @@ class ExperimentTestBaseClass(HelperTestCaseBase): ...
Update swarming_test.py
py
diff --git a/tests/test_models.py b/tests/test_models.py index <HASH>..<HASH> 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -130,3 +130,19 @@ class SubclassAccessorsTests(SimpleTestCase): self.assertEqual(DynamicChild.accessors, { DynamicChild: EMPTY_ACCESSOR, }) + + ...
Added a test case for the subclass accessor key error.
py
diff --git a/indra/bel/bel_api.py b/indra/bel/bel_api.py index <HASH>..<HASH> 100644 --- a/indra/bel/bel_api.py +++ b/indra/bel/bel_api.py @@ -17,7 +17,6 @@ def process_ndex_neighborhood(gene_names, rdf_out='bel_output.rdf'): with open(rdf_out, 'wt') as fh: fh.write(rdf.encode('utf-8')) bp = process_...
Remove extraneous printing in BEL API
py
diff --git a/analytical/utils.py b/analytical/utils.py index <HASH>..<HASH> 100644 --- a/analytical/utils.py +++ b/analytical/utils.py @@ -21,8 +21,8 @@ def get_required_setting(setting, value_re, invalid_msg): value = getattr(settings, setting) except AttributeError: raise AnalyticalException("%...
Fix holding config variable in database through proxy objects A config variable may not necessarily be None when not configured. Can be stored in the database with the help of proxy objects, which can return the None value when accessed. For example, to integrate with jazzband/django-constance.
py
diff --git a/devtools/ci/travis/dev_pkgs_del_old.py b/devtools/ci/travis/dev_pkgs_del_old.py index <HASH>..<HASH> 100644 --- a/devtools/ci/travis/dev_pkgs_del_old.py +++ b/devtools/ci/travis/dev_pkgs_del_old.py @@ -32,7 +32,7 @@ sorted_by_version = sorted(package['releases'], ) to_delete = [...
[dev-build] fix tiny issue in "clean old builds" script
py
diff --git a/zipline/assets/assets.py b/zipline/assets/assets.py index <HASH>..<HASH> 100644 --- a/zipline/assets/assets.py +++ b/zipline/assets/assets.py @@ -630,8 +630,8 @@ class AssetConvertible(with_metaclass(ABCMeta)): AssetConvertible.register(Integral) AssetConvertible.register(Asset) # Use six.string_types f...
MAINT: Remove shadowing of built-in type function. Change variable name in convertible registration so that `type` is not over-written at module scope.
py
diff --git a/bids/layout/layout.py b/bids/layout/layout.py index <HASH>..<HASH> 100644 --- a/bids/layout/layout.py +++ b/bids/layout/layout.py @@ -205,9 +205,10 @@ class BIDSLayout(object): if database_file is not None: database_dir = database_file warnings.warn( - 'dat...
Change previous warnings to DeprecationWarning
py
diff --git a/distutils/dist.py b/distutils/dist.py index <HASH>..<HASH> 100644 --- a/distutils/dist.py +++ b/distutils/dist.py @@ -168,10 +168,6 @@ Common commands: (see '--help-commands' for more) # for the setup script to override command classes self.cmdclass = {} - # Make sure 'commands' ...
Remove early initialization of 'commands'; unneeded.
py
diff --git a/tweepy/streaming.py b/tweepy/streaming.py index <HASH>..<HASH> 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -254,7 +254,9 @@ class Stream(object): if replies: self.parameters['replies'] = replies if locations and len(locations) > 0: - assert len(lo...
Raise error if locations list has the wrong length
py
diff --git a/openquake/engine/calculators/base.py b/openquake/engine/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/base.py +++ b/openquake/engine/calculators/base.py @@ -335,6 +335,7 @@ class Calculator(object): self.job.calculation.export_dir, ...
Restore a log message removed by mistake Former-commit-id: 8d5c2b3ee5b<I>a<I>effb2ff3d<I>d<I>
py
diff --git a/skrebate/relieff.py b/skrebate/relieff.py index <HASH>..<HASH> 100644 --- a/skrebate/relieff.py +++ b/skrebate/relieff.py @@ -330,7 +330,26 @@ class ReliefF(BaseEstimator): dist_vect.append(sys.maxsize) dist_vect = np.array(dist_vect) - return np.argsort(dist_vect)[:self....
Rework ReliefF nearest neighbors function The ReliefF nearest neighbors function should return both `n_neighbors` nearest matches (same class) and `n_neighbors` nearest misses (different class).
py