diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/progressbar/__about__.py b/progressbar/__about__.py index <HASH>..<HASH> 100644 --- a/progressbar/__about__.py +++ b/progressbar/__about__.py @@ -19,7 +19,7 @@ A Python Progressbar library to provide visual (yet text based) progress to long running operations. '''.strip().split()) __email__ = 'wolph@wol...
Incrementing version to <I>
py
diff --git a/airflow/providers/amazon/aws/example_dags/example_s3.py b/airflow/providers/amazon/aws/example_dags/example_s3.py index <HASH>..<HASH> 100644 --- a/airflow/providers/amazon/aws/example_dags/example_s3.py +++ b/airflow/providers/amazon/aws/example_dags/example_s3.py @@ -194,7 +194,8 @@ with DAG( de...
Fix "Chain not supported for different length Iterable"
py
diff --git a/datafreezer/views.py b/datafreezer/views.py index <HASH>..<HASH> 100644 --- a/datafreezer/views.py +++ b/datafreezer/views.py @@ -13,6 +13,7 @@ import json # ValidationError, # ) # from django.core.mail import send_mail, EmailMultiAlternatives +from django.contrib.auth.decorators import login_requir...
Restricted dataset upload and change view to currently logged-in users.
py
diff --git a/glusterfs/datadog_checks/glusterfs/check.py b/glusterfs/datadog_checks/glusterfs/check.py index <HASH>..<HASH> 100644 --- a/glusterfs/datadog_checks/glusterfs/check.py +++ b/glusterfs/datadog_checks/glusterfs/check.py @@ -53,9 +53,11 @@ class GlusterfsCheck(AgentCheck): def check(self, _): ...
Fix error handling when Agent has no sudo access (#<I>)
py
diff --git a/redis_collections/dicts.py b/redis_collections/dicts.py index <HASH>..<HASH> 100644 --- a/redis_collections/dicts.py +++ b/redis_collections/dicts.py @@ -84,13 +84,6 @@ class Dict(RedisCollection, collections.MutableMapping): if data: self.update(data) - def _get_hash_dict(self, ...
Remove _get_hash_dict method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,13 +32,13 @@ os.chdir(os.path.abspath(cur_path)) install_requires = [ "colorlog", "coverage", - "flake8==3.4.1", + "flake8<=3.4.1", "matplotlib", "numpy", "pandas", "pep8>=1.7.1", ...
allow any version of flake8 and pycodestyle but the latest that have a known issue: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,8 @@ import sys import distutils.errors import setuptools -if not hasattr(sys, "hexversion") or sys.hexversion < 0x02040000: - raise distutils.errors.DistutilsError("Python 2.4 or newer is required") +if not has...
Requires at least Python <I>
py
diff --git a/andes/models/area.py b/andes/models/area.py index <HASH>..<HASH> 100644 --- a/andes/models/area.py +++ b/andes/models/area.py @@ -3,6 +3,7 @@ from andes.core.model import Model, ModelData from andes.core.var import ExtAlgeb, Algeb # NOQA from andes.core.service import NumReduce, NumRepeat, BackRef from...
Added `Area.bus_table` for printing the area-bus correspondence.
py
diff --git a/tornado_pyuv/__init__.py b/tornado_pyuv/__init__.py index <HASH>..<HASH> 100644 --- a/tornado_pyuv/__init__.py +++ b/tornado_pyuv/__init__.py @@ -182,6 +182,9 @@ class UVLoop(IOLoop): # either the old or new version of self._callbacks, # but either way will work. ...
Fixed add_callback_from_signal The prepare handle needs to be activated in case it's called from the same thread
py
diff --git a/junction/core/connection.py b/junction/core/connection.py index <HASH>..<HASH> 100644 --- a/junction/core/connection.py +++ b/junction/core/connection.py @@ -97,11 +97,7 @@ class Peer(object): def sender_coro(self): try: while 1: - msg = self.send_queue.get() - ...
_END isn't in use any more, we just scheduler.end()
py
diff --git a/twittytwister/twitter.py b/twittytwister/twitter.py index <HASH>..<HASH> 100644 --- a/twittytwister/twitter.py +++ b/twittytwister/twitter.py @@ -21,7 +21,7 @@ import txml SIGNATURE_METHOD = oauth.OAuthSignatureMethod_HMAC_SHA1() -BASE_URL="http://twitter.com" +BASE_URL="https://twitter.com" SEARCH_U...
default to https Defaulting to insecure HTTP is not a good idea...
py
diff --git a/backtrader/plot/plot.py b/backtrader/plot/plot.py index <HASH>..<HASH> 100644 --- a/backtrader/plot/plot.py +++ b/backtrader/plot/plot.py @@ -193,6 +193,10 @@ class Plot_OldSync(with_metaclass(MetaParams, object)): for dt in (x for x in dts if dt0 <= x <= dt1): ...
Adjust synchronization when multiple datas are added with resampling (#<I>) * Fix plotting when multiple data with resampling is added - also fixes plotting with numfigs > 1 with resampled data * Remove None assignment from self.pinf.{xstart,xend}
py
diff --git a/groundwork/version.py b/groundwork/version.py index <HASH>..<HASH> 100644 --- a/groundwork/version.py +++ b/groundwork/version.py @@ -1 +1 @@ -__version__ = "0.1.10" +__version__ = "0.1.11"
rasied version to <I>
py
diff --git a/formats/zh/formats.py b/formats/zh/formats.py index <HASH>..<HASH> 100644 --- a/formats/zh/formats.py +++ b/formats/zh/formats.py @@ -1,4 +1,4 @@ """Formats for the Chinese language.""" -LONG_NAME_FORMAT = '{a}{x}{t} ({L}, "{n}", {f})' +LONG_NAME_FORMAT = '{a}{x}{t}' SHORT_NAME_FORMAT = '{a}{x}'
Updated the LONG_NAME_FORMAT for Chinese.
py
diff --git a/luigi/hdfs.py b/luigi/hdfs.py index <HASH>..<HASH> 100644 --- a/luigi/hdfs.py +++ b/luigi/hdfs.py @@ -198,9 +198,12 @@ class HdfsClient(FileSystem): cmd = [load_hadoop_cmd(), 'fs', '-getmerge', path, local_destination] call_check(cmd) - def mkdir(self, path): + def mkdir(self,...
Optional parameter 'parents' to HdfsClient.mkdir() This patch should not change behavior, since the optional parameters default is to what was used previously. The name parents was used since it is what is used by the snakebite client.
py
diff --git a/utils/travis-test.py b/utils/travis-test.py index <HASH>..<HASH> 100755 --- a/utils/travis-test.py +++ b/utils/travis-test.py @@ -1,4 +1,24 @@ #!/usr/bin/env python +######################################################################## +# File name: travis-test.py +# This file is part of: aioxmpp +# +#...
Updaet license headers
py
diff --git a/src/nunja/tests/test_spec.py b/src/nunja/tests/test_spec.py index <HASH>..<HASH> 100644 --- a/src/nunja/tests/test_spec.py +++ b/src/nunja/tests/test_spec.py @@ -283,6 +283,11 @@ class SpecIntegrationTestCase(unittest.TestCase): spec.handle(BEFORE_COMPILE) self.assertIn('slim', spec['bund...
Ensure that the shim addition are tested for slim
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,9 +28,9 @@ setup( 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', - 'Programming Language :: Python' :: '2.5', - ...
Typoes in the classifiers of the setup.py...
py
diff --git a/tests/test_attributes.py b/tests/test_attributes.py index <HASH>..<HASH> 100644 --- a/tests/test_attributes.py +++ b/tests/test_attributes.py @@ -49,14 +49,22 @@ def test_path_switch_from_multifile_to_singlefile(torrent, singlefile_content, m assert 'files' not in torrent.metainfo['info'] def test_...
Restore working directory when changing it in tests
py
diff --git a/openquake/baselib/workerpool.py b/openquake/baselib/workerpool.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/workerpool.py +++ b/openquake/baselib/workerpool.py @@ -105,11 +105,11 @@ class WorkerMaster(object): if self.status(host)[0][1] == 'running': print('%s:%s alr...
add ssh -f -T and <I> for start the workerpool remotely
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,11 @@ setup( "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.6", + "Progr...
Be more specific on what python versions we support
py
diff --git a/lib/bx/seq/twobit.py b/lib/bx/seq/twobit.py index <HASH>..<HASH> 100644 --- a/lib/bx/seq/twobit.py +++ b/lib/bx/seq/twobit.py @@ -2,6 +2,7 @@ import sys import _twobit from struct import * +from UserDict import DictMixin TWOBIT_MAGIC_NUMBER = 0x1A412743 TWOBIT_MAGIC_NUMBER_SWAP = 0x4327411A @@ -26,...
Even more pythonic.
py
diff --git a/iapws/iapws08.py b/iapws/iapws08.py index <HASH>..<HASH> 100644 --- a/iapws/iapws08.py +++ b/iapws/iapws08.py @@ -89,6 +89,8 @@ class SeaWater(object): w : float Sound Speed [m/s] + m : float + Molality of seawater [mol/kg] mu : float Relative chemical potential [kJ/...
Add molality property to Seawater class
py
diff --git a/vb_suite/binary_ops.py b/vb_suite/binary_ops.py index <HASH>..<HASH> 100644 --- a/vb_suite/binary_ops.py +++ b/vb_suite/binary_ops.py @@ -3,24 +3,3 @@ from datetime import datetime common_setup = """from pandas_vb_common import * """ - -#-----------------------------------------------------------------...
BUG: remove duplicate vbench test `series_align_int<I>_index_binop` dupe of join_merge.py:series_align_int<I>_index. Causes Hash collision, which broke vbench db creation on fresh clones.
py
diff --git a/pipenv/cli.py b/pipenv/cli.py index <HASH>..<HASH> 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -551,10 +551,16 @@ def do_init(dev=False, requirements=False, skip_virtualenv=False, allow_global=F def pip_install(package_name=None, r=None, allow_global=False): - if r: - c = delegator.run...
making `cli.proper_case` use a new method that runs through all sources in project.sources, and return the Request's return for the first one that hit OK, or neither did ok, then raise an exception. Also doing something similar to `cli.pip_install` so that it will try to pip install for all the sources and return the ...
py
diff --git a/hijack/helpers.py b/hijack/helpers.py index <HASH>..<HASH> 100644 --- a/hijack/helpers.py +++ b/hijack/helpers.py @@ -47,7 +47,7 @@ def login_user(request, user): if not request.user.is_superuser: if getattr(settings, "ALLOW_STAFF_TO_HIJACKUSER", False): # staff allowed, so check...
Check staff status against logged in user instead the user being hijacked The code gave permission denied if the current user had staff status as this code checks against the user that is being hijacked instead of the user hijacking.
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -997,6 +997,9 @@ class Minion(MinionBase): fn_ = os.path.join(minion_instance.proc_dir, data['jid']) if opts['multiprocessing']: salt.utils.daemonize_if(opts) + + s...
Append JID to process name within salt-minion
py
diff --git a/data_explorer/plot_utils.py b/data_explorer/plot_utils.py index <HASH>..<HASH> 100644 --- a/data_explorer/plot_utils.py +++ b/data_explorer/plot_utils.py @@ -4,14 +4,17 @@ from matplotlib import pyplot def _make_plot_func(ax, marker, color, cmap): kwargs = dict() - if marker is not None: - kwargs...
Hack around difference between positional marker ... and keyword marker (for plt.plot)
py
diff --git a/visidata/cmdlog.py b/visidata/cmdlog.py index <HASH>..<HASH> 100644 --- a/visidata/cmdlog.py +++ b/visidata/cmdlog.py @@ -48,7 +48,7 @@ def fnSuffix(vd, prefix): return fn -@Sheet.api +@BaseSheet.api def inputLongname(sheet): longnames = set(k for (k, obj), v in vd.commands.iter(sheet)) ...
[commands-] exec-command should work on all sheets
py
diff --git a/bot/action/core/command/__init__.py b/bot/action/core/command/__init__.py index <HASH>..<HASH> 100644 --- a/bot/action/core/command/__init__.py +++ b/bot/action/core/command/__init__.py @@ -1,6 +1,6 @@ from bot.action.core.action import IntermediateAction from bot.action.core.command.parser import Unders...
Switch CommandAction throttler to ShortlyRepeatedCommandThrottler
py
diff --git a/python/lib/exifedit.py b/python/lib/exifedit.py index <HASH>..<HASH> 100644 --- a/python/lib/exifedit.py +++ b/python/lib/exifedit.py @@ -13,7 +13,6 @@ from PIL import Image from lib.geo import normalize_bearing, decimal_to_dms from lib.exif import EXIF, verify_exif -from lib.io import mkdir_p def...
add: removing unused import removing unused import after simplifying the write function
py
diff --git a/rtv/__main__.py b/rtv/__main__.py index <HASH>..<HASH> 100644 --- a/rtv/__main__.py +++ b/rtv/__main__.py @@ -38,6 +38,7 @@ def main(): # Set the terminal title title = 'rtv {0}'.format(__version__) sys.stdout.write('\x1b]2;{0}\x07'.format(title)) + sys.stdout.flush() args = Config...
Flush sys.stdout after writing the title. #<I>.
py
diff --git a/script/release/uploaders/upload-index-json.py b/script/release/uploaders/upload-index-json.py index <HASH>..<HASH> 100755 --- a/script/release/uploaders/upload-index-json.py +++ b/script/release/uploaders/upload-index-json.py @@ -59,7 +59,7 @@ def main(): with open(index_json, "wb") as f: f.wri...
build: remove ending slash upload-index-json (#<I>)
py
diff --git a/blockstack_cli_0.14.1/blockstack_client/cli.py b/blockstack_cli_0.14.1/blockstack_client/cli.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/cli.py +++ b/blockstack_cli_0.14.1/blockstack_client/cli.py @@ -71,6 +71,8 @@ import xmlrpclib from registrar.config import REGISTRAR_IP...
Convert legacy profile format to zone file format automatically on lookup.
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -220,6 +220,17 @@ def test_backend(backend, domain, config_path='', version=''): error('Found wrong number of user sessions: %s', sessions) session = list(sessions)[0] test_session(session, username1...
stop session again and see that it's gone
py
diff --git a/orchestration_service/orchestrator.py b/orchestration_service/orchestrator.py index <HASH>..<HASH> 100644 --- a/orchestration_service/orchestrator.py +++ b/orchestration_service/orchestrator.py @@ -8,7 +8,7 @@ logger = getLogger("App Orchestration Driver") def execute_app_orchestration(): # Retriev...
fixing test test_command_orchestrator
py
diff --git a/nuuser.py b/nuuser.py index <HASH>..<HASH> 100644 --- a/nuuser.py +++ b/nuuser.py @@ -24,7 +24,7 @@ class NUUser(NURESTObject): # TODO: Check if username is a required field and set min/max length according to issues: # http://mvjira.mv.usa.alcatel.com/browse/VSD-2866 # http://mv...
added is_unique constraint on username attribute
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,12 @@ setup( author="joke2k", author_email="joke2k@gmail.com", url="https://github.com/joke2k/faker", + project_urls={ + "Bug Tracker": "https://github.com/joke2k/faker/issues", + "Cha...
build(setup.py): Add project_urls (#<I>)
py
diff --git a/hamster/widgets.py b/hamster/widgets.py index <HASH>..<HASH> 100644 --- a/hamster/widgets.py +++ b/hamster/widgets.py @@ -272,16 +272,12 @@ class TimeInput(gtk.Entry): if self.start_time: end_time = i_time + dt.timedelta(hours = 12) + i_time += dt.timedelta(minute...
start with <I>:<I>, for cases when start time is specified, start with <I>min
py
diff --git a/iktomi/web/filters.py b/iktomi/web/filters.py index <HASH>..<HASH> 100644 --- a/iktomi/web/filters.py +++ b/iktomi/web/filters.py @@ -128,7 +128,7 @@ class prefix(WebHandler): matched, kwargs = self.builder.match(env._route_state.path, env=env) if matched: update_data(data, k...
Fixed incorrect prefix cut after match (issue #<I>)
py
diff --git a/holoviews/operation/element.py b/holoviews/operation/element.py index <HASH>..<HASH> 100644 --- a/holoviews/operation/element.py +++ b/holoviews/operation/element.py @@ -459,11 +459,12 @@ class contours(ElementOperation): class histogram(ElementOperation): """ - Returns a Histogram of the Raster...
Updated the docstring of the histogram ElementOperation
py
diff --git a/src/ossos/core/ossos/downloads/cutouts/source.py b/src/ossos/core/ossos/downloads/cutouts/source.py index <HASH>..<HASH> 100644 --- a/src/ossos/core/ossos/downloads/cutouts/source.py +++ b/src/ossos/core/ossos/downloads/cutouts/source.py @@ -96,9 +96,14 @@ class SourceCutout(object): ...
Added a temporary variable so that a debug message could be added
py
diff --git a/watson_streaming/transcriber.py b/watson_streaming/transcriber.py index <HASH>..<HASH> 100644 --- a/watson_streaming/transcriber.py +++ b/watson_streaming/transcriber.py @@ -10,9 +10,6 @@ AUTH_API = 'https://stream.watsonplatform.net/authorization/api/' STT_API = 'https://stream.watsonplatform.net/speech-...
Remove 'import logging' that was left from debugging
py
diff --git a/configure.py b/configure.py index <HASH>..<HASH> 100755 --- a/configure.py +++ b/configure.py @@ -297,6 +297,7 @@ if platform.is_msvc(): # We never have strings or arrays larger than 2**31. '/wd4267', '/DNOMINMAX', '/D_CRT_SECURE_NO_WARNINGS', + '/D...
Set _HAS_EXCEPTIONS=0 on MSVC
py
diff --git a/easymoney.py b/easymoney.py index <HASH>..<HASH> 100644 --- a/easymoney.py +++ b/easymoney.py @@ -118,6 +118,10 @@ class Money(Decimal): __rdiv__ = _make_method('__rdiv__') __mod__ = _make_method('__mod__') __rmod__ = _make_method('__rmod__') + __divmod__ = _make_method('__divmod__') + ...
Add divmod and pow magic methods that are also available in Decimal
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -141,7 +141,7 @@ def _linux_gpu_data(): lspci = salt.utils.which('lspci') if not lspci: - log.info( + log.debug( 'The `lspci` binary is not ava...
Tweak loglevel for dmidecode warning In <I>a3 I changed the loglevel to WARNING, in my brain that was the next *less* verbose loglevel, when in reality this should have been changed to DEBUG. Since the change, now all salt CLI commands show this warning since the default CLI loglevel is warning. This is obviously not...
py
diff --git a/pypet/tests/test_helpers.py b/pypet/tests/test_helpers.py index <HASH>..<HASH> 100644 --- a/pypet/tests/test_helpers.py +++ b/pypet/tests/test_helpers.py @@ -282,7 +282,7 @@ def simple_calculations(traj, arg1, simple_kwarg): traj.res.runs.f_add_result(traj.v_crun + '.ggjg', 5555, comment='didili')...
fixed the new introduced error in last fix :-D
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,9 @@ from os import path here = path.abspath(path.dirname(__file__)) -requires = ['fuzzpy >= 0.4.2', 'matplotlib >= 1.0.0', 'biopython >= 1.60'] +requires = ['numpy', 'scipy', 'matplotlib >= 1.5.0', 'biopython >= ...
Updates requires list in setup.py. The requires list is still unused while actually installing, but the list is there to have a central listing of necessary packages for the various parts of PhyloToAST.
py
diff --git a/psyplot/data.py b/psyplot/data.py index <HASH>..<HASH> 100755 --- a/psyplot/data.py +++ b/psyplot/data.py @@ -1877,7 +1877,7 @@ class InteractiveBase(object): @docstrings.get_sectionsf('InteractiveBase') @dedent - def __init__(self, plotter=None, arr_name='data', auto_update=None): + def ...
Default arr_name for InteractiveBase is now arr0
py
diff --git a/openid_provider/models.py b/openid_provider/models.py index <HASH>..<HASH> 100644 --- a/openid_provider/models.py +++ b/openid_provider/models.py @@ -108,7 +108,7 @@ class UserInfo(models.Model): address_region = models.CharField(max_length=255, default='') address_postal_code = models.CharField(...
We have a bug with this model definition, forcing nullable
py
diff --git a/src/main.py b/src/main.py index <HASH>..<HASH> 100755 --- a/src/main.py +++ b/src/main.py @@ -49,7 +49,7 @@ class Main(object): if destination_version is None: destination_version = self.db_migrate.latest_version_available() - if not self.db_migrate.check_if_version_exists(de...
#<I>: Migrate to version '0'.
py
diff --git a/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/workflows/copy.py b/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/workflows/copy.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/workflows/...
[Sahara] Fixed copy nodegroup template when sec groups missing 'security_groups' is not required field. So, we should handle None value. Change-Id: I<I>a0e<I>f3f8f<I>f1c<I>e<I>eee4b1aa8f8 Closes-Bug: #<I>
py
diff --git a/ella/photos/formatter.py b/ella/photos/formatter.py index <HASH>..<HASH> 100644 --- a/ella/photos/formatter.py +++ b/ella/photos/formatter.py @@ -127,7 +127,7 @@ class Formatter(object): # see if we want to crop something from outside of the image out_of_photo = min(crop_box[0], crop_box[...
no use checking for transparent GIFs since we need more info to save them. who uses transparent GIFs anyway?
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,10 @@ libs = [] for x in os.listdir('lib'): if x[-4:] == '.jar': libs.append("lib/%s" % x) + +with os.popen("which gfortran") as gf: + if not gf: + print 'You need to install gfortran...
add dependancies for libxslt dev and libxml2-dev, offer an error for gfortran Former-commit-id: <I>d3d6f<I>da7a<I>eb4d0f<I>fb<I>
py
diff --git a/eventcore/queues/kafka.py b/eventcore/queues/kafka.py index <HASH>..<HASH> 100644 --- a/eventcore/queues/kafka.py +++ b/eventcore/queues/kafka.py @@ -19,16 +19,14 @@ class KafkaQueue(Queue): # TODO: Raise NoKafkaConsumer exception return self.kafka_consumer.subscribe(topi...
Ask for <I> messages each read
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,6 @@ setup( 'matplotlib', 'pandas', 'numba', - 'porespy', 'transforms3d', 'flatdict', 'gitpython',
Removed porespy from dependency list
py
diff --git a/tests/test_hash.py b/tests/test_hash.py index <HASH>..<HASH> 100644 --- a/tests/test_hash.py +++ b/tests/test_hash.py @@ -5,10 +5,6 @@ from looptools import Timer from dirutility.hash import Hash -# Disable immediate timer result printing -Timer().disable_printing() - - class TestHashFile(unittest.Te...
CUT call to Timer.disable_printing
py
diff --git a/salt/client/raet/__init__.py b/salt/client/raet/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/raet/__init__.py +++ b/salt/client/raet/__init__.py @@ -56,7 +56,8 @@ class LocalClient(salt.client.LocalClient): yid=0, dirpath=self.opts['sock_dir']) stack....
Add more checks to the raet client
py
diff --git a/nfc/dev/pn53x.py b/nfc/dev/pn53x.py index <HASH>..<HASH> 100644 --- a/nfc/dev/pn53x.py +++ b/nfc/dev/pn53x.py @@ -476,7 +476,7 @@ class Device(nfc.dev.Device): pollrq = "\x00\xFF\xFF\x00\x03" nfcid3 = "\x01\xfe" + os.urandom(8) - for mode, speed in (("active", "424"), ("passive",...
poll first for NFC-DEP passive, then active mode
py
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py index <HASH>..<HASH> 100755 --- a/coursera/coursera_dl.py +++ b/coursera/coursera_dl.py @@ -72,6 +72,39 @@ csrftoken = '' session = '' AUTH_URL = 'https://www.coursera.org/maestro/api/user/login' +# Monkey patch cookielib.Cookie.__init__. +# Reason: The...
Monkey patch cookielib.Cookie.__init__ The max-age value in a cookie can be a decimal, e.g., in the file exported with the chrome extension (this is allowed by the rfc). The cookielib.Cookie class on the other hand is only compatible with integer values. This is unacceptable behaviour and should be punished.
py
diff --git a/src/Exscriptd/xml.py b/src/Exscriptd/xml.py index <HASH>..<HASH> 100644 --- a/src/Exscriptd/xml.py +++ b/src/Exscriptd/xml.py @@ -262,6 +262,8 @@ def _get_password_from_node(node): return None thetype = node.get('type', 'cleartext') password = node.text + if password is None: + ...
Exscriptd.xml: fix: support for accounts that have no password.
py
diff --git a/tsfresh/convenience/relevant_extraction.py b/tsfresh/convenience/relevant_extraction.py index <HASH>..<HASH> 100644 --- a/tsfresh/convenience/relevant_extraction.py +++ b/tsfresh/convenience/relevant_extraction.py @@ -134,7 +134,7 @@ def extract_relevant_features(timeseries_container, y, X=None, :retu...
better warning if y is not a pandas series (#<I>)
py
diff --git a/scoop/_comm.py b/scoop/_comm.py index <HASH>..<HASH> 100644 --- a/scoop/_comm.py +++ b/scoop/_comm.py @@ -84,13 +84,15 @@ class ZMQCommunicator(object): msg = self.socket.recv_multipart() try: thisFuture = pickle.loads(msg[1]) - except AttributeError: + except A...
* Improved error reporting of unpickling
py
diff --git a/fedmsg/consumers/ircbot.py b/fedmsg/consumers/ircbot.py index <HASH>..<HASH> 100644 --- a/fedmsg/consumers/ircbot.py +++ b/fedmsg/consumers/ircbot.py @@ -75,6 +75,10 @@ def ircprettify(title, subtitle, link="", config=None): if link: link = markup(link, "teal") + # Sometimes the link is ...
Scrub "None" links from channel.
py
diff --git a/salt/modules/netbox.py b/salt/modules/netbox.py index <HASH>..<HASH> 100644 --- a/salt/modules/netbox.py +++ b/salt/modules/netbox.py @@ -31,7 +31,7 @@ from salt.exceptions import CommandExecutionError try: import pynetbox - from pynetbox.lib import RequestError + from pynetbox.core.query imp...
Suggestion to fix issue #<I>
py
diff --git a/rope/contrib/autoimport/sqlite.py b/rope/contrib/autoimport/sqlite.py index <HASH>..<HASH> 100644 --- a/rope/contrib/autoimport/sqlite.py +++ b/rope/contrib/autoimport/sqlite.py @@ -100,7 +100,7 @@ class AutoImport: if memory or project.ropefolder is None: db_path = ":memory:" ...
Fix AutoImport when .ropefolder path may not be the current working directory
py
diff --git a/napalm_logs/listener/tcp.py b/napalm_logs/listener/tcp.py index <HASH>..<HASH> 100644 --- a/napalm_logs/listener/tcp.py +++ b/napalm_logs/listener/tcp.py @@ -95,7 +95,7 @@ class TCPListener(ListenerBase): except socket.timeout: if not self.__up: return - lo...
Decrease log level for TCP timeout
py
diff --git a/parsl/monitoring/monitoring.py b/parsl/monitoring/monitoring.py index <HASH>..<HASH> 100644 --- a/parsl/monitoring/monitoring.py +++ b/parsl/monitoring/monitoring.py @@ -273,7 +273,7 @@ class MonitoringHub(RepresentationMixin): while True: try: exception_msgs.append(s...
Log monitoring exception queue errors at ERROR not INFO level (#<I>)
py
diff --git a/jishaku/cog_base.py b/jishaku/cog_base.py index <HASH>..<HASH> 100644 --- a/jishaku/cog_base.py +++ b/jishaku/cog_base.py @@ -99,7 +99,7 @@ class JishakuBase(commands.Cog): # pylint: disable=too-many-public-methods if cmdtask in self.tasks: self.tasks.remove(cmdtask) - a...
Pylint isn't smart enough to detect optional coroutines
py
diff --git a/salt/modules/dnsutil.py b/salt/modules/dnsutil.py index <HASH>..<HASH> 100644 --- a/salt/modules/dnsutil.py +++ b/salt/modules/dnsutil.py @@ -247,7 +247,7 @@ def SPF(domain, record='SPF', nameserver=None): return [x for x in map(_process, stdout) if x is not None] -def MX(domain, ip=False, nameser...
Keep argument naming consistency as suggested by @hank-at-code<I>.
py
diff --git a/src/docs/conf.py b/src/docs/conf.py index <HASH>..<HASH> 100644 --- a/src/docs/conf.py +++ b/src/docs/conf.py @@ -16,6 +16,9 @@ import sys import os import shlex +# Make sure sphinx finds the packages +sys.path.insert(0, os.path.abspath('../')) + # If extensions (or modules to document with autodoc) a...
Trying to add packages to path so autodoc could wokr
py
diff --git a/lib/bx/intervals/quicksect.py b/lib/bx/intervals/quicksect.py index <HASH>..<HASH> 100644 --- a/lib/bx/intervals/quicksect.py +++ b/lib/bx/intervals/quicksect.py @@ -3,8 +3,10 @@ Intersects ... faster. Suports GenomicInterval datatype and multiple chromosomes. """ import math -import random import tim...
Changes to quicksect - test now works. Moving out of this directory in the next commit.
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -1,15 +1,18 @@ # -*- coding: utf-8 -*- from __future__ import print_function + import os import sys import xml.etree.ElementTree as ET -from datetime import datetime +from time im...
using `time.time()` in tests
py
diff --git a/spacy/tests/regression/test_issue3209.py b/spacy/tests/regression/test_issue3209.py index <HASH>..<HASH> 100644 --- a/spacy/tests/regression/test_issue3209.py +++ b/spacy/tests/regression/test_issue3209.py @@ -2,10 +2,8 @@ from __future__ import unicode_literals from spacy.lang.en import English -impor...
Un-x-fail passing test
py
diff --git a/pysat/_meta.py b/pysat/_meta.py index <HASH>..<HASH> 100644 --- a/pysat/_meta.py +++ b/pysat/_meta.py @@ -1090,8 +1090,16 @@ class Meta(object): # Update the attribute name map_var = get_mapped_value(var, mapper) if map_var is not None: + # Get and upda...
BUG: fixed higher-order data renaming Fixed renaming of higher order data by ensuring all data instances of the higher order data set are removed.
py
diff --git a/abydos/distance/_aline.py b/abydos/distance/_aline.py index <HASH>..<HASH> 100644 --- a/abydos/distance/_aline.py +++ b/abydos/distance/_aline.py @@ -1314,7 +1314,7 @@ class ALINE(_Distance): if s_mat[i,j] >= threshold: self.retrieve(i,j,0,s_mat,threshold,src,tar,[]) ...
the final block is probably more correct for global alignment
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -72,6 +72,6 @@ setup(name = "VESPA", 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Astronomy' ], - install_requires=['cython','pandas>=0.13','simpledist>=0.1.11', 'emcee...
changed dependencies; removed hashutils, updated isochrones dependency
py
diff --git a/cwl_airflow_parser/cwldag.py b/cwl_airflow_parser/cwldag.py index <HASH>..<HASH> 100644 --- a/cwl_airflow_parser/cwldag.py +++ b/cwl_airflow_parser/cwldag.py @@ -61,7 +61,7 @@ class CWLDAG(DAG): self.top_task = None self.bottom_task = None - self.cwlwf = self.load_cwl(cwl_workflo...
Unimportant changes Renamd load_cwl to quick_load_cwl to avoid confusing with cwlutils.load_cwl
py
diff --git a/tests/test_logging.py b/tests/test_logging.py index <HASH>..<HASH> 100644 --- a/tests/test_logging.py +++ b/tests/test_logging.py @@ -104,4 +104,4 @@ def test_log_connection_lost(debug, monkeypatch): assert log.startswith( 'Connection lost before response written @') else: - ...
:white_check_mark: fix missed assertion
py
diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py index <HASH>..<HASH> 100644 --- a/openid/consumer/consumer.py +++ b/openid/consumer/consumer.py @@ -81,8 +81,8 @@ STORES AND DUMB MODE the documentation for the C{L{OpenIDConsumer}} class for more information on the interface for stores. ...
[project @ Simplify included store descriptions]
py
diff --git a/src/pyparsing.py b/src/pyparsing.py index <HASH>..<HASH> 100644 --- a/src/pyparsing.py +++ b/src/pyparsing.py @@ -189,6 +189,7 @@ class ParseBaseException(Exception): self.msg = msg self.pstr = pstr self.parserElement = elem + self.args = (pstr, loc, msg) ...
Modified init for Py2 compatibility (need args attribute for exception construction during packratting)
py
diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py index <HASH>..<HASH> 100644 --- a/napalm_junos/junos.py +++ b/napalm_junos/junos.py @@ -331,6 +331,11 @@ class JunOSDriver(NetworkDriver): for sensor_object, object_data in environment.items(): structured_object_data = {k: v for k, v in ob...
Workaround for get-environment-information not providing class data for each entry.
py
diff --git a/src/dolo/symbolic/model.py b/src/dolo/symbolic/model.py index <HASH>..<HASH> 100644 --- a/src/dolo/symbolic/model.py +++ b/src/dolo/symbolic/model.py @@ -1,3 +1,4 @@ + import sympy from dolo.symbolic.symbolic import Equation,Variable,Shock,Parameter @@ -7,8 +8,8 @@ class Model(dict): def __init__(...
Added sqrt to known symbols.
py
diff --git a/dustmaps/json_serializers.py b/dustmaps/json_serializers.py index <HASH>..<HASH> 100644 --- a/dustmaps/json_serializers.py +++ b/dustmaps/json_serializers.py @@ -28,6 +28,7 @@ from __future__ import print_function +import six import json import base64 @@ -85,13 +86,13 @@ def deserialize_dtype(d): ...
Fixing JSON serialization of strings in Python3.
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -125,6 +125,8 @@ def minion_mods(opts, context=None, whitelist=None): import salt.loader __opts__ = salt.config.minion_config('/etc/salt/minion') + __grains__ = salt.loader.gr...
Pull grains into __opts__ before loading the execution modules Otherwise the platform specific modules won't be loaded since the grains aren't available.
py
diff --git a/varify/samples/receivers.py b/varify/samples/receivers.py index <HASH>..<HASH> 100644 --- a/varify/samples/receivers.py +++ b/varify/samples/receivers.py @@ -16,14 +16,20 @@ log = logging.getLogger(__name__) @transaction.commit_on_success def update_sample_for_autocreated_cohorts(instance, created, **kwa...
Add setting for disabling auto creation of world cohort on sample update
py
diff --git a/malcolm/modules/scanning/parts/scanrunnerpart.py b/malcolm/modules/scanning/parts/scanrunnerpart.py index <HASH>..<HASH> 100644 --- a/malcolm/modules/scanning/parts/scanrunnerpart.py +++ b/malcolm/modules/scanning/parts/scanrunnerpart.py @@ -209,7 +209,8 @@ class ScanRunnerPart(builtin.parts.ChildPart): ...
ScanRunnerPart: fixing line lengths
py
diff --git a/flask_swagger.py b/flask_swagger.py index <HASH>..<HASH> 100644 --- a/flask_swagger.py +++ b/flask_swagger.py @@ -38,19 +38,16 @@ def _extract_definitions(parameter_list): added to the definitions list. """ defs = list() - parameters = list() for params in parameter_list: - co...
removing copy from older version, not needed anymore
py
diff --git a/tests/test_m4a.py b/tests/test_m4a.py index <HASH>..<HASH> 100644 --- a/tests/test_m4a.py +++ b/tests/test_m4a.py @@ -133,6 +133,8 @@ class TM4A(TestCase): def test_pair_invalid(self): self.failUnlessRaises(ValueError, self.set_key, 'trkn', (-1, 0)) self.failUnlessRaises(ValueError, ...
M4A test coverage for new disk renderer, binary pprint.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- from __future__ import with_statement import os from setuptools import setup, find_packages
Remove unuseful coding comment in setup.py
py
diff --git a/scss/types.py b/scss/types.py index <HASH>..<HASH> 100644 --- a/scss/types.py +++ b/scss/types.py @@ -436,7 +436,10 @@ class Number(Value): # TODO enforce no units for trig? python_arg = sass_arg.value python_ret = fn(python_arg) - sass_ret = cls(python_ret...
Fix @wrap_python_function to handle complex units.
py
diff --git a/centinel/backend.py b/centinel/backend.py index <HASH>..<HASH> 100644 --- a/centinel/backend.py +++ b/centinel/backend.py @@ -139,7 +139,11 @@ class User: client_sched = json.load(file_p) # delete any scheduled tasks as necessary - for exp in client_sched: + # + ...
fixed bug in scheduler updater you can't change dictionaries as you iterate over them, which the scheduler sync code did. I have updated it to fix the problem
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -175,7 +175,7 @@ else: # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.c...
We ain't have not stinkin' _static
py
diff --git a/dev/breeze/src/airflow_breeze/prod/prod_params.py b/dev/breeze/src/airflow_breeze/prod/prod_params.py index <HASH>..<HASH> 100644 --- a/dev/breeze/src/airflow_breeze/prod/prod_params.py +++ b/dev/breeze/src/airflow_breeze/prod/prod_params.py @@ -231,7 +231,7 @@ class ProdParams: docker_cache_p...
Fix failing static check (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,10 +50,6 @@ class smart_install_data(install_data): return install_data.run(self) -tpmsrc = glob.glob('src/tpm/*.c') -tpmsrc.extend(['src/blackbox.c','src/pytpm_wrap.c']) - - def dosetup(): ...
Removed extraneous lines referring to TPM, not needed by this package git-svn-id: <URL>
py
diff --git a/hydpy/core/sequencetools.py b/hydpy/core/sequencetools.py index <HASH>..<HASH> 100644 --- a/hydpy/core/sequencetools.py +++ b/hydpy/core/sequencetools.py @@ -374,6 +374,17 @@ class FluxSequences(IOSubSequences): def savedata(self, idx): self.fastaccess.savedata(idx) + @property + def ...
Allow iteration over "numerical sequences" of `FluxSequences` instances only via property `numerics` (module `sequencetools`). "Numerical Sequences" means, that their class attribute `NUMERIC` is True.
py
diff --git a/test_project/settings.py b/test_project/settings.py index <HASH>..<HASH> 100644 --- a/test_project/settings.py +++ b/test_project/settings.py @@ -31,6 +31,7 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, + 'DIRS': TEMPLATE_DI...
Add DIRS to new TEMPLATES setting
py
diff --git a/bootstrap3_datetime/widgets.py b/bootstrap3_datetime/widgets.py index <HASH>..<HASH> 100644 --- a/bootstrap3_datetime/widgets.py +++ b/bootstrap3_datetime/widgets.py @@ -87,18 +87,10 @@ class DateTimePicker(DateTimeInput): </span> </div>''' + # commit 042dd1da3a7ff21010c1273c092c...
fixing widget attachment on ajax load
py
diff --git a/bumpversion/cli.py b/bumpversion/cli.py index <HASH>..<HASH> 100644 --- a/bumpversion/cli.py +++ b/bumpversion/cli.py @@ -112,10 +112,7 @@ def main(original_args=None): _determine_files(file_names, files, positionals, vc) vcs = _determine_vcs_dirty(defaults, vcs) _check_files_contain_version...
Extract method from main: _replace_version_in_files
py
diff --git a/openxc/formats/binary.py b/openxc/formats/binary.py index <HASH>..<HASH> 100644 --- a/openxc/formats/binary.py +++ b/openxc/formats/binary.py @@ -3,6 +3,7 @@ from __future__ import absolute_import import binascii import numbers +import logging import google.protobuf.message from google.protobuf.int...
Adding missing definition of logging object.
py