diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,7 @@ setup( url="https://github.com/czepluch/pysecp256k1", license="MIT", packages=find_packages(exclude=["_cffi_build", "_cffi_build/*"]), + package_data={'': ['libsecp256k1.so']}, # ext_modul...
added .so file as data to setup.py to include it in build. tox now pass
py
diff --git a/wakeonlan.py b/wakeonlan.py index <HASH>..<HASH> 100755 --- a/wakeonlan.py +++ b/wakeonlan.py @@ -29,12 +29,10 @@ def create_magic_packet(macaddress): magic packet. """ - if len(macaddress) == 12: - pass - elif len(macaddress) == 17: + if len(macaddress) == 17: ...
Cleanup mac formatting and packet creation logic
py
diff --git a/qimage2ndarray/qimageview_python.py b/qimage2ndarray/qimageview_python.py index <HASH>..<HASH> 100644 --- a/qimage2ndarray/qimageview_python.py +++ b/qimage2ndarray/qimageview_python.py @@ -1,8 +1,8 @@ import numpy as np from qimage2ndarray.dynqt import qt, QtGui -def PyQt4_data(image): - # PyQt4's ...
make qimageview_python compatible with PyQt5
py
diff --git a/django_lab_members_site/settings.py b/django_lab_members_site/settings.py index <HASH>..<HASH> 100644 --- a/django_lab_members_site/settings.py +++ b/django_lab_members_site/settings.py @@ -68,7 +68,7 @@ DATABASES = { LANGUAGE_CODE = 'en-us' -TIME_ZONE = 'UTC' +TIME_ZONE = 'America/Los_Angeles' USE...
Change time zone to America/Los_Angeles
py
diff --git a/workshift/utils.py b/workshift/utils.py index <HASH>..<HASH> 100644 --- a/workshift/utils.py +++ b/workshift/utils.py @@ -260,18 +260,16 @@ def past_sign_out(instance, moment=None): cutoff_hours = timedelta(hours=instance.pool.sign_out_cutoff) cutoff_time = start_datetime - cutoff_hours + # ...
Cleaned up assigned_time a bit more
py
diff --git a/dsari/render.py b/dsari/render.py index <HASH>..<HASH> 100644 --- a/dsari/render.py +++ b/dsari/render.py @@ -73,6 +73,9 @@ def main(argv): lh_console.setLevel(logging.INFO) logger.addHandler(lh_console) + if not os.path.exists(os.path.join(config['data_dir'], 'dsari.sqlite3')): + ...
Exit render if the DB does not exist
py
diff --git a/test/unit/pipeline/test_pipeline.py b/test/unit/pipeline/test_pipeline.py index <HASH>..<HASH> 100644 --- a/test/unit/pipeline/test_pipeline.py +++ b/test/unit/pipeline/test_pipeline.py @@ -157,7 +157,7 @@ class DummyPhasePositions(af.AbstractPhase): self.phase_name = phase_name self.phas...
fixed mock phase and optimizer naming issues
py
diff --git a/spamc/client.py b/spamc/client.py index <HASH>..<HASH> 100644 --- a/spamc/client.py +++ b/spamc/client.py @@ -127,7 +127,7 @@ class SpamC(object): user=None, timeout=None, wait_tries=0.3, - max_tries=3, + max_tries=5, ...
Increase default retries on connection errors
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 @@ -51,6 +51,11 @@ templates_path = ['_templates'] # source_suffix = ['.rst', '.md'] source_suffix = '.rst' +source_parsers = { + '.md': 'recommonmark.parser.CommonMarkParser', +...
doc: dev: include option for markdown in documentation
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.5 # -*- coding: utf-8 -*- # # Astrocats documentation build configuration file, created by
MAINT: sphinx stuff
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ with open('README.rst') as file_object: description = file_object.read() setup(name='travis-encrypt', - version='1.2.3', + version='1.3.0', author='Mandeep', author_email='mandeep@k...
Increment minor version to <I>
py
diff --git a/glances/core/glances_monitor_list.py b/glances/core/glances_monitor_list.py index <HASH>..<HASH> 100644 --- a/glances/core/glances_monitor_list.py +++ b/glances/core/glances_monitor_list.py @@ -141,7 +141,7 @@ class MonitorList(object): except Exception: self.__monitor...
Correct an issue with Python <I> and monitored list issue
py
diff --git a/examples/hhl.py b/examples/hhl.py index <HASH>..<HASH> 100644 --- a/examples/hhl.py +++ b/examples/hhl.py @@ -35,7 +35,7 @@ The result is good if the register size is large enough such that for every pair the ratio can be approximated by a pair of possible register values. Let s be the scaling factor fro...
Minor (cosmetic changes) (#<I>) Added a parenthesis I think is required. Fixed a sentence, I think the word "rotation" was missing.
py
diff --git a/dipper/sources/BioGrid.py b/dipper/sources/BioGrid.py index <HASH>..<HASH> 100644 --- a/dipper/sources/BioGrid.py +++ b/dipper/sources/BioGrid.py @@ -1,7 +1,7 @@ import os import logging import re -from typing import Union +from typing import Union, Optional from zipfile import ZipFile @@ -207,7 +2...
Change Union[str, None] to Optional[str]
py
diff --git a/pyrap_functionals/trunk/pyrap_functionals/functional.py b/pyrap_functionals/trunk/pyrap_functionals/functional.py index <HASH>..<HASH> 100644 --- a/pyrap_functionals/trunk/pyrap_functionals/functional.py +++ b/pyrap_functionals/trunk/pyrap_functionals/functional.py @@ -18,7 +18,7 @@ class functional(_funct...
accept 'anything' which has a length. This will enable handling of arrays
py
diff --git a/ryu/tests/integrated/common/docker_base.py b/ryu/tests/integrated/common/docker_base.py index <HASH>..<HASH> 100644 --- a/ryu/tests/integrated/common/docker_base.py +++ b/ryu/tests/integrated/common/docker_base.py @@ -133,7 +133,7 @@ class Command(object): if out.returncode == 0: ...
scenario test: Fix the wrong retry check in command execution
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name='django-disqus', - version='0.3.5beta6', + version='0.3.5beta7', description='Export existing comments and integrate DISQUS into your Djan...
Version bump to <I>beta7
py
diff --git a/backtrader/resamplerfilter.py b/backtrader/resamplerfilter.py index <HASH>..<HASH> 100644 --- a/backtrader/resamplerfilter.py +++ b/backtrader/resamplerfilter.py @@ -162,8 +162,8 @@ class _BaseResampler(with_metaclass(metabase.MetaParams, object)): return point def _barover_subdays(self, da...
Fixes #<I> by correctly calculating when the current session ends for the last bar (when next session data is already in)
py
diff --git a/lambda_uploader/shell.py b/lambda_uploader/shell.py index <HASH>..<HASH> 100644 --- a/lambda_uploader/shell.py +++ b/lambda_uploader/shell.py @@ -64,7 +64,11 @@ def _execute(args): package.extra_file(p) if cfg.function_path: pth = cfg.function_path - pkg = package.build_package(pt...
Added CLI option to set a requirements file
py
diff --git a/cyphi/constants.py b/cyphi/constants.py index <HASH>..<HASH> 100644 --- a/cyphi/constants.py +++ b/cyphi/constants.py @@ -10,5 +10,5 @@ DIRECTIONS = ('past', 'future') # Directory for the persistent joblib Memory cache CACHE_DIRECTORY = '__cyphi_cache__' # The maximum percentage of RAM that CyPhi should...
Use <I>% of available memory
py
diff --git a/streamteam/inference/model.py b/streamteam/inference/model.py index <HASH>..<HASH> 100644 --- a/streamteam/inference/model.py +++ b/streamteam/inference/model.py @@ -129,7 +129,8 @@ class EmceeModel(object): ix1 = 0 for group_name,param_name,param in self._walk(): - val = p[i...
hack to squeze param val
py
diff --git a/scs_core/data/timedelta.py b/scs_core/data/timedelta.py index <HASH>..<HASH> 100644 --- a/scs_core/data/timedelta.py +++ b/scs_core/data/timedelta.py @@ -8,14 +8,11 @@ A JSONable wrapper for timedelta. import re -from collections import OrderedDict from datetime import timedelta from scs_core.data...
Upgraded Timedelta JSON.
py
diff --git a/pydbc/__init__.py b/pydbc/__init__.py index <HASH>..<HASH> 100644 --- a/pydbc/__init__.py +++ b/pydbc/__init__.py @@ -45,7 +45,7 @@ class cursor(): def is_closed(self): return self.impl == None -class connection(): +class Connection(): def _assert_valid(self): if self.impl is ...
renamed class connection to Connection
py
diff --git a/src/python/grpcio/grpc/experimental/aio/_call.py b/src/python/grpcio/grpc/experimental/aio/_call.py index <HASH>..<HASH> 100644 --- a/src/python/grpcio/grpc/experimental/aio/_call.py +++ b/src/python/grpcio/grpc/experimental/aio/_call.py @@ -15,7 +15,7 @@ import asyncio from functools import partial -f...
Fix pylint issue
py
diff --git a/dipper/sources/ClinVarXML_alpha.py b/dipper/sources/ClinVarXML_alpha.py index <HASH>..<HASH> 100755 --- a/dipper/sources/ClinVarXML_alpha.py +++ b/dipper/sources/ClinVarXML_alpha.py @@ -619,6 +619,12 @@ with gzip.open(FILENAME, 'rt') as fh: _evidence_id, 'SEPIO:000...
also attach source to association per <I> cmap
py
diff --git a/tests/graphcut_/__init__.py b/tests/graphcut_/__init__.py index <HASH>..<HASH> 100644 --- a/tests/graphcut_/__init__.py +++ b/tests/graphcut_/__init__.py @@ -1,4 +1,3 @@ -# !TODO: Update these imports from cut import TestCut from graph import TestGraph from generate import TestGenerate
Removed obsolete todo comment.
py
diff --git a/src/fonduer/utils/data_model_utils/structural.py b/src/fonduer/utils/data_model_utils/structural.py index <HASH>..<HASH> 100644 --- a/src/fonduer/utils/data_model_utils/structural.py +++ b/src/fonduer/utils/data_model_utils/structural.py @@ -40,7 +40,7 @@ def get_attributes(mention): return span.sente...
Lowered caching max size, considering candidates are ordered by document during featurization and multiprocess parallelization
py
diff --git a/dojo/anomaly/algorithms.py b/dojo/anomaly/algorithms.py index <HASH>..<HASH> 100644 --- a/dojo/anomaly/algorithms.py +++ b/dojo/anomaly/algorithms.py @@ -19,7 +19,8 @@ class GaussianDist(BaseModel): Parameters: ----------- - None + multi : boolean, whether to model Multivariate Gaussi...
[Update-Doc] Cover multi gaussian with __doc__
py
diff --git a/prospector/profiles/profile.py b/prospector/profiles/profile.py index <HASH>..<HASH> 100644 --- a/prospector/profiles/profile.py +++ b/prospector/profiles/profile.py @@ -81,7 +81,7 @@ def parse_profile(name, contents): if name.endswith('.yaml'): # this was a full path name = os.path....
Updating to use yaml.safe_load for profiles (just in case)
py
diff --git a/asphalt/core/context.py b/asphalt/core/context.py index <HASH>..<HASH> 100644 --- a/asphalt/core/context.py +++ b/asphalt/core/context.py @@ -117,7 +117,7 @@ class Context(EventSource): call arguments """ - def __init__(self, parent: 'Context'=None, default_timeout: i...
Changed the default timeout for resource requests to 5 seconds
py
diff --git a/bf/image.py b/bf/image.py index <HASH>..<HASH> 100644 --- a/bf/image.py +++ b/bf/image.py @@ -81,3 +81,5 @@ class Image(File): if o!='': print(o) if DEBUG==True: print('\n', outfn, '\n ', w, h, w*h, maxpixels, downratio, geom_arg) + return outfn +
nice to know where the image is going
py
diff --git a/py/error.py b/py/error.py index <HASH>..<HASH> 100644 --- a/py/error.py +++ b/py/error.py @@ -74,7 +74,7 @@ class ErrorMaker(object): cls = self._geterrnoclass(errno) else: try: - cls = self._geterrnoclass(_winerrnomap[eno]) + ...
Fixed a typo in error.py causing it to fail on Windows. --HG-- branch : trunk
py
diff --git a/grimoire_elk/ocean/github.py b/grimoire_elk/ocean/github.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/ocean/github.py +++ b/grimoire_elk/ocean/github.py @@ -39,29 +39,29 @@ class Mapping(BaseMapping): if es_major != '2': mapping = ''' - { - ...
[ocean] Fix ES <I>.x mappings for GitHub ocean backend This patch fixes the mappings for GitHub, which now work also with ES <I>.x
py
diff --git a/jaraco/filesystem/__init__.py b/jaraco/filesystem/__init__.py index <HASH>..<HASH> 100644 --- a/jaraco/filesystem/__init__.py +++ b/jaraco/filesystem/__init__.py @@ -11,7 +11,12 @@ __version__ = '$Rev$'[6:-2] __svnauthor__ = '$Author$'[9:-2] __date__ = '$Date$'[7:-2] -import os, itertools +import o...
Added set_time to update the time of a file
py
diff --git a/patroni/postgresql.py b/patroni/postgresql.py index <HASH>..<HASH> 100644 --- a/patroni/postgresql.py +++ b/patroni/postgresql.py @@ -1733,7 +1733,7 @@ $$""".format(name, ' '.join(options)), name, password, password) if sync_state == 'potential' and app_name == current: # Pref...
Search new sync candidate amoung potential and async standbys (#<I>) In synchronos_mode_strict we put '*' into synchronos_standby_names, what makes one connection 'sync' and other connections 'potential'. The code picking up the correct sync standby didn't consider 'potential' as a good candidate. Fixes: <URL>
py
diff --git a/pmagpy/pmag.py b/pmagpy/pmag.py index <HASH>..<HASH> 100755 --- a/pmagpy/pmag.py +++ b/pmagpy/pmag.py @@ -8766,7 +8766,14 @@ def measurements_methods3(meas_data, noave): NewSpecs[0]["software_packages"] = version_num # just copy over the single record as is SpecOuts.a...
modified: ../../../pmagpy/pmag.py => replaced colons with _ in measurements_magic3
py
diff --git a/bibliopixel/util/log.py b/bibliopixel/util/log.py index <HASH>..<HASH> 100644 --- a/bibliopixel/util/log.py +++ b/bibliopixel/util/log.py @@ -6,6 +6,9 @@ LOG_NAMES = {'frame': FRAME, 'debug': DEBUG, 'info': INFO, 'warning': WARNING, 'error': ERROR} SORTED_NAMES = tuple(k for k, v in sorted...
Make verbose mode more complete
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-fontawesome', - version='0.2.3', + version='0.2.4', packages=['fontawesome'], include_pack...
version bump for pypi, which apparently no longer accept package deletion
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 @@ -198,3 +198,5 @@ intersphinx_mapping = { "numpy": ("https://docs.scipy.org/doc/numpy", None), "configobj": ("https://configobj.readthedocs.io/en/latest", None), } + +linkc...
This link is not broken, but sphinx thinks it is.
py
diff --git a/intake/catalog/base.py b/intake/catalog/base.py index <HASH>..<HASH> 100644 --- a/intake/catalog/base.py +++ b/intake/catalog/base.py @@ -185,7 +185,7 @@ class Catalog(object): return iter(self.get_catalogs()) if self._children else iter(self.get_entries()) def __dir__(self): - retur...
Fix autocompletion of catalogs/entries
py
diff --git a/pulsar/net/client/std.py b/pulsar/net/client/std.py index <HASH>..<HASH> 100644 --- a/pulsar/net/client/std.py +++ b/pulsar/net/client/std.py @@ -62,6 +62,7 @@ class HttpClientResponse(object): status_code = None url = None HTTPError = HTTPError + URLError = URLError def __str...
added rerrors classes to http clients
py
diff --git a/git/test/test_remote.py b/git/test/test_remote.py index <HASH>..<HASH> 100644 --- a/git/test/test_remote.py +++ b/git/test/test_remote.py @@ -445,6 +445,19 @@ class TestRemote(TestBase): origin = rw_repo.remote('origin') assert origin == rw_repo.remotes.origin + # Verify we can h...
Added test to verify we can handle fetch prunes. They are just skipped. Fixes #<I>
py
diff --git a/opentrons_sdk/drivers/motor.py b/opentrons_sdk/drivers/motor.py index <HASH>..<HASH> 100644 --- a/opentrons_sdk/drivers/motor.py +++ b/opentrons_sdk/drivers/motor.py @@ -7,6 +7,11 @@ import serial from opentrons_sdk.util import log +JSON_ERROR = None +if sys.version_info > (3, 4): + JSON_ERROR = Va...
json throws diff error depending on python version
py
diff --git a/tweepy/streaming.py b/tweepy/streaming.py index <HASH>..<HASH> 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -223,7 +223,8 @@ class Stream(object): # read the next twitter status object if delimited_string.strip().isdigit(): next_status_obj = resp....
Only call _data if stream.running=True Not sure why an extra delimiter int is spit out when you disconnect, but this should be enough of a bandaid.
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,8 @@ +import os from fake_webapp import start_server, stop_server +TESTS_ROOT = os.path.abspath(os.path.dirname(__file__)) + def setup(): start_server()
Created a help variable which stores the root path of tests
py
diff --git a/galpy/potential_src/TransientLogSpiralPotential.py b/galpy/potential_src/TransientLogSpiralPotential.py index <HASH>..<HASH> 100644 --- a/galpy/potential_src/TransientLogSpiralPotential.py +++ b/galpy/potential_src/TransientLogSpiralPotential.py @@ -7,11 +7,15 @@ _degtorad= math.pi/180. class TransientLog...
add pretty potential for TransientLogSpiralPotential, #<I>
py
diff --git a/ratings/models.py b/ratings/models.py index <HASH>..<HASH> 100644 --- a/ratings/models.py +++ b/ratings/models.py @@ -5,7 +5,7 @@ from django.db import models, IntegrityError from django.template.defaultfilters import slugify from django.utils.hashcompat import sha_constructor -from ratings.utils impor...
Adding recommended items method to the RatingsDescriptor
py
diff --git a/azure-storage-blob/azure/storage/blob/_upload_chunking.py b/azure-storage-blob/azure/storage/blob/_upload_chunking.py index <HASH>..<HASH> 100644 --- a/azure-storage-blob/azure/storage/blob/_upload_chunking.py +++ b/azure-storage-blob/azure/storage/blob/_upload_chunking.py @@ -290,17 +290,12 @@ class _Bloc...
Minor improvement to page blob upload optimization
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -36,4 +36,9 @@ setup( 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', ), + project_urls={ + 'Homepage': 'http://taskcluster.github.io/slugid.py', + 'Sou...
Add Homepage and Source project URLs for PyPI
py
diff --git a/src/VertexPartition.py b/src/VertexPartition.py index <HASH>..<HASH> 100644 --- a/src/VertexPartition.py +++ b/src/VertexPartition.py @@ -977,7 +977,7 @@ class CPMVertexPartition(LinearResolutionParameterVertexPartition): types = list(types) if set(types) != set([0, 1]): - new_type = i...
Fixed bug in referencing igraph
py
diff --git a/tensor2tensor/rl/collect.py b/tensor2tensor/rl/collect.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/rl/collect.py +++ b/tensor2tensor/rl/collect.py @@ -264,6 +264,9 @@ def define_collect(hparams, scope, eval_phase, new_memory = [] if hasattr(hparams, "effective_num_agents"): effectiv...
assert explaining effective_num_agents
py
diff --git a/advanced_descriptors/__init__.py b/advanced_descriptors/__init__.py index <HASH>..<HASH> 100644 --- a/advanced_descriptors/__init__.py +++ b/advanced_descriptors/__init__.py @@ -18,7 +18,7 @@ from .advanced_property import AdvancedProperty __all__ = ("SeparateClassMethod", "AdvancedProperty") -__versi...
Bump to <I> (#<I>) Python <I>+ only Next will be updated py<I> branch
py
diff --git a/lazysignup/views.py b/lazysignup/views.py index <HASH>..<HASH> 100644 --- a/lazysignup/views.py +++ b/lazysignup/views.py @@ -55,14 +55,15 @@ def convert(request, form_class=UserCreationForm, return HttpResponse() else: return redirect(redirect_to) + + ...
Updating convert view, so it doesn't throw a HttpResponseBadRequest when is a GET request regardless of whether or not it's an AJAX call.
py
diff --git a/master/buildbot/test/unit/test_util_service.py b/master/buildbot/test/unit/test_util_service.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_util_service.py +++ b/master/buildbot/test/unit/test_util_service.py @@ -112,7 +112,7 @@ class ClusteredService(unittest.TestCase): def tes...
don't use assertIsNone, which doesn't exist in py<I>
py
diff --git a/tests/xmi/test_xmi_deserialization.py b/tests/xmi/test_xmi_deserialization.py index <HASH>..<HASH> 100644 --- a/tests/xmi/test_xmi_deserialization.py +++ b/tests/xmi/test_xmi_deserialization.py @@ -5,6 +5,8 @@ from pyecore.resources.xmi import XMIResource from pyecore.resources.resource import HttpURI fr...
Remove the need for an internect connection for one test The test about HttpURI was also testing the 'in' and 'out' stream creation by reading a model directly in GenMyModel API. Even if this test is relevant, the test implementation is very restrictive as it forces the user to have an internet connection to be able t...
py
diff --git a/abydos/distance.py b/abydos/distance.py index <HASH>..<HASH> 100644 --- a/abydos/distance.py +++ b/abydos/distance.py @@ -326,8 +326,8 @@ be greater than or equal to 0.') if src == tar: return 1.0 - elif len(src) == 0 and len(tar) == 0: - return 1.0 + elif len(src) == 0 or len(...
fixed some formulae to better deal with short terms
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ http://pythonhosted.org/pypng/ 'Topic :: Multimedia :: Graphics', 'Topic :: Software Development :: Libraries :: Python Modules', 'Programming Language :: Python', - 'Programming Langua...
Change to Python <I> in metadata
py
diff --git a/bcbio/variation/gatk.py b/bcbio/variation/gatk.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/gatk.py +++ b/bcbio/variation/gatk.py @@ -90,12 +90,14 @@ def haplotype_caller(align_bams, items, ref_file, assoc_files, with file_transaction(items[0], out_file) as tx_out_file: params...
Avoid passing ploidy unless using GATK <I> which supports ploidy-based calling. Thanks to Severine Catreux
py
diff --git a/plash/core.py b/plash/core.py index <HASH>..<HASH> 100644 --- a/plash/core.py +++ b/plash/core.py @@ -291,17 +291,24 @@ def execute( os.utime(join(layer), None) if build_only: - print('*** plash: Build is ready') + print('*** plash: Build is ready at: {}'.format(layers[-1])) ...
experimental setgid and setuid to user that called it
py
diff --git a/faker/providers/lorem/zh_TW/__init__.py b/faker/providers/lorem/zh_TW/__init__.py index <HASH>..<HASH> 100644 --- a/faker/providers/lorem/zh_TW/__init__.py +++ b/faker/providers/lorem/zh_TW/__init__.py @@ -1,4 +1,4 @@ -import dragonmapper.# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- from __future__ im...
Removed line that was causing the build to fail.
py
diff --git a/plenum/test/test_node_connection.py b/plenum/test/test_node_connection.py index <HASH>..<HASH> 100644 --- a/plenum/test/test_node_connection.py +++ b/plenum/test/test_node_connection.py @@ -48,6 +48,7 @@ def tdirAndLooper(nodeReg): yield td, looper +@pytest.mark.skip(reason='INDY-109. Inte...
INDY-<I> (#<I>)
py
diff --git a/simulation.py b/simulation.py index <HASH>..<HASH> 100644 --- a/simulation.py +++ b/simulation.py @@ -489,4 +489,7 @@ def run(models, years=None): for model_name in models: print('Running model {}'.format(model_name)) model = get_model(model_name) + import time...
changes to yamlmodelrunner for new dataset style
py
diff --git a/fireplace/cards/blackrock/adventure.py b/fireplace/cards/blackrock/adventure.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/blackrock/adventure.py +++ b/fireplace/cards/blackrock/adventure.py @@ -289,8 +289,9 @@ class BRMA04_3H: # Chromatic Dragonkin class BRMA12_8t: - # That ID is... correct. Wh...
Fix Chromatic Dragonkin buff added in <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -37,12 +37,14 @@ setup( 'drizzlepac': [ 'pars/*', 'pars/hap_pars/*', + 'pars/hap_pars/mvm_parameters/*', 'pars/hap_pars/mvm_parameters/acs/hrc/*', 'pars/h...
Fix setup.py to include json files which reside at the same level as [mvm|svm]_parameters. (#<I>)
py
diff --git a/raiden/app.py b/raiden/app.py index <HASH>..<HASH> 100644 --- a/raiden/app.py +++ b/raiden/app.py @@ -142,6 +142,9 @@ def app(address, config['port'] = listen_port accmgr = AccountManager(keystore_path) + if not accmgr.accounts: + raise RuntimeError('No Ethereum accounts found in the ...
Raise error if no account is found in the system
py
diff --git a/py/vttest/mysql_flavor.py b/py/vttest/mysql_flavor.py index <HASH>..<HASH> 100644 --- a/py/vttest/mysql_flavor.py +++ b/py/vttest/mysql_flavor.py @@ -55,7 +55,7 @@ class MySQL56(MysqlFlavor): def my_cnf(self): files = [ os.path.join(vttop, "config/mycnf/default-fast.cnf"), - os.path...
vttest: Fix MySQL<I> cnf file path.
py
diff --git a/minion/request.py b/minion/request.py index <HASH>..<HASH> 100644 --- a/minion/request.py +++ b/minion/request.py @@ -49,7 +49,7 @@ class Manager(object): """ def __init__(self): - self.requests = {} + self._requests = {} def after_response(self, request, fn, *args, **kwarg...
Manager will change soon, but until then, avoid Python's annoying lack of frozendict by being lazy.
py
diff --git a/monasca_common/kafka/producer.py b/monasca_common/kafka/producer.py index <HASH>..<HASH> 100644 --- a/monasca_common/kafka/producer.py +++ b/monasca_common/kafka/producer.py @@ -40,22 +40,13 @@ class KafkaProducer(object): """Takes messages and puts them on the supplied kafka topic """ ...
Convert partition key to str In kafka <I> the partition key needs to be a six.binary_type which is a str in Python <I> Change-Id: I<I>d<I>d<I>bfdafc<I>b<I>f3dca<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='sheetsu', - version='0.0.4', + version='0.0.5', description='Sheetsu Python client', url='http://github.com/andreffs18/sheetsu-pytho...
Add required packages for lib to work and update version
py
diff --git a/openquake/calculators/tests/event_based_risk_test.py b/openquake/calculators/tests/event_based_risk_test.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/tests/event_based_risk_test.py +++ b/openquake/calculators/tests/event_based_risk_test.py @@ -162,9 +162,10 @@ class EventBasedRiskTestCase(Cal...
Skipped test on travis [skip hazardlib]
py
diff --git a/mamba/example.py b/mamba/example.py index <HASH>..<HASH> 100644 --- a/mamba/example.py +++ b/mamba/example.py @@ -43,7 +43,7 @@ class Example(object): def _finish(self, reporter): self._elapsed_time = datetime.utcnow() - self._begin - if not self.error: + if not self.failed: ...
Use failed property for checking spec failure
py
diff --git a/nanofilt/NanoFilt.py b/nanofilt/NanoFilt.py index <HASH>..<HASH> 100644 --- a/nanofilt/NanoFilt.py +++ b/nanofilt/NanoFilt.py @@ -177,7 +177,6 @@ def filter_stream(fq, args): Record has to be longer than args.length (default 1) after trimming Use a faster silent quality_check if no filtering on q...
removing unnecessary stderr print no idea why that one was there
py
diff --git a/termtool.py b/termtool.py index <HASH>..<HASH> 100644 --- a/termtool.py +++ b/termtool.py @@ -105,3 +105,6 @@ class Termtool(object): return 1 return 0 + + def run(self): + sys.exit(self.main(sys.argv[1:]))
Add a run() for script running boilerplate
py
diff --git a/glooey/__init__.py b/glooey/__init__.py index <HASH>..<HASH> 100644 --- a/glooey/__init__.py +++ b/glooey/__init__.py @@ -4,7 +4,7 @@ An object-oriented GUI library for pyglet. """ -__version__ = '0.3.0' +__version__ = '0.3.1' from .widget import * from .root import *
<I> Automatically generated by python-semantic-release
py
diff --git a/grimoire/elk/elastic.py b/grimoire/elk/elastic.py index <HASH>..<HASH> 100644 --- a/grimoire/elk/elastic.py +++ b/grimoire/elk/elastic.py @@ -121,7 +121,7 @@ class ElasticSearch(object): return new_items - def bulk_upload_sync(self, items, field_id, sync=False): + def bulk_upload_sync(se...
[Elastic] Wait in sync bulk upload to avoid using data not already indexed.
py
diff --git a/fmn/lib/models.py b/fmn/lib/models.py index <HASH>..<HASH> 100644 --- a/fmn/lib/models.py +++ b/fmn/lib/models.py @@ -288,12 +288,13 @@ class Rule(BASE): raise ValueError("%r is not a valid code_path" % code_path) @classmethod - def create_from_code_path(cls, session, valid_paths, co...
Allow creating a rule already negated.
py
diff --git a/lifelines/fitters/__init__.py b/lifelines/fitters/__init__.py index <HASH>..<HASH> 100644 --- a/lifelines/fitters/__init__.py +++ b/lifelines/fitters/__init__.py @@ -500,6 +500,8 @@ class ParametericUnivariateFitter(UnivariateFitter): if results.success: # pylint: disable=no-v...
make sure hessians are always sym
py
diff --git a/src/collectors/postgres/postgres.py b/src/collectors/postgres/postgres.py index <HASH>..<HASH> 100644 --- a/src/collectors/postgres/postgres.py +++ b/src/collectors/postgres/postgres.py @@ -70,7 +70,7 @@ class PostgresqlCollector(diamond.collector.Collector): for klass in metrics: sta...
Ignore None stats from postgres
py
diff --git a/pyqode/core/modes/code_completion.py b/pyqode/core/modes/code_completion.py index <HASH>..<HASH> 100644 --- a/pyqode/core/modes/code_completion.py +++ b/pyqode/core/modes/code_completion.py @@ -337,7 +337,9 @@ class CodeCompletionMode(Mode, QtCore.QObject): self.__preload(code, self.editor.filePat...
Fix issue when used from qt designer
py
diff --git a/third_party/tvcm/tvcm/browser_controller.py b/third_party/tvcm/tvcm/browser_controller.py index <HASH>..<HASH> 100644 --- a/third_party/tvcm/tvcm/browser_controller.py +++ b/third_party/tvcm/tvcm/browser_controller.py @@ -121,6 +121,7 @@ class BrowserController(object): except: self._browser....
Re-raise errors that happened during browser start after closing the browser
py
diff --git a/GPy/kern/_src/stationary.py b/GPy/kern/_src/stationary.py index <HASH>..<HASH> 100644 --- a/GPy/kern/_src/stationary.py +++ b/GPy/kern/_src/stationary.py @@ -171,7 +171,8 @@ class Stationary(Kern): #the lower memory way with a loop ret = np.empty(X.shape, dtype=np.float64) - [np....
for loop speedup in grdients X
py
diff --git a/py3status/py3.py b/py3status/py3.py index <HASH>..<HASH> 100644 --- a/py3status/py3.py +++ b/py3status/py3.py @@ -1041,10 +1041,9 @@ class Py3: """ Return a string from a Composite. """ - if isinstance(format_string, Composite): - return format_string.text() - ...
Reduce py3.py from 1 line
py
diff --git a/shapefile.py b/shapefile.py index <HASH>..<HASH> 100644 --- a/shapefile.py +++ b/shapefile.py @@ -549,11 +549,13 @@ class Reader: """Returns all records in a dbf file.""" if not self.numRecords: self.__dbfHeader() + records = [] f = self.__getFileObj(self....
Revert back to original records() method Fixes issue introduced in PR #<I>, see issue #<I>. Previously tried fixing it in PR #<I>, but reverting to original was better.
py
diff --git a/test/test_babel.py b/test/test_babel.py index <HASH>..<HASH> 100644 --- a/test/test_babel.py +++ b/test/test_babel.py @@ -1164,7 +1164,7 @@ struct S2 t.parse() self.assertEqual( t.api.namespaces['ns1'].doc, - 'This is a docstring for ns1.\n\nThis is another docstri...
Fix test broken by be9ba<I>.
py
diff --git a/spiketoolkit/preprocessing/normalize_by_quantile.py b/spiketoolkit/preprocessing/normalize_by_quantile.py index <HASH>..<HASH> 100644 --- a/spiketoolkit/preprocessing/normalize_by_quantile.py +++ b/spiketoolkit/preprocessing/normalize_by_quantile.py @@ -7,9 +7,9 @@ class NormalizeByQuantileRecording(Record...
Update normalize_by_quantile.py
py
diff --git a/great_expectations/data_context/data_context.py b/great_expectations/data_context/data_context.py index <HASH>..<HASH> 100644 --- a/great_expectations/data_context/data_context.py +++ b/great_expectations/data_context/data_context.py @@ -941,6 +941,7 @@ class BaseDataContext(object): Returns: ...
ayirpmissingkey adding line of missing key
py
diff --git a/galpy/df_src/streamgapdf.py b/galpy/df_src/streamgapdf.py index <HASH>..<HASH> 100644 --- a/galpy/df_src/streamgapdf.py +++ b/galpy/df_src/streamgapdf.py @@ -143,7 +143,6 @@ class streamgapdf(galpy.df_src.streamdf.streamdf): 2015-06-22 - Written - Bovy (IAS) """ - print "NEED ...
don't allow modeling a leading stream with a trailing impact and vice versa
py
diff --git a/django_q/tasks.py b/django_q/tasks.py index <HASH>..<HASH> 100644 --- a/django_q/tasks.py +++ b/django_q/tasks.py @@ -456,7 +456,7 @@ class Chain(object): Start queueing the chain to the worker cluster :return: the chain's group id """ - self.group = async_chain(chain=self...
Replaces list.copy with a slice for python <I>
py
diff --git a/tests/test_storages.py b/tests/test_storages.py index <HASH>..<HASH> 100644 --- a/tests/test_storages.py +++ b/tests/test_storages.py @@ -13,6 +13,7 @@ from datetime import datetime from django.core.files.base import File from django.core.files.storage import FileSystemStorage, Storage +from django.con...
Applying suggestion to fix StorageTests Since Django <I> no temp files outside MEDIA_ROOT are allowed.
py
diff --git a/pbf_file_size_estimation/app_settings.py b/pbf_file_size_estimation/app_settings.py index <HASH>..<HASH> 100644 --- a/pbf_file_size_estimation/app_settings.py +++ b/pbf_file_size_estimation/app_settings.py @@ -3,5 +3,5 @@ from django.conf import settings PBF_FILE_SIZE_ESTIMATION_CSV_FILE_PATH = os.pat...
fix typo in project setting name This is about character-separated values, not the Concurrent Versions System.
py
diff --git a/scs_osio/user_topics.py b/scs_osio/user_topics.py index <HASH>..<HASH> 100755 --- a/scs_osio/user_topics.py +++ b/scs_osio/user_topics.py @@ -65,7 +65,7 @@ if __name__ == '__main__': # ---------------------------------------------------------------------------------------------------------------- ...
Added user_topics top-level script.
py
diff --git a/viztricks/convenience.py b/viztricks/convenience.py index <HASH>..<HASH> 100644 --- a/viztricks/convenience.py +++ b/viztricks/convenience.py @@ -74,12 +74,15 @@ def imagesc(data, ax=None): return plt.show -def axes_grid(n): - '''Finds a reasonable arrangement of n axes. Returns (fig, axes) tuple.'...
Making axes_grid more general
py
diff --git a/pyinfra/api/state.py b/pyinfra/api/state.py index <HASH>..<HASH> 100644 --- a/pyinfra/api/state.py +++ b/pyinfra/api/state.py @@ -384,10 +384,6 @@ class State(object): ''' if not hash_key: - logger.warning(( - 'Use of `State.get_temp_filename` without a key is ...
Remove unnecessary warning about using `get_temp_filename` without a filename as the new state order fixes this.
py
diff --git a/geomdl/tessellate.py b/geomdl/tessellate.py index <HASH>..<HASH> 100644 --- a/geomdl/tessellate.py +++ b/geomdl/tessellate.py @@ -32,10 +32,10 @@ class AbstractTessellate(object): self._arguments = dict() def __getstate__(self): - return self._vertices, self._faces + return se...
Improve pickle support for multiprocessing
py
diff --git a/test/source_generation_test.py b/test/source_generation_test.py index <HASH>..<HASH> 100644 --- a/test/source_generation_test.py +++ b/test/source_generation_test.py @@ -96,12 +96,15 @@ class TestFooRecord(AutoTest, TestCase): @no_auto_store() class EnumRecord(Record): - e = Enum(["HELLO", "GOODBYE"...
Test some aspects of enums in source generation
py
diff --git a/webkit_server.py b/webkit_server.py index <HASH>..<HASH> 100644 --- a/webkit_server.py +++ b/webkit_server.py @@ -432,7 +432,7 @@ class Server(object): def kill(self): """ Kill the process. """ self._server.kill() - self._server.wait() + self._server.communicate() def connect(self):...
Use communicate() to ensure standard file descriptors are closed This internally calls wait() but also ensures that any file descriptors for stdin, stdout, and stderr are closed. If we don't do this we'll leak file descriptors. For long running processes that start & stop a WebKit server many times this can result in ...
py
diff --git a/pgmpy/tests/test_Factor.py b/pgmpy/tests/test_Factor.py index <HASH>..<HASH> 100644 --- a/pgmpy/tests/test_Factor.py +++ b/pgmpy/tests/test_Factor.py @@ -37,9 +37,9 @@ class TestFactorMethods(unittest.TestCase): self.assertListEqual(self.phi.assignment([4, 5, 6]), [['x1_1', 'x2_0', 'x3_0'], ...
corrected tests for assignment method according to the new representation of Factor [refs #<I>]
py
diff --git a/insteonplm/plm.py b/insteonplm/plm.py index <HASH>..<HASH> 100644 --- a/insteonplm/plm.py +++ b/insteonplm/plm.py @@ -206,9 +206,9 @@ class PLM(asyncio.Protocol): int.from_bytes(product_key, byteorder='big')) if device is not None:...
Fixed handling of creation of multiple devices from one cat, subcat
py
diff --git a/tilequeue/query/postgres.py b/tilequeue/query/postgres.py index <HASH>..<HASH> 100644 --- a/tilequeue/query/postgres.py +++ b/tilequeue/query/postgres.py @@ -116,7 +116,8 @@ def jinja_filter_bbox(bounds, srid=3857): def jinja_filter_bbox_overlaps(bounds, geometry_col_name, srid=3857): """ - Chec...
Fix flake8 warnings - overlong lines.
py
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/parallel.py +++ b/openquake/baselib/parallel.py @@ -605,12 +605,12 @@ class Starmap(object): @property def num_tasks(self): """ - The number of tasks, if known, or the...
Small improvement [skip hazardlib] [demos]
py