diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/MAVProxy/modules/mavproxy_link.py b/MAVProxy/modules/mavproxy_link.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_link.py +++ b/MAVProxy/modules/mavproxy_link.py @@ -183,10 +183,17 @@ class LinkModule(mp_module.MPModule): try: (device, optional_attributes) = self.parse...
MAVProxy: try creating a connection both with and without force-connected backwards-compatability while people get their pymavlinks updated
py
diff --git a/lib/svtplay_dl/output.py b/lib/svtplay_dl/output.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/output.py +++ b/lib/svtplay_dl/output.py @@ -123,6 +123,8 @@ def output(options, extention="mp4", openfd=True): ext = re.search(r"(\.[a-z0-9]+)$", options.output) if not ext: ...
output: extract the filename and add srt file extension to it. Issue is that when we specify filename with -o the subtitles is written to that file and later when we want to save the video to that file. the file already exists.
py
diff --git a/rtmbot/core.py b/rtmbot/core.py index <HASH>..<HASH> 100755 --- a/rtmbot/core.py +++ b/rtmbot/core.py @@ -34,7 +34,7 @@ class RtmBot(object): working_directory = os.path.abspath(os.path.dirname(sys.argv[0])) self.directory = self.config.get('BASE_PATH', working_directory) if not ...
Fix up another unix-path-ism
py
diff --git a/tests/functional/conflict_test.py b/tests/functional/conflict_test.py index <HASH>..<HASH> 100644 --- a/tests/functional/conflict_test.py +++ b/tests/functional/conflict_test.py @@ -26,7 +26,6 @@ mccabe==0.2 out = T.uncolor(out) assert ''' -Successfully installed flake8 mccabe pyflakes pep8 set...
can't assert the "successfully installed" lines bc the module names are not well sorted -.-
py
diff --git a/tests/providers/test_route_provider.py b/tests/providers/test_route_provider.py index <HASH>..<HASH> 100644 --- a/tests/providers/test_route_provider.py +++ b/tests/providers/test_route_provider.py @@ -10,6 +10,8 @@ from masonite.routes import Get, Match, Route from masonite.testsuite.TestSuite import gen...
added auth manager to route provider tests
py
diff --git a/gcloud_requests/requests_connection.py b/gcloud_requests/requests_connection.py index <HASH>..<HASH> 100644 --- a/gcloud_requests/requests_connection.py +++ b/gcloud_requests/requests_connection.py @@ -9,7 +9,7 @@ from gcloud.logging.connection import Connection as GCloudLoggingConnection from gcloud.pubs...
Use fully qualified urllib3 Retry import See shazow/urllib3#<I> for what is happening here
py
diff --git a/configure.py b/configure.py index <HASH>..<HASH> 100755 --- a/configure.py +++ b/configure.py @@ -189,13 +189,13 @@ n.newline() if platform == 'windows': n.rule('cxx', command='$cxx /showIncludes $cflags -c $in /Fo$out', - depfile='$out.d', description='CXX $out', de...
build ninja itself in deps mode Hopefully will help flush out bugs.
py
diff --git a/penaltymodel_mip/penaltymodel/mip/generation.py b/penaltymodel_mip/penaltymodel/mip/generation.py index <HASH>..<HASH> 100644 --- a/penaltymodel_mip/penaltymodel/mip/generation.py +++ b/penaltymodel_mip/penaltymodel/mip/generation.py @@ -85,9 +85,6 @@ def generate_bqm(graph, table, decision, if not se...
Remove if-statement that prevents non-zero target energy levels from being passed in
py
diff --git a/mr/awsome/ezjail/__init__.py b/mr/awsome/ezjail/__init__.py index <HASH>..<HASH> 100644 --- a/mr/awsome/ezjail/__init__.py +++ b/mr/awsome/ezjail/__init__.py @@ -432,10 +432,10 @@ def get_massagers(): return massagers -def get_masters(main_config): - masters = main_config.get('ez-master', {}) +...
Update to new get_masters interface.
py
diff --git a/demandlib/bdew/elec_slp.py b/demandlib/bdew/elec_slp.py index <HASH>..<HASH> 100644 --- a/demandlib/bdew/elec_slp.py +++ b/demandlib/bdew/elec_slp.py @@ -94,13 +94,13 @@ class ElecSlp: new_df = add_weekdays2df(new_df, holidays=holidays, holiday_is_sunday=True) -...
Consider times after midnight the next day (no <I>:<I>)
py
diff --git a/drawille.py b/drawille.py index <HASH>..<HASH> 100644 --- a/drawille.py +++ b/drawille.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- from collections import defaultdict +import math """ @@ -377,3 +378,17 @@ def line(x1, y1, x2, y2): if xdiff: x += (float(i)*xdiff)/r*xdir ...
[enh] poligon drawing
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,8 +17,6 @@ with open('HISTORY.rst') as history_file: included_packages=find_packages(exclude=['build', 'docs', 'templates']) -print included_packages - requirements = [ 'pyodbc', 'scipy', 'numpy', 'pandas', 'mat...
removes print statements in setup.py
py
diff --git a/python/pywatchman/__init__.py b/python/pywatchman/__init__.py index <HASH>..<HASH> 100644 --- a/python/pywatchman/__init__.py +++ b/python/pywatchman/__init__.py @@ -29,6 +29,9 @@ import os, errno, socket, subprocess import bser +# 2 bytes marker, 1 byte int size, 8 bytes int64 value +sniff_len = 13 + ...
read minimum length when determining pdu length in cases where the session is long lived (eg: subscriptions), reading too much without buffering could lead to skipping over multiple small responses.
py
diff --git a/galpy/actionAngle_src/actionAngleIsochroneApprox.py b/galpy/actionAngle_src/actionAngleIsochroneApprox.py index <HASH>..<HASH> 100644 --- a/galpy/actionAngle_src/actionAngleIsochroneApprox.py +++ b/galpy/actionAngle_src/actionAngleIsochroneApprox.py @@ -191,7 +191,7 @@ class actionAngleIsochroneApprox(acti...
Fix internal call of actionsFreqs in actionAngleIsochroneApprox
py
diff --git a/aioimaplib/tests/test_aioimaplib.py b/aioimaplib/tests/test_aioimaplib.py index <HASH>..<HASH> 100644 --- a/aioimaplib/tests/test_aioimaplib.py +++ b/aioimaplib/tests/test_aioimaplib.py @@ -882,10 +882,12 @@ class TestAioimaplibClocked(AioWithImapServer, asynctest.ClockedTestCase): @asyncio.coroutine ...
fix interaction between idle loop and server keepalive the server sends a keepalive every <I>s, so this test was failing, with the client reading the first "OK Still here", rather than the expected stop_wait_server_push. Refs #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,10 +26,10 @@ tests_require = [ dev_requires = [ - "black==19.3b0", - "flake8==3.7.7", - "flake8-black==0.1.0", - "flake8-bugbear==19.3.0", + "black==19.10b0", + "flake8==3.7.9", + "flake8-black==0...
Update dev dependencies (#<I>)
py
diff --git a/pipenv/core.py b/pipenv/core.py index <HASH>..<HASH> 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1441,7 +1441,7 @@ def pip_install( ignore_hashes = True else: ignore_hashes = True if not requirement.hashes else False - install_reqs = requirement.as_line(as_lis...
re-add setting to make environment active when running shell
py
diff --git a/phy/utils/settings.py b/phy/utils/settings.py index <HASH>..<HASH> 100644 --- a/phy/utils/settings.py +++ b/phy/utils/settings.py @@ -61,7 +61,7 @@ class BaseSettings(object): def _try_load_pickle(self, path): try: - self._store._update(_load_pickle(path)) + self._stor...
WIP: refactor settings.
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(os.path.join(here, 'README.md'), encoding='utf-8') as f: setup( name='hexdi', - version='0.1.0', + version='0.1.1', packages=find_packages(include=('hexdi',)), classifiers=[ ...
Updated version to <I>
py
diff --git a/tests/test_plugin.py b/tests/test_plugin.py index <HASH>..<HASH> 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -42,11 +42,10 @@ class TestTimedPlugin(unittest.TestCase): def test_run(self): plugin = vodka.plugin.get_instance({"type": "timed_test", "interval": 0.01}) ...
adjust TimedPlugin test to be less unreliable
py
diff --git a/ford/sourceform.py b/ford/sourceform.py index <HASH>..<HASH> 100644 --- a/ford/sourceform.py +++ b/ford/sourceform.py @@ -1718,12 +1718,11 @@ def line_to_variables(source, line, inherit_permission, parent): dec = re.sub(" ","",dec) split = ford.utils.paren_split('=',dec) if len(s...
Ensured strings will be replaced in all initialization statements, not just for character variables.
py
diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py index <HASH>..<HASH> 100644 --- a/qiskit/circuit/quantumcircuit.py +++ b/qiskit/circuit/quantumcircuit.py @@ -1811,7 +1811,7 @@ class QuantumCircuit: # Add to the stacks of the qubits and # cbits used in t...
Resolve performance regression in `QuantumCircuit.depth()`. (#<I>) Resolves #<I>
py
diff --git a/OpenPNM/Base/__Controller__.py b/OpenPNM/Base/__Controller__.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Base/__Controller__.py +++ b/OpenPNM/Base/__Controller__.py @@ -33,6 +33,28 @@ class Controller(dict): print("{a:<25s} {b:<25s}".format(a=self[item].__class__.__name__, b=item)) r...
Playing around with printing a hierarchy of objects
py
diff --git a/smbl/prog/plugins/mrsfast.py b/smbl/prog/plugins/mrsfast.py index <HASH>..<HASH> 100644 --- a/smbl/prog/plugins/mrsfast.py +++ b/smbl/prog/plugins/mrsfast.py @@ -26,7 +26,7 @@ class MrsFast(Program): @classmethod def install(cls): - cls.git_clone("git://git.code.sf.net/p/mrsfast/code","") + cls...
New GIT repository for MrsFasta
py
diff --git a/pythomics/scripts/ptmSummary.py b/pythomics/scripts/ptmSummary.py index <HASH>..<HASH> 100755 --- a/pythomics/scripts/ptmSummary.py +++ b/pythomics/scripts/ptmSummary.py @@ -88,7 +88,7 @@ def main(): matches = all_data[all_data[pep_col] == peptide] df_col_index = (gene, pr...
fix typo with med_norm vs log_norm
py
diff --git a/shinken/modules/glpidb_broker/glpidb_broker.py b/shinken/modules/glpidb_broker/glpidb_broker.py index <HASH>..<HASH> 100644 --- a/shinken/modules/glpidb_broker/glpidb_broker.py +++ b/shinken/modules/glpidb_broker/glpidb_broker.py @@ -237,6 +237,6 @@ class Glpidb_broker(BaseModule): table = 'gl...
Fix : (reported by:)
py
diff --git a/modeltranslation/translator.py b/modeltranslation/translator.py index <HASH>..<HASH> 100644 --- a/modeltranslation/translator.py +++ b/modeltranslation/translator.py @@ -130,35 +130,8 @@ class MultilingualOptions(options.Options): @cached_property def base_manager(self): - """ - B...
base_manger now working based on super
py
diff --git a/src/transformers/modeling_auto.py b/src/transformers/modeling_auto.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_auto.py +++ b/src/transformers/modeling_auto.py @@ -938,7 +938,7 @@ class AutoModelForMaskedLM: This is a generic model class that will be instantiated as one of the model ...
Fix typo in `AutoModelForMaskedLM` docs (#<I>)
py
diff --git a/nodeconductor/iaas/views.py b/nodeconductor/iaas/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/views.py +++ b/nodeconductor/iaas/views.py @@ -474,9 +474,9 @@ class InstanceViewSet(mixins.CreateModelMixin, if not instance.backend_id: raise Http404() - yesterday...
Rename variable (NC-<I>)
py
diff --git a/examples/text_classification/tutorial_imdb_fasttext.py b/examples/text_classification/tutorial_imdb_fasttext.py index <HASH>..<HASH> 100644 --- a/examples/text_classification/tutorial_imdb_fasttext.py +++ b/examples/text_classification/tutorial_imdb_fasttext.py @@ -78,8 +78,9 @@ class FastTextClassifier(ob...
fasttext classification example runnable and accurate (graph mode only)
py
diff --git a/farnswiki/hooks.py b/farnswiki/hooks.py index <HASH>..<HASH> 100644 --- a/farnswiki/hooks.py +++ b/farnswiki/hooks.py @@ -1,8 +1,13 @@ + from wiki.hooks import WikiDefaultHookset +from utils.variables import ANONYMOUS_USERNAME + class ProjectWikiHookset(WikiDefaultHookset): def _perm_check(self, w...
Removed edit / delete permissions from anonymous user
py
diff --git a/bioutils/digests.py b/bioutils/digests.py index <HASH>..<HASH> 100644 --- a/bioutils/digests.py +++ b/bioutils/digests.py @@ -8,6 +8,27 @@ from .sequences import normalize_sequence, to_binary from .vmc_digest import vmc_digest +def seq_seqhash(seq, normalize=True): + """returns 24-byte Truncated Di...
closed #5: re-add seq_seqhash used by seqrepo
py
diff --git a/tests/test_modules.py b/tests/test_modules.py index <HASH>..<HASH> 100644 --- a/tests/test_modules.py +++ b/tests/test_modules.py @@ -89,6 +89,7 @@ def make_operation_tests(arg): ]) else: if hasattr(command[0], 'read'): + ...
Return to start of file-like objects before comparing in tests.
py
diff --git a/twss.py b/twss.py index <HASH>..<HASH> 100755 --- a/twss.py +++ b/twss.py @@ -53,6 +53,10 @@ class ServeTWSS(SocketServer.BaseRequestHandler): log.write("False\n") log.flush() -server = SocketServer.TCPServer(("", PORT), ServeTWSS) -server.serve_forever() +def serve(): + server =...
Added check to see if name is main
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -122,7 +122,7 @@ class TestOrders(unittest.TestCase): response = service.complete(orderRef=response['orderRef']) self.assertEquals(type(response), XmlDictConfig) ...
Changed from NoRecordFound to Order_OrderProcessing error codes
py
diff --git a/modin/core/dataframe/pandas/dataframe/dataframe.py b/modin/core/dataframe/pandas/dataframe/dataframe.py index <HASH>..<HASH> 100644 --- a/modin/core/dataframe/pandas/dataframe/dataframe.py +++ b/modin/core/dataframe/pandas/dataframe/dataframe.py @@ -531,10 +531,11 @@ class PandasDataframe(object): ...
FIX-#<I>: Move code to raise error to appropriate place. (#<I>)
py
diff --git a/test/full_test.py b/test/full_test.py index <HASH>..<HASH> 100755 --- a/test/full_test.py +++ b/test/full_test.py @@ -95,8 +95,8 @@ def run_canonical_tests(mode, checker, protocol, cores, slices): "cores" : cores, "slices" : slices, ...
Even ++longer timeout for corruption tests.
py
diff --git a/tools/log_tools/logmerger.py b/tools/log_tools/logmerger.py index <HASH>..<HASH> 100755 --- a/tools/log_tools/logmerger.py +++ b/tools/log_tools/logmerger.py @@ -50,6 +50,8 @@ def decorated_log_split(f, offset, keyfunc, fnamedict = {}): \s+ (?P<me...
Write out useful if no 'valid' timestamp is found in the file.
py
diff --git a/tools/harness-automation/autothreadharness/runner.py b/tools/harness-automation/autothreadharness/runner.py index <HASH>..<HASH> 100644 --- a/tools/harness-automation/autothreadharness/runner.py +++ b/tools/harness-automation/autothreadharness/runner.py @@ -106,10 +106,14 @@ class SimpleTestResult(unittest...
[harness-automation] save case failure times (#<I>) Save failure times for each case for judging if case passes randomly.
py
diff --git a/pmxbot/logging.py b/pmxbot/logging.py index <HASH>..<HASH> 100644 --- a/pmxbot/logging.py +++ b/pmxbot/logging.py @@ -287,8 +287,8 @@ class MongoDBLogger(Logger, storage.MongoDBStorage): oid_time = storage.pymongo.objectid.ObjectId.from_datetime(dt) # store the original sqlite object ID in the o...
Use a platform-independent struct and big-endian for better MongoDB compatibility
py
diff --git a/salt/modules/augeas_cfg.py b/salt/modules/augeas_cfg.py index <HASH>..<HASH> 100644 --- a/salt/modules/augeas_cfg.py +++ b/salt/modules/augeas_cfg.py @@ -4,10 +4,12 @@ Manages configuration files via augeas :depends: - Augeas Python adapter ''' # Load Augeas libs +has_augeas = False try: from au...
Change Augeas to has_augeas. It seems that this is more commonplace.
py
diff --git a/scss/namespace.py b/scss/namespace.py index <HASH>..<HASH> 100644 --- a/scss/namespace.py +++ b/scss/namespace.py @@ -47,12 +47,10 @@ class Scope(object): self.set(key, value) def __contains__(self, key): - try: - self[key] - except KeyError: - return Fal...
Avoid relying on KeyError in Scope, which might be a whole tree of Scopes!
py
diff --git a/molo/commenting/forms.py b/molo/commenting/forms.py index <HASH>..<HASH> 100644 --- a/molo/commenting/forms.py +++ b/molo/commenting/forms.py @@ -1,4 +1,5 @@ from django import forms +from django.contrib.auth import get_user_model from django.forms import ModelChoiceField from django.utils.translation i...
improved check to allow admins to duplicate posts
py
diff --git a/test/data/test_field.py b/test/data/test_field.py index <HASH>..<HASH> 100644 --- a/test/data/test_field.py +++ b/test/data/test_field.py @@ -1,4 +1,6 @@ from unittest import TestCase + +import six import torchtext.data as data @@ -94,7 +96,7 @@ class TestField(TestCase): assert data.get_tok...
SpaCy tok only takes unicode, so convert with six
py
diff --git a/turberfield/dialogue/viewer.py b/turberfield/dialogue/viewer.py index <HASH>..<HASH> 100644 --- a/turberfield/dialogue/viewer.py +++ b/turberfield/dialogue/viewer.py @@ -73,8 +73,9 @@ def resolve_objects(args): return folder, references def cgi_consumer(args): + folder, references = resolve_obje...
Fixed CGI consumer rehearse call.
py
diff --git a/src/fonduer/supervision/labeler.py b/src/fonduer/supervision/labeler.py index <HASH>..<HASH> 100644 --- a/src/fonduer/supervision/labeler.py +++ b/src/fonduer/supervision/labeler.py @@ -71,6 +71,7 @@ class Labeler(UDFRunner): lfs: List[List[Callable]] = None, parallelism: int = None, ...
Add 'table' arg to Labeler.update (which should have been implemented by #<I>)
py
diff --git a/fluent_blogs/admin/entryadmin.py b/fluent_blogs/admin/entryadmin.py index <HASH>..<HASH> 100644 --- a/fluent_blogs/admin/entryadmin.py +++ b/fluent_blogs/admin/entryadmin.py @@ -3,6 +3,7 @@ import django from django.conf import settings from django.contrib import admin from django.contrib.admin import w...
Fix form check for publication_date, make optional in the form.
py
diff --git a/pipenv/utils.py b/pipenv/utils.py index <HASH>..<HASH> 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -1159,7 +1159,7 @@ class TemporaryDirectory(object): return "<{} {!r}>".format(self.__class__.__name__, self.name) def __enter__(self): - return self.name + return self...
@techalchemy __enter__ methods return instances of the object, not a property of them :)
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -360,7 +360,7 @@ class Compiler(object): # Add the requires to the reqs dict and check them # all for recursive requisites. ...
state.py: check that "onchanges" is a list
py
diff --git a/redis/client.py b/redis/client.py index <HASH>..<HASH> 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1510,8 +1510,8 @@ class Lock(object): holding the lock. Note: If using ``timeout``, you should make sure all the hosts - that are running clients are within the same time...
Remove documentation reference to timezones for Locks. As Unix time is used, timezone should be irrelevant.
py
diff --git a/pybrightcove/exceptions.py b/pybrightcove/exceptions.py index <HASH>..<HASH> 100644 --- a/pybrightcove/exceptions.py +++ b/pybrightcove/exceptions.py @@ -44,6 +44,8 @@ class BrightcoveError(Exception): if "code" in data and data["code"] in ERROR_MAP: error = ERROR_MAP[data["code"]]() ...
replace description with actual message from server, which is more useful
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,6 @@ setup(name=PACKAGE_NAME, 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Pyt...
Remove python <I> from setup.py
py
diff --git a/src/you_get/extractors/nanagogo.py b/src/you_get/extractors/nanagogo.py index <HASH>..<HASH> 100644 --- a/src/you_get/extractors/nanagogo.py +++ b/src/you_get/extractors/nanagogo.py @@ -15,6 +15,7 @@ def nanagogo_download(url, output_dir='.', merge=True, info_only=False, **kwargs for i in info['data']...
[<I>] skip stamp images
py
diff --git a/pdfconduit/__init__.py b/pdfconduit/__init__.py index <HASH>..<HASH> 100644 --- a/pdfconduit/__init__.py +++ b/pdfconduit/__init__.py @@ -1,6 +1,6 @@ __all__ = ["upscale", "rotate", "Encrypt", "Merge", "Watermark", "Label", "WatermarkAdd", "slicer", "GUI"] -__version__ = '1.1.2' +__version__ =...
Updated to version <I>
py
diff --git a/rqalpha/utils/arg_checker.py b/rqalpha/utils/arg_checker.py index <HASH>..<HASH> 100644 --- a/rqalpha/utils/arg_checker.py +++ b/rqalpha/utils/arg_checker.py @@ -371,13 +371,15 @@ def apply_rules(*rules): try: call_args = inspect.getcallargs(unwrapper(func), *args, **k...
fix for python2
py
diff --git a/examples/plot_pmt_directions.py b/examples/plot_pmt_directions.py index <HASH>..<HASH> 100644 --- a/examples/plot_pmt_directions.py +++ b/examples/plot_pmt_directions.py @@ -10,7 +10,6 @@ Plot the PMT directions for a given DOM. # License: BSD-3 from mpl_toolkits.mplot3d import axes3d import matplotlib....
Remove manual formatting since its now in our defaults
py
diff --git a/lib/svtplay_dl/service/__init__.py b/lib/svtplay_dl/service/__init__.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/__init__.py +++ b/lib/svtplay_dl/service/__init__.py @@ -2,7 +2,7 @@ # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- from __future__ import absolute_import im...
service: missing urlparse for py3
py
diff --git a/redis.py b/redis.py index <HASH>..<HASH> 100644 --- a/redis.py +++ b/redis.py @@ -491,11 +491,8 @@ class Redis(object): >>> r = Redis(db=9) >>> r.delete('l') 1 - >>> try: - ... r.ltrim('l', 0, 1) - ... except ResponseError, e: - ... print e - ...
fixed a test problem with the latest changes to ltrim
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -303,10 +303,13 @@ asm_key = '' if BUILD_WITH_BORING_SSL_ASM and not BUILD_WITH_SYSTEM_OPENSSL: LINUX_X86_64 = 'linux-x86_64' LINUX_ARM = 'linux-arm' + LINUX_AARCH64 = 'linux-aarch64' if LINUX_X86_64 == util...
use boringssl asm optimizations in aarch<I> wheel source build
py
diff --git a/posts/tests/runtests.py b/posts/tests/runtests.py index <HASH>..<HASH> 100644 --- a/posts/tests/runtests.py +++ b/posts/tests/runtests.py @@ -0,0 +1,18 @@ +import sys + +from django_coverage.coverage_runner import CoverageRunner +from django_nose import NoseTestSuiteRunner + + +class NoseCoverageTestRunner...
write basic runtests function with nosetestsuiterunner and coveragerunner
py
diff --git a/estnltk/estnltk/taggers/system/dict_taggers/phrase_tagger.py b/estnltk/estnltk/taggers/system/dict_taggers/phrase_tagger.py index <HASH>..<HASH> 100644 --- a/estnltk/estnltk/taggers/system/dict_taggers/phrase_tagger.py +++ b/estnltk/estnltk/taggers/system/dict_taggers/phrase_tagger.py @@ -140,8 +140,8 @@ c...
Removed printing from PhraseTaggr
py
diff --git a/src/shellingham/__init__.py b/src/shellingham/__init__.py index <HASH>..<HASH> 100644 --- a/src/shellingham/__init__.py +++ b/src/shellingham/__init__.py @@ -4,7 +4,7 @@ import os from ._core import ShellDetectionFailure -__version__ = '1.2.5' +__version__ = '1.2.6.dev0' def detect_shell(pid=None...
Prebump to <I>.dev0
py
diff --git a/sanic/response.py b/sanic/response.py index <HASH>..<HASH> 100644 --- a/sanic/response.py +++ b/sanic/response.py @@ -80,7 +80,7 @@ class HTTPResponse: if body is not None: self.body = body - if type(body) is str: + if isinstance(body, str): s...
Update response.py Type check by isinstance
py
diff --git a/plugins/PluginOpenSSLCipherSuites.py b/plugins/PluginOpenSSLCipherSuites.py index <HASH>..<HASH> 100644 --- a/plugins/PluginOpenSSLCipherSuites.py +++ b/plugins/PluginOpenSSLCipherSuites.py @@ -139,8 +139,8 @@ class PluginOpenSSLCipherSuites(PluginBase.PluginBase): txt_titles = [('prefer...
Clarify and emphasize and cipher suites that triggered an unexpected error
py
diff --git a/lightflow/models/dag.py b/lightflow/models/dag.py index <HASH>..<HASH> 100644 --- a/lightflow/models/dag.py +++ b/lightflow/models/dag.py @@ -150,16 +150,19 @@ class Dag: tasks.append(node) # process tasks as long as there are tasks in the task list + stopped = False ...
Reduce stop signal requests during dag run
py
diff --git a/dipper/utils/DipperUtil.py b/dipper/utils/DipperUtil.py index <HASH>..<HASH> 100644 --- a/dipper/utils/DipperUtil.py +++ b/dipper/utils/DipperUtil.py @@ -69,10 +69,12 @@ class DipperUtil: result = request.json()['esearchresult'] tax_num = None - if str(result['count']) == '1'...
expose a warning used in GO
py
diff --git a/holoviews/core/tree.py b/holoviews/core/tree.py index <HASH>..<HASH> 100644 --- a/holoviews/core/tree.py +++ b/holoviews/core/tree.py @@ -200,7 +200,7 @@ class AttrTree(object): except AttributeError: pass if self.fixed==True: raise AttributeError(self._fixed_error % identifie...
Fixed arbitrary underscore attributes being set as Layout nodes
py
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -253,6 +253,19 @@ class RlzsAssoc(collections.Mapping): lambda group: sorted(valid.gsim(gsim) f...
Added a method get_rlzs_by_gsim
py
diff --git a/djmoney_rates/__init__.py b/djmoney_rates/__init__.py index <HASH>..<HASH> 100644 --- a/djmoney_rates/__init__.py +++ b/djmoney_rates/__init__.py @@ -1 +1 @@ -__version__ = '0.3.0' +__version__ = '0.3.1'
bumped version to <I>
py
diff --git a/barcode/writer.py b/barcode/writer.py index <HASH>..<HASH> 100755 --- a/barcode/writer.py +++ b/barcode/writer.py @@ -10,11 +10,14 @@ import xml.dom from barcode import __release__ try: - from PIL import Image, ImageDraw, ImageFont + import Image, ImageDraw, ImageFont except ImportError: - im...
Fixed issue #2. PIL check is now working with PIL installed as egg.
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -1825,6 +1825,7 @@ class Syndic(Minion): opts['loop_interval'] = 1 super(Syndic, self).__init__(opts, **kwargs) self.mminion = salt.minion.MasterMinion(opts) + self.jid...
Fix Syndic to only forward unforwarded loads
py
diff --git a/usb1.py b/usb1.py index <HASH>..<HASH> 100644 --- a/usb1.py +++ b/usb1.py @@ -382,6 +382,8 @@ class USBTransfer(object): """ Replace buffer with a new one. Allows resizing read buffer and replacing data sent. + Note: resizing is not allowed for isochornous buffer (use + ...
Prevent setBuffer from resizing isochronous buffer. This would require checking iso transfer sanity, which is done in setIsochronous already.
py
diff --git a/tests/test_encode_decode.py b/tests/test_encode_decode.py index <HASH>..<HASH> 100644 --- a/tests/test_encode_decode.py +++ b/tests/test_encode_decode.py @@ -15,6 +15,10 @@ import io import pytest import segno try: + FileNotFoundError +except NameError: # Py2 + FileNotFoundError = OSError +try: ...
Use OSError rather than FileNotFoundError since the latter is Py3 only
py
diff --git a/scss/rule.py b/scss/rule.py index <HASH>..<HASH> 100644 --- a/scss/rule.py +++ b/scss/rule.py @@ -9,7 +9,7 @@ from scss.types import Value, Undefined log = logging.getLogger(__name__) -SORTED_SELECTORS = True +SORTED_SELECTORS = False sort = sorted if SORTED_SELECTORS else lambda it: it
Default to NOT sorting selectors. :)
py
diff --git a/src/wagtail_factories/factories.py b/src/wagtail_factories/factories.py index <HASH>..<HASH> 100644 --- a/src/wagtail_factories/factories.py +++ b/src/wagtail_factories/factories.py @@ -4,19 +4,18 @@ import factory from django.utils.text import slugify from factory import errors, utils from factory.decl...
Cleanup imports and add Wagtail <I>+ test support
py
diff --git a/root_numpy/tests.py b/root_numpy/tests.py index <HASH>..<HASH> 100644 --- a/root_numpy/tests.py +++ b/root_numpy/tests.py @@ -685,6 +685,12 @@ def test_array2root(): ('w', np.bool)]) tmp_fd, tmp_path = tempfile.mkstemp(suffix='.root') rnp.array2root(a, tmp_path, mode='recreate') + ...
test tree extention in array2root
py
diff --git a/spyderlib/widgets/externalshell/sitecustomize.py b/spyderlib/widgets/externalshell/sitecustomize.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/sitecustomize.py +++ b/spyderlib/widgets/externalshell/sitecustomize.py @@ -270,7 +270,8 @@ else: This input hook wait fo...
sitecustomize: Minor fix in a docstring
py
diff --git a/ReText/window.py b/ReText/window.py index <HASH>..<HASH> 100644 --- a/ReText/window.py +++ b/ReText/window.py @@ -1055,12 +1055,12 @@ class ReTextWindow(QMainWindow): text = convertToUnicode(self.editBoxes[self.ind].toPlainText()) markup = self.markups[self.ind] realTitle = '' - if markup: + if ...
getDocumentTitle: don't attempt to get "real" title when baseName=True
py
diff --git a/mpop/plugin_base.py b/mpop/plugin_base.py index <HASH>..<HASH> 100644 --- a/mpop/plugin_base.py +++ b/mpop/plugin_base.py @@ -48,10 +48,22 @@ class Plugin(object): conf.read(self.config_file) self.load_config(conf) + @staticmethod + def _runtime_import(object_path): + ...
Added method to base plugin to determine type of a section
py
diff --git a/pyqode/python/folding.py b/pyqode/python/folding.py index <HASH>..<HASH> 100644 --- a/pyqode/python/folding.py +++ b/pyqode/python/folding.py @@ -27,7 +27,7 @@ class PythonFoldDetector(IndentFoldDetector): # find block that starts the docstring p = prev_block.previous() ...
Fix tests (infinite loop when detecting docstring fold indent)
py
diff --git a/cufflinks/tools.py b/cufflinks/tools.py index <HASH>..<HASH> 100644 --- a/cufflinks/tools.py +++ b/cufflinks/tools.py @@ -518,6 +518,7 @@ def get_annotations(df,annotations,kind='lines',theme=None,**kwargs): ay=annotation.get('ay',-100), textangle=annotation.get('textangle',-90), ...
Add support for opacity in annotations
py
diff --git a/synapse/cores/common.py b/synapse/cores/common.py index <HASH>..<HASH> 100644 --- a/synapse/cores/common.py +++ b/synapse/cores/common.py @@ -1760,6 +1760,7 @@ class Cortex(EventBus, DataModel, Runtime, s_ingest.IngestApi): adds = [] rows = [] + allfulls =...
When processing events with addTufoEvents, defer the autoadds until after the original nodes have been created. This addresses an issue where the autoadd'd events may have required props which are not included in autoadds.
py
diff --git a/fatbotslim/irc/__init__.py b/fatbotslim/irc/__init__.py index <HASH>..<HASH> 100644 --- a/fatbotslim/irc/__init__.py +++ b/fatbotslim/irc/__init__.py @@ -35,16 +35,17 @@ class NullMessage(Exception): class Message(object): def __init__(self, data): self._raw = data - self.src, self.co...
add a dst attribute to Message objects to store the message destination (only used with PRIVMSG events)
py
diff --git a/safe/impact_functions/test/test_registry.py b/safe/impact_functions/test/test_registry.py index <HASH>..<HASH> 100644 --- a/safe/impact_functions/test/test_registry.py +++ b/safe/impact_functions/test/test_registry.py @@ -204,6 +204,7 @@ class TestRegistry(unittest.TestCase): impact_functions = re...
Fixed failing test for #<I>
py
diff --git a/qa_tests/risk/__init__.py b/qa_tests/risk/__init__.py index <HASH>..<HASH> 100644 --- a/qa_tests/risk/__init__.py +++ b/qa_tests/risk/__init__.py @@ -213,6 +213,9 @@ class CompleteTestCase(object): print "Problems with output %s" % str(data_hash) raise + # remove ...
Removed temporary directory at the end of qatest_1
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 @@ -58,4 +58,5 @@ class JsonResponse(HttpResponse): indent = 4 data = content=json.dumps(content, indent=indent, cls=DjangoJSONEncoder) super(Json...
returns Content-Length for JsonResponse as len is known
py
diff --git a/mythril/laser/ethereum/state.py b/mythril/laser/ethereum/state.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/state.py +++ b/mythril/laser/ethereum/state.py @@ -160,13 +160,14 @@ class GlobalState: class WorldState: """ - The WorldState class represents the world state as described ...
Add node reference to world state, this will in the future be used to link multiple transactions
py
diff --git a/discord/abc.py b/discord/abc.py index <HASH>..<HASH> 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -386,6 +386,16 @@ class GuildChannel: """ return self.guild.get_channel(self.category_id) + @property + def permissions_synced(self): + """:class:`bool`: Whether or not ...
Add permissions_synced to abc.GuildChannel This allows users to check whether or not the permissions for a Guild Channel are synced with the permissions for its category. Discord automatically syncs the permissions when the overwrites are equal so just checking if the two overwrites are equal will determine if they ar...
py
diff --git a/tuning/curve.py b/tuning/curve.py index <HASH>..<HASH> 100644 --- a/tuning/curve.py +++ b/tuning/curve.py @@ -759,7 +759,7 @@ def to_poynting_curve(curve, save_directory): headers = collections.OrderedDict() headers['file created'] = timestamp.RFC3339 headers['interaction'] = curve.interacti...
capitalization in to poynting curve
py
diff --git a/neo/bin/api_server.py b/neo/bin/api_server.py index <HASH>..<HASH> 100755 --- a/neo/bin/api_server.py +++ b/neo/bin/api_server.py @@ -103,6 +103,7 @@ def stop_block_persisting(): def persist_done(value): """persist callback. Value is unused""" if continue_persisting: + sleep(0.1) ...
resolve high cpu usage api_server (#<I>)
py
diff --git a/schema/brain/binary/decorators.py b/schema/brain/binary/decorators.py index <HASH>..<HASH> 100644 --- a/schema/brain/binary/decorators.py +++ b/schema/brain/binary/decorators.py @@ -2,13 +2,9 @@ decorators fro the binary module """ +import magic from decorator import decorator from .. import r -# rec...
pcp-<I> - python-magic is required
py
diff --git a/tornado/httpserver.py b/tornado/httpserver.py index <HASH>..<HASH> 100644 --- a/tornado/httpserver.py +++ b/tornado/httpserver.py @@ -322,7 +322,7 @@ class HTTPRequest(object): .. attribute:: protocol The protocol used, either "http" or "https". If `HTTPServer.xheaders` - is seet, wil...
A typo fix I noticed while fixing bug <I>
py
diff --git a/ceph_deploy/util/log.py b/ceph_deploy/util/log.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/util/log.py +++ b/ceph_deploy/util/log.py @@ -17,7 +17,7 @@ RESET_SEQ = "\033[0m" COLOR_SEQ = "\033[1;%dm" BOLD_SEQ = "\033[1m" -BASE_COLOR_FORMAT = "[%(timestamp)s][$BOLD%(name)s$RESET][%(color_levelname)-1...
[RM-<I>] Removed timestamp from the console output.
py
diff --git a/dusty/systems/rsync/__init__.py b/dusty/systems/rsync/__init__.py index <HASH>..<HASH> 100644 --- a/dusty/systems/rsync/__init__.py +++ b/dusty/systems/rsync/__init__.py @@ -16,7 +16,7 @@ def _ensure_vm_dir_exists(remote_dir): def _rsync_command(local_path, remote_path, is_dir=True, from_local=True, exclu...
Make rsync destructive
py
diff --git a/katcp/kattypes.py b/katcp/kattypes.py index <HASH>..<HASH> 100644 --- a/katcp/kattypes.py +++ b/katcp/kattypes.py @@ -305,8 +305,12 @@ class Discrete(Str): def __init__(self, values, case_insensitive=False, **kwargs): super(Discrete, self).__init__(**kwargs) self._case_insensitive = ...
Ensure that parsed value is a list. This PR does the following: - [x] Adds support for checking if parsed values is a list, else raises a ValueError. This handles and fixes: <URL>
py
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -29,7 +29,7 @@ version = ".".join(str(num) for num in numversion) if dev_version is not None: version += "-dev" + str(dev_version) -install_requires = ["astroid>=2.3....
Pin astroid to the latest minor release This will require a lock step release and update for pylint and astroid but should minimize the errors that result from an updated astroid version that has backwards incompatible issues.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from distutils.core import setup +from setuptools import setup setup( name='edit_distance',
Changing setup.py to use setuptools rather than distutils.
py
diff --git a/ccmlib/node.py b/ccmlib/node.py index <HASH>..<HASH> 100644 --- a/ccmlib/node.py +++ b/ccmlib/node.py @@ -709,13 +709,11 @@ class Node(object): Wait for all compactions to finish on this node. """ pattern = re.compile("pending tasks: 0") - elapsed = 0 - while elapse...
use clock for timeout, not a counter
py
diff --git a/examples/client-twisted.py b/examples/client-twisted.py index <HASH>..<HASH> 100755 --- a/examples/client-twisted.py +++ b/examples/client-twisted.py @@ -161,8 +161,8 @@ def varlink_to_twisted_endpoint(reactor, address): @inlineCallbacks def main(reactor, address): factory = Factory.forProtocol(Varl...
client-twisted: fixed connect_address
py
diff --git a/rogue_geonode/local_settings.py b/rogue_geonode/local_settings.py index <HASH>..<HASH> 100644 --- a/rogue_geonode/local_settings.py +++ b/rogue_geonode/local_settings.py @@ -33,6 +33,7 @@ OGC_SERVER = { 'PRINTNG_ENABLED': True, 'GEONODE_SECURITY_ENABLED': True, 'GEOGIT_ENABLED': ...
Added 'GEOGIT_DATASTORE_DIR' to the OGC_SERVER settings.
py