diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/yarl/__init__.py b/yarl/__init__.py index <HASH>..<HASH> 100644 --- a/yarl/__init__.py +++ b/yarl/__init__.py @@ -10,7 +10,7 @@ import idna from .quoting import _Quoter, _Unquoter -__version__ = '1.2.5' +__version__ = '1.2.5a0' __all__ = ('URL',)
Bump to <I>a0
py
diff --git a/processors/generic_processor.py b/processors/generic_processor.py index <HASH>..<HASH> 100644 --- a/processors/generic_processor.py +++ b/processors/generic_processor.py @@ -809,7 +809,10 @@ class GenericCommitHandler(processor.CommitHandler): self.cache_mgr._rename_path(old_path, new_path) ...
Implement the 'deleteall' command.
py
diff --git a/stellar_base/builder.py b/stellar_base/builder.py index <HASH>..<HASH> 100644 --- a/stellar_base/builder.py +++ b/stellar_base/builder.py @@ -96,6 +96,7 @@ class Builder(object): def append_path_payment_op(self, destination, send_code, send_issuer, send_max, dest_code, ...
[critical] fix pathpayment in builder
py
diff --git a/arcrest/gptypes.py b/arcrest/gptypes.py index <HASH>..<HASH> 100644 --- a/arcrest/gptypes.py +++ b/arcrest/gptypes.py @@ -29,7 +29,7 @@ class GPMultiValue(object): return cls @property def _json_struct(self): - return [x._json_struct for x in self._values] + return [get...
Allow bare values in multivalue (such as float)
py
diff --git a/nats/aio/client.py b/nats/aio/client.py index <HASH>..<HASH> 100644 --- a/nats/aio/client.py +++ b/nats/aio/client.py @@ -49,7 +49,7 @@ INBOX_PREFIX_LEN = len(INBOX_PREFIX) + 22 + 1 DEFAULT_PENDING_SIZE = 1024 * 1024 DEFAULT_BUFFER_SIZE = 32768 DEFAULT_RECONNECT_TIME_WAIT = 2 # in seconds -DEFAULT_MAX_R...
Set default max reconnects to <I> as in Go client
py
diff --git a/dockerpty/pty.py b/dockerpty/pty.py index <HASH>..<HASH> 100644 --- a/dockerpty/pty.py +++ b/dockerpty/pty.py @@ -16,6 +16,7 @@ import sys import signal +from ssl import SSLError import dockerpty.io as io import dockerpty.tty as tty @@ -226,5 +227,9 @@ class PseudoTerminal(object): sel...
Catch errors caused by SSL sockets not having data ready Just because `select()` has returned, doesn't mean the socket has actual data ready: <URL>
py
diff --git a/pyvisa-py/highlevel.py b/pyvisa-py/highlevel.py index <HASH>..<HASH> 100644 --- a/pyvisa-py/highlevel.py +++ b/pyvisa-py/highlevel.py @@ -312,7 +312,7 @@ class PyVisaLibrary(highlevel.VisaLibraryBase): if ret[1] < 0: raise errors.VisaIOError(ret[1]) - return ret[0] # return n...
write() returns bytes written & status code
py
diff --git a/delphi/AnalysisGraph.py b/delphi/AnalysisGraph.py index <HASH>..<HASH> 100644 --- a/delphi/AnalysisGraph.py +++ b/delphi/AnalysisGraph.py @@ -206,10 +206,6 @@ class AnalysisGraph(nx.DiGraph): ) ).resample(res)[0] - # Algorithm: - # for each pair of nodes i, j in the gr...
Removed comment about algorithms in AnalysisGraph.py
py
diff --git a/pandas/io/tests/test_common.py b/pandas/io/tests/test_common.py index <HASH>..<HASH> 100644 --- a/pandas/io/tests/test_common.py +++ b/pandas/io/tests/test_common.py @@ -1,7 +1,6 @@ """ Tests for the pandas.io.common functionalities """ -import nose import mmap import os from os.path import isabs...
TST: Fix MMapWrapper init test for Windows Turns out Windows errors differently when an invalid `fileno` is passed into the `mmap` constructor, so there's no need to skip the test (xref: <I>b<I>).
py
diff --git a/tpot/gp_deap.py b/tpot/gp_deap.py index <HASH>..<HASH> 100644 --- a/tpot/gp_deap.py +++ b/tpot/gp_deap.py @@ -80,16 +80,9 @@ def varOr(population, toolbox, lambda_, cxpb, mutpb): for _ in range(lambda_): op_choice = np.random.random() if op_choice < cxpb: # Apply crossover - - ...
Refactored varOr crossover part, since now our crossover function (1) already guarantees a unique new individual, if possible within <I> iterations and (2) for this purpose also copies internally the individuals (something which should have been done in the previous while loop instead).
py
diff --git a/insights/specs/default.py b/insights/specs/default.py index <HASH>..<HASH> 100644 --- a/insights/specs/default.py +++ b/insights/specs/default.py @@ -669,6 +669,7 @@ class DefaultSpecs(Specs): xinetd_conf = glob_file(["/etc/xinetd.conf", "/etc/xinetd.d/*"]) yum_conf = simple_file("/etc/yum.conf")...
Add item yum_log (#<I>)
py
diff --git a/billy/importers/filters.py b/billy/importers/filters.py index <HASH>..<HASH> 100644 --- a/billy/importers/filters.py +++ b/billy/importers/filters.py @@ -2,6 +2,13 @@ import re import importlib +def filter_by_array(filter_array, obj): + for fltr in filter_array: + for key in filter_array[flt...
Adding a catch around the object_path assignment
py
diff --git a/sphinx_autodoc_annotation.py b/sphinx_autodoc_annotation.py index <HASH>..<HASH> 100644 --- a/sphinx_autodoc_annotation.py +++ b/sphinx_autodoc_annotation.py @@ -12,7 +12,11 @@ def get_class_link(obj): return None def add_annotation_content(documenter): - sig = inspect.signature(documenter.objec...
Don't choke on objects with no signature
py
diff --git a/buildbot/status/builder.py b/buildbot/status/builder.py index <HASH>..<HASH> 100644 --- a/buildbot/status/builder.py +++ b/buildbot/status/builder.py @@ -2023,6 +2023,7 @@ class SlaveStatus: admin = None host = None + version = None connected = False graceful_shutdown = False
Make sure version is always defined in SlaveStatus, just like host and admin.
py
diff --git a/examples/json.py b/examples/json.py index <HASH>..<HASH> 100644 --- a/examples/json.py +++ b/examples/json.py @@ -50,8 +50,9 @@ def test(): "int": 1, "string": "hello", "a list": [1, 2, 3], - "escapes": "\n", - "nested": {"x": "y"} + "escapes": "\n \u24D2", +...
Expanded tests for JSON example.
py
diff --git a/resolwe/flow/migrations/0028_add_data_location.py b/resolwe/flow/migrations/0028_add_data_location.py index <HASH>..<HASH> 100644 --- a/resolwe/flow/migrations/0028_add_data_location.py +++ b/resolwe/flow/migrations/0028_add_data_location.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals import o...
Increment DataLocation sequence in migration
py
diff --git a/txaws/service.py b/txaws/service.py index <HASH>..<HASH> 100644 --- a/txaws/service.py +++ b/txaws/service.py @@ -52,7 +52,7 @@ class AWSServiceEndpoint(object): uri = "%s:%s" % (uri, self.port) return uri + self.path - +# XXX needs tests! class AWSServiceRegion(object): """ ...
Added a TODO comment for tests.
py
diff --git a/sh.py b/sh.py index <HASH>..<HASH> 100644 --- a/sh.py +++ b/sh.py @@ -629,7 +629,7 @@ STDERR = -2 # Process open = Popen # Open Process = OProc class OProc(object): - _procs_to_cleanup = [] + _procs_to_cleanup = set() _registered_cleanup = False _default_window_size = (24, 80) @@ -773,...
using set instead of list for processes to cleanup
py
diff --git a/amino/maybe.py b/amino/maybe.py index <HASH>..<HASH> 100644 --- a/amino/maybe.py +++ b/amino/maybe.py @@ -1,5 +1,4 @@ -from typing import TypeVar, Generic, Callable, Union, Any -from typing import Tuple # NOQA +from typing import TypeVar, Generic, Callable, Union, Any, cast from functools import wraps, p...
`Maybe.iff{,_m}`
py
diff --git a/cassandra/metadata.py b/cassandra/metadata.py index <HASH>..<HASH> 100644 --- a/cassandra/metadata.py +++ b/cassandra/metadata.py @@ -924,7 +924,7 @@ class Token(object): return self.value == other.value def __hash__(self): - return self.value + return hash(self.value) ...
Fix Token's __hash__ method so that BytesToken instances to be added to token_to_host_owner (currently the driver is broken on ByteOrderedPartitioner)
py
diff --git a/tornado/queues.py b/tornado/queues.py index <HASH>..<HASH> 100644 --- a/tornado/queues.py +++ b/tornado/queues.py @@ -232,6 +232,16 @@ class Queue(Generic[_T]): scale as `tornado.ioloop.IOLoop.time`, normally `time.time`), or a `datetime.timedelta` object for a deadline relative to the ...
queues: Add a note to Queue.get about difference from stdlib Tornado's interpretation of the timeout argument differs from the stdlib's queue. Fixes #<I>
py
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -511,7 +511,7 @@ class PythonLanguage(object): config.run, timeout_seconds=5*60, environ=dict(list(environment.items())...
Fix test runner failures for Python on Windows
py
diff --git a/json2html/jsonconv.py b/json2html/jsonconv.py index <HASH>..<HASH> 100644 --- a/json2html/jsonconv.py +++ b/json2html/jsonconv.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + ''' JSON 2 HTML convertor ===================== @@ -12,7 +14,6 @@ Michel Müller 2015-1-31: Added bootstrap option, converting tabl...
moved the coding hashbang to the top
py
diff --git a/quantrisk/timeseries.py b/quantrisk/timeseries.py index <HASH>..<HASH> 100644 --- a/quantrisk/timeseries.py +++ b/quantrisk/timeseries.py @@ -615,9 +615,12 @@ def extract_interesting_date_ranges(df_rets): df_rets_dupe.index = df_rets_dupe.index.map(pd.Timestamp) ranges = OrderedDict() for na...
BUG Added try/except to pass over out of bounds date regions df_rets_dupe.loc[start:end] was giving me an error on my local machine when the date was out of bounds. This solves the problem for the time being.
py
diff --git a/did/plugins/jira.py b/did/plugins/jira.py index <HASH>..<HASH> 100644 --- a/did/plugins/jira.py +++ b/did/plugins/jira.py @@ -161,6 +161,11 @@ class JiraStats(StatsGroup): raise ReportError( "No Jira url set in the [{0}] section".format(option)) self.url = config["url...
enabling loging into JBoss Jira self.url + "/step-auth-gss" returns <I> on issues.jboss.org, so optional sso_url parameter was added to Jira plugin for jboss.org, it can be configured as follows: [jboss.org] type = jira ... sso_url = <URL>
py
diff --git a/cleverhans/utils_tf.py b/cleverhans/utils_tf.py index <HASH>..<HASH> 100644 --- a/cleverhans/utils_tf.py +++ b/cleverhans/utils_tf.py @@ -81,11 +81,6 @@ def tf_model_train(sess, x, y, predictions, X_train, Y_train, save=False, prev = time.time() for batch in range(nb_batches): -...
less frequent printing now that training is faster
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,22 +1,20 @@ #!/usr/bin/env python try: - raise ImportError from setuptools import setup except ImportError: from distutils.core import setup from sys import version_info -# First attempt to generate e...
setup.py: Remove the use of pre-generated _binding.c.
py
diff --git a/vex/main.py b/vex/main.py index <HASH>..<HASH> 100644 --- a/vex/main.py +++ b/vex/main.py @@ -2,6 +2,7 @@ """ import sys import os +import shutil from vex import config from vex.options import get_options from vex.run import get_environ, run @@ -161,6 +162,12 @@ def _main(environ, argv): ...
pre-emptively warn if vexrc python looks like it won't run otherwise virtualenv generates what would be a confusing error, e.g.: 'The path squabbles (from --python=squabbles) does not exist'
py
diff --git a/luigi/worker.py b/luigi/worker.py index <HASH>..<HASH> 100644 --- a/luigi/worker.py +++ b/luigi/worker.py @@ -785,7 +785,7 @@ class Worker(object): if isinstance(dependency, Target): raise Exception('requires() can not return Target objects. Wrap it in an ExternalTask class') ...
More verbose exceptions for mistyped depenencies (#<I>)
py
diff --git a/visidata/mainloop.py b/visidata/mainloop.py index <HASH>..<HASH> 100644 --- a/visidata/mainloop.py +++ b/visidata/mainloop.py @@ -133,6 +133,10 @@ def mainloop(self, scr): return sheet = self.activeSheet + + if not sheet: + continue + threading.current_thr...
[mainloop-] hold progression to sheet display until sheet is loaded
py
diff --git a/tests/performanceplatform/collector/webtrends/test_reports.py b/tests/performanceplatform/collector/webtrends/test_reports.py index <HASH>..<HASH> 100644 --- a/tests/performanceplatform/collector/webtrends/test_reports.py +++ b/tests/performanceplatform/collector/webtrends/test_reports.py @@ -37,7 +37,7 @@...
Remove unnecessary code from tests - As far as I can tell having `frequency` in the query does nothing - There's an empty test - I can't figure out whether this test is needed or not based on its name
py
diff --git a/werkzeug/datastructures.py b/werkzeug/datastructures.py index <HASH>..<HASH> 100644 --- a/werkzeug/datastructures.py +++ b/werkzeug/datastructures.py @@ -9,6 +9,7 @@ :license: BSD, see LICENSE for more details. """ import re +import sys import codecs import mimetypes from itertools import repeat ...
utf-8 to filesystem encoding
py
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -9,18 +9,30 @@ global tzinfo tzinfo = pytz.UTC month_to_number = { + "Jan": 1, "January": 1, + "Feb": 2, "Febuary": 2, "Febr...
added abbreviated months to dict
py
diff --git a/ledgerblue/comm.py b/ledgerblue/comm.py index <HASH>..<HASH> 100644 --- a/ledgerblue/comm.py +++ b/ledgerblue/comm.py @@ -120,7 +120,7 @@ class HIDDongleHIDAPI(Dongle, DongleWait): response = result[dataStart : dataLength + dataStart] if self.debug: print("HID <= %s%.2x" % (hexstr(response), sw))...
Also accept the generic status <I>xx
py
diff --git a/quickcache/quickcache.py b/quickcache/quickcache.py index <HASH>..<HASH> 100644 --- a/quickcache/quickcache.py +++ b/quickcache/quickcache.py @@ -119,6 +119,8 @@ class QuickCache(object): elif isinstance(value, set): return 'S' + self._hash( ','.join(sorted(map(self._...
make sure quickcache can accept None as an arg
py
diff --git a/seleniumbase/console_scripts/rich_helper.py b/seleniumbase/console_scripts/rich_helper.py index <HASH>..<HASH> 100755 --- a/seleniumbase/console_scripts/rich_helper.py +++ b/seleniumbase/console_scripts/rich_helper.py @@ -37,7 +37,9 @@ def display_code(code): def fix_emoji_spacing(code): try: ...
Update double_width_emojis list to improve "rich" printing
py
diff --git a/django_webtest_tests/testapp_tests/tests.py b/django_webtest_tests/testapp_tests/tests.py index <HASH>..<HASH> 100644 --- a/django_webtest_tests/testapp_tests/tests.py +++ b/django_webtest_tests/testapp_tests/tests.py @@ -235,7 +235,7 @@ class TestSession(WebTest): def test_session_not_set(self): ...
use assertEqual instead of deprecated assertEquals
py
diff --git a/tests/test_hub.py b/tests/test_hub.py index <HASH>..<HASH> 100644 --- a/tests/test_hub.py +++ b/tests/test_hub.py @@ -9,6 +9,7 @@ from __future__ import absolute_import, print_function import os +import sys import gc import time import signal @@ -44,6 +45,10 @@ class TestHub(UnitTest): def te...
Don't run SIGINT test on Windows.
py
diff --git a/flask_sqlalchemy/__init__.py b/flask_sqlalchemy/__init__.py index <HASH>..<HASH> 100644 --- a/flask_sqlalchemy/__init__.py +++ b/flask_sqlalchemy/__init__.py @@ -805,10 +805,13 @@ class SQLAlchemy(object): of an application not initialized that way or connections will leak. """ -...
be explicit about sqlite memory uri
py
diff --git a/awkward/version.py b/awkward/version.py index <HASH>..<HASH> 100644 --- a/awkward/version.py +++ b/awkward/version.py @@ -30,7 +30,7 @@ import re -__version__ = "0.2.0" +__version__ = "0.2.1" version = __version__ version_info = tuple(re.split(r"[-\.]", __version__))
test pushing to finish-implementation branch
py
diff --git a/pyuploadcare/resources/file.py b/pyuploadcare/resources/file.py index <HASH>..<HASH> 100644 --- a/pyuploadcare/resources/file.py +++ b/pyuploadcare/resources/file.py @@ -87,14 +87,16 @@ class File: def __str__(self): return self.cdn_url - def set_effects(self, effects: Union[str, ImageTr...
fix file copy (#<I>) * fixed building cdn path for file copy
py
diff --git a/benchexec/containerexecutor.py b/benchexec/containerexecutor.py index <HASH>..<HASH> 100644 --- a/benchexec/containerexecutor.py +++ b/benchexec/containerexecutor.py @@ -326,7 +326,7 @@ class ContainerExecutor(baseexecutor.BaseExecutor): # If the current directory is within one of the bind mounts ...
Make sure to always cd to an absolute path in container, otherwise it has not the desired effect.
py
diff --git a/flask_cors.py b/flask_cors.py index <HASH>..<HASH> 100644 --- a/flask_cors.py +++ b/flask_cors.py @@ -34,6 +34,8 @@ CONFIG_OPTIONS = ['CORS_ORIGINS', 'CORS_METHODS', 'CORS_HEADERS', 'CORS_MAX_AGE', 'CORS_SEND_WILDCARD', 'CORS_ALWAYS_SEND', 'CORS_AUTOMATIC_OPTIONS', 'C...
Make _FLASK_CORS_EVALUATED a constant for readability
py
diff --git a/ddlgenerator/ddlgenerator.py b/ddlgenerator/ddlgenerator.py index <HASH>..<HASH> 100755 --- a/ddlgenerator/ddlgenerator.py +++ b/ddlgenerator/ddlgenerator.py @@ -210,7 +210,8 @@ class Table(object): Table.table_index += 1 self.table_name = reshape.clean_key_name(self.table_name) ...
do not embed pymongo cursor in list
py
diff --git a/javaproperties/__main__.py b/javaproperties/__main__.py index <HASH>..<HASH> 100644 --- a/javaproperties/__main__.py +++ b/javaproperties/__main__.py @@ -46,7 +46,7 @@ def main(): setproperty(args.file, args.outfile, {args.key: args.value}, args.preserve_timestamp) elif a...
Python <I> doesn't have dict comprehensions
py
diff --git a/grimoire_elk/elk/enrich.py b/grimoire_elk/elk/enrich.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/elk/enrich.py +++ b/grimoire_elk/elk/enrich.py @@ -324,7 +324,7 @@ class Enrich(ElasticItems): for item in items: if current >= max_items: try: - ...
[enrich] Add missing headers in PUT queries to support ES6
py
diff --git a/mavproxy.py b/mavproxy.py index <HASH>..<HASH> 100755 --- a/mavproxy.py +++ b/mavproxy.py @@ -541,7 +541,7 @@ def param_load_file(filename, wildcard): continue # some parameters should not be loaded from file if a[0] in ['SYSID_SW_MREV', 'SYS_NUM_RESETS', 'ARSPD_OFFSET', 'GND...
exclude FENCE_TOTAL from load from file
py
diff --git a/neomodel/util.py b/neomodel/util.py index <HASH>..<HASH> 100644 --- a/neomodel/util.py +++ b/neomodel/util.py @@ -97,7 +97,7 @@ class Database(local): u = urlparse(_url) if u.netloc.find('@') > -1: - credentials, self.host = u.netloc.rsplit('@') + credentials, self...
rsplit fix maxsplit=1 (as more than one @ is expected)
py
diff --git a/webapp/app/main.py b/webapp/app/main.py index <HASH>..<HASH> 100644 --- a/webapp/app/main.py +++ b/webapp/app/main.py @@ -21,7 +21,7 @@ def _unpack(stream): font = TTFont(BytesIO(stream.read(fontlen))) yield (desc, font) -def checkfont(desc, font): +def check_font(desc, font): #fam...
fix typo (issue #<I>)
py
diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/readinput.py +++ b/openquake/commonlib/readinput.py @@ -380,9 +380,9 @@ def get_site_collection(oqparam): an :class:`openquake.commonlib.oqvalidation.OqParam` instance """...
Restored req_site_params as it was [skip CI]
py
diff --git a/tests/classes_test.py b/tests/classes_test.py index <HASH>..<HASH> 100755 --- a/tests/classes_test.py +++ b/tests/classes_test.py @@ -118,7 +118,7 @@ class GSFontTest(unittest.TestCase): self.assertEqual(len(font.glyphs), 0) self.assertEqual(len(font.masters), 0) - self.assertEqu...
Test not accepting masters as tuple (after proxy implementation), ensure both be turned into lists for comparison
py
diff --git a/ella/core/models/publishable.py b/ella/core/models/publishable.py index <HASH>..<HASH> 100644 --- a/ella/core/models/publishable.py +++ b/ella/core/models/publishable.py @@ -54,7 +54,7 @@ class Publishable(models.Model): # denormalized fields # the placement's publish_from - publish_from = m...
Index on denormalised publish_from
py
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -479,7 +479,7 @@ class SSH(object): cmd_args = arg_str.split(None, 1) fun = cmd_args[0] args = [cmd_args[1]] - ...
Delete trailing whitespace to appeas the pylint gods.
py
diff --git a/claripy/__init__.py b/claripy/__init__.py index <HASH>..<HASH> 100644 --- a/claripy/__init__.py +++ b/claripy/__init__.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # pylint: disable=F0401,W0401,W0603, -__version__ = "9.2.2.dev0" +__version__ = "9.2.3.dev0" if bytes is str: raise Exception("This mod...
Update version to <I>.dev0 [ci skip]
py
diff --git a/thumbor/threadpool.py b/thumbor/threadpool.py index <HASH>..<HASH> 100644 --- a/thumbor/threadpool.py +++ b/thumbor/threadpool.py @@ -8,10 +8,10 @@ # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 globo.com thumbor@googlegroups.com -import asyncio from concurrent.futures import Th...
threadpool: Use python <I> supported method to get running loop. Fixes #<I>. Using IOloop.current instead of asyncio.get_running_loop allows support for py<I> since later is not available in py<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -200,8 +200,8 @@ CLASSIFIERS = [ MAJOR = 0 MINOR = 10 -MICRO = 0 -ISRELEASED = True +MICRO = 1 +ISRELEASED = False VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) QUALIFIER = ''
RLS: bump to <I>dev
py
diff --git a/psy_simple/plotters.py b/psy_simple/plotters.py index <HASH>..<HASH> 100644 --- a/psy_simple/plotters.py +++ b/psy_simple/plotters.py @@ -1610,7 +1610,14 @@ class LineColors(Formatoption): np.linspace(0., 1., len(list(self.iter_data)), endpoint=True))) ...
Fixed bug for colors and color_cycles
py
diff --git a/fastly/fastly.py b/fastly/fastly.py index <HASH>..<HASH> 100755 --- a/fastly/fastly.py +++ b/fastly/fastly.py @@ -504,7 +504,7 @@ class FastlyConnection(object): def list_syslogs(self, service_id, version_number): content = self._fetch("/service/%s/version/%d/syslog" % (service_id, version_number)) ...
Updating a bug in the syslog code.
py
diff --git a/insteonplm/aldb.py b/insteonplm/aldb.py index <HASH>..<HASH> 100644 --- a/insteonplm/aldb.py +++ b/insteonplm/aldb.py @@ -45,10 +45,6 @@ class ALDB(object): # self.log.debug('Ignoring device setitem with no cat: %s', value) # return - if not isinstance(device, DeviceBase): ...
Get rid of check agains DeviceBase
py
diff --git a/argresolver/resolver.py b/argresolver/resolver.py index <HASH>..<HASH> 100644 --- a/argresolver/resolver.py +++ b/argresolver/resolver.py @@ -64,8 +64,7 @@ class Resolver(utils.Loggable): if sig.defaults is not None: defaults = {k: v for k, v in list(zip(sig.args[-len(sig.defa...
Fixes linting errors for warn -> warning and whitespace after op
py
diff --git a/tests/functional/cli/test_cli.py b/tests/functional/cli/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/functional/cli/test_cli.py +++ b/tests/functional/cli/test_cli.py @@ -3,7 +3,7 @@ import json import pytest import responses -from gitlab import __version__ +from gitlab import __version__, confi...
chore: fix functional test failure if config present Fix functional test failure if config present and configured with token. Closes: #<I>
py
diff --git a/bpc8583/isoClient.py b/bpc8583/isoClient.py index <HASH>..<HASH> 100755 --- a/bpc8583/isoClient.py +++ b/bpc8583/isoClient.py @@ -165,7 +165,7 @@ if __name__ == '__main__': transactions = None try: - optlist, args = getopt.getopt(sys.argv[1:], 'vhp:s:t:m:f:', ['verbose', 'help', 'port=',...
Fixed bug with xml file command line option
py
diff --git a/src/toil/batchSystems/torque.py b/src/toil/batchSystems/torque.py index <HASH>..<HASH> 100644 --- a/src/toil/batchSystems/torque.py +++ b/src/toil/batchSystems/torque.py @@ -50,7 +50,8 @@ class TorqueBatchSystem(AbstractGridEngineBatchSystem): # Limit qstat to current username to avoid cloggin...
Adding PBSPro qstat particularities pointed out by @hcraT, thanks
py
diff --git a/stripe/version.py b/stripe/version.py index <HASH>..<HASH> 100644 --- a/stripe/version.py +++ b/stripe/version.py @@ -1 +1 @@ -VERSION = '1.27.1' +VERSION = '1.27.0'
Revert version in version.py as well
py
diff --git a/pymc/StepMethods.py b/pymc/StepMethods.py index <HASH>..<HASH> 100644 --- a/pymc/StepMethods.py +++ b/pymc/StepMethods.py @@ -800,7 +800,9 @@ class AdaptiveMetropolis(StepMethod): """ if not stochastic.dtype in float_dtypes and not stochastic.dtype in integer_dtypes: return 0...
Prevented selection of AdaptiveMetropolis for stochastics that are sparse (result in singular matrices) git-svn-id: <URL>
py
diff --git a/bcbio/pipeline/variation.py b/bcbio/pipeline/variation.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/variation.py +++ b/bcbio/pipeline/variation.py @@ -29,7 +29,7 @@ def _analyze_recalibration(recal_file, fastq1, fastq2, dirs, config): if fastq2: cl.append(fastq2) cl.append("--work...
Handle standard quality format when assessing re-calibration
py
diff --git a/cobald/utility/concurrent/meta_runner.py b/cobald/utility/concurrent/meta_runner.py index <HASH>..<HASH> 100644 --- a/cobald/utility/concurrent/meta_runner.py +++ b/cobald/utility/concurrent/meta_runner.py @@ -22,6 +22,7 @@ class MetaRunner(object): self.runners = { runner.flavour: ru...
meta runner checks running state before running
py
diff --git a/epdb/epdb.py b/epdb/epdb.py index <HASH>..<HASH> 100644 --- a/epdb/epdb.py +++ b/epdb/epdb.py @@ -34,7 +34,6 @@ from pdb import _saferepr class Epdb(pdb.Pdb): _historyPath = os.path.expanduser('~/.epdbhistory') - prompt = '(Epdb) ' multiline_prompt = '| ' fail_silently_on_ioerror = Fal...
fixes: prompt cannot be set until after Pdb.__init__ is called, call Pdb.default with origLine
py
diff --git a/km3pipe/__version__.py b/km3pipe/__version__.py index <HASH>..<HASH> 100644 --- a/km3pipe/__version__.py +++ b/km3pipe/__version__.py @@ -9,7 +9,7 @@ Pep 386 compliant version info. (1, 2, 0, 'beta', 2) => "1.2b2" """ -version_info = (0, 6, 6, 'final', 0) +version_info = (0, 6, 7, 'final', 0) de...
Changes version to <I>
py
diff --git a/hpOneView/servers.py b/hpOneView/servers.py index <HASH>..<HASH> 100644 --- a/hpOneView/servers.py +++ b/hpOneView/servers.py @@ -162,13 +162,10 @@ class servers(object): def add_enclosure(self, enclosure, blocking=True, verbose=False): task, body = self._con.post(uri['enclosures'], enclosure...
Remove the case or raising an exceptoin when another exception could be occuring
py
diff --git a/tests/test_genanki.py b/tests/test_genanki.py index <HASH>..<HASH> 100644 --- a/tests/test_genanki.py +++ b/tests/test_genanki.py @@ -99,6 +99,24 @@ class TestWithCollection: assert imported_deck['name'] == 'foodeck' + def test_generated_deck_has_valid_cards(self): + """ + Generates a deck ...
Add test for bug introduced in <I>d8a<I>
py
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py index <HASH>..<HASH> 100755 --- a/coursera/coursera_dl.py +++ b/coursera/coursera_dl.py @@ -45,13 +45,14 @@ import errno import logging import os import re -import requests import string import StringIO import subprocess import sys import time +im...
coursera: Move third-party imports after the stdlib ones.
py
diff --git a/backtrader/feeds/yahoo.py b/backtrader/feeds/yahoo.py index <HASH>..<HASH> 100644 --- a/backtrader/feeds/yahoo.py +++ b/backtrader/feeds/yahoo.py @@ -297,6 +297,8 @@ class YahooFinanceData(YahooFinanceCSVData): self.f = None return + crumb = urlquote(crumb) + # u...
Fix: crumb in feeds.YahooFinanceData (#<I>) - authorization cookie crumb may contain '/' as character
py
diff --git a/phonenumber_field/phonenumber.py b/phonenumber_field/phonenumber.py index <HASH>..<HASH> 100644 --- a/phonenumber_field/phonenumber.py +++ b/phonenumber_field/phonenumber.py @@ -70,8 +70,7 @@ def to_python(value): phone_number = PhoneNumber(raw_input=value) elif isinstance(value, phonenum...
Update phonenumber_field/phonenumber.py Fixed a bug which appeared when you tried to create new model instance with phonenumber information.
py
diff --git a/conway.py b/conway.py index <HASH>..<HASH> 100755 --- a/conway.py +++ b/conway.py @@ -36,24 +36,21 @@ def main(): print term.civis, # hide cursor print term.clear, - while True: + for frame_end in seconds_from_now(0.05): try: - target_time = time() + 0.05 - ...
Make main() comprise a more tolerable percentage of timing code.
py
diff --git a/trie/binary.py b/trie/binary.py index <HASH>..<HASH> 100644 --- a/trie/binary.py +++ b/trie/binary.py @@ -64,6 +64,8 @@ class BinaryTrie(object): nodetype, left_child, right_child = parse_node(self.db[node_hash]) # Key-value node descend if nodetype == LEAF_TYPE: + if ...
fix: make key who's prefix is the same as one of the existing key invalid
py
diff --git a/appnexus/model.py b/appnexus/model.py index <HASH>..<HASH> 100644 --- a/appnexus/model.py +++ b/appnexus/model.py @@ -84,12 +84,12 @@ class Campaign(Model): return Profile.find_one(id=self.profile_id) -def gen_services(services_list): +def create_models(services_list): for service in serv...
This is not a generator, and it's not outputing services but models
py
diff --git a/imgaug/imgaug.py b/imgaug/imgaug.py index <HASH>..<HASH> 100644 --- a/imgaug/imgaug.py +++ b/imgaug/imgaug.py @@ -892,13 +892,6 @@ def draw_text(img, y, x, text, color=(0, 255, 0), size=25): if img.dtype == np.float32: img = img.astype(np.uint8) - for i in range(len(color)): - val...
Remove dubious color normalization from draw_text()
py
diff --git a/test/test.py b/test/test.py index <HASH>..<HASH> 100644 --- a/test/test.py +++ b/test/test.py @@ -27,7 +27,7 @@ for entry in os.listdir(sys.argv[1]): # Run the test. test_fname = gold_fname[:-len(suffix):] + '.py' command = '%s %s'%(sys.executable, test_fname) - #print(command) + print...
Echo command to stdout.
py
diff --git a/splinter/driver/__init__.py b/splinter/driver/__init__.py index <HASH>..<HASH> 100644 --- a/splinter/driver/__init__.py +++ b/splinter/driver/__init__.py @@ -17,9 +17,6 @@ class DriverAPI(object): def reload(self): raise NotImplementedError - def switch_to_frame(self, id): - r...
switch_to_frame method removed, use the new get_iframe instead.
py
diff --git a/packages/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py b/packages/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py index <HASH>..<HASH> 100644 --- a/packages/aws-cdk/lib/init-templates/sample-app/...
Change id to construct_id in Python sample-app
py
diff --git a/path.py b/path.py index <HASH>..<HASH> 100644 --- a/path.py +++ b/path.py @@ -87,7 +87,7 @@ if PY2: codecs.register_error('surrogateescape', surrogate_escape) ############################################################################## -__version__ = '6.0' +__version__ = '6.1' __all__ = ['path',...
Bumped to <I> in preparation for next release.
py
diff --git a/flask_resty/view.py b/flask_resty/view.py index <HASH>..<HASH> 100644 --- a/flask_resty/view.py +++ b/flask_resty/view.py @@ -348,12 +348,14 @@ class ModelView(ApiView): # Flushing allows checking invariants without committing. self.session.flush() except IntegrityError: ...
Log database integrity errors (#<I>)
py
diff --git a/treeherder/model/management/commands/run_sql.py b/treeherder/model/management/commands/run_sql.py index <HASH>..<HASH> 100644 --- a/treeherder/model/management/commands/run_sql.py +++ b/treeherder/model/management/commands/run_sql.py @@ -78,14 +78,15 @@ class Command(BaseCommand): for datasource...
Bug <I> - run_sql: Commit the transaction after executing it Otherwise any changes are discarded. The connection is also now closed properly after we're done with it.
py
diff --git a/agon/models.py b/agon/models.py index <HASH>..<HASH> 100644 --- a/agon/models.py +++ b/agon/models.py @@ -44,6 +44,12 @@ class TargetStat(models.Model): class Meta: unique_together = [("target_content_type", "target_object_id")] + + @classmethod + def update_points(cls, given,...
better abstraction and ensure update_points is called when IntegrityError is raised
py
diff --git a/linguist/mixins.py b/linguist/mixins.py index <HASH>..<HASH> 100644 --- a/linguist/mixins.py +++ b/linguist/mixins.py @@ -108,11 +108,10 @@ class ModelMeta(models.base.ModelBase): def __new__(cls, name, bases, attrs): - from .fields import TranslationField, CacheDescriptor + from .fi...
pep8 fixes in mixins.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='encviewfuse.commons', - version='0.2.2', + version='0.2.3', description='Common encryption utilities for the impleme...
Updated version and travis config.
py
diff --git a/basis/models.py b/basis/models.py index <HASH>..<HASH> 100644 --- a/basis/models.py +++ b/basis/models.py @@ -57,6 +57,10 @@ class BasisModel(TimeStampModel, PersistentModel): abstract = True def save(self, *args, **kwargs): + try: + kwargs['current_user'] = self.current_u...
Added handling for update In the case of model creation, the `current_user` is given through kwargs, so the current logic works fine. However, in the `update` case, `rest_framework` uses `setattr`, so `current_user` is only accessible through `self.current_user`.
py
diff --git a/tests/tests.py b/tests/tests.py index <HASH>..<HASH> 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -986,27 +986,6 @@ class RegressionSuite(TestCase): @unittest.skipUnless(LIVE_TEST, "requires HOST variable to be set") -class TestLoadBalancer(DbTestCase): - def test_second(self): - serv...
Removed TestLoadBalancer LoadBalancer is now deprecated
py
diff --git a/mot/model_building/model_builders.py b/mot/model_building/model_builders.py index <HASH>..<HASH> 100644 --- a/mot/model_building/model_builders.py +++ b/mot/model_building/model_builders.py @@ -1,8 +1,6 @@ import numpy as np import copy - from six import string_types - from mot.cl_data_type import Simp...
Adds fixed check in the init value method. This to prevent overwriting fixations by initialization
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -31,6 +31,7 @@ setup( 'License :: OSI Approved :: BSD License', 'Programming Language :: C', 'Programming Language :: Python', + 'Programming Language :: Python :: 3', 'Topi...
oops, add Python 3 to setup.py for PyPI category inclusion.
py
diff --git a/circlator/tasks/all.py b/circlator/tasks/all.py index <HASH>..<HASH> 100644 --- a/circlator/tasks/all.py +++ b/circlator/tasks/all.py @@ -140,6 +140,7 @@ def run(): min_read_length=options.b2r_min_read_length, contigs_to_use=options.b2r_only_contigs, discard_unmapped=options.b2r_...
Pass verbose option to bam2reads
py
diff --git a/libgreader/__init__.py b/libgreader/__init__.py index <HASH>..<HASH> 100644 --- a/libgreader/__init__.py +++ b/libgreader/__init__.py @@ -1,21 +1,12 @@ # -*- coding: utf-8 -*- -""" -libG(oogle)Reader -Copyright (C) 2010 Matt Behrens <askedrelic@gmail.com> http://asktherelic.com - -Python library for wo...
simplify. <I> is what version I'm working toward
py
diff --git a/centinel/backend.py b/centinel/backend.py index <HASH>..<HASH> 100644 --- a/centinel/backend.py +++ b/centinel/backend.py @@ -248,17 +248,18 @@ def sync(config): logging.error("Unable to create user: %s" % str(exp)) return - # send all results (.tar.bz2 + .json + .pcap.bz2) + # se...
results upload mechanism now supporst compressed external files
py
diff --git a/allennlp/common/tee_logger.py b/allennlp/common/tee_logger.py index <HASH>..<HASH> 100644 --- a/allennlp/common/tee_logger.py +++ b/allennlp/common/tee_logger.py @@ -23,11 +23,11 @@ class TeeLogger: def write(self, message): self.terminal.write(message) # We'll special case a particu...
Change backspace to carriage return in TeeLogger. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + import os.path import sys @@ -7,6 +10,11 @@ full_version = '' root_dir = os.path.abspath(os.path.dirname(__file__)) +py_version = sys.version_info[:2] + +...
made the setup.py not fail with error on python 2
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ sqlalchemy_requires = ["sqlalchemy<=1.3.99999,>=0.9", "sqlalchemy-utils<=0.36.99 axonserver_requires = ["axonclient<=0.0.99999"] -ray_requires = ["ray<=0.8.99999", "psutil", "setproctitle"] +ray_requires = ...
Adjusted version of dependency on Ray (stalling on Travis).
py
diff --git a/a10_neutron_lbaas/tests/unit/v2/test_handler_member.py b/a10_neutron_lbaas/tests/unit/v2/test_handler_member.py index <HASH>..<HASH> 100644 --- a/a10_neutron_lbaas/tests/unit/v2/test_handler_member.py +++ b/a10_neutron_lbaas/tests/unit/v2/test_handler_member.py @@ -76,10 +76,10 @@ class TestMembers(test_ba...
correction in unit tests for conn-resume and conn-limit
py
diff --git a/ethereum/__init__.py b/ethereum/__init__.py index <HASH>..<HASH> 100644 --- a/ethereum/__init__.py +++ b/ethereum/__init__.py @@ -17,11 +17,11 @@ GIT_DESCRIBE_RE = re.compile( __version__ = None try: - _dist = get_distribution('pyethapp') + _dist = get_distribution('ethereum') # Normalize ca...
must check right distribution name not pyethapp see issue #<I>
py
diff --git a/cms_lab_publications/admin.py b/cms_lab_publications/admin.py index <HASH>..<HASH> 100644 --- a/cms_lab_publications/admin.py +++ b/cms_lab_publications/admin.py @@ -68,8 +68,8 @@ class PublicationAdmin(admin.ModelAdmin): fieldsets = [ fieldset_pubmed_query, - fieldset_files, ...
Place metadata fieldset immediately after query fieldset
py