diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/lago/plugins/vm.py b/lago/plugins/vm.py index <HASH>..<HASH> 100644 --- a/lago/plugins/vm.py +++ b/lago/plugins/vm.py @@ -479,10 +479,21 @@ class VMPlugin(plugins.Plugin): for net in nets.values(): mapping = net.mapping() for hostname, ip in mapping.items(): - ...
Add ips_in_net() function - retrieve all IPs in a net Add a helper function to get all IPs a VM has in a specific network. Will be used to ensure in oVirt System Test that NFS goes over the storage network, and not the management network.
py
diff --git a/beetle/builder.py b/beetle/builder.py index <HASH>..<HASH> 100644 --- a/beetle/builder.py +++ b/beetle/builder.py @@ -90,8 +90,12 @@ def give_subpages(site): for page in site['pages']: if 'subpages' not in page: continue - subpage_group = page['subpages']['group'] - ...
Can now give subpages based on categories.
py
diff --git a/geomdl/construct.py b/geomdl/construct.py index <HASH>..<HASH> 100644 --- a/geomdl/construct.py +++ b/geomdl/construct.py @@ -60,7 +60,7 @@ def construct_surface(direction, *args, **kwargs): if rational: if arg.weights is None: raise GeomdlException("Expecting a ratio...
Fix debugging output for rational checking
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setup( name='py_expression_eval', - version='0.3.13', + version='0.3.14', description='Python Mathematical Expression Evaluator', long_description=long_de...
Bumped version for <I> release.
py
diff --git a/nuimo.py b/nuimo.py index <HASH>..<HASH> 100644 --- a/nuimo.py +++ b/nuimo.py @@ -225,8 +225,9 @@ class NuimoController(gattlib.GATTRequester): NuimoGestureEvent.FLY_TOWARD, NuimoGestureEvent.FLY_BACKWARDS, NuimoGestureEvent.FLY_UP_DOWN] fly_direction ...
Get the fly distance and put it in the fly_event as value
py
diff --git a/test/unit_test/run/test_acq_manager.py b/test/unit_test/run/test_acq_manager.py index <HASH>..<HASH> 100644 --- a/test/unit_test/run/test_acq_manager.py +++ b/test/unit_test/run/test_acq_manager.py @@ -629,7 +629,7 @@ class TestAcquisitionManager(): def create_acqmodel(self, winsz, acq_rate=None): ...
fixed test for removed funciton
py
diff --git a/quantecon/tests/test_ces.py b/quantecon/tests/test_ces.py index <HASH>..<HASH> 100644 --- a/quantecon/tests/test_ces.py +++ b/quantecon/tests/test_ces.py @@ -9,6 +9,7 @@ import sympy as sp from ..ces import * + class CESTestSuite(unittest.TestCase): """Base class for ces.py module tests.""" @@...
Added a couple of extra lines.
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -6,7 +6,7 @@ import os import subprocess -_BASE_VERSION = "2.0.12" +_BASE_VERSION = "2.0.13" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/buildbot/status/tinderbox.py b/buildbot/status/tinderbox.py index <HASH>..<HASH> 100644 --- a/buildbot/status/tinderbox.py +++ b/buildbot/status/tinderbox.py @@ -172,7 +172,7 @@ class TinderboxMailNotifier(mail.MailNotifier): text += "%s build: %s\n" % (t, self.columnName) elif isinst...
axel-tinderbox-fix.patch Fix by Axel Hecht <l<I><EMAIL>> to a regression in tinderbox
py
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py @@ -944,8 +944,9 @@ class ContextTests(TestCase, _LoopbackMixin): ``unicode`` instance and uses the certificates within for verification purposes. ...
Fix some accidental bytes/unicode mixing on Python 3.
py
diff --git a/spyderlib/widgets/comboboxes.py b/spyderlib/widgets/comboboxes.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/comboboxes.py +++ b/spyderlib/widgets/comboboxes.py @@ -58,7 +58,6 @@ class BaseComboBox(QComboBox): def add_current_text(self): """Add current text to combo box history (con...
Find/replace: one item was skipped when pressing F3 since Enter key was added as a shortcut to go to next found item Update Issue <I> Status: Fixed
py
diff --git a/aiohttp/worker.py b/aiohttp/worker.py index <HASH>..<HASH> 100644 --- a/aiohttp/worker.py +++ b/aiohttp/worker.py @@ -55,11 +55,12 @@ class GunicornWebWorker(base.Worker): def make_handler(self, app): if hasattr(self.wsgi, 'make_handler'): + access_log = self.log.access_log if se...
disable access log if gunicron is not configured
py
diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based_risk.py +++ b/openquake/calculators/event_based_risk.py @@ -208,9 +208,10 @@ class EbrPostCalculator(base.RiskCalculator): # build rcurves-stats...
Monitored rcurves-stats
py
diff --git a/dramatiq/broker.py b/dramatiq/broker.py index <HASH>..<HASH> 100644 --- a/dramatiq/broker.py +++ b/dramatiq/broker.py @@ -5,7 +5,8 @@ global_broker = None def get_broker(): - """Get the global broker instance. + """Get the global broker instance. If no global broker is set, + this initialize...
refactor: name broker logger after its class name
py
diff --git a/wallace/__init__.py b/wallace/__init__.py index <HASH>..<HASH> 100644 --- a/wallace/__init__.py +++ b/wallace/__init__.py @@ -1,4 +1,4 @@ -from . import models from .wallace import Wallace +from . import models, networks, processes, agents -__all__ = ['models', 'Wallace', 'networks', 'processes', 'agent...
Import networks, processes, and agents to wallace
py
diff --git a/scapy.py b/scapy.py index <HASH>..<HASH> 100755 --- a/scapy.py +++ b/scapy.py @@ -21,6 +21,9 @@ # # $Log: scapy.py,v $ +# Revision 0.9.17.29 2005/01/22 21:48:55 pbi +# - fixed need for warning() before it was declared +# # Revision 0.9.17.28 2005/01/22 21:47:11 pbi # - added ARPingResult to handl...
- fixed need for warning() before it was declared
py
diff --git a/mmtf/api/__init__.py b/mmtf/api/__init__.py index <HASH>..<HASH> 100644 --- a/mmtf/api/__init__.py +++ b/mmtf/api/__init__.py @@ -1 +1 @@ -from .default_api import parse,parse_gzip,fetch,MMTFDecoder,MMTFEncoder,TemplateEncoder,get_url \ No newline at end of file +from .default_api import parse,parse_gzip,f...
Expose write_mmtf and pass_data_on to the API
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -21,7 +21,7 @@ server.login(None, None, gsfId, authSubToken) # SEARCH -apps = server.search('termux', 34, None) +apps = server.search('telegram', 34, None) print('nb_result: 34') print('number of results: %d' % len(apps))...
test.py: download telegram rather than termux since telegram is supported by far more devices than termux
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -124,9 +124,9 @@ napoleon_include_special_with_doc = True napoleon_use_admonition_for_examples = False napoleon_use_admonition_for_notes = False napoleon_use_admonition_for_references = False -napoleon_use_i...
Avoid :param: for Google-style docstrings By settings this options, a "Parameters" section in a Google-style docstrings is formatted exactly like other sections (e.g. "Attributes"). The ':param:' role is no longer used. This improves consistent formatting. Also, we now have more flexibility in specifying parameter typ...
py
diff --git a/oauth2client/clientsecrets.py b/oauth2client/clientsecrets.py index <HASH>..<HASH> 100644 --- a/oauth2client/clientsecrets.py +++ b/oauth2client/clientsecrets.py @@ -69,8 +69,18 @@ class InvalidClientSecretsError(Error): def _validate_clientsecrets(obj): - if obj is None or len(obj) != 1: - raise ...
Modify invalid exception error to be less cryptic and give more context to the developer. This is to fix my personal debugging experience when trying to debug the fact that I had downloaded the wrong client secret JSON type (not web/installed).
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,15 @@ import sys import subprocess from distutils.spawn import find_executable from setuptools import setup, find_packages +from basesetup import write_version_py + +VERSION = '1.0.0.dev0' +ISRELEASED = False +__ver...
Modify setup.py to use new version writing
py
diff --git a/pods/datasets.py b/pods/datasets.py index <HASH>..<HASH> 100644 --- a/pods/datasets.py +++ b/pods/datasets.py @@ -559,7 +559,7 @@ def pmlr(volumes='all', data_set='pmlr', refresh_data=False): file = entry['yaml'].split('/')[-1] proto, url = entry['yaml'].split('//') f...
Fix bug from pmlr_volumes
py
diff --git a/python/src/wslink/backends/aiohttp/__init__.py b/python/src/wslink/backends/aiohttp/__init__.py index <HASH>..<HASH> 100644 --- a/python/src/wslink/backends/aiohttp/__init__.py +++ b/python/src/wslink/backends/aiohttp/__init__.py @@ -125,7 +125,9 @@ def create_webserver(server_config): static_rout...
fix(static): fix routes order definition for static content
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -6,7 +6,7 @@ import os import subprocess -_BASE_VERSION = "1.1.3" +_BASE_VERSION = "1.1.4" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/fluids/drag.py b/fluids/drag.py index <HASH>..<HASH> 100644 --- a/fluids/drag.py +++ b/fluids/drag.py @@ -1217,7 +1217,8 @@ def integrate_drag_sphere(D, rhop, rho, mu, t, V=0, Method=None, This can be relatively slow as drag correlations can be complex. There are analytical solutions availa...
Found a paper describing the derivation of the laminar particle drag coefficients which were previously added
py
diff --git a/src/diamond/collector.py b/src/diamond/collector.py index <HASH>..<HASH> 100644 --- a/src/diamond/collector.py +++ b/src/diamond/collector.py @@ -159,6 +159,8 @@ class Collector(object): else: self.config['enabled'] = False + self.collect_running = False + def ge...
make sure per collector only one collect() at a time
py
diff --git a/models.py b/models.py index <HASH>..<HASH> 100644 --- a/models.py +++ b/models.py @@ -3,7 +3,7 @@ import hashlib from django.db import models from django.contrib.contenttypes.models import ContentType -from sumo.models import ModelBase +from sumo.models import ModelBase, LocaleField from sumo.urlresol...
[bug <I>] Use LocaleField in all models where applicable.
py
diff --git a/pyperclip/__init__.py b/pyperclip/__init__.py index <HASH>..<HASH> 100644 --- a/pyperclip/__init__.py +++ b/pyperclip/__init__.py @@ -60,13 +60,6 @@ def determine_clipboard(): if HAS_DISPLAY: # Determine which command/module is installed, if any. try: - import gtk # check...
Temporary fix for QT4 being broken on Ubuntu.
py
diff --git a/glue/segments.py b/glue/segments.py index <HASH>..<HASH> 100644 --- a/glue/segments.py +++ b/glue/segments.py @@ -1207,8 +1207,8 @@ class segmentlistdict(dict): # ============================================================================= # - -try: - from __segments import * -except ImportError: - pa...
fixed segments.py on highmass branch to be compatible with LSCsegFind
py
diff --git a/remoto/connection.py b/remoto/connection.py index <HASH>..<HASH> 100644 --- a/remoto/connection.py +++ b/remoto/connection.py @@ -76,6 +76,7 @@ class Connection(object): def import_module(self, module): self.remote_module = ModuleExecute(self.gateway, module, self.logger) + return se...
make import_module return the module as well
py
diff --git a/tests/test_build_ext.py b/tests/test_build_ext.py index <HASH>..<HASH> 100644 --- a/tests/test_build_ext.py +++ b/tests/test_build_ext.py @@ -233,7 +233,7 @@ class BuildExtTestCase(support.TempdirManager, def test_get_outputs(self): tmp_dir = self.mkdtemp() c_file = os.path.join(tmp_...
Merged revisions <I> via svnmerge from svn+ssh://<EMAIL>/python/trunk ........ r<I> | tarek.ziade | <I>-<I>-<I> <I>:<I>:<I> <I> (Wed, <I> May <I>) | 1 line added an inifoo in the C file, to avoid a warning by the MSVC9 linker ........
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( description="Django LDAP authentication backend", long_description="""This is a Django authentication backend that authenticates against an LDAP service. Configuration can be as simple as a single...
Fix url in distutils description.
py
diff --git a/moto/ec2/models.py b/moto/ec2/models.py index <HASH>..<HASH> 100644 --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -2819,7 +2819,7 @@ class Subnet(TaggedEC2Resource): self.vpc_id = vpc_id self.cidr_block = cidr_block self.cidr = ipaddress.IPv4Network(six.text_type(self.cidr...
available_ip_addresses is now a string
py
diff --git a/iarm/arm_instructions/_meta.py b/iarm/arm_instructions/_meta.py index <HASH>..<HASH> 100644 --- a/iarm/arm_instructions/_meta.py +++ b/iarm/arm_instructions/_meta.py @@ -254,7 +254,7 @@ class _Meta(iarm.cpu.RegisterCpu): :return: """ Rx, other = self.get_parameters(regex_exp, par...
Needed and, not and not. was trying to call strip on None
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 @@ -123,7 +123,6 @@ class AlgorithmSimulator(object): # Save events to stream through blotter below. ...
STY: Remove extra lines between statements.
py
diff --git a/packages/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py b/packages/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py index <HASH>..<HASH> 100644 --- a/packages/aws-cdk/lib/init-templates/sample-app/...
fix(cli): Python sample app template does not follow PEP8 (#<I>) Classes should be surrounded by 2 blank lines according to PEP8 related PR: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ README = open(os.path.join(here, 'README.rst')).read() CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() setup(name='kotti_contactform', - version= '0.1.0b3', + version= '0.1.0b4', de...
Released <I>b4
py
diff --git a/examples/disassemble.py b/examples/disassemble.py index <HASH>..<HASH> 100644 --- a/examples/disassemble.py +++ b/examples/disassemble.py @@ -65,6 +65,7 @@ def main(class_path, classes): OperandTypes.BRANCH: f'J[{operand.value}]', OperandTypes.LITER...
Add missing support for padding operands to the disassemble example.
py
diff --git a/glances/core/glances_processes.py b/glances/core/glances_processes.py index <HASH>..<HASH> 100644 --- a/glances/core/glances_processes.py +++ b/glances/core/glances_processes.py @@ -360,7 +360,7 @@ class GlancesProcesses(object): if procstat['cpu_percent'] == '' or procstat['memory_percent'] == ''...
Correct raise issue on Mac OS X
py
diff --git a/properties/base.py b/properties/base.py index <HASH>..<HASH> 100644 --- a/properties/base.py +++ b/properties/base.py @@ -317,7 +317,7 @@ class Instance(basic.Property): return self.from_json(value) @staticmethod - def as_json(value): + def to_json(value): """Convert instance...
More renaming as_json -> to_json
py
diff --git a/salt/engines/docker_events.py b/salt/engines/docker_events.py index <HASH>..<HASH> 100644 --- a/salt/engines/docker_events.py +++ b/salt/engines/docker_events.py @@ -74,8 +74,12 @@ def start(docker_url='unix://var/run/docker.sock', else: __salt__['event.send'](tag, msg) - client ...
Allow docker_events engine to work with newer docker-py The Client attribute was renamed to APIClient in docker-py <I>
py
diff --git a/tests/pygobject/test_structs.py b/tests/pygobject/test_structs.py index <HASH>..<HASH> 100644 --- a/tests/pygobject/test_structs.py +++ b/tests/pygobject/test_structs.py @@ -29,7 +29,14 @@ class StructTest(unittest.TestCase): Gtk.main_iteration() window.destroy() - @unittest.skip...
A failing test for callee allocated out structs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,14 +6,25 @@ setup( url='https://github.com/Duroktar/YuleLog', packages=['yule_log'], package_data = {'yule_log': ['yule_log.ico']}, - license='MIT', + license='MIT License', author='Scott Doucet', ...
Added classifiers and keywords to setup.py
py
diff --git a/elasticmodels/indexes.py b/elasticmodels/indexes.py index <HASH>..<HASH> 100644 --- a/elasticmodels/indexes.py +++ b/elasticmodels/indexes.py @@ -368,7 +368,9 @@ class Index(metaclass=IndexBase): '_index': self.index, '_type': self.doc_type, '_id': model.pk, - ...
Don't call self.prepare(model) on when deleting
py
diff --git a/tools/pyboard.py b/tools/pyboard.py index <HASH>..<HASH> 100755 --- a/tools/pyboard.py +++ b/tools/pyboard.py @@ -170,7 +170,7 @@ class ProcessPtyToTerminal: import subprocess import re import serial - self.subp = subprocess.Popen(cmd.split(), bufsize=0, shell=True, preexe...
tools/pyboard: execpty: Use shell=False to workaround some curdir issues. Without this, Zephyr's port "make test" doesn't work.
py
diff --git a/cosmic_ray/importing.py b/cosmic_ray/importing.py index <HASH>..<HASH> 100644 --- a/cosmic_ray/importing.py +++ b/cosmic_ray/importing.py @@ -29,3 +29,6 @@ class Finder(MetaPathFinder, dict): ASTLoader(self[fullname], fullname)) except KeyError: pass + +...
Added better repr() to Finder.
py
diff --git a/data/pyinstaller_helper.py b/data/pyinstaller_helper.py index <HASH>..<HASH> 100644 --- a/data/pyinstaller_helper.py +++ b/data/pyinstaller_helper.py @@ -62,10 +62,10 @@ if __name__ == '__main__': p = plistlib.load(f) p["NSHighResolutionCapable"] = True p["NSRequiresAquaSyste...
Fix microphone access for macOS DMG (#<I>)
py
diff --git a/blockstack/lib/nameset/virtualchain_hooks.py b/blockstack/lib/nameset/virtualchain_hooks.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/nameset/virtualchain_hooks.py +++ b/blockstack/lib/nameset/virtualchain_hooks.py @@ -331,6 +331,7 @@ def get_db_state(disposition=DISPOSITION_RO): reload_lock.a...
return the db on read/write
py
diff --git a/internetarchive/files.py b/internetarchive/files.py index <HASH>..<HASH> 100644 --- a/internetarchive/files.py +++ b/internetarchive/files.py @@ -275,7 +275,7 @@ class File(BaseFile): without sending the delete request. """ - cascade_delete = False if not cascade_de...
Convert x-archive-cascade-delete header to string. As of version <I> of the requests library, all header values must be strings (i.e. not integers).
py
diff --git a/cairocffi/test_cairo.py b/cairocffi/test_cairo.py index <HASH>..<HASH> 100644 --- a/cairocffi/test_cairo.py +++ b/cairocffi/test_cairo.py @@ -255,12 +255,8 @@ def test_metadata(): assert b'/Creator (creator)' in pdf_bytes assert b'/Author (author)' in pdf_bytes assert b'/Keywords (keywords)'...
Fix comment related to apostrophes at the end of dates
py
diff --git a/examples/multi_script_CLI.py b/examples/multi_script_CLI.py index <HASH>..<HASH> 100644 --- a/examples/multi_script_CLI.py +++ b/examples/multi_script_CLI.py @@ -284,12 +284,15 @@ def menu_follow(): 1.Insert hashtag 2.Use hashtag database """) + hashtags = ...
Change multi_script_CLI.py to allow you to follow multiple users like in likes.
py
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index <HASH>..<HASH> 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -61,10 +61,10 @@ class Gitlab(object): email (str): The user email or login. password (str): The user password (associated with email). ssl_verify (bool): Whet...
Fix docstring for http_{username,password}
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -104,4 +104,9 @@ setup( ], tests_require=['tox', 'nose', 'scripttest'], cmdclass={'test': Tox}, + entry_points={ + 'console_scripts': [ + 'python-escpos = escpos.cli:main' + ] + },...
SETUP register cli entry point in setuptools
py
diff --git a/beekeeper/data_handlers.py b/beekeeper/data_handlers.py index <HASH>..<HASH> 100644 --- a/beekeeper/data_handlers.py +++ b/beekeeper/data_handlers.py @@ -67,7 +67,7 @@ MIMETYPES = { } def code(action, data, mimetype, encoding='utf-8'): - if hasattr(data, 'read'): + if action == 'dump' and hasattr...
Making file-like object handling more specific
py
diff --git a/pyemu/utils/os_utils.py b/pyemu/utils/os_utils.py index <HASH>..<HASH> 100644 --- a/pyemu/utils/os_utils.py +++ b/pyemu/utils/os_utils.py @@ -165,7 +165,8 @@ def start_workers( This option is usually not needed unless you are one of those crazy people who spreads files across coun...
first attempt at skipping unwanted rows in csv to ins
py
diff --git a/scot/varica.py b/scot/varica.py index <HASH>..<HASH> 100644 --- a/scot/varica.py +++ b/scot/varica.py @@ -5,7 +5,7 @@ import numpy as np from . import config -from .datatools import cat_trials, dot_special +from .datatools import cat_trials, dot_special, atleast_3d from . import xvschema @@ -71,7 ...
Data orientation: use SCoT's atleast_3d
py
diff --git a/stravalib/util/limiter.py b/stravalib/util/limiter.py index <HASH>..<HASH> 100644 --- a/stravalib/util/limiter.py +++ b/stravalib/util/limiter.py @@ -24,6 +24,15 @@ from datetime import datetime, timedelta from stravalib import exc + +def total_seconds(td): + """Alternative to datetime.timedelta.to...
time.sleep() expects a float Also handling case where python < <I> (datetime.timedelta.total_seconds is only available since Python >= <I>)
py
diff --git a/telethon/client/dialogs.py b/telethon/client/dialogs.py index <HASH>..<HASH> 100644 --- a/telethon/client/dialogs.py +++ b/telethon/client/dialogs.py @@ -370,7 +370,7 @@ class DialogMethods: await client.edit_folder(dialogs, [0, 1]) # Un-archiving all dialogs - ...
Change outdated reference to archive with edit_folder (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,7 @@ setup(name='latools', package_data={ 'latools': ['latools.cfg', 'resources/*', + 'resources/data_formats/*', 'resources/test_data/*'],...
add resources/data_format/* to package_data
py
diff --git a/geotiepoints/modisinterpolator.py b/geotiepoints/modisinterpolator.py index <HASH>..<HASH> 100644 --- a/geotiepoints/modisinterpolator.py +++ b/geotiepoints/modisinterpolator.py @@ -109,11 +109,11 @@ def _interpolate( (N rows per scan) and contain the entire scan width. """ - interp = _Inter...
Rename _Interpolator to _MODISInterpolator
py
diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py index <HASH>..<HASH> 100644 --- a/ryu/ofproto/ofproto_v1_0_parser.py +++ b/ryu/ofproto/ofproto_v1_0_parser.py @@ -53,7 +53,7 @@ def msg_parser(datapath, version, msg_type, msg_len, xid, buf): # OFP_MSG_REPLY = { # OFPFeaturesRe...
fix typo in ofproto_v1_0_parser comment
py
diff --git a/tests/test_middleware.py b/tests/test_middleware.py index <HASH>..<HASH> 100644 --- a/tests/test_middleware.py +++ b/tests/test_middleware.py @@ -116,7 +116,11 @@ class TestBasicAuthMiddleware(TestCase): self.assertEqual(result.status_code, basic_auth.basic_challenge().status_code) def test...
Fill in the rest of the BasicAuth tests.
py
diff --git a/timepiece/utils.py b/timepiece/utils.py index <HASH>..<HASH> 100644 --- a/timepiece/utils.py +++ b/timepiece/utils.py @@ -303,11 +303,11 @@ def date_filter(func): return inner_decorator -def get_hours(entries): +def get_hours(entries, key='billable'): hours = {'total': 0} for entry in en...
[#<I>] Fixed broken get_hours from merge in master
py
diff --git a/graphene/utils/is_graphene_type.py b/graphene/utils/is_graphene_type.py index <HASH>..<HASH> 100644 --- a/graphene/utils/is_graphene_type.py +++ b/graphene/utils/is_graphene_type.py @@ -11,9 +11,7 @@ def is_graphene_type(_type): from ..relay.mutation import ClientIDMutation from ..relay.connectio...
Improved is_graphene_type
py
diff --git a/src/gquery.py b/src/gquery.py index <HASH>..<HASH> 100644 --- a/src/gquery.py +++ b/src/gquery.py @@ -311,9 +311,13 @@ def rewrite_query(query, parameters, get_args): glogger.debug(parameters) requireXSD = False - requiredParams = set(parameters.keys()) + required_params = {} + for k,v...
supplied params matching required params only
py
diff --git a/denonavr/denonavr.py b/denonavr/denonavr.py index <HASH>..<HASH> 100644 --- a/denonavr/denonavr.py +++ b/denonavr/denonavr.py @@ -19,7 +19,8 @@ import requests _LOGGER = logging.getLogger("DenonAVR") DEVICEINFO_AVR_X_PATTERN = re.compile( - r"(.*AVR-S.*|.*AVR-X.*|.*SR500[6-9]|.*SR60(07|08|09|10|11|1...
Add Denon AVR-S series support Correct Line too long
py
diff --git a/tests/test_mixins.py b/tests/test_mixins.py index <HASH>..<HASH> 100644 --- a/tests/test_mixins.py +++ b/tests/test_mixins.py @@ -382,6 +382,6 @@ class TestLoggingMixin(APITestCase): self.assertEqual(log.response_ms, 0) def test_custom_log_handler(self): - self.client.get('/custo...
fix indent for flake8
py
diff --git a/lib/websearchadminlib.py b/lib/websearchadminlib.py index <HASH>..<HASH> 100644 --- a/lib/websearchadminlib.py +++ b/lib/websearchadminlib.py @@ -3505,6 +3505,7 @@ def get_detailed_page_tabs_counts(recID): num_reviews = 0 #num of reviews tabs_counts = {'Citations' : 0, 'Refe...
WebSearch: discussions compatibility fix * Reverts counter of discussions for legacy app. (closes #<I>)
py
diff --git a/core/eolearn/core/utilities.py b/core/eolearn/core/utilities.py index <HASH>..<HASH> 100644 --- a/core/eolearn/core/utilities.py +++ b/core/eolearn/core/utilities.py @@ -19,8 +19,6 @@ import numpy as np import geopandas as gpd from geopandas.testing import assert_geodataframe_equal -from sentinelhub im...
added docs strings for to_gpd_crs
py
diff --git a/backtrader/feed.py b/backtrader/feed.py index <HASH>..<HASH> 100644 --- a/backtrader/feed.py +++ b/backtrader/feed.py @@ -70,7 +70,9 @@ class MetaAbstractDataBase(dataseries.OHLCDateTime.__class__): super(MetaAbstractDataBase, cls).dopostinit(_obj, *args, **kwargs) # Either set by s...
Avoid assigning a non-string dataname to _name
py
diff --git a/montblanc/impl/common/loaders/loaders.py b/montblanc/impl/common/loaders/loaders.py index <HASH>..<HASH> 100644 --- a/montblanc/impl/common/loaders/loaders.py +++ b/montblanc/impl/common/loaders/loaders.py @@ -18,9 +18,11 @@ # You should have received a copy of the GNU General Public License # along with...
Query number of channels more efficiently. Instead of T.getcol('CHAN_FREQ'), T.getcol('NUM_CHAN') which is a scalar.
py
diff --git a/salt/cloud/clouds/vmware.py b/salt/cloud/clouds/vmware.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/vmware.py +++ b/salt/cloud/clouds/vmware.py @@ -2422,6 +2422,11 @@ def create(vm_): new_vm_ref = salt.utils.vmware.get_mor_by_property(_get_si(), vim.VirtualMachine, vm_name, container_ref=c...
Fix a bug when creating a new VM and changing the network info - This commit fixes a small bug where the network adapter won't be connected at startup of the VM and therefore can never be contacted by the salt master, the fix is to just simply apply the same config changes once the clone is completed
py
diff --git a/tools/pyinstaller_hooks/hook-raiden.py b/tools/pyinstaller_hooks/hook-raiden.py index <HASH>..<HASH> 100644 --- a/tools/pyinstaller_hooks/hook-raiden.py +++ b/tools/pyinstaller_hooks/hook-raiden.py @@ -17,10 +17,16 @@ def copy_metadata(package_name): # Add metadata of all required packages to allow pkg_...
Avoid circular dependencies in pyinstaller hook eth-hash introduced circular deps into raiden between versions <I> and <I>. This threw our pyinstaller hook-raiden.py into an infinite loop. Fixes <URL>
py
diff --git a/rest_api/api.py b/rest_api/api.py index <HASH>..<HASH> 100644 --- a/rest_api/api.py +++ b/rest_api/api.py @@ -355,6 +355,24 @@ def get_ccle_cna(): return res +@route('/databases/cbio/get_mutations_ccle', method=['POST', 'OPTIONS']) +@allow_cors +def get_mutations_ccle(): + """Get CCLE mutations...
get_mutations_ccle function fro cbio_client exposed in API - mutations can be queried in the API using the function with the same format as in the cbio_client
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -44,5 +44,13 @@ setup(name='scales', 'nose', ], test_suite = 'nose.collector', - zip_safe = True + zip_safe = True, + classifiers=[ + 'Programming Language :: Python', + ...
Document Python versions supported in setup.py
py
diff --git a/tests/integration/test_install_uri.py b/tests/integration/test_install_uri.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_install_uri.py +++ b/tests/integration/test_install_uri.py @@ -189,9 +189,9 @@ six = "*" def test_install_local_vcs_not_in_lockfile(PipenvInstance, pip_src_dir): with...
clone a fresh copy of six before running tests
py
diff --git a/python/vals2colors.py b/python/vals2colors.py index <HASH>..<HASH> 100644 --- a/python/vals2colors.py +++ b/python/vals2colors.py @@ -6,6 +6,7 @@ def vals2colors(vals,cmap='husl',res=100): Args: values (list or list of lists) - list of values to map to colors cmap (str) - color map (default is 'husl'...
added arg description for res
py
diff --git a/abilian/app.py b/abilian/app.py index <HASH>..<HASH> 100644 --- a/abilian/app.py +++ b/abilian/app.py @@ -88,7 +88,6 @@ class ServiceManager(object): class PluginManager(object): """Mixin that provides support for loading plugins.""" - @deprecated def register_plugin(self, name): "...
remove deprecation marker for now.
py
diff --git a/jp_proxy_widget/proxy_widget.py b/jp_proxy_widget/proxy_widget.py index <HASH>..<HASH> 100644 --- a/jp_proxy_widget/proxy_widget.py +++ b/jp_proxy_widget/proxy_widget.py @@ -146,8 +146,8 @@ class JSProxyWidget(widgets.DOMWidget): _model_name = Unicode('JSProxyModel').tag(sync=True) _view_module =...
sync version numbers in py to js
py
diff --git a/bcloud/net.py b/bcloud/net.py index <HASH>..<HASH> 100644 --- a/bcloud/net.py +++ b/bcloud/net.py @@ -17,6 +17,7 @@ sys.path.insert(0, os.path.dirname(__file__)) import const RETRIES = 3 +TIMEOUT = 30 default_headers = { 'User-agent': const.USER_AGENT, @@ -73,7 +74,7 @@ def urlopen(url, headers...
set timeout to <I>s
py
diff --git a/pyowm/constants.py b/pyowm/constants.py index <HASH>..<HASH> 100644 --- a/pyowm/constants.py +++ b/pyowm/constants.py @@ -2,6 +2,6 @@ Constants for the PyOWM library """ -PYOWM_VERSION = '2.3.1' +PYOWM_VERSION = '2.3.2' LATEST_OWM_API_VERSION = '2.5' DEFAULT_API_KEY = 'b1b15e88fa797225412429c1c50c122...
Bump to version <I>
py
diff --git a/scripts/dccsend.py b/scripts/dccsend.py index <HASH>..<HASH> 100644 --- a/scripts/dccsend.py +++ b/scripts/dccsend.py @@ -21,7 +21,7 @@ class DCCSend(irc.client.SimpleIRCClient): self.receiver = receiver self.filename = filename self.filesize = os.path.getsize(self.filename) - ...
DCC Send should open files in binary mode
py
diff --git a/sos/monitor.py b/sos/monitor.py index <HASH>..<HASH> 100644 --- a/sos/monitor.py +++ b/sos/monitor.py @@ -25,7 +25,7 @@ import threading import time from datetime import datetime import stat -from .utils import env +from .utils import env, expand_time, format_HHMMSS class ProcessMonitor(threading.Thr...
Fix importing expand_time in sos.monitor
py
diff --git a/spyder/plugins/__init__.py b/spyder/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/__init__.py +++ b/spyder/plugins/__init__.py @@ -278,6 +278,8 @@ class SpyderPluginMixin(object): def initialize_plugin(self): """Initialize plugin: connect signals, setup acti...
Plugins: Leave previous order in which plugin actions are created
py
diff --git a/molo/core/tasks.py b/molo/core/tasks.py index <HASH>..<HASH> 100644 --- a/molo/core/tasks.py +++ b/molo/core/tasks.py @@ -15,7 +15,6 @@ from django.core import management from django.contrib.auth.models import User from django.db.models import Q from django.shortcuts import get_object_or_404 -from djang...
Remove reliance on translations when checking to publish the page
py
diff --git a/mike/app_version.py b/mike/app_version.py index <HASH>..<HASH> 100644 --- a/mike/app_version.py +++ b/mike/app_version.py @@ -1 +1 @@ -version = '0.4.0' +version = '0.5.0.dev0'
Update version to <I>.dev0
py
diff --git a/pinax/teams/views.py b/pinax/teams/views.py index <HASH>..<HASH> 100644 --- a/pinax/teams/views.py +++ b/pinax/teams/views.py @@ -118,15 +118,18 @@ def team_manage(request): def team_join(request): team = request.team state = team.state_for(request.user) + if team.manager_access == Team.MEM...
fixed membership role/state setting in team_join
py
diff --git a/tensorflow_probability/python/bijectors/weibull_cdf_test.py b/tensorflow_probability/python/bijectors/weibull_cdf_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/bijectors/weibull_cdf_test.py +++ b/tensorflow_probability/python/bijectors/weibull_cdf_test.py @@ -40,7 +40,7 @@ class W...
frechet_r -> weibull_min The old API point has been deprecated for some time, and was removed in newer scipy releases. PiperOrigin-RevId: <I>
py
diff --git a/xtuml/model.py b/xtuml/model.py index <HASH>..<HASH> 100644 --- a/xtuml/model.py +++ b/xtuml/model.py @@ -576,12 +576,12 @@ def _defered_association_operation(inst, end, op): kind = inst.__class__.__name__ l = list() for ass in chain(*inst.__r__.values()): - if kind != ass.source.kind...
model: fixed deferred association updates
py
diff --git a/proso_models/json_enrich.py b/proso_models/json_enrich.py index <HASH>..<HASH> 100644 --- a/proso_models/json_enrich.py +++ b/proso_models/json_enrich.py @@ -9,14 +9,15 @@ def prediction(request, json_list, nested): object_item_ids = map(lambda x: x['item_id'], json_list) user = get_user_id(reque...
proso_flashcards: add possibility to get prediction of new user - resolve #<I>
py
diff --git a/delphi/AnalysisGraph.py b/delphi/AnalysisGraph.py index <HASH>..<HASH> 100644 --- a/delphi/AnalysisGraph.py +++ b/delphi/AnalysisGraph.py @@ -39,7 +39,6 @@ class AnalysisGraph(nx.DiGraph): self.dateCreated = datetime.now() self.name: str = "Linear Dynamical System with Stochastic Transiti...
Removing data attribute from AnalysisGraph class
py
diff --git a/docker/ssladapter/ssladapter.py b/docker/ssladapter/ssladapter.py index <HASH>..<HASH> 100644 --- a/docker/ssladapter/ssladapter.py +++ b/docker/ssladapter/ssladapter.py @@ -46,6 +46,19 @@ class SSLAdapter(HTTPAdapter): self.poolmanager = PoolManager(**kwargs) + def get_connection(self, *ar...
Ensure assert_hostname is set on the pool connection If you have assert_hostname turned off and are using a proxy on your computer then assert_hostname wasn't being properly set on the pool connection and it was failing to connect to docker
py
diff --git a/pytds/tds.py b/pytds/tds.py index <HASH>..<HASH> 100644 --- a/pytds/tds.py +++ b/pytds/tds.py @@ -3798,8 +3798,13 @@ class _TdsSession(object): elif marker in (TDS_DONE_TOKEN, TDS_DONEPROC_TOKEN, TDS_DONEINPROC_TOKEN): self.process_end(marker) if self.done_fla...
find_result_or_done changed as per denisenkom suggestion now assigning select returns empty resultset
py
diff --git a/wikidataintegrator/wdi_helpers/publication.py b/wikidataintegrator/wdi_helpers/publication.py index <HASH>..<HASH> 100644 --- a/wikidataintegrator/wdi_helpers/publication.py +++ b/wikidataintegrator/wdi_helpers/publication.py @@ -297,6 +297,8 @@ class Publication: if self.source == 'arxiv': ...
Use biorxiv id as primary key
py
diff --git a/tensorflow_probability/examples/vae.py b/tensorflow_probability/examples/vae.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/examples/vae.py +++ b/tensorflow_probability/examples/vae.py @@ -34,7 +34,7 @@ Here we also compute tighter bounds, the IWAE [Burda et. al. (2015)][2]. These as well a...
Rename programmers_guide/ directory to guide/ in tfp. PiperOrigin-RevId: <I>
py
diff --git a/certvalidator/validate.py b/certvalidator/validate.py index <HASH>..<HASH> 100644 --- a/certvalidator/validate.py +++ b/certvalidator/validate.py @@ -420,7 +420,7 @@ def _validate_path(validation_context, path, end_entity_name_override=None): _cert_type(index, last_index, end_entity_na...
Allow either CRL or OCSP checks to fail if the other is successful
py
diff --git a/bin/permutation_test.py b/bin/permutation_test.py index <HASH>..<HASH> 100755 --- a/bin/permutation_test.py +++ b/bin/permutation_test.py @@ -318,7 +318,7 @@ def multiprocess_permutation(bed_dict, mut_df, opts): """Handles parallelization of permutations by splitting work by chromosome. """ ...
Do multi-processing of chromosomes in order of chromosomes with most genes to least. This is most likely to group large chromosomes together such that less time is wasted with waiting for other processes to finish.
py
diff --git a/mock/mock.py b/mock/mock.py index <HASH>..<HASH> 100644 --- a/mock/mock.py +++ b/mock/mock.py @@ -2544,7 +2544,7 @@ def mock_open(mock=None, read_data=''): default) then a `MagicMock` will be created for you, with the API limited to methods or attributes available on standard file handles. - ...
Fix mock_open docstring to use readline (#<I>) Backports: <I>f<I>a2f<I>f5ec<I>c<I>bce<I>bd<I>bd
py
diff --git a/elifetools/parseJATS.py b/elifetools/parseJATS.py index <HASH>..<HASH> 100644 --- a/elifetools/parseJATS.py +++ b/elifetools/parseJATS.py @@ -1641,9 +1641,9 @@ def body_block_content(tag): # Remove unwanted nested tags unwanted_tag_names = ["table-wrap", "disp-formula", "fig-group", "fig"...
Tweak to previous commit, rendered the wrong tag.
py
diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade.py +++ b/openupgradelib/openupgrade.py @@ -488,7 +488,9 @@ def migrate(no_version=False): """ This is the decorator for the migrate() function in migration scripts. - ...
[ADD] explanations of the modifications in the code
py