diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/glfw.py b/glfw.py index <HASH>..<HASH> 100644 --- a/glfw.py +++ b/glfw.py @@ -806,7 +806,8 @@ def destroy_window(window): window_addr = ctypes.cast(ctypes.pointer(window), ctypes.POINTER(ctypes.c_ulong)).contents.value for callback_repository in _callback_repositori...
fix KeyError in destroy_window
py
diff --git a/ue4cli/UnrealManagerBase.py b/ue4cli/UnrealManagerBase.py index <HASH>..<HASH> 100644 --- a/ue4cli/UnrealManagerBase.py +++ b/ue4cli/UnrealManagerBase.py @@ -262,6 +262,10 @@ class UnrealManagerBase(object): Builds the editor for the Unreal project in the specified directory, using the specified build c...
Make build a no-op for pure Blueprint projects
py
diff --git a/napalm_junos/__init__.py b/napalm_junos/__init__.py index <HASH>..<HASH> 100644 --- a/napalm_junos/__init__.py +++ b/napalm_junos/__init__.py @@ -0,0 +1,16 @@ +# Copyright 2016 Dravetech AB. All rights reserved. +# +# The contents of this file are licensed under the Apache License, Version 2.0 +# (the "Lic...
Added driver to the basic module so it can be discovered
py
diff --git a/GPy/plotting/gpy_plot/latent_plots.py b/GPy/plotting/gpy_plot/latent_plots.py index <HASH>..<HASH> 100644 --- a/GPy/plotting/gpy_plot/latent_plots.py +++ b/GPy/plotting/gpy_plot/latent_plots.py @@ -256,7 +256,7 @@ def plot_latent(self, labels=None, which_indices=None, xlabel='la...
[latent plots] legend was always plotted
py
diff --git a/apio/__init__.py b/apio/__init__.py index <HASH>..<HASH> 100644 --- a/apio/__init__.py +++ b/apio/__init__.py @@ -4,7 +4,7 @@ # -- Author Jesús Arroyo # -- Licence GPLv2 -VERSION = (0, 3, '0b1') +VERSION = (0, 3, '0b2') __version__ = ".".join([str(s) for s in VERSION]) __title__ = 'apio'
Bump to version <I>b2
py
diff --git a/source/awesome_tool/statemachine/state_machine_manager.py b/source/awesome_tool/statemachine/state_machine_manager.py index <HASH>..<HASH> 100644 --- a/source/awesome_tool/statemachine/state_machine_manager.py +++ b/source/awesome_tool/statemachine/state_machine_manager.py @@ -173,6 +173,6 @@ class StateMa...
Fix bug loading state machine without base_path
py
diff --git a/src/you_get/extractors/google.py b/src/you_get/extractors/google.py index <HASH>..<HASH> 100644 --- a/src/you_get/extractors/google.py +++ b/src/you_get/extractors/google.py @@ -61,7 +61,7 @@ def google_download(url, output_dir = '.', merge = True, info_only = False, **kw if not real_urls: ...
[google+] fix more
py
diff --git a/openquake/hazard/opensha.py b/openquake/hazard/opensha.py index <HASH>..<HASH> 100644 --- a/openquake/hazard/opensha.py +++ b/openquake/hazard/opensha.py @@ -398,10 +398,10 @@ class ClassicalMixin(BasePSHAMixin): results = self.do_curves( site_list, serializer=self.write_hazardcurve_f...
Rename write_hazardmap_file to serialize_hazardmap and fix the docstring.
py
diff --git a/ovirtlago/testlib.py b/ovirtlago/testlib.py index <HASH>..<HASH> 100644 --- a/ovirtlago/testlib.py +++ b/ovirtlago/testlib.py @@ -46,6 +46,13 @@ def get_test_prefix(): return _test_prefix +def get_prefixed_name(entity_name): + suite = os.environ.get('SUITE') + return ( + 'lago-' + os....
Moving over get_prefixed_name() to ovirtlago/testlib This is more useful than having it copied around in multiple tests. Just a handy function. After it'll be included in a released Lago, will convert ovirt-system-tests to use it.
py
diff --git a/geomet/wkb.py b/geomet/wkb.py index <HASH>..<HASH> 100644 --- a/geomet/wkb.py +++ b/geomet/wkb.py @@ -124,7 +124,6 @@ def dumps(obj, big_endian=True, dims='2D'): if dims == '2D': num_dims = 2 - mapping = WKB_2D elif dims in ('Z', 'M'): num_dims = 3 elif dims == 'ZM...
wkb: Removed a redundant line of code.
py
diff --git a/graphistry/plotter.py b/graphistry/plotter.py index <HASH>..<HASH> 100644 --- a/graphistry/plotter.py +++ b/graphistry/plotter.py @@ -71,6 +71,11 @@ class Plotter(object): else: g = graph n = self.nodes if nodes is None else nodes + + if self.source is None or self.des...
NewAPI: Check that at least source/dest are bound before attempting to plot
py
diff --git a/dwave/system/samplers/dwave_sampler.py b/dwave/system/samplers/dwave_sampler.py index <HASH>..<HASH> 100644 --- a/dwave/system/samplers/dwave_sampler.py +++ b/dwave/system/samplers/dwave_sampler.py @@ -347,7 +347,8 @@ class DWaveSampler(dimod.Sampler, dimod.Structured): if not (solver.nodes.issu...
Suggest using `EmbeddingComposite` when the hardware graph is incompatible (#<I>) * Error message * Update * Updated error message in sample method * Minor correction
py
diff --git a/hamster/stuff.py b/hamster/stuff.py index <HASH>..<HASH> 100644 --- a/hamster/stuff.py +++ b/hamster/stuff.py @@ -135,7 +135,7 @@ def format_activity(name, category, description, pad_description = False): if description: text+= "\n" if pad_description: - text += " ...
padding description some more since we have now also end time. this is somewhat lame though
py
diff --git a/welly/project.py b/welly/project.py index <HASH>..<HASH> 100644 --- a/welly/project.py +++ b/welly/project.py @@ -327,7 +327,7 @@ class Project(object): num_passes = sum(results) q = num_passes / num_tests q_colour = q_c...
fix test_project() by adapting project.curve_table_html() to new curve object
py
diff --git a/graphos/renderers/matplotlib_renderer.py b/graphos/renderers/matplotlib_renderer.py index <HASH>..<HASH> 100644 --- a/graphos/renderers/matplotlib_renderer.py +++ b/graphos/renderers/matplotlib_renderer.py @@ -7,6 +7,9 @@ import base64 class BaseMatplotlibChart(BaseChart): + def get_template(self):...
moved get_template method to base class
py
diff --git a/alignak/daemons/arbiterdaemon.py b/alignak/daemons/arbiterdaemon.py index <HASH>..<HASH> 100644 --- a/alignak/daemons/arbiterdaemon.py +++ b/alignak/daemons/arbiterdaemon.py @@ -1185,7 +1185,7 @@ class Arbiter(Daemon): # pylint: disable=too-many-instance-attributes if alive: ...
Change a log from warning to info level
py
diff --git a/scripts/find_enrichment.py b/scripts/find_enrichment.py index <HASH>..<HASH> 100755 --- a/scripts/find_enrichment.py +++ b/scripts/find_enrichment.py @@ -121,9 +121,9 @@ if __name__ == "__main__": if 0.7 < overlap < 0.95: sys.stderr.write("\nWARNING: only {} fraction of genes/proteins...
Remove obsolete runtime option from test code.
py
diff --git a/eventcore/consumer.py b/eventcore/consumer.py index <HASH>..<HASH> 100644 --- a/eventcore/consumer.py +++ b/eventcore/consumer.py @@ -38,8 +38,8 @@ class Consumer(metaclass=abc.ABCMeta): # noqa """ method_mapping = Registry.get_event(name) if not method_mapping: - log....
Change logger level on no subscribers for event
py
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py index <HASH>..<HASH> 100644 --- a/tools/interop_matrix/client_matrix.py +++ b/tools/interop_matrix/client_matrix.py @@ -192,6 +192,7 @@ LANG_RELEASE_MATRIX = { ('v1.38.1', ReleaseInfo(runtimes=['go1.16'])), ...
Add <I> release of grpc-go to interop matrix (#<I>)
py
diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py index <HASH>..<HASH> 100644 --- a/astrobase/lcproc.py +++ b/astrobase/lcproc.py @@ -629,7 +629,7 @@ def getlclist(listpickle, ext_cosdecl = np.cos(np.radians(extcat['decl'])) ext_sindecl = np.sin(np.radians(extcat['decl'])) ex...
lcproc.getlclist fix bugs with xmatchexternal
py
diff --git a/distutils/_msvccompiler.py b/distutils/_msvccompiler.py index <HASH>..<HASH> 100644 --- a/distutils/_msvccompiler.py +++ b/distutils/_msvccompiler.py @@ -328,23 +328,6 @@ class MSVCCompiler(CCompiler): }, } - def _make_out_path(self, output_dir, strip_dir, src_name): - bas...
Remove _msvccompiler._make_out_path. The function is almost entirely redundant to the implementation in the parent class. The only difference is the order in which `strip_dir` is processed, but even there, it doesn't appear as if `strip_dir` is ever True, so take the risk and consolidate behavior.
py
diff --git a/aiogram/utils/exceptions.py b/aiogram/utils/exceptions.py index <HASH>..<HASH> 100644 --- a/aiogram/utils/exceptions.py +++ b/aiogram/utils/exceptions.py @@ -7,6 +7,7 @@ - MessageNotModified - MessageToForwardNotFound - MessageToDeleteNotFound + - MessageTo...
Add exception MessageToPinNotFound (#<I>)
py
diff --git a/src/transformers/commands/add_new_model_like.py b/src/transformers/commands/add_new_model_like.py index <HASH>..<HASH> 100644 --- a/src/transformers/commands/add_new_model_like.py +++ b/src/transformers/commands/add_new_model_like.py @@ -844,14 +844,24 @@ def add_model_to_main_init( new_lines = [] ...
Fix add new model like frameworks (#<I>) * Add new model like adds only the selected frameworks object in init * Small fix
py
diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py index <HASH>..<HASH> 100644 --- a/kubespawner/spawner.py +++ b/kubespawner/spawner.py @@ -1602,6 +1602,7 @@ class KubeSpawner(Spawner): @run_on_executor def asynchronize(self, method, *args, **kwargs): + self.log.info(f"Asynchronously calli...
Add some more logging This is probably an error at the intersection of networking and async, which makes it pretty hard to pin down
py
diff --git a/codalib/util.py b/codalib/util.py index <HASH>..<HASH> 100644 --- a/codalib/util.py +++ b/codalib/util.py @@ -159,7 +159,7 @@ def xsDateTime_format(xdt): return xdt_str + 'Z' offset_hours = offset.days*24+offset.seconds/(60*60) offset_minutes = (offset.seconds % (60*60))/60 - xdt_str ...
include format field numbers for <I> and <I> compatibility
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ with open('requirements.txt') as f: setuptools.setup( name="np", - version='0.2.0', + version='1.0.0', description="np = numpy++: numpy with added convenience functionality", url='https:/...
Version number to <I> !!
py
diff --git a/drivers/python/rethinkdb/net.py b/drivers/python/rethinkdb/net.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/net.py +++ b/drivers/python/rethinkdb/net.py @@ -316,7 +316,7 @@ class Connection(object): except KeyboardInterrupt as err: # When interrupted while wai...
fix recursion in python driver when reconnecting due to keyboard interrupt
py
diff --git a/docker/utils/utils.py b/docker/utils/utils.py index <HASH>..<HASH> 100644 --- a/docker/utils/utils.py +++ b/docker/utils/utils.py @@ -36,6 +36,7 @@ def mkbuildcontext(dockerfile): 'Dockerfiles with Python 3') else: dfinfo.size = len(dockerfile.getvalue()) ...
Should be done for StringIO objects as well
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,8 @@ setup(name='gbdxtools', 'gbdx-auth==0.1.2', 'Pillow==3.1.1', 'pygeoif==0.6', - 'sympy==1.0'], + ...
add ndg-httpsclient==<I> to setup.py so we do not get ssl errors
py
diff --git a/peppy/project.py b/peppy/project.py index <HASH>..<HASH> 100644 --- a/peppy/project.py +++ b/peppy/project.py @@ -783,8 +783,11 @@ class Project(AttributeDict): subproject, ", ".join([sp for sp in config["subprojects"]]))) _LOGGER.debug("Updating with: {}".format(subproj_u...
message case disambiguation and severity gradation
py
diff --git a/pysnmp/entity/rfc3413/ntforg.py b/pysnmp/entity/rfc3413/ntforg.py index <HASH>..<HASH> 100644 --- a/pysnmp/entity/rfc3413/ntforg.py +++ b/pysnmp/entity/rfc3413/ntforg.py @@ -55,9 +55,11 @@ class NotificationOriginator: if statusInformation: if origRetries == origRetryCount: - ...
refactor NotificationOriginator to allow receiption method customization
py
diff --git a/ait/core/test/test_dtype.py b/ait/core/test/test_dtype.py index <HASH>..<HASH> 100644 --- a/ait/core/test/test_dtype.py +++ b/ait/core/test/test_dtype.py @@ -208,6 +208,40 @@ def testget(): with nose.tools.assert_raises(ValueError): dtype.get('U8[-42]') +def testString(): + dt = dtype.ge...
Issue #<I> - Updated test_dtype to include regression tests for type string
py
diff --git a/estnltk/taggers/tagger.py b/estnltk/taggers/tagger.py index <HASH>..<HASH> 100644 --- a/estnltk/taggers/tagger.py +++ b/estnltk/taggers/tagger.py @@ -33,6 +33,8 @@ class Tagger: def make_layer(self, raw_text: str, layers: MutableMapping[str, Layer], status: dict = None) -> Layer: assert sta...
revert last change of Tagger status
py
diff --git a/BAC0/core/io/Read.py b/BAC0/core/io/Read.py index <HASH>..<HASH> 100644 --- a/BAC0/core/io/Read.py +++ b/BAC0/core/io/Read.py @@ -581,13 +581,14 @@ def find_reason(apdu): reasons = AbortReason.enumerations else: if apdu.errorCode and apdu.errorClass: - retu...
Better error message as suggested by Master Bender
py
diff --git a/mautrix/bridge/portal.py b/mautrix/bridge/portal.py index <HASH>..<HASH> 100644 --- a/mautrix/bridge/portal.py +++ b/mautrix/bridge/portal.py @@ -429,7 +429,10 @@ class BasePortal(ABC): ) -> EventID: if self.encrypted and self.matrix.e2ee: event_type, content = await self.matrix....
portal: automatically mark read after sending message
py
diff --git a/src/feat/models/applicationjson.py b/src/feat/models/applicationjson.py index <HASH>..<HASH> 100644 --- a/src/feat/models/applicationjson.py +++ b/src/feat/models/applicationjson.py @@ -202,7 +202,7 @@ def read_action(doc, *args, **kwargs): return ActionPayload() params = json.loads(data) ...
Lets action payload to be only a single value.
py
diff --git a/src/ossos-pipeline/ossos/fitsviewer/displayable.py b/src/ossos-pipeline/ossos/fitsviewer/displayable.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/fitsviewer/displayable.py +++ b/src/ossos-pipeline/ossos/fitsviewer/displayable.py @@ -294,8 +294,8 @@ class ErrEllipse(object): """ ...
made the ellipse have a minimum size of <I> pixel a/b
py
diff --git a/_pytest/unittest.py b/_pytest/unittest.py index <HASH>..<HASH> 100644 --- a/_pytest/unittest.py +++ b/_pytest/unittest.py @@ -134,6 +134,7 @@ class TestCaseFunction(pytest.Function): pass def runtest(self): + setattr(self._testcase, "__name__", self.name) self._testcase(resu...
Fixes #<I> The unittest.skip decorator runs @functools.wraps on self._testcase. functools.wraps expects a "__name__" attribute and this patch adds one. It might not be the correct fix, but it works for me.
py
diff --git a/tests/unit/modules/blockdev_test.py b/tests/unit/modules/blockdev_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/blockdev_test.py +++ b/tests/unit/modules/blockdev_test.py @@ -86,6 +86,7 @@ class TestBlockdevModule(TestCase): with patch.dict(blockdev.__salt__, {'cmd.run': mock}): ...
Skip test_resize2fs if resize2fs does not exists (#<I>)
py
diff --git a/tests/test_celerite.py b/tests/test_celerite.py index <HASH>..<HASH> 100644 --- a/tests/test_celerite.py +++ b/tests/test_celerite.py @@ -356,6 +356,19 @@ def test_log_likelihood(method, seed=42): ll3 = gp.log_likelihood(y) assert not np.allclose(ll2, ll3) + # Test zero delta t + ind = le...
adding test for dt = 0
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup( name='plucky', - version='0.3.5', + version='0.3.6', description='Plucking (deep) keys/paths safely from python collections has never been easier.', long...
bumped to <I>
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100755 --- a/tests.py +++ b/tests.py @@ -8,6 +8,7 @@ import mock import sys from django.conf import settings from django.test import RequestFactory, override_settings +from django.http import HttpResponse import request_logging from request_logging.middleware...
[tests] Correct failing to to check responses aren't logged
py
diff --git a/salt/modules/glusterfs.py b/salt/modules/glusterfs.py index <HASH>..<HASH> 100644 --- a/salt/modules/glusterfs.py +++ b/salt/modules/glusterfs.py @@ -550,7 +550,6 @@ def add_volume_bricks(name, bricks): return True - def enable_quota_volume(name): ''' Enable quota on a glusterfs volume....
Add volumes quota support to GlusterFS Module # blank line corrections
py
diff --git a/github_release.py b/github_release.py index <HASH>..<HASH> 100755 --- a/github_release.py +++ b/github_release.py @@ -322,7 +322,18 @@ def get_releases(repo_name, verbose=False): return releases +@backoff.on_predicate(backoff.expo, lambda x: x is None, max_time=5) def get_release(repo_name, tag_n...
Improve robustness of asset upload during release creation Fix #<I>
py
diff --git a/indra/tools/live_curation.py b/indra/tools/live_curation.py index <HASH>..<HASH> 100644 --- a/indra/tools/live_curation.py +++ b/indra/tools/live_curation.py @@ -506,6 +506,31 @@ class LiveCurator(object): # Finally, we update the scorer with the new curation counts self.scorer.update_cou...
Add LiveCurator method saving curations for corpus
py
diff --git a/examples/tornado_server.py b/examples/tornado_server.py index <HASH>..<HASH> 100755 --- a/examples/tornado_server.py +++ b/examples/tornado_server.py @@ -1,5 +1,7 @@ #!/usr/bin/env python from __future__ import absolute_import + +import random import sys import tornado.ioloop @@ -56,7 +58,11 @@ class...
add some random splay to example service response times
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( description='Official Stanford NLP Python Library', long_description=long_description, - + long_description_content_type="text/markdown", # The project's main homepage. url='https...
small changes before final release of <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open('requirements.txt') as f: setup( name='pyicloud', - version='0.2.1', + version='0.3.0', url='https://github.com/picklepete/pyicloud', description=( 'PyiCloud is a module ...
Bumping version number; adding trove classifiers (including those for python-version limitations).
py
diff --git a/ClassUtil.py b/ClassUtil.py index <HASH>..<HASH> 100644 --- a/ClassUtil.py +++ b/ClassUtil.py @@ -8,9 +8,9 @@ Copyright """ __author__ = 'Jason R. Coombs <jaraco@sandia.gov>' -__version__ = '$Revision: 3 $'[11:-2] -__vssauthor__ = '$Author: Jaraco $'[9:-2] -__date__ = '$Modtime: 04-06-23 12:18 $'...
Fixed all of the module tags to use svnauthor instead of vssauthor. Changed all to use svn keywords.
py
diff --git a/lib/webinterface_tests.py b/lib/webinterface_tests.py index <HASH>..<HASH> 100644 --- a/lib/webinterface_tests.py +++ b/lib/webinterface_tests.py @@ -42,6 +42,7 @@ class _FakeApache(object): self.config_tree = None self.server_root = None self.mpm_query = None + self.exist...
Added exists_config_define to the FakeApache module, as it is needed by some mod_python versions.
py
diff --git a/panflute/version.py b/panflute/version.py index <HASH>..<HASH> 100644 --- a/panflute/version.py +++ b/panflute/version.py @@ -2,4 +2,4 @@ Panflute version """ -__version__ = '2.0.5' +__version__ = '2.1.0'
version.py: minor bump as new API has been added
py
diff --git a/lib/svtplay_dl/fetcher/hls.py b/lib/svtplay_dl/fetcher/hls.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/fetcher/hls.py +++ b/lib/svtplay_dl/fetcher/hls.py @@ -83,7 +83,10 @@ class HLS(VideoRetriever): sys.exit(2) match = re.search(r'URI="(https?://.*?)"', keydata) - ...
hls: handle error when getting key
py
diff --git a/bika/lims/browser/sample.py b/bika/lims/browser/sample.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/sample.py +++ b/bika/lims/browser/sample.py @@ -71,7 +71,21 @@ class ajaxSampleSubmit(): plone.protect.CheckAuthenticator(self.request.form) plone.protect.PostOnly(self.request.fo...
Don't allow sample to be edited when not appropriate
py
diff --git a/EulerPy/tests.py b/EulerPy/tests.py index <HASH>..<HASH> 100644 --- a/EulerPy/tests.py +++ b/EulerPy/tests.py @@ -160,7 +160,7 @@ class EulerTests(unittest.TestCase): def test_verify_correct(self): # Encoded in Base64 to prevent problem 1 spoilers - solution = b64decode('MjMzMTY4').d...
Encode solution string before decoding This should fix tests on Python <I> where b<I>decode requires bytes.
py
diff --git a/firenado/service.py b/firenado/service.py index <HASH>..<HASH> 100644 --- a/firenado/service.py +++ b/firenado/service.py @@ -63,11 +63,9 @@ class FirenadoService(object): :return: The data connected object in the top of the hierarchy. """ - from firenado.data import DataConnecte...
Imported data connected mixin only if consumer isn't none. Refs: #<I>
py
diff --git a/djpaypal/models/webhooks.py b/djpaypal/models/webhooks.py index <HASH>..<HASH> 100644 --- a/djpaypal/models/webhooks.py +++ b/djpaypal/models/webhooks.py @@ -126,7 +126,7 @@ class WebhookEvent(PaypalObject): return cls.objects.get(id=self.resource[cls.id_field_name]) def send_signal(self): - signal...
Always convert event type signaling to lowercase
py
diff --git a/beets/mediafile.py b/beets/mediafile.py index <HASH>..<HASH> 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -736,11 +736,12 @@ class MP3DescStorageStyle(MP3StorageStyle): return None def delete(self, mutagen_file): - frame = None + found_frame = None ...
Don't accidentaly delete fallback id3 frame Original: beetbox/beets@a<I>b<I>
py
diff --git a/ravel.py b/ravel.py index <HASH>..<HASH> 100644 --- a/ravel.py +++ b/ravel.py @@ -312,6 +312,13 @@ def system_bus() : Bus(dbus.Connection.bus_get(DBUS.BUS_SYSTEM, private = False)) #end system_bus +def connect_server(address) : + "opens a connection to a server at the specified network addre...
add function to create Bus by connecting to a server address
py
diff --git a/message_sender/tasks.py b/message_sender/tasks.py index <HASH>..<HASH> 100644 --- a/message_sender/tasks.py +++ b/message_sender/tasks.py @@ -115,6 +115,12 @@ class ConcurrencyLimiter(object): else: delay = getattr(settings, 'VOICE_MESSAGE_DELAY', 0) + if not msg_time: + ...
Take time since msg sent into account in decr
py
diff --git a/unbabel/api.py b/unbabel/api.py index <HASH>..<HASH> 100644 --- a/unbabel/api.py +++ b/unbabel/api.py @@ -115,7 +115,12 @@ class UnbabelApi(object): data["visibility"] = visibility if public_url: data["public_url"] = public_url + print "Data for request" + p...
small change on unbabel py
py
diff --git a/dark/civ/proteins.py b/dark/civ/proteins.py index <HASH>..<HASH> 100644 --- a/dark/civ/proteins.py +++ b/dark/civ/proteins.py @@ -749,7 +749,7 @@ class ProteinGrouper(object): else: append( '<a id="sample-%s"></a>' - '<span class="sample...
Tiny change to improve the HTML output generated by proteins-to-pathogens-civ.py
py
diff --git a/vex/config.py b/vex/config.py index <HASH>..<HASH> 100644 --- a/vex/config.py +++ b/vex/config.py @@ -22,12 +22,14 @@ if sys.version_info < (3, 3): class InvalidConfigError(Exception): """Raised when there is an error during a .vexrc file parse. """ - def __init__(self, errors): + def __in...
mention filename with parse errors e.g. if someone pastes bashrc garbage into vexrc, let them know it is a problem with what they put in vexrc so they don't have to reason about what they are seeing
py
diff --git a/python/docs/conf.py b/python/docs/conf.py index <HASH>..<HASH> 100644 --- a/python/docs/conf.py +++ b/python/docs/conf.py @@ -45,6 +45,7 @@ extensions = [ autosummary_generate = True add_module_names = False +autodoc_default_flags = ['members', 'inherited-members'] # Add any paths that contain templ...
Make members, inherited-members default in autodoc
py
diff --git a/c7n/policy.py b/c7n/policy.py index <HASH>..<HASH> 100644 --- a/c7n/policy.py +++ b/c7n/policy.py @@ -472,6 +472,17 @@ class LambdaMode(PolicyExecutionMode): "action-%s" % action.name, utils.dumps(results)) return resources + def expand_variables(self, variables): + ...
core - interpolate/replace {account_id} in policy mode: role: for multi-account usage (#<I>)
py
diff --git a/optlang/glpk_interface.py b/optlang/glpk_interface.py index <HASH>..<HASH> 100644 --- a/optlang/glpk_interface.py +++ b/optlang/glpk_interface.py @@ -441,10 +441,11 @@ class Model(interface.Model): @objective.setter def objective(self, value): + if self._objective is not None: + ...
GLPK objective coefficients are much more efficiently reset to zero if a new objective is set.
py
diff --git a/tests/unit/modules/test_osquery.py b/tests/unit/modules/test_osquery.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_osquery.py +++ b/tests/unit/modules/test_osquery.py @@ -50,7 +50,7 @@ class OSQueryTestCase(TestCase, LoaderModuleMockMixin): MagicMock(return_value=_...
Fixing some minor lint issues.
py
diff --git a/climlab/convection/_emanuel_convection/setup.py b/climlab/convection/_emanuel_convection/setup.py index <HASH>..<HASH> 100644 --- a/climlab/convection/_emanuel_convection/setup.py +++ b/climlab/convection/_emanuel_convection/setup.py @@ -22,7 +22,7 @@ def configuration(parent_package='', top_path=None): ...
More robustly set build=False for convention code
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ setup( ], install_requires=[ 'click==4.0', - 'python-owasp-zap-v2.4==0.0.5', + 'python-owasp-zap-v2.4==0.0.7', 'tabulate==0.7.5', 'termcolor==1.1.0', ],
Upgrade python-owasp-zap-<I> dependency to <I>
py
diff --git a/dramatiq/brokers/rabbitmq.py b/dramatiq/brokers/rabbitmq.py index <HASH>..<HASH> 100644 --- a/dramatiq/brokers/rabbitmq.py +++ b/dramatiq/brokers/rabbitmq.py @@ -401,15 +401,18 @@ class _RabbitmqConsumer(Consumer): self.channel._queue_consumer_generator.pending_events.append(self.interrupt_mes...
refactor: harden interrupt cleanup code against early disconnect
py
diff --git a/sample/src/app/app.py b/sample/src/app/app.py index <HASH>..<HASH> 100644 --- a/sample/src/app/app.py +++ b/sample/src/app/app.py @@ -21,6 +21,7 @@ import sys import traceback import json import requests +import re from flask import Flask from flask import request @@ -28,7 +29,7 @@ app = Flask(__nam...
Allow for build numbers in app name without affecting service name
py
diff --git a/nion/swift/test/HardwareSource_test.py b/nion/swift/test/HardwareSource_test.py index <HASH>..<HASH> 100644 --- a/nion/swift/test/HardwareSource_test.py +++ b/nion/swift/test/HardwareSource_test.py @@ -439,7 +439,7 @@ def _test_exception_during_record_halts_playback(testcase, hardware_source, expo ...
Attempt to fix race condition in an acquire test.
py
diff --git a/cloudinary_storage/storage.py b/cloudinary_storage/storage.py index <HASH>..<HASH> 100644 --- a/cloudinary_storage/storage.py +++ b/cloudinary_storage/storage.py @@ -10,6 +10,7 @@ from django.core.files.uploadedfile import UploadedFile from django.core.files.storage import Storage from django.utils.decon...
Added app_settings import to storage file
py
diff --git a/perception/image.py b/perception/image.py index <HASH>..<HASH> 100644 --- a/perception/image.py +++ b/perception/image.py @@ -1679,7 +1679,7 @@ class DepthImage(Image): data[ind[0], ind[1]] = 0.0 return DepthImage(data, self._frame) - def pixels_farther_than(self, depth_im): + def...
Added an option to filter equal depth values
py
diff --git a/s3upload/forms.py b/s3upload/forms.py index <HASH>..<HASH> 100644 --- a/s3upload/forms.py +++ b/s3upload/forms.py @@ -24,6 +24,9 @@ class S3UploadForm(forms.Form): content_type = forms.CharField(widget=forms.HiddenInput()) + # http://docs.aws.amazon.com/AmazonS3/latest/dev/HTTPPOSTForms.html#HT...
Added some comments which reference the AWS docs for html form post.
py
diff --git a/MAVProxy/modules/lib/mp_menu.py b/MAVProxy/modules/lib/mp_menu.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/lib/mp_menu.py +++ b/MAVProxy/modules/lib/mp_menu.py @@ -9,6 +9,7 @@ November 2013 from MAVProxy.modules.lib import mp_util from MAVProxy.modules.lib import multiproc import platform +fro...
menu: switch to allocated menu IDs this avoids collusions in the <I> bit ID space and re-use of special IDs that lead to odd icons
py
diff --git a/devassistant/yaml_loader.py b/devassistant/yaml_loader.py index <HASH>..<HASH> 100644 --- a/devassistant/yaml_loader.py +++ b/devassistant/yaml_loader.py @@ -1,9 +1,6 @@ import os import yaml -from devassistant import argument -from devassistant.assistants import yaml_assistant - class YamlLoader(obje...
Remove unused imports from yaml_loader
py
diff --git a/astropy_helpers/version_helpers.py b/astropy_helpers/version_helpers.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/version_helpers.py +++ b/astropy_helpers/version_helpers.py @@ -87,7 +87,8 @@ def _version_split(version): # details. Note that the imports have to be absolute, since this is also used...
Perhaps a bit superfluous, but also include the timestamp of the build as a datetime object--no reason not to considering we already put the timestamp in a comment as well.
py
diff --git a/mistletoe/block_token.py b/mistletoe/block_token.py index <HASH>..<HASH> 100644 --- a/mistletoe/block_token.py +++ b/mistletoe/block_token.py @@ -477,6 +477,12 @@ class List(BlockToken): matches.append(output) if next_marker is None: break + + if matches: +...
Fixed incorrect loose list (#<I>) (#<I>) * Fixed incorrect loose list (#<I>) * Moved into parsing stage
py
diff --git a/skyfield/__init__.py b/skyfield/__init__.py index <HASH>..<HASH> 100644 --- a/skyfield/__init__.py +++ b/skyfield/__init__.py @@ -5,5 +5,5 @@ functions and classes there. See the ``documentation`` directory inside the source code, as well as the http://rhodesmill.org/skyfield/ site! """ -VERSION = (1,...
With trepedation, declare version <I> I always avoid the I/O code because of the danger that any tweak will break it for someone’s system or use case. This big epic rewrite only raises the stakes. But it passes the tests, so, here goes.
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 find_packages, setup setup( name="ereuse-utils", - version='0.3.0b1', + version='0.3.0b2', packages=find_packages(), url='https://github.com/eReuse/utils', licen...
Bump to <I>b2
py
diff --git a/sdk/python/sawtooth_processor_test/mock_validator.py b/sdk/python/sawtooth_processor_test/mock_validator.py index <HASH>..<HASH> 100644 --- a/sdk/python/sawtooth_processor_test/mock_validator.py +++ b/sdk/python/sawtooth_processor_test/mock_validator.py @@ -273,7 +273,7 @@ class MockValidator(object): ...
Fix UnexpectedMessageException ordering issue This modifies _compare() to return False instead of throwing an exception. Previously, the exception thrown did not have enough context to determine the appropriate order of obj1, obj2, resulting in incorrect messages sent to the user (as expected and received messages we...
py
diff --git a/astrobase/periodbase/kbls.py b/astrobase/periodbase/kbls.py index <HASH>..<HASH> 100644 --- a/astrobase/periodbase/kbls.py +++ b/astrobase/periodbase/kbls.py @@ -880,9 +880,11 @@ def bls_snr(blsdict, thisminepoch = spfit['fitinfo']['fitepoch'] if isinstance(thisminepoch, np.ndar...
kbls.bls_snr: add check for rare case when minepoch is an array
py
diff --git a/dingo/core/network/grids.py b/dingo/core/network/grids.py index <HASH>..<HASH> 100644 --- a/dingo/core/network/grids.py +++ b/dingo/core/network/grids.py @@ -212,9 +212,28 @@ class MVGridDingo(GridDingo): """ # do the routing - self._graph = mv_routing.solve(self._graph, debug, a...
call conn. of isolated satellites in MVGridDingo.routing() and pimp it up
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,9 +8,6 @@ except ImportError: from distutils.core import setup -from pyphi import __version__ - - with open('README.rst') as f: readme = f.read() @@ -34,8 +31,8 @@ test_require = [ setup( - name="py...
Don't import pyphi in setup.py
py
diff --git a/visa.py b/visa.py index <HASH>..<HASH> 100644 --- a/visa.py +++ b/visa.py @@ -13,7 +13,7 @@ from __future__ import division, unicode_literals, print_function, absolute_import -from pyvisa import logger, __version__, log_to_screen +from pyvisa import logger, __version__, log_to_screen, constants from ...
Added constants to visa.py
py
diff --git a/bokeh/models/widgets/sliders.py b/bokeh/models/widgets/sliders.py index <HASH>..<HASH> 100644 --- a/bokeh/models/widgets/sliders.py +++ b/bokeh/models/widgets/sliders.py @@ -99,6 +99,9 @@ class AbstractSlider(Widget): * "mouseup": the callback will be executed only once when the slider is released. ...
Add documentation on callback policy for slider (#<I>) * Add warning message and small test * ValueError too restrictive * ValueError too restrictive add a warning code with validation decorator * ValueError too restrictive add a warning code with validation decorator * Identation problem remove on super ...
py
diff --git a/pymatgen/io/vasp/tests/test_outputs.py b/pymatgen/io/vasp/tests/test_outputs.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/tests/test_outputs.py +++ b/pymatgen/io/vasp/tests/test_outputs.py @@ -90,7 +90,7 @@ class VasprunTest(PymatgenTest): def test_optical_absorption_coeff(self): v =...
update the test absorption_coeff to match the unit of cm^-1
py
diff --git a/allegedb/allegedb/window.py b/allegedb/allegedb/window.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/window.py +++ b/allegedb/allegedb/window.py @@ -85,8 +85,8 @@ def within_history(rev, windowdict): if not windowdict: return False begin = windowdict._past[0][0] if windowdict._p...
Correct window.within_history(..) for the new stacks layout
py
diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py index <HASH>..<HASH> 100644 --- a/pandas/io/tests/test_parsers.py +++ b/pandas/io/tests/test_parsers.py @@ -1799,12 +1799,14 @@ a,b,c tm.assert_frame_equal(result, expected) def test_decompression(self): - data = open(...
TST: skip compression tests if either gzip/bz2 not built with user's python. close #<I>
py
diff --git a/usb1/__init__.py b/usb1/__init__.py index <HASH>..<HASH> 100644 --- a/usb1/__init__.py +++ b/usb1/__init__.py @@ -2608,8 +2608,9 @@ class USBContext: it cannot call any synchronous libusb function. """ def wrapped_callback(context_p, device_p, event, _): - assert addre...
usb1: Fix context pointer comparison in hotplugRegisterCallback This was likely broken by the pointer type change in usb1: Enforce object finalization order. as void and non-void pointers do not have the same attributes in ctypes.
py
diff --git a/openapi_core/unmarshalling/schemas/factories.py b/openapi_core/unmarshalling/schemas/factories.py index <HASH>..<HASH> 100644 --- a/openapi_core/unmarshalling/schemas/factories.py +++ b/openapi_core/unmarshalling/schemas/factories.py @@ -1,4 +1,4 @@ -from copy import deepcopy +from copy import copy import...
Format checker deepcopy to shallowcopy
py
diff --git a/latools/latools.py b/latools/latools.py index <HASH>..<HASH> 100644 --- a/latools/latools.py +++ b/latools/latools.py @@ -293,8 +293,8 @@ class analyse(object): if internal_standard in self.analytes: self.internal_standard = internal_standard else: - ValueError('Th...
missing 'raise' in ValueError call closes #<I>
py
diff --git a/tests/test_vacbot.py b/tests/test_vacbot.py index <HASH>..<HASH> 100644 --- a/tests/test_vacbot.py +++ b/tests/test_vacbot.py @@ -10,6 +10,20 @@ from sucks import * # the library's design and its multithreaded nature, and b) I'm manually testing every change anyhow, # as it's not clear how the robot real...
Add tests for the command formatting changes Tests preserving the CamelCasing of commands, and support for zero args
py
diff --git a/ykman/cli/info.py b/ykman/cli/info.py index <HASH>..<HASH> 100644 --- a/ykman/cli/info.py +++ b/ykman/cli/info.py @@ -36,18 +36,18 @@ import click def get_overall_fips_status(serial): - stati = {} + statuses = {} with open_device(transports=TRANSPORT.OTP, serial=serial) as dev: - s...
Replace "stati" with "statuses"
py
diff --git a/tests/test_midi.py b/tests/test_midi.py index <HASH>..<HASH> 100644 --- a/tests/test_midi.py +++ b/tests/test_midi.py @@ -6,8 +6,10 @@ from sebastian.midi.midi import load_midi class TestMidi(TestCase): def test_load_midi(self): + import os.path + filename = os.path.join(os.path.dirna...
use absolute path for test midi filename
py
diff --git a/labsuite/compilers/pfusx.py b/labsuite/compilers/pfusx.py index <HASH>..<HASH> 100644 --- a/labsuite/compilers/pfusx.py +++ b/labsuite/compilers/pfusx.py @@ -19,6 +19,7 @@ Output is a JSON file which represents a protocol that can run on any OT-One machine. """ +import sys import os import re import...
pFusX: Fix for tuple index out of range in well formatting. Nosetests didn't help here because there's no full compiler test...
py
diff --git a/ansible/modules/hashivault/hashivault_write.py b/ansible/modules/hashivault/hashivault_write.py index <HASH>..<HASH> 100755 --- a/ansible/modules/hashivault/hashivault_write.py +++ b/ansible/modules/hashivault/hashivault_write.py @@ -184,7 +184,7 @@ def hashivault_write(module): return res...
fix key/values should be readed in `.data.data` rather than `.data` in kv2 when `update:yes` data is not correctly writed due to a wrong reading path. key/values are stored in ``` { data: { data: - key1: value1 - ... } } ``` not in ``` { data: - key1: value1 - ... } ```
py
diff --git a/examples/fullTree.py b/examples/fullTree.py index <HASH>..<HASH> 100644 --- a/examples/fullTree.py +++ b/examples/fullTree.py @@ -22,12 +22,16 @@ from __future__ import print_function from scoop import futures def func0(n): + # Task submission is asynchronous; It will return immediately. ta...
Added comments and compliance to new API to fullTree.py
py
diff --git a/werkzeug/_reloader.py b/werkzeug/_reloader.py index <HASH>..<HASH> 100644 --- a/werkzeug/_reloader.py +++ b/werkzeug/_reloader.py @@ -40,11 +40,16 @@ def _iter_module_files(): entered.add(path_entry) try: for filename in os.listdir(path_entry): - if not filenam...
Make _recursive_walk actually recursive
py
diff --git a/master/buildbot/process/logobserver.py b/master/buildbot/process/logobserver.py index <HASH>..<HASH> 100644 --- a/master/buildbot/process/logobserver.py +++ b/master/buildbot/process/logobserver.py @@ -155,16 +155,12 @@ class BufferLogObserver(LogObserver): self.stderr.append(data) def ...
Fix trac ticket <I> The unicode output in a log is lost & is treated as an ASCII string when there are multiple chunks. This can cause exceptions when mixing strings which will validate that the contents of an "ascii" string are ascii.
py