diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/uwsgi_tools/curl.py b/uwsgi_tools/curl.py index <HASH>..<HASH> 100644 --- a/uwsgi_tools/curl.py +++ b/uwsgi_tools/curl.py @@ -55,7 +55,7 @@ def curl(uwsgi_addr, url, method='GET', body='', timeout=0, headers=(), } for header in headers or (): key, _, value = header.partition(':') - ...
Replace dash in header keys with underscore
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -119,12 +119,21 @@ def parse_requirements(fname='requirements.txt', with_version=True): return packages -# If first not installed install second package -CHOOSE_INSTALL_REQUIRES = [('opencv-python-headless>=3', 'openc...
Skip opencv requirement if it's already installed in the env (i.e. via conda) (#<I>) * Skip opencv requirement if it's already installed in the env * pre-commit * Check opencv conda version * Check opencv conda version
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -15218,7 +15218,7 @@ def _theme_preview_window_swatches(): layout += [[B('Exit')]] # create and return Window that uses the layout - return Window('Theme Color Swatches', layout, background_c...
Added keep on top to the theme swatches window
py
diff --git a/pycbc/ahope/jobsetup_utils.py b/pycbc/ahope/jobsetup_utils.py index <HASH>..<HASH> 100644 --- a/pycbc/ahope/jobsetup_utils.py +++ b/pycbc/ahope/jobsetup_utils.py @@ -597,6 +597,13 @@ class PyCBCInspiralJob(Job): if self.get_opt('processing-scheme') == 'cuda': self.needs_gpu() + ...
set request cpus in pegasus profile
py
diff --git a/benchmark/run_benchmark.py b/benchmark/run_benchmark.py index <HASH>..<HASH> 100644 --- a/benchmark/run_benchmark.py +++ b/benchmark/run_benchmark.py @@ -1,11 +1,12 @@ import argparse import logging +import os import random import warnings -from datetime import datetime import tabulate +import btb...
Update name / default path dir for results.
py
diff --git a/ants/segmentation/joint_label_fusion.py b/ants/segmentation/joint_label_fusion.py index <HASH>..<HASH> 100644 --- a/ants/segmentation/joint_label_fusion.py +++ b/ants/segmentation/joint_label_fusion.py @@ -426,10 +426,7 @@ def local_joint_label_fusion( label_list[k], which_labels[kk], ...
ENH: mattes for initial similarity
py
diff --git a/pliers/stimuli/image.py b/pliers/stimuli/image.py index <HASH>..<HASH> 100644 --- a/pliers/stimuli/image.py +++ b/pliers/stimuli/image.py @@ -3,8 +3,7 @@ from .base import Stim from imageio import imread, imsave from PIL import Image -from six.moves.urllib.request import urlopen -import six +from urllib...
remove six references in image.py
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -48,7 +48,7 @@ templates_path = ['_templates'] source_suffix = '.rst' # The encoding of source files. -#source_encoding = 'utf-8-sig' +source_encoding = 'utf-8-sig' # The mast...
Set encoding, remove useless links
py
diff --git a/paymentwall/pingback.py b/paymentwall/pingback.py index <HASH>..<HASH> 100644 --- a/paymentwall/pingback.py +++ b/paymentwall/pingback.py @@ -165,7 +165,7 @@ class Pingback(Paymentwall): if 'sig' in params: del params['sig'] - sortable = (int(version) == self.SIGNATURE_VERSION_2) + sortable = (i...
Fixed calculation of signatures for version 3.
py
diff --git a/libact/base/dataset.py b/libact/base/dataset.py index <HASH>..<HASH> 100644 --- a/libact/base/dataset.py +++ b/libact/base/dataset.py @@ -31,7 +31,7 @@ class Dataset(object): ret += 1 return ret - def add(self, feature, label): + def append(self, feature, label): ...
Dataset change add() to append() (naming conventions)
py
diff --git a/src/setup.py b/src/setup.py index <HASH>..<HASH> 100644 --- a/src/setup.py +++ b/src/setup.py @@ -1,11 +1,7 @@ from setuptools import setup, find_packages setup(name='python-wink', -<<<<<<< HEAD version='0.7.8', -======= - version='0.7.7', ->>>>>>> 1ecbdf56dde5d8b71ff6b2d131b7fd0c8fae50c7 ...
Fixing broken merge in setup.py
py
diff --git a/pymatgen/io/qchem/outputs.py b/pymatgen/io/qchem/outputs.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/qchem/outputs.py +++ b/pymatgen/io/qchem/outputs.py @@ -1405,6 +1405,10 @@ class QCOutput(MSONable): terminate_on_match=True, ).get("key") == [[]]: self.data["errors"...
Parse new too many atoms in ESPChgFit error
py
diff --git a/wagtailmodeladmin/options.py b/wagtailmodeladmin/options.py index <HASH>..<HASH> 100644 --- a/wagtailmodeladmin/options.py +++ b/wagtailmodeladmin/options.py @@ -6,7 +6,7 @@ from django.db.models.constants import LOOKUP_SEP from django.db.models.sql.constants import QUERY_TERMS from django.db.models.fiel...
Attempting to fix ImproperlyConfigured error when unpacking
py
diff --git a/xmpp_backends/django/auth_backends.py b/xmpp_backends/django/auth_backends.py index <HASH>..<HASH> 100644 --- a/xmpp_backends/django/auth_backends.py +++ b/xmpp_backends/django/auth_backends.py @@ -17,13 +17,14 @@ from __future__ import absolute_import from __future__ import unicode_literals from djang...
use RemoteUserBackend as base class
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ pupa = pupa.cli.__main__:main''', 'django-uuidfield==0.5.0', 'djorm-pgarray==1.0', 'jsonfield==0.9.20', - 'opencivicdata==0.3.0', + 'opencivicdata==0.4.0', ...
bump to OCD <I>
py
diff --git a/cobe/instatrace.py b/cobe/instatrace.py index <HASH>..<HASH> 100644 --- a/cobe/instatrace.py +++ b/cobe/instatrace.py @@ -20,7 +20,10 @@ class Instatrace: if self._fd is not None: self._fd.close() - self._fd = open(filename, "w") + if filename is None: + sel...
Allow Instatrace().init(None) to disable tracing at runtime
py
diff --git a/azure-mgmt-batchai/azure/mgmt/batchai/version.py b/azure-mgmt-batchai/azure/mgmt/batchai/version.py index <HASH>..<HASH> 100644 --- a/azure-mgmt-batchai/azure/mgmt/batchai/version.py +++ b/azure-mgmt-batchai/azure/mgmt/batchai/version.py @@ -5,5 +5,5 @@ # regenerated. # ----------------------------------...
BatchAI. Restoring the version number
py
diff --git a/wkhtmltopdf/test_settings.py b/wkhtmltopdf/test_settings.py index <HASH>..<HASH> 100644 --- a/wkhtmltopdf/test_settings.py +++ b/wkhtmltopdf/test_settings.py @@ -11,10 +11,6 @@ DATABASES = { } } -# MEDIA_URL = '/media/' -# MEDIA_ROOT = '/tmp/media' -# STATIC_URL = '/static/' -# STATIC_ROOT = '/tmp/...
Remove unwanted settings vars from test project
py
diff --git a/alerta/app/webhooks/views.py b/alerta/app/webhooks/views.py index <HASH>..<HASH> 100644 --- a/alerta/app/webhooks/views.py +++ b/alerta/app/webhooks/views.py @@ -1,5 +1,6 @@ import json import datetime +import copy from flask import request from flask.ext.cors import cross_origin @@ -274,6 +275,7 @@ ...
Preserve prometheus notification for raw data attribute
py
diff --git a/pyvera/__init__.py b/pyvera/__init__.py index <HASH>..<HASH> 100755 --- a/pyvera/__init__.py +++ b/pyvera/__init__.py @@ -772,7 +772,10 @@ class VeraDevice: @property def comm_failure(self) -> bool: """Return the Communication Failure Flag.""" - return cast(str, self.get_strict_va...
Handle comm failure status being None.
py
diff --git a/src/html5parser.py b/src/html5parser.py index <HASH>..<HASH> 100644 --- a/src/html5parser.py +++ b/src/html5parser.py @@ -1287,7 +1287,7 @@ class InCaptionPhase(Phase): ignoreEndTag = self.ignoreEndTagCaption() self.parser.phase.processEndTag("caption") if not ignoreEndTag: - ...
Some bug fixes (have a problem with an innerHTML testcase that is unresolved) --HG-- extra : convert_revision : svn%3Aacbfec<I>-<I>-<I>-a<I>-<I>a<I>e<I>e0/trunk%<I>
py
diff --git a/glue/LDBDServer.py b/glue/LDBDServer.py index <HASH>..<HASH> 100644 --- a/glue/LDBDServer.py +++ b/glue/LDBDServer.py @@ -598,7 +598,7 @@ class ServerHandler(SocketServer.BaseRequestHandler): sql = "UPDATE process SET end_time = " + str(known_proc[pid][1]) sql += " WHERE process_id = " + ...
commit is a dbobj
py
diff --git a/py/selenium/webdriver/remote/errorhandler.py b/py/selenium/webdriver/remote/errorhandler.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/remote/errorhandler.py +++ b/py/selenium/webdriver/remote/errorhandler.py @@ -133,7 +133,11 @@ class ErrorHandler(object): stacktrace = None ...
DavidBurns better handing of error details. fixes issue <I> r<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 from setuptools import setup -version = '0.1.15' +version = '0.1.16' setup( name = 'icalevents',
<I> Fix 'import UTC' error, caused by outdated requirement #<I>
py
diff --git a/tests/base/datasets.py b/tests/base/datasets.py index <HASH>..<HASH> 100644 --- a/tests/base/datasets.py +++ b/tests/base/datasets.py @@ -12,11 +12,11 @@ from .common import TESTS_DIR DATA_00: typing.Dict[pathlib.Path, typing.Dict[str, typing.Any]] = { - TESTS_DIR / 'json/basic/00.json': dict(a=1),...
fix: correct paths as keys of DATA_<I> and change those type to str
py
diff --git a/trimesh/base.py b/trimesh/base.py index <HASH>..<HASH> 100644 --- a/trimesh/base.py +++ b/trimesh/base.py @@ -2849,3 +2849,25 @@ class Trimesh(Geometry): """ concat = util.concatenate(self, other) return concat + + def __radd__(self, other): + """ + Concatenate t...
Adding __radd__ method for multiple concatenation
py
diff --git a/spiketoolkit/validation/metric_calculator.py b/spiketoolkit/validation/metric_calculator.py index <HASH>..<HASH> 100644 --- a/spiketoolkit/validation/metric_calculator.py +++ b/spiketoolkit/validation/metric_calculator.py @@ -43,15 +43,20 @@ class MetricCalculator: if unit_ids is None: ...
updated unit ids to work with arbitrary list
py
diff --git a/neo/Core/TX/Transaction.py b/neo/Core/TX/Transaction.py index <HASH>..<HASH> 100644 --- a/neo/Core/TX/Transaction.py +++ b/neo/Core/TX/Transaction.py @@ -377,7 +377,7 @@ class Transaction(InventoryMixin): Fixed8: currently fixed to 0. """ tx_name = TransactionType.ToName(self...
Actually fix sys_fee
py
diff --git a/sos/sosreport.py b/sos/sosreport.py index <HASH>..<HASH> 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -1611,7 +1611,7 @@ class SoSReport(object): logging.shutdown() if self.tempfile_util: self.tempfile_util.clean() - if self.tmpdir: + if self.tmpdir a...
[sosreport] remove tmpdir only if it exists Prevents raising exception when the dir has been removed.
py
diff --git a/tmuxp/util.py b/tmuxp/util.py index <HASH>..<HASH> 100644 --- a/tmuxp/util.py +++ b/tmuxp/util.py @@ -32,7 +32,6 @@ def run_before_script(script_file): try: proc = subprocess.Popen( script_file, - # stdout=subprocess.PIPE, stderr=subprocess.PIPE )...
before_script errors return full path to file.
py
diff --git a/salt/modules/win_update.py b/salt/modules/win_update.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_update.py +++ b/salt/modules/win_update.py @@ -338,7 +338,7 @@ class PyWinUpdater(object): """Reduce full updates information to the most important information.""" updates_verbose = ...
Modify dict comprehension to dict function with generator This allows support < Python <I>.
py
diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_frame.py +++ b/pandas/tests/test_frame.py @@ -11629,7 +11629,7 @@ class TestDataFrame(tm.TestCase, CheckIndexing, result = df[:0].apply(np.mean, axis=1) # the result here is actuall...
TST: Fix two failing tests on Windows #<I>
py
diff --git a/mythril/analysis/modules/delegatecall_to_dynamic.py b/mythril/analysis/modules/delegatecall_to_dynamic.py index <HASH>..<HASH> 100644 --- a/mythril/analysis/modules/delegatecall_to_dynamic.py +++ b/mythril/analysis/modules/delegatecall_to_dynamic.py @@ -33,6 +33,6 @@ def execute(statespace): ...
Fix intendation in delegatecall_dynamic
py
diff --git a/scripts/deploy.py b/scripts/deploy.py index <HASH>..<HASH> 100644 --- a/scripts/deploy.py +++ b/scripts/deploy.py @@ -353,7 +353,8 @@ def update_changelog(): try: out = run("python issues.py -p %s -r %s" % (CONFIG.last_full_version, CONFIG.new_version)) passed("Updated CHANGELOG with...
use correct path for CHANGELOG when committing
py
diff --git a/jsonschema.py b/jsonschema.py index <HASH>..<HASH> 100644 --- a/jsonschema.py +++ b/jsonschema.py @@ -1114,6 +1114,8 @@ class RefResolver(object): ): self.base_uri = base_uri self.resolution_scope = base_uri + # This attribute is not used, it is for backwards compatibility + ...
Add referrer attribute back to RefResolver
py
diff --git a/salt/cloud/clouds/azurearm.py b/salt/cloud/clouds/azurearm.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/azurearm.py +++ b/salt/cloud/clouds/azurearm.py @@ -1434,7 +1434,7 @@ def create(vm_): vm_['password'] = config.get_cloud_config_value( 'ssh_password', vm_, __opts__ ) - r...
fixes #<I> serialization error on event firing for bootstrap
py
diff --git a/hl7apy/parser.py b/hl7apy/parser.py index <HASH>..<HASH> 100644 --- a/hl7apy/parser.py +++ b/hl7apy/parser.py @@ -489,7 +489,7 @@ def _find_group(segment, search_data, validation_level=None): groups = [k for k, v in structure['structure_by_name'].iteritems() if v['cls'] == Group] # for an...
Fixed a bug in the parser
py
diff --git a/fireplace/cards/classic/shaman.py b/fireplace/cards/classic/shaman.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/classic/shaman.py +++ b/fireplace/cards/classic/shaman.py @@ -114,7 +114,7 @@ class EX1_246: # Feral Spirit class EX1_248: - action = [Summon(CONTROLLER, "EX1_tk11"), Summon("EX1_tk11...
Fix and simplify Feral Spirit Fixes #<I>
py
diff --git a/bitshares/witness.py b/bitshares/witness.py index <HASH>..<HASH> 100644 --- a/bitshares/witness.py +++ b/bitshares/witness.py @@ -15,7 +15,13 @@ class Witness(BlockchainObject): def refresh(self): parts = self.identifier.split(".") - if len(parts) > 2: + valid_objectid = False...
[witness] Make sure we can also load witness names with two '.' inside
py
diff --git a/pydoop/utils/py3compat.py b/pydoop/utils/py3compat.py index <HASH>..<HASH> 100644 --- a/pydoop/utils/py3compat.py +++ b/pydoop/utils/py3compat.py @@ -18,6 +18,7 @@ import sys _is_py3 = sys.version_info[0] == 3 + if _is_py3: class clong(int): pass @@ -26,6 +27,7 @@ if _is_py3: def xc...
Adding reduce to py3compat.
py
diff --git a/perceval/backends/core/twitter.py b/perceval/backends/core/twitter.py index <HASH>..<HASH> 100644 --- a/perceval/backends/core/twitter.py +++ b/perceval/backends/core/twitter.py @@ -72,7 +72,7 @@ class Twitter(Backend): :param tag: label used to mark the data :param archive: archive to store/retr...
[twitter] Change metadata_id attribute This code sets the metadata_id attribute to `id_str`. As reported by the Twitter API, `id_str` should use in preference of `id`, because some programming languages may otherwise scramble the ID.
py
diff --git a/spyder/plugins/ipythonconsole.py b/spyder/plugins/ipythonconsole.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/ipythonconsole.py +++ b/spyder/plugins/ipythonconsole.py @@ -1264,7 +1264,13 @@ class IPythonConsole(SpyderPluginWidget): def create_client_for_file(self, filename): """Cre...
IPython console: Don't increase the count of master clients when creating dedicated ones
py
diff --git a/django_ses/utils.py b/django_ses/utils.py index <HASH>..<HASH> 100644 --- a/django_ses/utils.py +++ b/django_ses/utils.py @@ -123,11 +123,12 @@ class BounceMessageVerifier(object): """ cert_url = self._data.get('SigningCertURL') if cert_url: - url_obj = urlparse(cert_u...
Only trust https certificate urls.
py
diff --git a/owncloud/owncloud.py b/owncloud/owncloud.py index <HASH>..<HASH> 100644 --- a/owncloud/owncloud.py +++ b/owncloud/owncloud.py @@ -881,7 +881,7 @@ class Client(): if res.status_code == 200: tree = ET.fromstring(res.text) - self.__check_ocs_status(tree, [100, 102]) + ...
only accept OCS return code <I> in add_user_to_group <I> means here "group does not exist", we really should not return True in that case but raise and OCSResponseError
py
diff --git a/workalendar/europe/netherlands.py b/workalendar/europe/netherlands.py index <HASH>..<HASH> 100644 --- a/workalendar/europe/netherlands.py +++ b/workalendar/europe/netherlands.py @@ -18,17 +18,26 @@ class Netherlands(WesternCalendar, ChristianMixin): (12, 31, "New Year's Eve"), ) - def ge...
Added Queensday in Netherlands, for historic purposes
py
diff --git a/util/feeding.py b/util/feeding.py index <HASH>..<HASH> 100644 --- a/util/feeding.py +++ b/util/feeding.py @@ -31,8 +31,13 @@ def read_csvs(csv_files): def samples_to_mfccs(samples, sample_rate, train_phase=False, wav_filename=None): - if train_phase and sample_rate != FLAGS.audio_sample_rate: - ...
Ensure sample rate comparison with proper types Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ setup( 'Pillow>=5.0.0', 'PyYAML==5.2', - 'docutils==0.15.2', + 'docutils>=0.14', ], extras_require={ 'dev': [
[TASK] Make it work with readthedocs
py
diff --git a/puz.py b/puz.py index <HASH>..<HASH> 100644 --- a/puz.py +++ b/puz.py @@ -130,7 +130,7 @@ class Puzzle: """Initializes a blank puzzle """ self.preamble = b'' - self.postscript = '' + self.postscript = b'' self.title = '' self.author = '' s...
ensure postscript is initialized and stored as bytes, and encode it at byte-conversion only if it's been rewritten as a string
py
diff --git a/th_wallabag/my_wallabag.py b/th_wallabag/my_wallabag.py index <HASH>..<HASH> 100644 --- a/th_wallabag/my_wallabag.py +++ b/th_wallabag/my_wallabag.py @@ -29,7 +29,7 @@ from th_wallabag.models import Wallabag logger = getLogger('django_th.trigger_happy') -cache = caches['th_wallabag'] +cache = caches['...
Replaced cache variable REPLACED: cache = caches['th_<service>'] With cache = caches['django_th']
py
diff --git a/lib/access_control_config.py b/lib/access_control_config.py index <HASH>..<HASH> 100644 --- a/lib/access_control_config.py +++ b/lib/access_control_config.py @@ -163,6 +163,7 @@ DEF_ACTIONS = ( ('attachcommentfile', 'attach files to comments', 'collection', 'no'), ('cfgbibex...
New hidden flag for bibdocmoreinfo. Added in bibdocmoreinfo (and bibdocfile in general) a new flag to hide specific version/format of a fulltext file.
py
diff --git a/tests/test_integrated_channels/test_canvas/test_client.py b/tests/test_integrated_channels/test_canvas/test_client.py index <HASH>..<HASH> 100644 --- a/tests/test_integrated_channels/test_canvas/test_client.py +++ b/tests/test_integrated_channels/test_canvas/test_client.py @@ -5,12 +5,12 @@ Tests for clien...
Raw initial code checkin to setup base for all to work off of
py
diff --git a/src/BayesianModel/BayesianModel.py b/src/BayesianModel/BayesianModel.py index <HASH>..<HASH> 100644 --- a/src/BayesianModel/BayesianModel.py +++ b/src/BayesianModel/BayesianModel.py @@ -334,9 +334,7 @@ class BayesianModel(nx.DiGraph): def is_active_trail(self, start, end): """Returns True if ...
redundant code in is_active_trail
py
diff --git a/ocrd_utils/ocrd_utils/logging.py b/ocrd_utils/ocrd_utils/logging.py index <HASH>..<HASH> 100644 --- a/ocrd_utils/ocrd_utils/logging.py +++ b/ocrd_utils/ocrd_utils/logging.py @@ -141,6 +141,11 @@ def initLogging(): logging.getLogger('tensorflow').setLevel(logging.ERROR) if _overrideLogLevel:...
logging: set non-root logger to NOTSET also when loading from config file
py
diff --git a/pipreqs/pipreqs.py b/pipreqs/pipreqs.py index <HASH>..<HASH> 100755 --- a/pipreqs/pipreqs.py +++ b/pipreqs/pipreqs.py @@ -251,7 +251,8 @@ def parse_requirements(file_): break - return modules + parameters + return (modules, parameters) + def init(args): encoding = args.ge...
Return tuple consisting of modules,parameters instead of a concatenated list
py
diff --git a/djstripe/settings.py b/djstripe/settings.py index <HASH>..<HASH> 100644 --- a/djstripe/settings.py +++ b/djstripe/settings.py @@ -9,7 +9,7 @@ from django.utils.module_loading import import_string from .checks import validate_stripe_api_version -DEFAULT_STRIPE_API_VERSION = "2018-11-08" +DEFAULT_STRIPE...
DEFAULT_STRIPE_API_VERSION = "<I>-<I>-<I>"
py
diff --git a/utils.py b/utils.py index <HASH>..<HASH> 100644 --- a/utils.py +++ b/utils.py @@ -8,6 +8,7 @@ import re import asyncio import inspect from functools import wraps +from multiprocessing import Manager import rdflib from rdflib.extras import infixowl @@ -73,7 +74,7 @@ class makeGraph: f.wr...
makeGraph fixed issue with multiprocessing synchronization
py
diff --git a/Qt.py b/Qt.py index <HASH>..<HASH> 100644 --- a/Qt.py +++ b/Qt.py @@ -756,6 +756,7 @@ def _pyqt5(): Qt.QtCore.QStringListModel = Qt._QtCore.QStringListModel Qt.QtCore.QItemSelection = Qt._QtCore.QItemSelection Qt.QtCore.QItemSelectionModel = Qt._QtCore.QItemSelectionModel + ...
Added QItemSelectionRange to PyQt4 and PyQt5
py
diff --git a/fedmsg_meta_fedora_infrastructure/anitya.py b/fedmsg_meta_fedora_infrastructure/anitya.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/anitya.py +++ b/fedmsg_meta_fedora_infrastructure/anitya.py @@ -255,5 +255,12 @@ class AnityaProcessor(BaseProcessor): for pkg in pa...
Let's be forward compatible and support flag messages including the packages
py
diff --git a/redis_metrics/utils.py b/redis_metrics/utils.py index <HASH>..<HASH> 100644 --- a/redis_metrics/utils.py +++ b/redis_metrics/utils.py @@ -10,9 +10,9 @@ def metric(slug, num=1, **kwargs): _r.metric(slug, num) -def gague(slug, current_value): - """Set a value for a Guage""" - _r.gague(slug, cu...
Fixed the spelling of ``gauge`` again.
py
diff --git a/sc2/bot_ai.py b/sc2/bot_ai.py index <HASH>..<HASH> 100644 --- a/sc2/bot_ai.py +++ b/sc2/bot_ai.py @@ -69,7 +69,10 @@ class BotAI(object): # Not always accurate, but good enought for now. return [c.rounded for c in centers] - async def expand_to_nearest(self, building, max_distance=10...
Rename expand_to_nearest to expand_now for conciseness Also allowed the building ID to be None in which case, the townhall ID would be derived for the current race.
py
diff --git a/cloudshell/networking/networking_resource_driver_interface.py b/cloudshell/networking/networking_resource_driver_interface.py index <HASH>..<HASH> 100644 --- a/cloudshell/networking/networking_resource_driver_interface.py +++ b/cloudshell/networking/networking_resource_driver_interface.py @@ -11,11 +11,11 ...
renamed send_command methods according to standard
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -34,4 +34,4 @@ setup( # man page install if sys.argv[1] == "install": - os.system('cp ./jadm.8 /usr/local/man/man8/jadm.8') + os.system('cp ./man8/jadm.8 /usr/local/man/man8/jadm.8')
ver <I> - official release
py
diff --git a/pysparkling/rdd.py b/pysparkling/rdd.py index <HASH>..<HASH> 100644 --- a/pysparkling/rdd.py +++ b/pysparkling/rdd.py @@ -444,6 +444,8 @@ class RDD(object): r = [] for i, e_list in enumerate(entries): p_result = map_results[i] + if not p_result: + ...
protect for empty partitions in takeSample()
py
diff --git a/django_conneg/views.py b/django_conneg/views.py index <HASH>..<HASH> 100644 --- a/django_conneg/views.py +++ b/django_conneg/views.py @@ -374,6 +374,6 @@ class ErrorView(HTMLView, JSONPView, TextView): def get(self, request, context, template_name): self.context.update(context) self....
Bugfix: make sure status_code is in the right context before rendering.
py
diff --git a/test/test_task.py b/test/test_task.py index <HASH>..<HASH> 100644 --- a/test/test_task.py +++ b/test/test_task.py @@ -312,7 +312,7 @@ run: subprocess.call(['sos', 'kill', ret['pending_tasks'][0]]) for i in range(20): output = subprocess.check_output(['sos', 'status', ret['pen...
Try to fix travis test for tasks
py
diff --git a/dedupe/labeler.py b/dedupe/labeler.py index <HASH>..<HASH> 100644 --- a/dedupe/labeler.py +++ b/dedupe/labeler.py @@ -107,11 +107,9 @@ class RLRLearner(sklearn.linear_model.LogisticRegression, ActiveLearner): self.distances = numpy.delete(self.distances, index, axis=0) def mark(self, pairs:...
Remove redundant setting of self.X, self.y It is already done in self._fit()
py
diff --git a/salt/modules/rabbitmq.py b/salt/modules/rabbitmq.py index <HASH>..<HASH> 100644 --- a/salt/modules/rabbitmq.py +++ b/salt/modules/rabbitmq.py @@ -254,7 +254,7 @@ def set_user_tags(name, tags, runas=None): 'rabbitmqctl set_user_tags {0} {1}'.format(name, tags), runas=runas) msg = "Tag...
Add space to make pylint happy
py
diff --git a/tests/test_cookie.py b/tests/test_cookie.py index <HASH>..<HASH> 100644 --- a/tests/test_cookie.py +++ b/tests/test_cookie.py @@ -1,6 +1,7 @@ import graphene import graphql_jwt +from graphql_jwt.settings import jwt_settings from graphql_jwt.utils import get_payload from .testcases import CookieGrap...
Added jwt_settings.JWT_COOKIE_KEY to cookie test
py
diff --git a/grimoire_elk/enriched/enrich.py b/grimoire_elk/enriched/enrich.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/enriched/enrich.py +++ b/grimoire_elk/enriched/enrich.py @@ -97,7 +97,7 @@ class Enrich(ElasticItems): kibiter_version = None RAW_FIELDS_COPY = ["metadata__updated_on", "metadata__time...
[enrich] Modify max length for keyword fields This code sets to <I> the max length for fields of type keyword, thus preventing immense term exceptions during the creation of enriched items.
py
diff --git a/src/sklearn_evaluation/__init__.py b/src/sklearn_evaluation/__init__.py index <HASH>..<HASH> 100644 --- a/src/sklearn_evaluation/__init__.py +++ b/src/sklearn_evaluation/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.5' +__version__ = '0.6dev' from .evaluator import ClassifierEvaluator
Bumps up project to version <I>dev
py
diff --git a/cytomine/tests/test_image.py b/cytomine/tests/test_image.py index <HASH>..<HASH> 100644 --- a/cytomine/tests/test_image.py +++ b/cytomine/tests/test_image.py @@ -32,18 +32,19 @@ class TestAbstractImage: assert (isinstance(abstract_image, AbstractImage)) assert (abstract_image.filename == ...
Skip tests related to abstract image, failing due to issue in core
py
diff --git a/raven/base.py b/raven/base.py index <HASH>..<HASH> 100644 --- a/raven/base.py +++ b/raven/base.py @@ -23,7 +23,7 @@ from socket import socket, AF_INET, SOCK_DGRAM, error as socket_error import raven from raven.conf import defaults from raven.utils import json, varmap, get_versions, get_signature, get_au...
Coerce checksum bits to strings as required by hashlib (fixes GH-<I>)
py
diff --git a/flask_security/forms.py b/flask_security/forms.py index <HASH>..<HASH> 100644 --- a/flask_security/forms.py +++ b/flask_security/forms.py @@ -9,10 +9,12 @@ :license: MIT, see LICENSE for more details. """ +import inspect + from flask import request, current_app from flask.ext.wtf import Form as B...
RegisterFormMixin can now to_dict all fields. It adds a to_dict function that uses inspect to add all wtf Field to the returned dict. This allows extensions to the register form to easily add fields that will be passed to the datastore's create_user function.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( author_email='brandon@rhodesmill.org', url='http://github.com/brandon-rhodes/python-skyfield/', classifiers=[ - 'Development Status :: 3 - Alpha', + 'Development Status :: 4 -...
Promote to beta status (gulp!)
py
diff --git a/pelix/internals/events.py b/pelix/internals/events.py index <HASH>..<HASH> 100644 --- a/pelix/internals/events.py +++ b/pelix/internals/events.py @@ -34,11 +34,6 @@ __docformat__ = "restructuredtext en" # ------------------------------------------------------------------------------ -# Pelix utility m...
Removed the deprecated ServiceEvent.get_type() method It was flagged as deprecated since more than a year...
py
diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -114,6 +114,10 @@ def custom_repo(distro, args, cd_conf, rlogger): """ A custom repo install helper that will go through config checks to retrieve repos (a...
mention what is cd_conf about
py
diff --git a/test_isort.py b/test_isort.py index <HASH>..<HASH> 100644 --- a/test_isort.py +++ b/test_isort.py @@ -902,3 +902,13 @@ def test_multiline_split_on_dot(): assert SortImports(file_contents=test_input, line_length=70).output == \ ("from my_lib.my_package.test.level_1.level_2.level_3.level_4....
Add test for desired import * behavior going forward
py
diff --git a/alerta/auth/basic_ldap.py b/alerta/auth/basic_ldap.py index <HASH>..<HASH> 100644 --- a/alerta/auth/basic_ldap.py +++ b/alerta/auth/basic_ldap.py @@ -73,7 +73,7 @@ def login(): raise ApiError('User {} not active'.format(email), 403) user.update_last_login() - scopes = Permission.lookup(l...
Allow auto-assign roles based on LDAP group (#<I>)
py
diff --git a/nested_inline/admin.py b/nested_inline/admin.py index <HASH>..<HASH> 100644 --- a/nested_inline/admin.py +++ b/nested_inline/admin.py @@ -144,7 +144,7 @@ class NestedModelAdmin(admin.ModelAdmin): return True @csrf_protect_m - @transaction.commit_on_success + @transaction.atomic d...
Replaced deprecated 'commit_on_success' with 'atomic'.
py
diff --git a/bypy.py b/bypy.py index <HASH>..<HASH> 100755 --- a/bypy.py +++ b/bypy.py @@ -3369,7 +3369,7 @@ class PanAPI(ByPy): j = r.json() self.pd("UnzipCopy response: {}".format(j)) if 'path' in j: - self.pv("Remote extract: '{}#{}' =xx=> '{}' OK.".format(args['path'], args['subpath'], j[u'path'])) + s...
Trivial: Remove one more (missed) u'' literal
py
diff --git a/contact_form/urls.py b/contact_form/urls.py index <HASH>..<HASH> 100644 --- a/contact_form/urls.py +++ b/contact_form/urls.py @@ -14,13 +14,12 @@ from django.views.generic import TemplateView from contact_form.views import ContactFormView -urlpatterns = patterns('', - url(r'^$', ...
<I>-ify the URLConf.
py
diff --git a/wandb/data_types.py b/wandb/data_types.py index <HASH>..<HASH> 100644 --- a/wandb/data_types.py +++ b/wandb/data_types.py @@ -477,9 +477,9 @@ class Object3D(BatchableMedia): if data_or_path['type'] == 'lidar/beta': data = { 'type': data_or_path['type'], - ...
Add empty defaults for point cloud scene (#<I>)
py
diff --git a/tests/test_config_cmd.py b/tests/test_config_cmd.py index <HASH>..<HASH> 100644 --- a/tests/test_config_cmd.py +++ b/tests/test_config_cmd.py @@ -60,6 +60,24 @@ class ConfigTestCase(support.LoggingSilencer, self.assertEquals(cmd.libraries, ['one']) self.assertEquals(cmd.library_dirs, ['th...
Merged revisions <I> via svnmerge from svn+ssh://<EMAIL>/python/trunk ........ r<I> | tarek.ziade | <I>-<I>-<I> <I>:<I>:<I> <I> (Sun, <I> Apr <I>) | 1 line removed string usage and added a test for _clean ........
py
diff --git a/python/ray/serve/tests/test_deploy.py b/python/ray/serve/tests/test_deploy.py index <HASH>..<HASH> 100644 --- a/python/ray/serve/tests/test_deploy.py +++ b/python/ray/serve/tests/test_deploy.py @@ -285,7 +285,6 @@ def test_reconfigure_with_exception(serve_instance): wait_for_condition(rolled_back) ...
[CI] [Serve] Unskipped test and bumped wait time to avoid race condition in test_deploy.py (#<I>)
py
diff --git a/lib/websearch_regression_tests.py b/lib/websearch_regression_tests.py index <HASH>..<HASH> 100644 --- a/lib/websearch_regression_tests.py +++ b/lib/websearch_regression_tests.py @@ -2216,22 +2216,6 @@ class WebSearchSummarizerTest(unittest.TestCase): expected...
WebSearch: removal of excess summariser tests * Removal of excess regression tests for search engine summariser that are not necessary anymore since self-cite facility was moved to BibRank.
py
diff --git a/test/test_gitvcs.py b/test/test_gitvcs.py index <HASH>..<HASH> 100644 --- a/test/test_gitvcs.py +++ b/test/test_gitvcs.py @@ -79,3 +79,8 @@ def test_git(tmpdir): check_call(GIT + ['commit', '-m', 'Added file'], cwd=fake1path) clone1repo.pullchanges() assert os.path.exists(os.path.join(clone1...
Dirty hack to clean up asyncio main loop
py
diff --git a/tensorpack/train/multigpu.py b/tensorpack/train/multigpu.py index <HASH>..<HASH> 100644 --- a/tensorpack/train/multigpu.py +++ b/tensorpack/train/multigpu.py @@ -325,9 +325,10 @@ class AsyncMultiGPUTrainer(MultiGPUTrainerBase, SingleCostFeedfreeTrainer): train_ops = [] opt = self.model....
async training. accumulate on variable device
py
diff --git a/tests/unit/states/test_loop.py b/tests/unit/states/test_loop.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/test_loop.py +++ b/tests/unit/states/test_loop.py @@ -1,11 +1,8 @@ -# -*- coding: utf-8 -*- """ Tests for loop state(s) """ -from __future__ import absolute_import, print_function, unicode...
Drop Py2 and six on tests/unit/states/test_loop.py
py
diff --git a/ga4gh/backend.py b/ga4gh/backend.py index <HASH>..<HASH> 100644 --- a/ga4gh/backend.py +++ b/ga4gh/backend.py @@ -102,7 +102,9 @@ class IntervalIterator(object): """ self._searchAnchor = searchAnchor self._distanceFromAnchor = objectsToSkip - self._searchIterator = self._s...
Ensure treatment of request.end is the same regardless of how the iterator is initialised.
py
diff --git a/tests/test_crypto.py b/tests/test_crypto.py index <HASH>..<HASH> 100644 --- a/tests/test_crypto.py +++ b/tests/test_crypto.py @@ -1468,7 +1468,7 @@ class _PKeyInteractionTestsMixin: def signable(self): """ - Return something with a `set_pubkey`, `set_pubkey`, and `sign` method. + ...
Fill in notBefore/notAfter in X<I> _PKeyInteractionTestsMixin tests (#<I>) While the tests currently pass without it, this is because OpenSSL's encoder doesn't notice that it is emitting garbage. See <URL>
py
diff --git a/xigt/core.py b/xigt/core.py index <HASH>..<HASH> 100644 --- a/xigt/core.py +++ b/xigt/core.py @@ -201,6 +201,10 @@ class Item(XigtInheritanceMixin): else: return None + @content.setter + def content(self, value): + self._content = value + def resolve_ref(self, refa...
Added a setter for the content attribute of Item objects. This is needed for changing the content of items, but it may be incomplete. There might need to be an action of removing "content" linkages across tiers if the content is explicitly given, or maybe there doesn't. In any case, give it a thought.
py
diff --git a/src/pyscipopt/__init__.py b/src/pyscipopt/__init__.py index <HASH>..<HASH> 100644 --- a/src/pyscipopt/__init__.py +++ b/src/pyscipopt/__init__.py @@ -1,4 +1,4 @@ -__version__ = '3.1.0' +__version__ = '3.1.1' # required for Python 3.8 on Windows import os
Update __init__.py increased version to <I>
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -9,14 +9,11 @@ setup( description = 'A library for analyzing large time series data with Apache Spark', author = 'Sandy Ryza', author_email = 'sandy@cloudera.com', - url = 'https:/...
Fixes to setup.py
py
diff --git a/devil/devil/android/perf/perf_control.py b/devil/devil/android/perf/perf_control.py index <HASH>..<HASH> 100644 --- a/devil/devil/android/perf/perf_control.py +++ b/devil/devil/android/perf/perf_control.py @@ -332,7 +332,8 @@ class PerfControl(object): output = self._device.RunShellCommand( s...
[devil] Fix display of CPUs affected by some commands Bug: chromium:<I> Change-Id: Iec<I>ef8e<I>c<I>e<I>eb<I>b<I>b<I>b4 Reviewed-on: <URL>
py
diff --git a/sacn/sending/output_thread.py b/sacn/sending/output_thread.py index <HASH>..<HASH> 100644 --- a/sacn/sending/output_thread.py +++ b/sacn/sending/output_thread.py @@ -101,7 +101,6 @@ class OutputThread(threading.Thread): MESSAGE = bytearray(packet.getBytes()) try: self._socket...
Remove Debug Log from send_packet This has large performance impacts on low-power devices such as Raspberry Pi's when using multiple sACN threads.
py
diff --git a/pifpaf/drivers/gnocchi.py b/pifpaf/drivers/gnocchi.py index <HASH>..<HASH> 100644 --- a/pifpaf/drivers/gnocchi.py +++ b/pifpaf/drivers/gnocchi.py @@ -87,7 +87,7 @@ url = %s""" % (self.tempdir, self.port, pg.url)) self.putenv("GNOCCHI_PORT", str(self.port)) self.putenv("URL", "gnocchi://lo...
gnocchi: fix a regression on variable names These ones should not be prefixed.
py
diff --git a/i3pystatus/taskwarrior.py b/i3pystatus/taskwarrior.py index <HASH>..<HASH> 100644 --- a/i3pystatus/taskwarrior.py +++ b/i3pystatus/taskwarrior.py @@ -72,7 +72,8 @@ class Taskwarrior(IntervalModule): self.next_id = 0 except ValueError: - print('Decoding JSON has failed...
Taskwarrior re-raise and log error
py
diff --git a/pybasicbayes/distributions/regression.py b/pybasicbayes/distributions/regression.py index <HASH>..<HASH> 100644 --- a/pybasicbayes/distributions/regression.py +++ b/pybasicbayes/distributions/regression.py @@ -290,10 +290,11 @@ class Regression(GibbsSampling, MeanField, MaxLikelihood): out...
get regression expected_log_likelihood to work with 2d arrays
py
diff --git a/seleniumbase/fixtures/js_utils.py b/seleniumbase/fixtures/js_utils.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/js_utils.py +++ b/seleniumbase/fixtures/js_utils.py @@ -526,6 +526,8 @@ def post_messenger_error_message(driver, message, msg_dur): def highlight_with_js_2(driver, message, sel...
If the CSS Selector is "html", use "body" for highlights
py
diff --git a/zipline/gens/tradesimulation.py b/zipline/gens/tradesimulation.py index <HASH>..<HASH> 100644 --- a/zipline/gens/tradesimulation.py +++ b/zipline/gens/tradesimulation.py @@ -408,7 +408,7 @@ class AlgorithmSimulator(object): with self.processor.threadbound(): for date, snapshot in st...
STY: Tweak whitespace in comment.
py