diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/upcloud_api/cloud_manager/server_mixin.py b/upcloud_api/cloud_manager/server_mixin.py index <HASH>..<HASH> 100644 --- a/upcloud_api/cloud_manager/server_mixin.py +++ b/upcloud_api/cloud_manager/server_mixin.py @@ -67,6 +67,16 @@ class ServerManager(object): cloud_manager=self ) + ...
Allow retrieving servers by their IP-addresses
py
diff --git a/inginious/frontend/pages/tasks.py b/inginious/frontend/pages/tasks.py index <HASH>..<HASH> 100644 --- a/inginious/frontend/pages/tasks.py +++ b/inginious/frontend/pages/tasks.py @@ -415,6 +415,8 @@ class TaskPageStaticDownload(INGIniousPage): return redirect(file_or_url) else:...
flask_migration: fix notfound in TaskDownloadPage
py
diff --git a/simuvex/s_irsb.py b/simuvex/s_irsb.py index <HASH>..<HASH> 100644 --- a/simuvex/s_irsb.py +++ b/simuvex/s_irsb.py @@ -54,6 +54,7 @@ class SimIRSB(SimRun): self.conditional_exits = [ ] self.default_exit = None self.postcall_exit = None + self.has_default_exit = False self._handle_irsb() # ...
fix default exit in slicing mode
py
diff --git a/test/unit/TestHelpers.py b/test/unit/TestHelpers.py index <HASH>..<HASH> 100644 --- a/test/unit/TestHelpers.py +++ b/test/unit/TestHelpers.py @@ -50,6 +50,8 @@ class TestBaseHelpers(unittest.TestCase): * check if raises TemplateRenderException when template is not correctly formatted ...
Test also inexisting template from custom path
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='PyBundle', - version='1.0.4', + version='1.0.5', packages=find_packages(), url='https://github.com/mrstephenneal/PyBundle', lic...
Upgraded to version <I> to fix depreciated function call
py
diff --git a/giotto/programs.py b/giotto/programs.py index <HASH>..<HASH> 100644 --- a/giotto/programs.py +++ b/giotto/programs.py @@ -139,15 +139,20 @@ class ProgramManifest(object): try: program = self[program_name] except KeyError: - # program is not in name, drop down to ro...
fixed some manifest parsing testcases
py
diff --git a/salt/utils/parser.py b/salt/utils/parser.py index <HASH>..<HASH> 100644 --- a/salt/utils/parser.py +++ b/salt/utils/parser.py @@ -16,7 +16,7 @@ class OptionParser(optparse.OptionParser): def __init__(self, *args, **kwargs): kwargs.setdefault("version", version.__version__) - kwargs.s...
Remove extra `%` from the `cli` tools.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ install_requirements = [ 'gunicorn==20.0.4', 'oceandb-driver-interface==0.2.0', 'oceandb-mongodb-driver==0.2.2', - 'oceandb-elasticsearch-driver==0.4.1', + 'oceandb-elasticsearch-driver==0.4...
update elasticsearch driver to <I>
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -299,7 +299,7 @@ class ProtocolTest(unittest.TestCase): def test_close(self): proc = psutil.Process() ip_addresses = {info[4][0] for info in socket.getaddrinfo( - ...
Remove keywords. Python<I> does not like them
py
diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py index <HASH>..<HASH> 100644 --- a/pandas/core/tools/datetimes.py +++ b/pandas/core/tools/datetimes.py @@ -565,7 +565,7 @@ def to_datetime( Parameters ---------- - arg : int, float, str, datetime, list, tuple, 1-d array, Series D...
Fix typo (add missing comma in list) (#<I>)
py
diff --git a/EvoDAG/bagging_fitness.py b/EvoDAG/bagging_fitness.py index <HASH>..<HASH> 100644 --- a/EvoDAG/bagging_fitness.py +++ b/EvoDAG/bagging_fitness.py @@ -61,7 +61,7 @@ class BaggingFitness(object): def mask_fitness_function(self, k): base = self._base - if base._fitness_function == 'BER'...
bug in mask_fitness_function
py
diff --git a/javaproperties/writing.py b/javaproperties/writing.py index <HASH>..<HASH> 100644 --- a/javaproperties/writing.py +++ b/javaproperties/writing.py @@ -34,8 +34,17 @@ def _esc(m): try: return _escapes[c] except KeyError: - ### TODO: Handle characters outside the BMP! - return...
Handle escaping characters outside the BMP
py
diff --git a/cogwheels/helpers/settings.py b/cogwheels/helpers/settings.py index <HASH>..<HASH> 100644 --- a/cogwheels/helpers/settings.py +++ b/cogwheels/helpers/settings.py @@ -1,19 +1,14 @@ from importlib import import_module from django.core.signals import setting_changed -from cogwheels.exceptions.deprecations i...
Import exceptions from project root where possible
py
diff --git a/recipe-server/normandy/recipes/models.py b/recipe-server/normandy/recipes/models.py index <HASH>..<HASH> 100755 --- a/recipe-server/normandy/recipes/models.py +++ b/recipe-server/normandy/recipes/models.py @@ -435,10 +435,6 @@ class RecipeRevision(models.Model): enabled_state = EnabledState(revisi...
Disabling the revision should not clear the approval
py
diff --git a/openquakeserver/engine/views.py b/openquakeserver/engine/views.py index <HASH>..<HASH> 100644 --- a/openquakeserver/engine/views.py +++ b/openquakeserver/engine/views.py @@ -131,7 +131,6 @@ def calc_hazard(request): # We can probably remove this later if we can properly fix # authentication. # See https...
engine/views: Removed some commented-out code.
py
diff --git a/test/test_pf_distributed_slack.py b/test/test_pf_distributed_slack.py index <HASH>..<HASH> 100644 --- a/test/test_pf_distributed_slack.py +++ b/test/test_pf_distributed_slack.py @@ -9,6 +9,7 @@ def test_pf_distributed_slack(): "examples", "scigrid-de", "scigrid-with-load-gen-trafos")...
make test more lightweight (2 snapshots only)
py
diff --git a/hapi/base.py b/hapi/base.py index <HASH>..<HASH> 100644 --- a/hapi/base.py +++ b/hapi/base.py @@ -124,7 +124,6 @@ class BaseClient(object): num_retries = 6 emergency_brake = 10 try_count = 0 - data = None while True: emergency_brake -= 1 ...
fixing a nasty bug from my last commit
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 @@ -526,7 +526,7 @@ class GenericConsumer(object): if return_to is None or server_id2 is None or assoc_handle is None: return Failu...
[project @ consumer.GenericConsumer._doIdRes: check server_id2 against endpoint.getServerID()] because delegate is often None.
py
diff --git a/src/Exscript/protocols/telnetlib.py b/src/Exscript/protocols/telnetlib.py index <HASH>..<HASH> 100644 --- a/src/Exscript/protocols/telnetlib.py +++ b/src/Exscript/protocols/telnetlib.py @@ -433,6 +433,8 @@ class Telnet: c == WILL and 'WILL' or 'WONT', ord(opt)) ...
Try harder to negotiate telnet echo.
py
diff --git a/tests/test_external.py b/tests/test_external.py index <HASH>..<HASH> 100644 --- a/tests/test_external.py +++ b/tests/test_external.py @@ -102,4 +102,4 @@ def test_list_of_numbers(left, right, alg): int_result = internal_func(left, right) s1, s2 = lib.prepare(left, right) ext_resu...
skip external tests if quick answer is available
py
diff --git a/spyder/widgets/helperwidgets.py b/spyder/widgets/helperwidgets.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/helperwidgets.py +++ b/spyder/widgets/helperwidgets.py @@ -67,7 +67,8 @@ class MessageCheckBox(QMessageBox): def __init__(self, *args, **kwargs): super(MessageCheckBox, self).__i...
Widgets: Make MessageCheckBox non-modal by default
py
diff --git a/intern/remote/boss/remote.py b/intern/remote/boss/remote.py index <HASH>..<HASH> 100644 --- a/intern/remote/boss/remote.py +++ b/intern/remote/boss/remote.py @@ -880,7 +880,7 @@ class BossRemote(Remote): Raises: requests.HTTPError on error. """ - if no_...
Change to if no_cache is not None
py
diff --git a/prawtools/stats.py b/prawtools/stats.py index <HASH>..<HASH> 100644 --- a/prawtools/stats.py +++ b/prawtools/stats.py @@ -12,6 +12,7 @@ import time from praw import Reddit +from prawcore.exceptions import RequestException from six import iteritems, text_type as tt from .helpers import AGENT, arg_p...
Retry submission fetching on RequestException
py
diff --git a/salt/modules/win_pkg.py b/salt/modules/win_pkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_pkg.py +++ b/salt/modules/win_pkg.py @@ -383,6 +383,13 @@ def refresh_db(saltenv='base'): else: winrepo_source_dir = __opts__['winrepo_source_dir'] + # Clear minion repo-ng cache + rep...
Clear minion cache before caching from master Clears the cache for salt-winrepo-ng on the minion
py
diff --git a/wal_e/worker/s3_worker.py b/wal_e/worker/s3_worker.py index <HASH>..<HASH> 100644 --- a/wal_e/worker/s3_worker.py +++ b/wal_e/worker/s3_worker.py @@ -18,7 +18,8 @@ import time import traceback from urlparse import urlparse -from boto.s3.connection import S3Connection, SubdomainCallingFormat +from boto....
Fix upper case bucket names regression (from #3). Evidently, boto.storage_uri called without extra connection arguments constructed a connection object compatible with uppercase bucket names (which I discovered today is only allowed in us-east-1; one gets an error attempting to create a bucket with an uppercase name i...
py
diff --git a/sslyze/plugins/session_renegotiation_plugin.py b/sslyze/plugins/session_renegotiation_plugin.py index <HASH>..<HASH> 100755 --- a/sslyze/plugins/session_renegotiation_plugin.py +++ b/sslyze/plugins/session_renegotiation_plugin.py @@ -152,12 +152,12 @@ def _test_client_renegotiation( except socket....
[#<I>] Make error handling language agnostic for reneg
py
diff --git a/sitetree/admin.py b/sitetree/admin.py index <HASH>..<HASH> 100644 --- a/sitetree/admin.py +++ b/sitetree/admin.py @@ -107,6 +107,7 @@ class TreeItemAdmin(admin.ModelAdmin): ) filter_horizontal = ('access_permissions',) change_form_template = 'admin/sitetree/treeitem/change_form.html' + de...
add delete_confirmation_template to TreeItemAdmin fix broken delete operation in admin for custom TreeItem
py
diff --git a/pymzn/mzn/minizinc.py b/pymzn/mzn/minizinc.py index <HASH>..<HASH> 100644 --- a/pymzn/mzn/minizinc.py +++ b/pymzn/mzn/minizinc.py @@ -365,13 +365,17 @@ def _minizinc_preliminaries( allow_multiple_assignments=allow_multiple_assignments ) + output_prefix = 'pymzn' if keep: -...
minizinc: preliminaries, use output_base to determine output file
py
diff --git a/zappa/cli.py b/zappa/cli.py index <HASH>..<HASH> 100755 --- a/zappa/cli.py +++ b/zappa/cli.py @@ -703,7 +703,7 @@ class ZappaCLI(object): "You may " + click.style("lack the necessary AWS permissions", bold=True) + " to automatically manage a Zappa execution...
Update link to documentation For custom AWS IAM roles and policies
py
diff --git a/salt/pillar/__init__.py b/salt/pillar/__init__.py index <HASH>..<HASH> 100644 --- a/salt/pillar/__init__.py +++ b/salt/pillar/__init__.py @@ -405,20 +405,19 @@ class Pillar(object): self.opts['pillarenv'], ', '.join(self.opts['file_roots']) ) e...
Prevent spurious "Template does not exist" error This was merged previously (though slightly differently) in #<I> Took me a second to track it down and then realized that I fixed this in <I>.x
py
diff --git a/pystachio/config.py b/pystachio/config.py index <HASH>..<HASH> 100644 --- a/pystachio/config.py +++ b/pystachio/config.py @@ -75,7 +75,7 @@ class ResourceExecutor(FileExecutor): def resource_exists(cls, loadable): if pkg_resources is None: return False - module_base, module_file = os.path...
fix typo in ResourceExecutor
py
diff --git a/aikif/cls_log.py b/aikif/cls_log.py index <HASH>..<HASH> 100644 --- a/aikif/cls_log.py +++ b/aikif/cls_log.py @@ -28,7 +28,9 @@ class Log: self.logFileSource = self.log_folder + os.sep + 'source.log' self.logFileCommand = self.log_folder + os.sep + 'command.log' self.logFileResu...
fix to make ensure_dir actually work
py
diff --git a/steam/client/__init__.py b/steam/client/__init__.py index <HASH>..<HASH> 100644 --- a/steam/client/__init__.py +++ b/steam/client/__init__.py @@ -516,6 +516,10 @@ class SteamClient(CMClient, BuiltinBase): self.send(message) resp = self.wait_msg(EMsg.ClientLogOnResponse, timeout=30) + + ...
SteamClient: hold on return from login() Allows the client to fully login, and won't be kicked off when it sends a message immediately after login() returns
py
diff --git a/genepattern/jobwidget.py b/genepattern/jobwidget.py index <HASH>..<HASH> 100644 --- a/genepattern/jobwidget.py +++ b/genepattern/jobwidget.py @@ -85,9 +85,9 @@ class GPJobWidget(UIOutput): for f in self.files: if f.endswith('/index.html'): return f - elif f...
Don't display pipeline execution log as visualizer
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ long_description = open("README.rst").read() namespace_package = "".join(package_name.split(".")[:-1]) setup( author = package_name + " Committers", - description = short_description, + description = ...
doc updates; minor Makefile edit; make short description a one-liner
py
diff --git a/test/test_command_line_interface.py b/test/test_command_line_interface.py index <HASH>..<HASH> 100644 --- a/test/test_command_line_interface.py +++ b/test/test_command_line_interface.py @@ -115,18 +115,19 @@ class FileSystemCommands(unittest.TestCase): self.abook1.mkdir() self.abook2.mkdi...
Fix pathlib use in tests for python <= <I>
py
diff --git a/salt/key.py b/salt/key.py index <HASH>..<HASH> 100644 --- a/salt/key.py +++ b/salt/key.py @@ -318,6 +318,9 @@ class KeyCLI(object): if not self.privkey: if self.opts['auto_create']: + print('Generating new signing key-pair {0}.* in {1}' + ''.forma...
add message that new signing-pair is generated, pass correct key-var to crypt.gen_signature
py
diff --git a/confit.py b/confit.py index <HASH>..<HASH> 100644 --- a/confit.py +++ b/confit.py @@ -646,15 +646,15 @@ class Dumper(yaml.SafeDumper): """ Represent bool as 'yes' or 'no' instead of 'true' or 'false'. """ if data: - value = u'yes' + value = 'yes' el...
Remove superfluous unicode prefixes from strings
py
diff --git a/glue_vispy_viewers/isosurface/layer_artist.py b/glue_vispy_viewers/isosurface/layer_artist.py index <HASH>..<HASH> 100644 --- a/glue_vispy_viewers/isosurface/layer_artist.py +++ b/glue_vispy_viewers/isosurface/layer_artist.py @@ -32,6 +32,7 @@ class IsosurfaceLayerArtist(LayerArtistBase): self._...
Fix error with _vispy_color not being defined
py
diff --git a/python/ray/_private/resource_spec.py b/python/ray/_private/resource_spec.py index <HASH>..<HASH> 100644 --- a/python/ray/_private/resource_spec.py +++ b/python/ray/_private/resource_spec.py @@ -214,7 +214,9 @@ class ResourceSpec( # Cap by shm size by default to avoid low performance, but don't...
[minor] Leave a big of wiggle room when calculating shared memory max (#<I>)
py
diff --git a/neo/IO/BinaryReader.py b/neo/IO/BinaryReader.py index <HASH>..<HASH> 100644 --- a/neo/IO/BinaryReader.py +++ b/neo/IO/BinaryReader.py @@ -47,10 +47,10 @@ class BinaryReader(object): return self.unpack('c') def ReadFloat(self, endian="<"): - return self.unpack("%sf" % endian) + ...
Fix ReadFloat and ReadDouble in BinaryReader ReadFloat should read 4 byte and ReadDouble should read 8 byte.
py
diff --git a/atomic_reactor/plugins/pre_check_and_set_rebuild.py b/atomic_reactor/plugins/pre_check_and_set_rebuild.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/plugins/pre_check_and_set_rebuild.py +++ b/atomic_reactor/plugins/pre_check_and_set_rebuild.py @@ -8,9 +8,6 @@ of the BSD license. See the LICENSE file ...
check_and_set_rebuild: fix for problem spotted by landscape.io
py
diff --git a/samsungctl/interactive.py b/samsungctl/interactive.py index <HASH>..<HASH> 100644 --- a/samsungctl/interactive.py +++ b/samsungctl/interactive.py @@ -50,7 +50,8 @@ def _control(stdscr, remote): mappings_dict = {} for mapping in _mappings: mappings_dict[mapping[0]] = mapping[1] - s...
Show technical key codes in interactive mode Resolves #<I>.
py
diff --git a/salt/modules/rpm.py b/salt/modules/rpm.py index <HASH>..<HASH> 100644 --- a/salt/modules/rpm.py +++ b/salt/modules/rpm.py @@ -587,8 +587,8 @@ def version_cmp(ver1, ver2): cmp_func = rpmUtils.miscutils.compareEVR else: cmp_func = None - cmp_result = cmp_func is not ...
Fix condition from returning None on 0
py
diff --git a/aiocron/__init__.py b/aiocron/__init__.py index <HASH>..<HASH> 100644 --- a/aiocron/__init__.py +++ b/aiocron/__init__.py @@ -14,7 +14,11 @@ async def null_callback(*args): def wrap_func(func): """wrap in a coroutine""" - if not asyncio.iscoroutinefunction(func): + if isinstance(func, functoo...
Fix coroutine detection on partials.
py
diff --git a/tests/test_commands.py b/tests/test_commands.py index <HASH>..<HASH> 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -209,7 +209,7 @@ class PostInitCommandMixIn(object): self.command() -class TeststatusCommand(CommandBase, PostInitCommandMixIn): +class TestStatusCommand(Com...
StudlyCapsTypoCorrection
py
diff --git a/unitypack/__init__.py b/unitypack/__init__.py index <HASH>..<HASH> 100644 --- a/unitypack/__init__.py +++ b/unitypack/__init__.py @@ -388,6 +388,10 @@ class AssetBundle: def __init__(self): self.assets = [] + @property + def compressed(self): + return self.signature == SIGNATURE_WEB + def load(se...
Add AssetBundle.compressed property
py
diff --git a/tests/test_rtcpeerconnection.py b/tests/test_rtcpeerconnection.py index <HASH>..<HASH> 100644 --- a/tests/test_rtcpeerconnection.py +++ b/tests/test_rtcpeerconnection.py @@ -1,6 +1,6 @@ import asyncio import re -from unittest import TestCase, skip +from unittest import TestCase from aiortc import RTCI...
[tests] restore RTCPeerConnection test with h<I>
py
diff --git a/pyemma/coordinates/transform/pca.py b/pyemma/coordinates/transform/pca.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/transform/pca.py +++ b/pyemma/coordinates/transform/pca.py @@ -133,7 +133,7 @@ class PCA(Transformer): np.dot(Xm.T, Xm, self._dot_prod_tmp) self.C += self...
[pca] norm covariance matrix by N-1
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,16 +6,14 @@ setup( packages=find_packages(), install_requires=[ 'looptools', - 'mysql-connector==2.1.6', - 'numpy', + 'mysql-connector>=2.1.6', 'tqdm', ], url='http...
Removed numpy as a dependency and updated description
py
diff --git a/tests/test_fs.py b/tests/test_fs.py index <HASH>..<HASH> 100644 --- a/tests/test_fs.py +++ b/tests/test_fs.py @@ -636,7 +636,7 @@ class FSTestUtime(unittest2.TestCase): self.assertTrue(s.st_atime == atime and s.st_mtime == mtime) -@platform_skip(["linux"]) +@platform_skip(["linux", "darwin"]) ...
Disabled FSEvent tests on Darwin, need to investigate :-S
py
diff --git a/allauth/socialaccount/providers/__init__.py b/allauth/socialaccount/providers/__init__.py index <HASH>..<HASH> 100644 --- a/allauth/socialaccount/providers/__init__.py +++ b/allauth/socialaccount/providers/__init__.py @@ -11,7 +11,6 @@ class ProviderRegistry(object): return self.provider_map.value...
Don't call self.load() from registry.register() to avoid recursion. Presently registry.load() imports provider modules, and each module calls registry.register(), which itself calls self.load(). The result is that self.load() attempts to import the entire list of modules once for each provider module that calls regis...
py
diff --git a/aionationstates/world_.py b/aionationstates/world_.py index <HASH>..<HASH> 100644 --- a/aionationstates/world_.py +++ b/aionationstates/world_.py @@ -198,7 +198,7 @@ class World(Census, Session): """An asynchronous generator that yields new happenings as they arrive:: - async...
fix docstring for sphinx
py
diff --git a/file_util.py b/file_util.py index <HASH>..<HASH> 100644 --- a/file_util.py +++ b/file_util.py @@ -36,6 +36,13 @@ def _copy_file_contents (src, dst, buffer_size=16*1024): raise DistutilsFileError, \ "could not open '%s': %s" % (src, errstr) + if os.path.exists(dst): ...
[Bug #<I>; may also fix bug #<I>] Fix flakiness when old installations are present, by always unlinking the destination file before copying to it. Without the unlink(), the copied file remains owned by its previous UID, causing the subsequent chmod() to fail. Bugfix candidate, though it may cause changes on pla...
py
diff --git a/python2/pyinotify.py b/python2/pyinotify.py index <HASH>..<HASH> 100755 --- a/python2/pyinotify.py +++ b/python2/pyinotify.py @@ -396,6 +396,10 @@ class EventsCodes: IN_ONLYDIR we can make sure that we don't watch the target of symlinks. @type IN_D...
add support for IN_EXCL_UNLINK flag
py
diff --git a/tests/db/models_test.py b/tests/db/models_test.py index <HASH>..<HASH> 100644 --- a/tests/db/models_test.py +++ b/tests/db/models_test.py @@ -461,7 +461,7 @@ class GmfSetIterTestCase(unittest.TestCase): # which we can use for both test cases (gmf_set iter and complete logic # tree iter). ...
Removed run_job_sp Former-commit-id: a6c<I>d6f8a<I>cbbbb<I>cc7ddf<I>e3c4cb0
py
diff --git a/minio/lifecycleconfig.py b/minio/lifecycleconfig.py index <HASH>..<HASH> 100644 --- a/minio/lifecycleconfig.py +++ b/minio/lifecycleconfig.py @@ -88,7 +88,7 @@ class Transition(DateDays): def toxml(self, element): """Convert to XML.""" - element = SubElement(element, "NoncurrentVersi...
Fix transition xml name in lifecycleconfig (#<I>) Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -71,6 +71,11 @@ setup( '2k_earth_daymap.jpg', ], }, + project_urls={ + "Documentation": "https://docs.pyvista.org/", + "Bug Tracker": "https://github.com/pyvista/pyvista/issues", + ...
Improve PyPI link like numpy and pandas (#<I>) * Improve PyPI link like numpy and pandas * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review
py
diff --git a/spyder/utils/site/sitecustomize.py b/spyder/utils/site/sitecustomize.py index <HASH>..<HASH> 100644 --- a/spyder/utils/site/sitecustomize.py +++ b/spyder/utils/site/sitecustomize.py @@ -555,7 +555,7 @@ class UserModuleReloader(object): namelist = [] spy_modules = ['sitecustomize', 'sp...
Improve comments for UMR blacklist.
py
diff --git a/sphinx_tabs/tabs.py b/sphinx_tabs/tabs.py index <HASH>..<HASH> 100644 --- a/sphinx_tabs/tabs.py +++ b/sphinx_tabs/tabs.py @@ -4,7 +4,7 @@ import base64 import json import os import posixpath -import sphinx + from docutils import nodes from docutils.parsers.rst import Directive, directives from pkg_re...
🐛 FIX: Remove `app.add_javascript` use for sphinx v2 It is also available in sphinx 2
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -13,12 +13,15 @@ # Monkey patch in a field type for columns. -from sphinx.util.docfields import Field, GroupedField, TypedField -from sphinx.domains.python import PythonDomain, PyOb...
Guarded monkey-patching for graceful failure.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from setuptools import setup _version_re = re.compile(r'__version__\s+=\s+(.*)') requirements = [ 'sanic-base-extension==0.1.1', - 'aioamqp==0.10.0', + 'aioamqp==0.11.0', ]
Updated aioamqp to the latest release
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,8 @@ rules_lib = ('rules_py', rules = Extension('rules', sources = ['src/rulespy/rules.c'], - include_dirs=['src/rules']) + include_dirs=['src/rules'], + ...
python build for POSIX
py
diff --git a/revproxy/views.py b/revproxy/views.py index <HASH>..<HASH> 100644 --- a/revproxy/views.py +++ b/revproxy/views.py @@ -62,14 +62,30 @@ class ProxyView(View): self.log.debug("Redirect to: %s", redirect_to) return redirect_to - def _created_proxy_response(self, request, ...
Move upstream headers construction to a separate method
py
diff --git a/pythonwhat/State.py b/pythonwhat/State.py index <HASH>..<HASH> 100644 --- a/pythonwhat/State.py +++ b/pythonwhat/State.py @@ -125,6 +125,10 @@ class State(ProtoState): kwargs["messages"] = [*self.messages, append_message] kwargs["parent_state"] = self + for kwarg in ["solution_co...
Drop None kwargs so no new Context is created
py
diff --git a/pyresttest/ext/extractor_jmespath.py b/pyresttest/ext/extractor_jmespath.py index <HASH>..<HASH> 100644 --- a/pyresttest/ext/extractor_jmespath.py +++ b/pyresttest/ext/extractor_jmespath.py @@ -27,14 +27,14 @@ class JMESPathExtractor(validators.AbstractExtractor): def extract_internal(self, query=No...
properly load response body, also generate string representation of arrays and list that are easy to compare
py
diff --git a/pkutils.py b/pkutils.py index <HASH>..<HASH> 100644 --- a/pkutils.py +++ b/pkutils.py @@ -29,7 +29,7 @@ standard_library.install_aliases() from os import path as p -__version__ = '0.6.2' +__version__ = '0.7.0' __title__ = 'pkutils' __author__ = 'Reuben Cummings'
Bump to version <I>
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100755 --- a/test.py +++ b/test.py @@ -19,7 +19,7 @@ def get_untracked_files(): def main(): # Unset any PERU environment variables to make sure test runs don't get # thrown off by anything in your bashrc. - for var in os.environ: + for var in list(os....
fix test.py in the presence of PERU env vars I had never tested this. It failed with a "dictionary modified during iteration" error.
py
diff --git a/synapse/neuron.py b/synapse/neuron.py index <HASH>..<HASH> 100644 --- a/synapse/neuron.py +++ b/synapse/neuron.py @@ -463,7 +463,7 @@ class CellUser(SessBoss): timeout (int/float): Connection timeout in seconds. Raises: - CellUserErr: Raised if a timeout or link negotion ...
Fixes typo in docs
py
diff --git a/gravity/process_manager/supervisor_manager.py b/gravity/process_manager/supervisor_manager.py index <HASH>..<HASH> 100644 --- a/gravity/process_manager/supervisor_manager.py +++ b/gravity/process_manager/supervisor_manager.py @@ -12,7 +12,7 @@ from gravity.process_manager import BaseProcessManager from gr...
Ignore supervisor type, no stubs available
py
diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py index <HASH>..<HASH> 100644 --- a/salt/modules/iptables.py +++ b/salt/modules/iptables.py @@ -301,6 +301,8 @@ def check(table='filter', chain=None, rule=None): )) if out != -1: out = '' + else: + return Fal...
Update iptables.py When rules is not exist,return -1,not False,fix it
py
diff --git a/draftjs_exporter/html.py b/draftjs_exporter/html.py index <HASH>..<HASH> 100644 --- a/draftjs_exporter/html.py +++ b/draftjs_exporter/html.py @@ -65,7 +65,7 @@ class HTML: style_state.apply(command) # Decorators are not rendered inside entities. - if entity_state....
Stop rendering decorators when there is no text to decorate
py
diff --git a/src/foremast/consts.py b/src/foremast/consts.py index <HASH>..<HASH> 100644 --- a/src/foremast/consts.py +++ b/src/foremast/consts.py @@ -145,10 +145,10 @@ def find_config(): def _remove_empty_entries(entries): """Remove empty entries in a list""" valid_entries = [] - for entry in entries: + ...
refactor: Use set() earlier in iteration
py
diff --git a/troposphere/validators.py b/troposphere/validators.py index <HASH>..<HASH> 100644 --- a/troposphere/validators.py +++ b/troposphere/validators.py @@ -287,7 +287,8 @@ def compliance_level(level): def operating_system(os): - valid_os = ['WINDOWS', 'AMAZON_LINUX', 'UBUNTU', 'REDHAT_ENTERPRISE_LINUX'] ...
Adding SUSE to list of operating systems for SSM (#<I>) * Adding SUSE to list of operating systems SUSE is a supported operating system for SSM. See BOTO3 docs: <URL>
py
diff --git a/pfp/interp.py b/pfp/interp.py index <HASH>..<HASH> 100644 --- a/pfp/interp.py +++ b/pfp/interp.py @@ -1637,7 +1637,7 @@ class PfpInterp(object): "!": lambda x,v: not x, "-": lambda x,v: -x, "sizeof": lambda x,v: (fields.UInt64()+x._pfp__width()), - ...
fix the bug of when 'startof(xx)' is a value in some operation like add/sub etc.
py
diff --git a/geneparse/impute2.py b/geneparse/impute2.py index <HASH>..<HASH> 100644 --- a/geneparse/impute2.py +++ b/geneparse/impute2.py @@ -382,7 +382,8 @@ class Impute2Reader(GenotypesReader): else: # Location was not in the index, so we check one marker before and # after the one...
Added a warning for multiallelics when no index file is present for impute2.
py
diff --git a/fbchat/_attachment.py b/fbchat/_attachment.py index <HASH>..<HASH> 100644 --- a/fbchat/_attachment.py +++ b/fbchat/_attachment.py @@ -66,7 +66,7 @@ class ShareAttachment(Attachment): description=data["description"].get("text") if data.get("description") else None, - ...
Fix ShareAttachment GraphQL `source` parsing Fixes #<I>
py
diff --git a/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py b/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py +++ b/openstack_...
Fix security group checking action permissions raise error The security group usage did not contain key 'available' when using nova-network, so it must be checked before using. Change-Id: I1a4b<I>ce<I>ca<I>c<I>c<I>e<I>fe<I>b Closes-Bug: #<I>
py
diff --git a/testing/test_mark.py b/testing/test_mark.py index <HASH>..<HASH> 100644 --- a/testing/test_mark.py +++ b/testing/test_mark.py @@ -418,6 +418,32 @@ class TestFunctional: items, rec = testdir.inline_genitems(p) self.assert_markers(items, test_foo=('a', 'b'), test_bar=('a',)) + + @pytes...
add xfailing test for issue #<I>
py
diff --git a/tests/tpot_tests.py b/tests/tpot_tests.py index <HASH>..<HASH> 100644 --- a/tests/tpot_tests.py +++ b/tests/tpot_tests.py @@ -744,7 +744,9 @@ def test_memory_3(): assert tpot_obj._cachedir == cachedir assert os.path.isdir(tpot_obj._cachedir) assert isinstance(tpot_obj._memory, Memory) + #...
add some clean up in unit test for Memory
py
diff --git a/progressbar/utils.py b/progressbar/utils.py index <HASH>..<HASH> 100644 --- a/progressbar/utils.py +++ b/progressbar/utils.py @@ -19,9 +19,25 @@ assert epoch def len_color(value): - '''Return the length of `value` without ANSI escape codes''' - if isinstance(value, str): - value = re.sub(...
Made len_color() safer and added testing
py
diff --git a/openquake/commonlib/parallel.py b/openquake/commonlib/parallel.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/parallel.py +++ b/openquake/commonlib/parallel.py @@ -37,10 +37,10 @@ from openquake.hazardlib.gsim.base import GroundShakingIntensityModel executor = ProcessPoolExecutor() -# the nu...
Reduced num_tasks_hint by 2
py
diff --git a/ipyrad/file_conversion/loci2bpp.py b/ipyrad/file_conversion/loci2bpp.py index <HASH>..<HASH> 100644 --- a/ipyrad/file_conversion/loci2bpp.py +++ b/ipyrad/file_conversion/loci2bpp.py @@ -1,3 +1,6 @@ +#!/usr/bin/python + +""" convert loci file to bpp format input files """ import os import sys
added header to bpp convert script
py
diff --git a/tests/test_create_app.py b/tests/test_create_app.py index <HASH>..<HASH> 100644 --- a/tests/test_create_app.py +++ b/tests/test_create_app.py @@ -31,7 +31,7 @@ def test_create_app_to_file(mocker): (fd, filename) = tempfile.mkstemp(text=True) test_create_app(mocker, to_file=filename) - with o...
fix: os.open cannot handle file descriptors on python 2.x
py
diff --git a/prototypes/examples/ipnbdoctest.py b/prototypes/examples/ipnbdoctest.py index <HASH>..<HASH> 100755 --- a/prototypes/examples/ipnbdoctest.py +++ b/prototypes/examples/ipnbdoctest.py @@ -33,8 +33,8 @@ except ImportError: from IPython.nbformat.current import reads, NotebookNode -PNG_DIFF_TOLERANCE = 5e-...
increased diff threhsold for pngs
py
diff --git a/brigade/plugins/tasks/connections/netmiko_connection.py b/brigade/plugins/tasks/connections/netmiko_connection.py index <HASH>..<HASH> 100644 --- a/brigade/plugins/tasks/connections/netmiko_connection.py +++ b/brigade/plugins/tasks/connections/netmiko_connection.py @@ -5,7 +5,7 @@ napalm_to_netmiko_map = {...
Incorrect entry for IOS-XR in netmiko map (#<I>)
py
diff --git a/alot/buffers.py b/alot/buffers.py index <HASH>..<HASH> 100644 --- a/alot/buffers.py +++ b/alot/buffers.py @@ -100,11 +100,6 @@ class EnvelopeBuffer(Buffer): #todo: obsolete? return self.mail - def set_email(self, mail): - #TODO obsolete. never used. - self.mail = mail -...
removed unused Envelope.set_email
py
diff --git a/indra/java_vm.py b/indra/java_vm.py index <HASH>..<HASH> 100644 --- a/indra/java_vm.py +++ b/indra/java_vm.py @@ -17,7 +17,7 @@ if '-Xmx4g' not in jnius_config.get_options(): "is already running.") path_here = os.path.dirname(os.path.realpath(__file__)) -cp = path_here + '/biopax...
BIOPAX: Update path to paxtools.jar
py
diff --git a/dallinger/data.py b/dallinger/data.py index <HASH>..<HASH> 100644 --- a/dallinger/data.py +++ b/dallinger/data.py @@ -247,7 +247,6 @@ def _s3_connection(): class Data(object): """Dallinger data object.""" def __init__(self, URL): - super(Data, self).__init__() self.source = URL...
Make object initialization more super (The base class is `object` so these statements aren't doing much.)
py
diff --git a/source/test/conftest.py b/source/test/conftest.py index <HASH>..<HASH> 100644 --- a/source/test/conftest.py +++ b/source/test/conftest.py @@ -7,4 +7,7 @@ def clean_temp_test_directory(): import shutil import testing_utils test_temp_path = testing_utils.RAFCON_TEMP_PATH_TEST_BASE - shutil....
Tests: Handle exception in test cleanup
py
diff --git a/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py b/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py +++ b/openquake/hazardlib/tests/gsim/abrahamson_2018_test.py @@ -15,7 +15,11 @@ # # You should have rece...
Adds indication of source of test tables
py
diff --git a/test_path.py b/test_path.py index <HASH>..<HASH> 100644 --- a/test_path.py +++ b/test_path.py @@ -628,6 +628,16 @@ class TempDirTestCase(unittest.TestCase): d.rmdir() assert not d.exists() + def test_next_class(self): + """ + It should be possible to invoke operations o...
Added test capturing the need for tempdir objects to allow path operations and return path objects.
py
diff --git a/plumbing/graphs.py b/plumbing/graphs.py index <HASH>..<HASH> 100644 --- a/plumbing/graphs.py +++ b/plumbing/graphs.py @@ -89,7 +89,7 @@ class Graph(object): if hasattr(self.parent, 'paths'): self.base_dir = self.parent.paths.graphs_dir else: - self.base_dir...
Fix base_path passing in Graph objects
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ with open(path.join(here, "README.md"), encoding="utf-8") as f: long_description = f.read() setup( - version="2.1.0", # Update the version number for new releases + version="2.1.1", # Update the ...
Increased package version as otherwise I cannot deploy to test server
py
diff --git a/elasticsearch_dsl/faceted_search.py b/elasticsearch_dsl/faceted_search.py index <HASH>..<HASH> 100644 --- a/elasticsearch_dsl/faceted_search.py +++ b/elasticsearch_dsl/faceted_search.py @@ -22,9 +22,13 @@ AGG_TO_FILTER = { Histogram: lambda a, v: F('range', **{a.field: {'gte': v, 'lt': v+a.interval}}...
Proper logic for DateHistogram facet in faceted search
py
diff --git a/adventure/game.py b/adventure/game.py index <HASH>..<HASH> 100644 --- a/adventure/game.py +++ b/adventure/game.py @@ -107,7 +107,7 @@ class Game(Data): @property def is_finished(self): - return self.is_dead and not self.yesno_callback + return (self.is_dead or self.is_done) and no...
Bugfix: the game is also finished if "is_done" is true.
py
diff --git a/glue/ligolw/table.py b/glue/ligolw/table.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/table.py +++ b/glue/ligolw/table.py @@ -716,6 +716,17 @@ class Table(ligolw.Table, list): class DBTable(Table): + """ + A special version of the Table class using an SQL database engine + for storage. Many of th...
In DBTable, add some documentation and a check that the connection attribute has been initialized.
py
diff --git a/codemach/__init__.py b/codemach/__init__.py index <HASH>..<HASH> 100644 --- a/codemach/__init__.py +++ b/codemach/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.4b12' +__version__ = '0.4b13' from .assembler import * from .machine import *
PKGTOOL change version from <I>b<I> to <I>b<I>
py
diff --git a/timeside/__init__.py b/timeside/__init__.py index <HASH>..<HASH> 100644 --- a/timeside/__init__.py +++ b/timeside/__init__.py @@ -36,10 +36,10 @@ def _discover_modules(): importlib.import_module(modname) #__import__(modname) except ImportError as e: - ...
Fix importError for Yaafe and Aubio
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ setup( "coverage", "mock", "unittest2", + "httpretty", ### General requirements -- TODO: pin versions "jira", "GitPython==0.1.7",
Adding httpretty to the testing pip install list.
py