diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/azure-keyvault/azure/keyvault/custom/key_vault_authentication.py b/azure-keyvault/azure/keyvault/custom/key_vault_authentication.py index <HASH>..<HASH> 100644 --- a/azure-keyvault/azure/keyvault/custom/key_vault_authentication.py +++ b/azure-keyvault/azure/keyvault/custom/key_vault_authentication.py @@ -6...
fix in KeyVaultAuthBase to call send with environment CA verify into
py
diff --git a/zipline/finance/slippage.py b/zipline/finance/slippage.py index <HASH>..<HASH> 100644 --- a/zipline/finance/slippage.py +++ b/zipline/finance/slippage.py @@ -103,7 +103,6 @@ class VolumeShareSlippage(object): total_order = 0 simulated_amount = 0 simulated_impact = 0.0 - di...
MAINT: Removes unneeded assignment in slippage. `direction` is set on each iteration of the loop, making the initial assignment unneeded.
py
diff --git a/pyemu/la.py b/pyemu/la.py index <HASH>..<HASH> 100644 --- a/pyemu/la.py +++ b/pyemu/la.py @@ -35,7 +35,7 @@ class logger(object): elif filename: self.filename = filename self.echo = True - self.f = open(filename, 'w', 0) #unbuffered + self.f = open(f...
fixed unbuffered issue for python 3
py
diff --git a/asterisk/ami/response.py b/asterisk/ami/response.py index <HASH>..<HASH> 100644 --- a/asterisk/ami/response.py +++ b/asterisk/ami/response.py @@ -14,7 +14,7 @@ class Response(object): raise Exception() status = value keys = {} - follows = [] if status.lower() == 'follo...
Removed status check for 'Follows' since status seems to always be 'Success'
py
diff --git a/scripts/db_provisioning.py b/scripts/db_provisioning.py index <HASH>..<HASH> 100755 --- a/scripts/db_provisioning.py +++ b/scripts/db_provisioning.py @@ -369,6 +369,10 @@ def init_db(db_conn): password=auth.hash_password('admin'), team_id=admin_team) + # Attach the team admin t...
Add the team admin to the created topic Change-Id: I<I>c<I>a7fbf<I>d7ad5d<I>a4e2dc2e<I>efcb6
py
diff --git a/salt/cloud/clouds/proxmox.py b/salt/cloud/clouds/proxmox.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/proxmox.py +++ b/salt/cloud/clouds/proxmox.py @@ -678,7 +678,7 @@ def create_node(vm_, newid): newnode['hostname'] = vm_['name'] newnode['ostemplate'] = vm_['image'] - ...
Add support for 'rootfs' lxc container option to salt-cloud proxmox driver
py
diff --git a/benchbuild/environments/domain/declarative.py b/benchbuild/environments/domain/declarative.py index <HASH>..<HASH> 100644 --- a/benchbuild/environments/domain/declarative.py +++ b/benchbuild/environments/domain/declarative.py @@ -90,7 +90,7 @@ class ContainerImage(list): sources (tp.Iterable[s...
fix(environments): add missing type conversion ContainerImage was using an iterable as an argument for a tuple. This effects the AddLayer/CopyLayer model and makes resulting objects non-hashable. Fixes #<I>
py
diff --git a/fluo/db/models/models.py b/fluo/db/models/models.py index <HASH>..<HASH> 100644 --- a/fluo/db/models/models.py +++ b/fluo/db/models/models.py @@ -26,7 +26,7 @@ from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType from django.core impo...
ensure atomic transaction for OrderedModel._switch_node
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open('requirements.txt') as f: setup( name='pyicloud', - version='0.7.2', + version='0.7.3', url='https://github.com/picklepete/pyicloud', description=( 'PyiCloud is a module ...
Release <I>; fixes for session handling to prevent e-mail notifications from being sent for each request.
py
diff --git a/caniusepython3/__main__.py b/caniusepython3/__main__.py index <HASH>..<HASH> 100644 --- a/caniusepython3/__main__.py +++ b/caniusepython3/__main__.py @@ -179,7 +179,9 @@ def check(projects): def main(args=sys.argv[1:]): - check(projects_from_cli(args)) + passed = check(projects_from_cli(args)) +...
added exit code = 3 when check fails in __main__
py
diff --git a/phy/io/kwik/model.py b/phy/io/kwik/model.py index <HASH>..<HASH> 100644 --- a/phy/io/kwik/model.py +++ b/phy/io/kwik/model.py @@ -395,7 +395,7 @@ class KwikModel(BaseModel): path = '/application_data/spikedetekt/' metadata_fields = self._kwik.attrs(path) for field in metadata_fie...
Remove private fiels in model metadata.
py
diff --git a/utils/time_utils.py b/utils/time_utils.py index <HASH>..<HASH> 100644 --- a/utils/time_utils.py +++ b/utils/time_utils.py @@ -60,16 +60,16 @@ def unix2datetime(u): return datetime.fromtimestamp(u/1000.0, tz=UTC) + timedelta(hours=0) -def construct_experiment_id(instance): +def construct_experiment...
workflow_scripts/display_experiments.py
py
diff --git a/google/datalab/utils/_dataflow_job.py b/google/datalab/utils/_dataflow_job.py index <HASH>..<HASH> 100644 --- a/google/datalab/utils/_dataflow_job.py +++ b/google/datalab/utils/_dataflow_job.py @@ -37,6 +37,7 @@ class DataflowJob(_job.Job): self._runner_results._job = ( self._runner_results._...
Fix an issue that sometimes underlying DataFlow job fails but DataflowJob does not report error. (#<I>)
py
diff --git a/synapse/cmds/cortex.py b/synapse/cmds/cortex.py index <HASH>..<HASH> 100644 --- a/synapse/cmds/cortex.py +++ b/synapse/cmds/cortex.py @@ -80,11 +80,13 @@ class AskCmd(s_cli.Cmd): fsize = max([ len(f) for f in forms ]) + # Short circuit any fancy formatting and dump the raw node content ...
Dump all the resulting nodes at once.
py
diff --git a/alot/db/manager.py b/alot/db/manager.py index <HASH>..<HASH> 100644 --- a/alot/db/manager.py +++ b/alot/db/manager.py @@ -21,6 +21,8 @@ from errors import DatabaseLockedError from errors import DatabaseROError from errors import NonexistantObjectError from alot.db import DB_ENC +from alot.db.utils impor...
raise exception when adding msg no non-indexable path i.e., one not below that of notmuch's root path
py
diff --git a/pymc3/__init__.py b/pymc3/__init__.py index <HASH>..<HASH> 100644 --- a/pymc3/__init__.py +++ b/pymc3/__init__.py @@ -1,5 +1,5 @@ # pylint: disable=wildcard-import -__version__ = "3.6" +__version__ = "3.7.rc1" from .blocking import * from .distributions import *
Upgrade to <I>.rc1.
py
diff --git a/hubconf.py b/hubconf.py index <HASH>..<HASH> 100644 --- a/hubconf.py +++ b/hubconf.py @@ -16,4 +16,10 @@ from hubconfs.gpt_hubconf import ( openAIGPTModel, openAIGPTLMHeadModel, openAIGPTDoubleHeadsModel -) \ No newline at end of file +) +from hubconfs.gpt2_hubconf import ( + gpt2Tokenize...
update hubconf for gpt2 torchhub compatibility
py
diff --git a/scripts/browserstack.py b/scripts/browserstack.py index <HASH>..<HASH> 100644 --- a/scripts/browserstack.py +++ b/scripts/browserstack.py @@ -157,6 +157,11 @@ def waitForBuildComplete(buildId): response = requests.get(url, auth=(user, authKey)) responseStatus = response.json()["stat...
Fix AU BECS DD browserstack test (#<I>)
py
diff --git a/marshmallow_jsonschema/base.py b/marshmallow_jsonschema/base.py index <HASH>..<HASH> 100644 --- a/marshmallow_jsonschema/base.py +++ b/marshmallow_jsonschema/base.py @@ -292,7 +292,7 @@ class JSONSchema(Schema): only = field.only exclude = field.exclude nested_cls = n...
Pass marshmallow context into nested schema
py
diff --git a/Lib/glyphsLib/glyphdata.py b/Lib/glyphsLib/glyphdata.py index <HASH>..<HASH> 100644 --- a/Lib/glyphsLib/glyphdata.py +++ b/Lib/glyphsLib/glyphdata.py @@ -189,9 +189,9 @@ def _lookup_production_name(glyph_name, data=glyphdata_generated): else: return None - final_produ...
Simplify construction of final_production_name
py
diff --git a/girder/api/rest.py b/girder/api/rest.py index <HASH>..<HASH> 100644 --- a/girder/api/rest.py +++ b/girder/api/rest.py @@ -32,6 +32,22 @@ from girder.utility.model_importer import ModelImporter from bson.objectid import ObjectId, InvalidId +def _cacheAuthUser(fun): + """ + This decorator for getC...
Cache the per-request authenticated user so we never perform the authentication procedure more than once per request, even if there are multiple calls to getCurrentUser()
py
diff --git a/lamvery/config.py b/lamvery/config.py index <HASH>..<HASH> 100644 --- a/lamvery/config.py +++ b/lamvery/config.py @@ -139,9 +139,6 @@ class Config: if events is None: return {'rules': []} - if 'rules' in events: - return {'rules': []} - if isinstance(event...
Bugfix: Can't read some of the events config
py
diff --git a/anchore/controller.py b/anchore/controller.py index <HASH>..<HASH> 100644 --- a/anchore/controller.py +++ b/anchore/controller.py @@ -318,13 +318,30 @@ class Controller(object): record['result'] = {} record['result']['header'] = ['Image_Id', 'Repo_Tag', 'Gate', 'Trigger', 'Check_O...
adding preliminary support for structured gate outputs
py
diff --git a/src/saml/schema/__init__.py b/src/saml/schema/__init__.py index <HASH>..<HASH> 100644 --- a/src/saml/schema/__init__.py +++ b/src/saml/schema/__init__.py @@ -144,6 +144,37 @@ class Element(object): return xml +class SimpleElement(object): + """TODO + """ + + @classmethod + def from...
Defined a SimpleElement; which is just an element with only text.
py
diff --git a/invitations/views.py b/invitations/views.py index <HASH>..<HASH> 100644 --- a/invitations/views.py +++ b/invitations/views.py @@ -175,9 +175,12 @@ def accept_invitation(invitation, request, signal_sender): {'email': invitation.email}) -@receiver(user_signed_up) -def accept_invite_after_signup(...
Only fire signup callback when ACCEPT_INVITE_AFTER_SIGNUP is True.
py
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -817,7 +817,7 @@ def check_ipc_path_max_len(uri): ) -def check_state_result(self, running): +def check_state_result(running): ''' Check the total r...
That was embarrasing, I left the self in... Fix #<I>
py
diff --git a/src/infi/projector/plugins/builtins/version/__init__.py b/src/infi/projector/plugins/builtins/version/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/projector/plugins/builtins/version/__init__.py +++ b/src/infi/projector/plugins/builtins/version/__init__.py @@ -16,7 +16,7 @@ Options: --no-uplo...
add comment in doc of version upload
py
diff --git a/IPython/html/widgets/base.py b/IPython/html/widgets/base.py index <HASH>..<HASH> 100644 --- a/IPython/html/widgets/base.py +++ b/IPython/html/widgets/base.py @@ -11,14 +11,6 @@ from IPython.config import LoggingConfigurable from IPython.utils.traitlets import Unicode, Dict from IPython.display import Jav...
Removed funky javascript loading mechanism NOTE: UNTIL THE NEW JS LOADING MECHANISM IS IN PLACE, THIS BREAKS THE SYSTEM
py
diff --git a/src/nntp.py b/src/nntp.py index <HASH>..<HASH> 100644 --- a/src/nntp.py +++ b/src/nntp.py @@ -49,7 +49,7 @@ class NNTPReplyError(NNTPError): return self.args[1] def __str__(self): - return "%d: %s" % self.args + return "%d: %r" % self.args class NNTPTemporaryError(NNTPReply...
Changed NNTPReplyError __str__ to use repr to stop binary being printed to terminal
py
diff --git a/perceval/backends/core/googlehits.py b/perceval/backends/core/googlehits.py index <HASH>..<HASH> 100644 --- a/perceval/backends/core/googlehits.py +++ b/perceval/backends/core/googlehits.py @@ -59,7 +59,7 @@ class GoogleHits(Backend): :param sleep_time: time to sleep in case of connection pro...
[googlehits] Move extra_status_force_list to Client class variable This code moves the list of http errors to retry upon failure to the class variable.
py
diff --git a/zimsoap/zobjects.py b/zimsoap/zobjects.py index <HASH>..<HASH> 100644 --- a/zimsoap/zobjects.py +++ b/zimsoap/zobjects.py @@ -136,7 +136,7 @@ class ZObject(object): prop_tags = [] for k, v in attrs_dict.items(): node = SimpleXMLElement('<a {}="{}">{}</a>'.format( - ...
Added propper un-typing when producing XML <a> tags.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ from distutils.core import Command from distutils.command.build import build as _build from distutils.command.install import install as _install from distutils.util import change_root +from distutils.errors i...
Fix: DistutilsOptionError was undefined
py
diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index <HASH>..<HASH> 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -471,7 +471,7 @@ class TargetAndroid(Target): serial = environ.get('ANDROID_SERIAL') if serial: return serial.split...
fix adb devices by using the self.adb_cmd
py
diff --git a/firetv/__init__.py b/firetv/__init__.py index <HASH>..<HASH> 100644 --- a/firetv/__init__.py +++ b/firetv/__init__.py @@ -107,8 +107,7 @@ class FireTV: self._adb = adb_commands.AdbCommands.ConnectDevice( serial=self.host) except socket_error as serr: - if s...
Do not raise error conditionally - don't raise at all, just log
py
diff --git a/niworkflows/anat/mni.py b/niworkflows/anat/mni.py index <HASH>..<HASH> 100644 --- a/niworkflows/anat/mni.py +++ b/niworkflows/anat/mni.py @@ -8,7 +8,7 @@ from os import path as op import shutil import pkg_resources as pkgr from multiprocessing import cpu_count -from distutils.version import LooseVersion...
Update package_version to use packaging.version.Version
py
diff --git a/djangocms_spa/__init__.py b/djangocms_spa/__init__.py index <HASH>..<HASH> 100644 --- a/djangocms_spa/__init__.py +++ b/djangocms_spa/__init__.py @@ -1,3 +1,3 @@ -__version__ = '0.1.21-alpha1' +__version__ = '0.1.21-alpha2' default_app_config = 'djangocms_spa.apps.DjangoCmsSpaConfig'
[form_api_view] Increase Alpha version
py
diff --git a/frasco_bootstrap/__init__.py b/frasco_bootstrap/__init__.py index <HASH>..<HASH> 100644 --- a/frasco_bootstrap/__init__.py +++ b/frasco_bootstrap/__init__.py @@ -35,7 +35,7 @@ class BootstrapFeature(Feature): "@jquery-cdn", "@bootstrap-all-cdn"], "font-awesome...
switched font-awesome cdn to https
py
diff --git a/invenio_base/app.py b/invenio_base/app.py index <HASH>..<HASH> 100644 --- a/invenio_base/app.py +++ b/invenio_base/app.py @@ -205,7 +205,7 @@ def converter_loader(app, entry_points=None, modules=None): """ if entry_points: for entry_point in entry_points: - for ep in iter_entr...
app loaders: remove duplicated entry points
py
diff --git a/mtranslate/core.py b/mtranslate/core.py index <HASH>..<HASH> 100644 --- a/mtranslate/core.py +++ b/mtranslate/core.py @@ -33,7 +33,7 @@ if (sys.version_info[0] < 3): import urllib import HTMLParser else: - import html.parser + import html import urllib.request import urllib.parse...
Bug fix: html.parser was not working
py
diff --git a/raiden/tests/utils/tester_client.py b/raiden/tests/utils/tester_client.py index <HASH>..<HASH> 100644 --- a/raiden/tests/utils/tester_client.py +++ b/raiden/tests/utils/tester_client.py @@ -225,6 +225,14 @@ class FilterTesterMock(object): self.events = list() +class ClientMock(object): + de...
Add a Mock Client for the shutdown event in tests
py
diff --git a/gsh/dispatchers.py b/gsh/dispatchers.py index <HASH>..<HASH> 100644 --- a/gsh/dispatchers.py +++ b/gsh/dispatchers.py @@ -108,7 +108,6 @@ def update_terminal_size(): def format_info(info_list): """Turn a 2-dimension list of strings into a 1-dimension list of strings with correct spacing""" - ...
Do not sort the :list output as the original order is typically better. e.g. in <0-<I>> <I> would be before 2
py
diff --git a/flaskext/mysql.py b/flaskext/mysql.py index <HASH>..<HASH> 100644 --- a/flaskext/mysql.py +++ b/flaskext/mysql.py @@ -51,6 +51,8 @@ class MySQL(object): self.connect_args['charset'] = self.app.config['MYSQL_DATABASE_CHARSET'] if self.app.config['MYSQL_USE_UNICODE']: self....
Added unix socket option (#<I>) The default TCP socket from PyMySQL doesn't work when MySQL has networking disabled. You can now declare location of the *.sock for use on localhost.
py
diff --git a/tests/test_webhooks.py b/tests/test_webhooks.py index <HASH>..<HASH> 100644 --- a/tests/test_webhooks.py +++ b/tests/test_webhooks.py @@ -66,7 +66,8 @@ class AlertTestCase(unittest.TestCase): } """ self.headers = { - 'Content-type': 'application/json' + ...
Update webhook test for remote ip
py
diff --git a/scripts/get_bump_version.py b/scripts/get_bump_version.py index <HASH>..<HASH> 100644 --- a/scripts/get_bump_version.py +++ b/scripts/get_bump_version.py @@ -27,5 +27,5 @@ vers, status, since, gsha = get_version_from_git() if status == "": print("No X.X.X-devel[rc] tag.") else: - print(vers + "-"...
Go back to use points instead of dashes.
py
diff --git a/cltk/corpus/latin/corpora.py b/cltk/corpus/latin/corpora.py index <HASH>..<HASH> 100644 --- a/cltk/corpus/latin/corpora.py +++ b/cltk/corpus/latin/corpora.py @@ -65,4 +65,9 @@ LATIN_CORPORA = [ {'name': 'latin_word2vec_cltk', 'location': 'remote', 'type': 'model'}, + {'encoding': 'utf-8...
Added entry for antique_digiliblt
py
diff --git a/tornado/iostream.py b/tornado/iostream.py index <HASH>..<HASH> 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -1066,7 +1066,12 @@ class IOStream(BaseIOStream): return chunk def write_to_fd(self, data): - return self.socket.send(data) + try: + return s...
Don't keep any reference to memoryviews (#<I>) See <URL>
py
diff --git a/annotation/reformat.py b/annotation/reformat.py index <HASH>..<HASH> 100644 --- a/annotation/reformat.py +++ b/annotation/reformat.py @@ -591,7 +591,7 @@ def annotate_chr(chr, chrbed, g, scores, nbedline, abedline): print >> sys.stderr, "\t" + ", ".join([str(x)\ fo...
Fix logic in the conditional statement that checks to see if an identifier from the `old.bed` file is being assigned to a gene model in the `new.bed` file which resides on a different reference sequence
py
diff --git a/samples/WhoIsIAm.py b/samples/WhoIsIAm.py index <HASH>..<HASH> 100755 --- a/samples/WhoIsIAm.py +++ b/samples/WhoIsIAm.py @@ -140,6 +140,22 @@ class WhoIsIAmConsoleCmd(ConsoleCmd): except Exception, e: WhoIsIAmConsoleCmd._exception("exception: %r", e) + def do_rtn(self, args): + ...
added a command to give the network service access point a routing table entry it wouldn't ordinarily be able to discover
py
diff --git a/keyring/backends/kwallet.py b/keyring/backends/kwallet.py index <HASH>..<HASH> 100644 --- a/keyring/backends/kwallet.py +++ b/keyring/backends/kwallet.py @@ -43,6 +43,8 @@ class DBusKeyring(KeyringBackend): tmpl = 'cannot connect to {bus_name}' msg = tmpl.format(bus_name=cls.bus_n...
Make KWallet keyring have higher priority than Secret Service on KDE Fixes #<I>.
py
diff --git a/launch.py b/launch.py index <HASH>..<HASH> 100755 --- a/launch.py +++ b/launch.py @@ -274,9 +274,16 @@ def run_tests(parser_args): def unittest_main(test_runner=None): try: - argv = [sys.argv[0]] + parser_args.extra_parameters - unittest.main(module=None, defaultTest='...
- Python3 friendly unit test runner
py
diff --git a/fasta/graphs.py b/fasta/graphs.py index <HASH>..<HASH> 100644 --- a/fasta/graphs.py +++ b/fasta/graphs.py @@ -16,7 +16,7 @@ class LengthDist(Graph): self.parent = parent self.path = self.parent.prefix_path + '_len_dist.pdf' - def plot(self): + def plot(self, x_log=False, y_log=Fal...
Added symlog option
py
diff --git a/tests_app/tests/functional/examples/etags/remove_etag_gzip_postfix/views.py b/tests_app/tests/functional/examples/etags/remove_etag_gzip_postfix/views.py index <HASH>..<HASH> 100644 --- a/tests_app/tests/functional/examples/etags/remove_etag_gzip_postfix/views.py +++ b/tests_app/tests/functional/examples/e...
update class based view import to new convention
py
diff --git a/indra/databases/hgnc_client.py b/indra/databases/hgnc_client.py index <HASH>..<HASH> 100644 --- a/indra/databases/hgnc_client.py +++ b/indra/databases/hgnc_client.py @@ -207,7 +207,6 @@ def get_hgnc_from_rat(rgd_id): rgd_id = rgd_id[4:] return rat_map.get(rgd_id) - def get_rat_id(hgnc_id):...
Add func to hgnc_client to get db_refs from hgnc name
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 @@ -81,11 +81,7 @@ url = %s""" % (self.tempdir, pg.url)) c, _ = self._exec( ["gnocchi-api", "--port", str(self.port), "--", "...
Gnocchi: bugfix on wait_for_line on API
py
diff --git a/test_execjs.py b/test_execjs.py index <HASH>..<HASH> 100755 --- a/test_execjs.py +++ b/test_execjs.py @@ -3,8 +3,9 @@ from __future__ import unicode_literals import sys import os - import doctest +import six + import execjs import execjs.external_runtime import execjs.pyv8runtime @@ -135,7 +136,8 @@...
Fix doctest fails with Python 2.x
py
diff --git a/ipfn/__init__.py b/ipfn/__init__.py index <HASH>..<HASH> 100644 --- a/ipfn/__init__.py +++ b/ipfn/__init__.py @@ -1,3 +1,3 @@ -from .ipfn import ipfn +from ipfn import ipfn __all__ = ['ipfn']
modify the call to ipfn
py
diff --git a/src/ossos-pipeline/ossos/gui/fitsviewer.py b/src/ossos-pipeline/ossos/gui/fitsviewer.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/gui/fitsviewer.py +++ b/src/ossos-pipeline/ossos/gui/fitsviewer.py @@ -43,6 +43,8 @@ class MPLFitsImageViewer(object): """ def __init__(self, parent...
Added hacky and not robust way of making keyboard shortcuts work after clicking in image viewer. A better way will be needed.
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -31,9 +31,7 @@ def test_not_files(): ok_(arg.not_files.all == arguments) def test_grouped(): - details = {'--language': ['python27', 'python32'], '--creator': ['Guido Van Rossum'], \ - '--foundation': ...
Replace sample data in test_grouped consistent with other changes.
py
diff --git a/ctd/ctd.py b/ctd/ctd.py index <HASH>..<HASH> 100644 --- a/ctd/ctd.py +++ b/ctd/ctd.py @@ -340,8 +340,8 @@ def from_btl(fname, lon=None, lat=None): ) f.close() - # At this point the data frame is not correctly lined up (multiple rows for avg, std, min, max or - # just avg, std, etc). + ...
change to len(rowtypes) from hardcoded number of stats in from_btl
py
diff --git a/viscm/bezierbuilder.py b/viscm/bezierbuilder.py index <HASH>..<HASH> 100644 --- a/viscm/bezierbuilder.py +++ b/viscm/bezierbuilder.py @@ -57,7 +57,7 @@ class ControlPointModel(object): def add_point(self, i, new_x, new_y): self._xp.insert(i, new_x) self._yp.insert(i, new_y) - ...
Fix an off-by-one bug when adding points to a diverging colormap Symptom: if we added a new point on the lower side of the colormap, adjacent to the middle "fixed point", then the new point would become the fixed point and the original fixed point would become part of the upper half of the colormap.
py
diff --git a/gcloud/storage/test_bucket.py b/gcloud/storage/test_bucket.py index <HASH>..<HASH> 100644 --- a/gcloud/storage/test_bucket.py +++ b/gcloud/storage/test_bucket.py @@ -727,10 +727,9 @@ class Test_Bucket(unittest2.TestCase): def test_get_versioning_lazy(self): NAME = 'name' - before = {...
Make 'lazy' test less eager.
py
diff --git a/lib/elements/bfe_issn.py b/lib/elements/bfe_issn.py index <HASH>..<HASH> 100644 --- a/lib/elements/bfe_issn.py +++ b/lib/elements/bfe_issn.py @@ -22,13 +22,15 @@ __revision__ = "$Id$" import pprint -import urllib import sys import re import getopt from invenio.search_engine import perform_request_s...
global: uniformize user-agent header usage * Use make_invenio_opener/make_user_agent_string every time Invenio performs an HTTP request as a client. (closes #<I>)
py
diff --git a/master/buildbot/schedulers/base.py b/master/buildbot/schedulers/base.py index <HASH>..<HASH> 100644 --- a/master/buildbot/schedulers/base.py +++ b/master/buildbot/schedulers/base.py @@ -173,8 +173,8 @@ class BaseScheduler(service.MultiService, ComparableMixin, StateMixin): if change_filter and...
Fix problems in warning log; fixes #<I>
py
diff --git a/ariba/ref_genes_getter.py b/ariba/ref_genes_getter.py index <HASH>..<HASH> 100644 --- a/ariba/ref_genes_getter.py +++ b/ariba/ref_genes_getter.py @@ -49,7 +49,7 @@ class RefGenesGetter: except: raise Error('Error mkdir/chdir ' + tmpdir) - card_version = '1.0.8' + card_...
Update card version to <I>
py
diff --git a/slither/detectors/statements/unprotected_upgradeable.py b/slither/detectors/statements/unprotected_upgradeable.py index <HASH>..<HASH> 100644 --- a/slither/detectors/statements/unprotected_upgradeable.py +++ b/slither/detectors/statements/unprotected_upgradeable.py @@ -29,9 +29,7 @@ def _has_initializing_p...
Update slither/detectors/statements/unprotected_upgradeable.py
py
diff --git a/sk_dsp_comm/test/test_sigsys.py b/sk_dsp_comm/test/test_sigsys.py index <HASH>..<HASH> 100644 --- a/sk_dsp_comm/test/test_sigsys.py +++ b/sk_dsp_comm/test/test_sigsys.py @@ -35,3 +35,12 @@ class TestSigsys(TestCase): gdB = [x for x in range(1, 9)] with self.assertRaisesRegexp(ValueError, ...
Adding test for peaking function.
py
diff --git a/spyder/plugins/editor/widgets/codeeditor.py b/spyder/plugins/editor/widgets/codeeditor.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/codeeditor.py +++ b/spyder/plugins/editor/widgets/codeeditor.py @@ -1105,8 +1105,9 @@ class CodeEditor(TextEditBaseWidget): def recieve_text_tokens(...
Define self.completion_args for fallback completions
py
diff --git a/floyd/cli/run.py b/floyd/cli/run.py index <HASH>..<HASH> 100644 --- a/floyd/cli/run.py +++ b/floyd/cli/run.py @@ -107,6 +107,9 @@ def show_new_job_info(expt_client, job_name, expt_info, mode, open_notebook=True # Print the url to jupyter notebook if mode == 'jupyter': + + flo...
add line about trying out workspaces when running jupyter jobs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,4 +7,6 @@ setup( version='0.1', description='Python driver for Cassandra', packages=["cassandra"], - ext_modules=[murmur3]) + ext_modules=[murmur3], + install_requires=['pyev', 'python-snappy'], + ...
Add install_requires, test_requires to setup.py
py
diff --git a/nodeshot/interop/oldimporter/management/commands/import_old_nodeshot.py b/nodeshot/interop/oldimporter/management/commands/import_old_nodeshot.py index <HASH>..<HASH> 100644 --- a/nodeshot/interop/oldimporter/management/commands/import_old_nodeshot.py +++ b/nodeshot/interop/oldimporter/management/commands/...
[oldimporter] Report blocking errors during import_old_nodeshot
py
diff --git a/bugzilla/base.py b/bugzilla/base.py index <HASH>..<HASH> 100644 --- a/bugzilla/base.py +++ b/bugzilla/base.py @@ -1479,7 +1479,11 @@ class BugzillaBase(object): att_uri = self._attachment_uri(attachid) - response = requests.get(att_uri, cookies=self._cookiejar, stream=True) + def...
bugzilla: Propagate nosslverify when fetching attachments (bz <I>)
py
diff --git a/rdopkg/actionmods/cbsbuild.py b/rdopkg/actionmods/cbsbuild.py index <HASH>..<HASH> 100644 --- a/rdopkg/actionmods/cbsbuild.py +++ b/rdopkg/actionmods/cbsbuild.py @@ -49,7 +49,11 @@ def new_build(profile='cbs', scratch=True): import imp kojibin = find_executable('koji') kojicli = imp.load_sou...
cbsbuild: fix compatibility with Koji <I> Koji moves client internal API from kojicli to koji_cli.lib This patch ensures compatibility with Koji pre-<I> and <I> Change-Id: Ib<I>f<I>b1c<I>c1dc<I>c3b6a8c<I>d<I>a<I>
py
diff --git a/mtools/__init__.py b/mtools/__init__.py index <HASH>..<HASH> 100644 --- a/mtools/__init__.py +++ b/mtools/__init__.py @@ -0,0 +1 @@ +__version__ = "1.0.0" \ No newline at end of file
added __version__ of <I>
py
diff --git a/resolwe/test/testcases/__init__.py b/resolwe/test/testcases/__init__.py index <HASH>..<HASH> 100644 --- a/resolwe/test/testcases/__init__.py +++ b/resolwe/test/testcases/__init__.py @@ -29,6 +29,7 @@ import mock from django.conf import settings from django.contrib.auth import get_user_model from django....
Add a work-around for Django's issue with ContentType cache Override TransactionTestCase's _pre_setup() method and manually clear ConentType cache before permissions are setup. Thanks to Domen Blenkuš for debugging the issue.
py
diff --git a/src/foremast/awslambda/awslambda.py b/src/foremast/awslambda/awslambda.py index <HASH>..<HASH> 100644 --- a/src/foremast/awslambda/awslambda.py +++ b/src/foremast/awslambda/awslambda.py @@ -195,7 +195,7 @@ class LambdaFunction(object): lambda_arn = get_lambda_arn(self.app_name, self.env, self.re...
remove spaces around non-assignment =
py
diff --git a/test/test_node_utils.py b/test/test_node_utils.py index <HASH>..<HASH> 100644 --- a/test/test_node_utils.py +++ b/test/test_node_utils.py @@ -384,6 +384,14 @@ class TestNodeUtils(RDLSourceTestCase): self.assertFalse(f5.is_sw_writable) self.assertFalse(f6.is_sw_writable) + self.as...
Add basic checks to node_utils test for is_hw_readable/writeable
py
diff --git a/lib/emir/recipes/intensity_flatfield.py b/lib/emir/recipes/intensity_flatfield.py index <HASH>..<HASH> 100644 --- a/lib/emir/recipes/intensity_flatfield.py +++ b/lib/emir/recipes/intensity_flatfield.py @@ -54,7 +54,7 @@ import numina.recipes as nr from numina.image import DiskImage from numina.image.flow...
flatcombine in numina.image.combine
py
diff --git a/angr/analyses/variable_recovery/engine_vex.py b/angr/analyses/variable_recovery/engine_vex.py index <HASH>..<HASH> 100644 --- a/angr/analyses/variable_recovery/engine_vex.py +++ b/angr/analyses/variable_recovery/engine_vex.py @@ -339,6 +339,9 @@ class SimEngineVRVEX( typevar=r0.typeva...
VR: Add <I>HLto<I> support in EngineVEX.
py
diff --git a/test/test_cli.py b/test/test_cli.py index <HASH>..<HASH> 100644 --- a/test/test_cli.py +++ b/test/test_cli.py @@ -82,7 +82,8 @@ class TestCli(Folders): ['scigraph-deploy', '--help'], ['scig', '--help'], ['ttlfmt', '--help'], - ['python', 'resolver/make_config.py'], + ...
test cli trying different approach for running make_config
py
diff --git a/ibis/tests/test_impala_e2e.py b/ibis/tests/test_impala_e2e.py index <HASH>..<HASH> 100644 --- a/ibis/tests/test_impala_e2e.py +++ b/ibis/tests/test_impala_e2e.py @@ -559,7 +559,11 @@ FROM ibis_testing.tpch_lineitem li for expr, expected in cases: result = self.con.execute(expr) - ...
TST: fix test_decimal_builtins_2 for py<I> (again) Some of the expressions return Decimal values while some return floats, which need to be handled separately.
py
diff --git a/tcconfig/_converter.py b/tcconfig/_converter.py index <HASH>..<HASH> 100644 --- a/tcconfig/_converter.py +++ b/tcconfig/_converter.py @@ -37,7 +37,6 @@ class Humanreadable(object): ByteUnit(regexp=re.compile("^gbps$", re.IGNORECASE), factor=3), ByteUnit(regexp=re.compile("^t$", re.IGNOREC...
Remove a too large byte unit
py
diff --git a/tests/integration/modules/test_libcloud_dns.py b/tests/integration/modules/test_libcloud_dns.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/test_libcloud_dns.py +++ b/tests/integration/modules/test_libcloud_dns.py @@ -1,9 +1,24 @@ # -*- coding: utf-8 -*- from __future__ import absolute_im...
Disable libcloud test if the module doesn't load This is causing the mac tests to fail. apache-libcloud <I> is what is being imported, and the libcloud_dns module is not being used.
py
diff --git a/plugins/item_licenses/plugin_tests/item_licenses_test.py b/plugins/item_licenses/plugin_tests/item_licenses_test.py index <HASH>..<HASH> 100644 --- a/plugins/item_licenses/plugin_tests/item_licenses_test.py +++ b/plugins/item_licenses/plugin_tests/item_licenses_test.py @@ -274,8 +274,8 @@ class ItemLicense...
Remove usage of "six.assertCountEqual"
py
diff --git a/tests/presets/test_vue3.py b/tests/presets/test_vue3.py index <HASH>..<HASH> 100644 --- a/tests/presets/test_vue3.py +++ b/tests/presets/test_vue3.py @@ -10,11 +10,9 @@ class TestVue(unittest.TestCase): def test_update_package_array(self): expected_packages = { - 'vue': '^3.0.0',...
fix: fix failing tests for vue3 preset
py
diff --git a/script/lib/config.py b/script/lib/config.py index <HASH>..<HASH> 100644 --- a/script/lib/config.py +++ b/script/lib/config.py @@ -5,7 +5,7 @@ import sys NODE_VERSION = 'v0.11.13' BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' -LIBCHROMIUMCONTENT_COMMIT = '197fe67fee1e4d86...
Upgrade libchromium for the accelerator fix.
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -2597,9 +2597,9 @@ def group_install(name, targets = [] for group in groups: group_detail = group_info(group) - targets.extend(group_detail.get(...
Use correct keys from group_info in group_install. Fixes #<I>
py
diff --git a/neural/afni.py b/neural/afni.py index <HASH>..<HASH> 100644 --- a/neural/afni.py +++ b/neural/afni.py @@ -640,7 +640,10 @@ def qwarp_apply(dset_from,dset_warp,affine=None,warp_suffix='_warp',master='WARP out_dset = os.path.split(suffix(dset_from,warp_suffix))[1] cmd = [ '3dNwarpApply', -...
updated bug in applying affine transforms to qwarp
py
diff --git a/examples/ROOT/inspect_tree.py b/examples/ROOT/inspect_tree.py index <HASH>..<HASH> 100755 --- a/examples/ROOT/inspect_tree.py +++ b/examples/ROOT/inspect_tree.py @@ -42,7 +42,7 @@ for leaf in tree.GetListOfLeaves(): row = [ ] row.append(leaf.GetName()) row.append(leaf.GetTypeName()) - row...
update examples/ROOT/inspect_tree.py
py
diff --git a/redisco/models/modelset.py b/redisco/models/modelset.py index <HASH>..<HASH> 100644 --- a/redisco/models/modelset.py +++ b/redisco/models/modelset.py @@ -24,7 +24,11 @@ class ModelSet(Set): if isinstance(index, slice): return self.limit(slice.start, slice.stop) else: - ...
Fixes bug where index passed to the model_set __getitem__ is out of range.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ REQUIREMENTS = ['numpy', 'lasio', 'striplog', 'tqdm', + 'wellpathpy' ] TEST_REQUIREMENTS = ['pytest',
Add wellpathpy to install_requires
py
diff --git a/test/test_project.py b/test/test_project.py index <HASH>..<HASH> 100644 --- a/test/test_project.py +++ b/test/test_project.py @@ -2,16 +2,7 @@ import os import unittest - class ProjectTests(unittest.TestCase): - # ./docker - def test_docker_dir(self): - self.assertTrue(os.path.isfile("./...
fix: drop the silly docker file tests
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 @@ -221,8 +221,6 @@ class actionAngleIsochroneApprox(acti...
rm commented-out, old nonaxi test; also remove axi restriction on angle plots
py
diff --git a/airflow/cli/commands/webserver_command.py b/airflow/cli/commands/webserver_command.py index <HASH>..<HASH> 100644 --- a/airflow/cli/commands/webserver_command.py +++ b/airflow/cli/commands/webserver_command.py @@ -24,6 +24,7 @@ import subprocess import sys import textwrap import time +from contextlib im...
Improve web server stopping (#<I>)
py
diff --git a/notario/tests/test_engine.py b/notario/tests/test_engine.py index <HASH>..<HASH> 100644 --- a/notario/tests/test_engine.py +++ b/notario/tests/test_engine.py @@ -266,3 +266,10 @@ class TestOptionalKeys(object): exc_msg = str(exc.value) assert '3 did not match 2' in exc_msg asser...
tests for the new dict check on validate
py
diff --git a/pyathena/sqlalchemy_athena.py b/pyathena/sqlalchemy_athena.py index <HASH>..<HASH> 100644 --- a/pyathena/sqlalchemy_athena.py +++ b/pyathena/sqlalchemy_athena.py @@ -144,8 +144,8 @@ class AthenaDialect(DefaultDialect): r'DataCatalogException:\ (Namespace|Table)\ (?P<name>.+)\ not\ found') ...
Fix E<I> continuation line unaligned for hanging indent
py
diff --git a/ratcave/camera.py b/ratcave/camera.py index <HASH>..<HASH> 100644 --- a/ratcave/camera.py +++ b/ratcave/camera.py @@ -194,7 +194,8 @@ class PerspectiveProjection(ProjectionBase): class Camera(PhysicalGraph, HasUniforms, mixins.NameLabelMixin, mixins.ObservableVisibleMixin): - def __init__(self, pro...
Default camera starting orientation is set to the -z direction, matching OpenGL convention.
py
diff --git a/graphs/_betweenness.py b/graphs/_betweenness.py index <HASH>..<HASH> 100644 --- a/graphs/_betweenness.py +++ b/graphs/_betweenness.py @@ -20,7 +20,6 @@ def _brandes(adj, weighted): btw = np.zeros(n) for s in range(n): S, pred, sigma = sssp(adj, s) - print('VVV', s, S) delta = np.zeros(n)...
Removing debug cruft
py
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/cache.py +++ b/allegedb/allegedb/cache.py @@ -450,22 +450,24 @@ class Cache(object): self.branches[parent+(entity, key)][branch][rev] = value self.shallow[parent+(entity, key, branc...
Remove some redundancy in Cache.store
py
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -179,10 +179,14 @@ def daemonize(): log.error(msg.format(exc.errno, exc.strerror)) sys.exit(1) - dev_null = open('/dev/null', 'rw') - os.dup2(de...
Take stdout redirection out of daemonization for #<I>
py
diff --git a/peek_plugin_base/storage/DbConnection.py b/peek_plugin_base/storage/DbConnection.py index <HASH>..<HASH> 100644 --- a/peek_plugin_base/storage/DbConnection.py +++ b/peek_plugin_base/storage/DbConnection.py @@ -240,7 +240,7 @@ def convertToCoreSqlaInsert(ormObj, Declarative): return insertDict -def...
Improved insert integrity for pgCopyInsert PEEK-<I>
py