diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/client/__init__.py b/client/__init__.py
index <HASH>..<HASH> 100644
--- a/client/__init__.py
+++ b/client/__init__.py
@@ -1,4 +1,4 @@
-__version__ = 'v1.6.16'
+__version__ = 'v1.6.14'
FILE_NAME = 'ok' | Pretend to be <I> for migration | py |
diff --git a/building.py b/building.py
index <HASH>..<HASH> 100644
--- a/building.py
+++ b/building.py
@@ -10,6 +10,7 @@ CONFIG = {
LOCALE = {
'execute_single': 'execute\t{}',
'execute_multi': 'execute\t{} - {}',
+ 'finish': 'finish \t{}',
'abort': 'abort \t{} - {}',
'abort_bad_require': 'abort \t{} - {} req... | Added a nice little finish message | py |
diff --git a/src/toil/common.py b/src/toil/common.py
index <HASH>..<HASH> 100644
--- a/src/toil/common.py
+++ b/src/toil/common.py
@@ -112,7 +112,7 @@ class Config(object):
self.maxDisk = sys.maxsize
#Retrying/rescuing jobs
- self.retryCount = 0
+ self.retryCount = 1
self.maxJ... | change default retryCount to 1 (resolves #<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -36,6 +36,20 @@ setup(
},
include_package_data=True,
package_data={"chatbot": package_data},
+ classifiers = [
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Console',
+ 'Intended... | Add classifiers to setup.py | py |
diff --git a/pyang/statements.py b/pyang/statements.py
index <HASH>..<HASH> 100644
--- a/pyang/statements.py
+++ b/pyang/statements.py
@@ -1621,8 +1621,8 @@ class Statement(object):
This function makes sense mostly for definition statements
('typedef' and 'grouping'). The returned value is a list of
... | Updated comment in Statement::full_path. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name='frasco',
- version='2.5.2',
+ version='2.6.0',
url='http://github.com/frascoweb/frasco',
license='MIT',
author='Maxime Bouroume... | removed jsmin and cssmin as dependencies | py |
diff --git a/OpenPNM/Geometry/__Cubic__.py b/OpenPNM/Geometry/__Cubic__.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Geometry/__Cubic__.py
+++ b/OpenPNM/Geometry/__Cubic__.py
@@ -63,7 +63,7 @@ class Cubic(GenericGeometry):
self._Ly = self._Ny*self._Lc
self._Lz = self._Nz*self._Lc
elif... | Fixed dtype bug in cubic generate (2 ints were being divided, truncating to 0) Former-commit-id: a<I>b<I>e9d5dbae<I>afbfcdfd1aee<I>c<I>e<I>d Former-commit-id: bf2cdbac8f<I>eba<I>c7b7f<I>da<I>c6df4 | py |
diff --git a/thunder/base.py b/thunder/base.py
index <HASH>..<HASH> 100644
--- a/thunder/base.py
+++ b/thunder/base.py
@@ -537,7 +537,7 @@ class Data(Base):
return k1, op(x, y)
rdd = self.tordd().zip(other.tordd()).map(func)
- barray = BoltArraySpark(rdd, shape=self.shape, dty... | Missing split argument in for BoltArraySpark in base.element_wise | py |
diff --git a/aiohttp_admin/backends/mongo.py b/aiohttp_admin/backends/mongo.py
index <HASH>..<HASH> 100644
--- a/aiohttp_admin/backends/mongo.py
+++ b/aiohttp_admin/backends/mongo.py
@@ -28,7 +28,7 @@ class MotorResource(AbstractResource):
async def list(self, request):
await require(request, Permissions.... | request.GET to request.query request.GET was deprecaded and changed to reguest.query | 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("README.rst") as fp:
setup(
name="pykube",
- version="0.9.0",
+ version="0.10.0",
description="Python client library for Kubernetes",
long_description=long_description,
autho... | Bumped version for <I> | py |
diff --git a/lol_scraper/data_types.py b/lol_scraper/data_types.py
index <HASH>..<HASH> 100644
--- a/lol_scraper/data_types.py
+++ b/lol_scraper/data_types.py
@@ -85,6 +85,12 @@ class TierSet():
if to_add:
self._tiers[tier] = set(to_add)
+ def __bool__(self):
+ for set ... | Added __bool__ to TierSet | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -246,7 +246,7 @@ password = [
'flask-bcrypt>=0.7.1',
]
pinot = ['pinotdb==0.1.1']
-postgres = ['psycopg2>=2.7.4,<2.8']
+postgres = ['psycopg2-binary>=2.7.4']
qds = ['qds-sdk>=1.10.4']
rabbitmq = ['librabbitmq>=1.6.1']... | [AIRFLOW-<I>] Use psycopg2-binary for postgres operations (#<I>) | py |
diff --git a/ariba/cluster.py b/ariba/cluster.py
index <HASH>..<HASH> 100644
--- a/ariba/cluster.py
+++ b/ariba/cluster.py
@@ -253,14 +253,19 @@ class Cluster:
self.log_fh = pyfastaq.utils.open_file_write(self.logfile)
+ original_dir = os.getcwd()
+ os.chdir(self.root_dir)
+
try:
... | chdir to cluster dir so temp files written in there | py |
diff --git a/twilio/rest/resources/base.py b/twilio/rest/resources/base.py
index <HASH>..<HASH> 100644
--- a/twilio/rest/resources/base.py
+++ b/twilio/rest/resources/base.py
@@ -254,6 +254,8 @@ class ListQuery(Query):
return [self.list_instance.load_instance(ir) for ir in page[key]]
+ def __iter__(self... | Adds the magic __iter__ to ListQuery | py |
diff --git a/knowledge_base/__version__.py b/knowledge_base/__version__.py
index <HASH>..<HASH> 100644
--- a/knowledge_base/__version__.py
+++ b/knowledge_base/__version__.py
@@ -5,5 +5,5 @@
from collections import namedtuple
VersionSpec = namedtuple('VersionSpec', ['major', 'minor', 'revision'])
-version = Version... | bumped to version <I> | py |
diff --git a/tornado_json/application.py b/tornado_json/application.py
index <HASH>..<HASH> 100755
--- a/tornado_json/application.py
+++ b/tornado_json/application.py
@@ -1,6 +1,5 @@
import tornado.web.Application
-from tornado_json import db
from tornado_json.api_doc_gen import api_doc_gen
@@ -12,7 +11,6 @@ cl... | Remove db init in Application | py |
diff --git a/analyzers/OpenCTI/opencti.py b/analyzers/OpenCTI/opencti.py
index <HASH>..<HASH> 100755
--- a/analyzers/OpenCTI/opencti.py
+++ b/analyzers/OpenCTI/opencti.py
@@ -27,10 +27,11 @@ class OpenCTIAnalyzer(Analyzer):
"name": names[i],
"url": urls[i],
... | Add support for HTTP(s) proxies | py |
diff --git a/pyspectral/utils.py b/pyspectral/utils.py
index <HASH>..<HASH> 100644
--- a/pyspectral/utils.py
+++ b/pyspectral/utils.py
@@ -67,7 +67,7 @@ INSTRUMENTS = {'NOAA-19': 'avhrr/3',
}
-HTTP_PYSPECTRAL_RSR = "https://zenodo.org/record/889206/files/pyspectral_rsr_data.tgz"
+HTTP_PYSPECTRAL_RSR... | Update to new RSR tar file including JPSS-1 VIIRS | py |
diff --git a/cassandra/cluster.py b/cassandra/cluster.py
index <HASH>..<HASH> 100644
--- a/cassandra/cluster.py
+++ b/cassandra/cluster.py
@@ -1045,7 +1045,7 @@ class Session(object):
Intended for internal use only.
"""
futures = []
- for host in self._pools:
+ for host in self.... | Avoid dict change during iteration | py |
diff --git a/src/cmdtree/magic.py b/src/cmdtree/magic.py
index <HASH>..<HASH> 100644
--- a/src/cmdtree/magic.py
+++ b/src/cmdtree/magic.py
@@ -161,18 +161,6 @@ class Cmd(object):
def __call__(self, *args, **kwargs):
return self.func(*args, **kwargs)
- def argument(self):
- pass
-
- def opti... | Clean: Remove unused CommandCollection and Cmd class code | py |
diff --git a/raven/contrib/zope/__init__.py b/raven/contrib/zope/__init__.py
index <HASH>..<HASH> 100644
--- a/raven/contrib/zope/__init__.py
+++ b/raven/contrib/zope/__init__.py
@@ -55,7 +55,10 @@ class ZopeSentryHandler(SentryHandler):
request = frame.f_locals.get('request', None)
... | Handle recursion errors In some cases, for example when a frame is App.ZApplication.ZApplicationWrapper, then "frame.f_locals.get('self', None)" raises a maximum recursion depth error. This fix catches these and moves further so Zope continues to run (without the fix Zope breaks) and we still get a (request-less) erro... | py |
diff --git a/simplesqlite/_common.py b/simplesqlite/_common.py
index <HASH>..<HASH> 100644
--- a/simplesqlite/_common.py
+++ b/simplesqlite/_common.py
@@ -15,10 +15,12 @@ def extract_table_metadata(con, table_name):
type_hints = []
for attr in con.schema_extractor.fetch_table_schema(table_name).as_dict()[ta... | Refactor: extract a local variable | py |
diff --git a/source/rafcon/mvc/controllers/io_data_port_list.py b/source/rafcon/mvc/controllers/io_data_port_list.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/controllers/io_data_port_list.py
+++ b/source/rafcon/mvc/controllers/io_data_port_list.py
@@ -136,13 +136,13 @@ class DataPortListController(ExtendedCo... | fix undesired changes of DataPortListController | py |
diff --git a/iktomi/forms/fields.py b/iktomi/forms/fields.py
index <HASH>..<HASH> 100644
--- a/iktomi/forms/fields.py
+++ b/iktomi/forms/fields.py
@@ -263,10 +263,11 @@ class FieldBlock(FieldSet):
widget = widgets.FieldBlockWidget
prefix = ''
- def __init__(self, title, fields=[], **kwargs):
+ def __i... | Added default kwarg 'closed' for FieldBlock. It is used to create blocks collapsed by default. | py |
diff --git a/easyaudit/signals.py b/easyaudit/signals.py
index <HASH>..<HASH> 100644
--- a/easyaudit/signals.py
+++ b/easyaudit/signals.py
@@ -147,8 +147,6 @@ def m2m_changed(sender, instance, action, reverse, model, pk_set, using, **kwarg
datetime=timezone.now(),
user_pk_as_string=str(user.pk... | Removed redundant save() calls (create() includes implicit save()) | py |
diff --git a/src/you_get/extractors/bilibili.py b/src/you_get/extractors/bilibili.py
index <HASH>..<HASH> 100644
--- a/src/you_get/extractors/bilibili.py
+++ b/src/you_get/extractors/bilibili.py
@@ -125,7 +125,7 @@ def bilibili_download(url, output_dir='.', merge=True, info_only=False):
title = unescape_html(title... | regex support new Bilibili web page | py |
diff --git a/yotta/lib/vcs.py b/yotta/lib/vcs.py
index <HASH>..<HASH> 100644
--- a/yotta/lib/vcs.py
+++ b/yotta/lib/vcs.py
@@ -243,7 +243,7 @@ class HG(VCS):
def getVCS(path):
# crude heuristic, does the job...
- if os.path.isdir(os.path.join(path, '.git')):
+ if os.path.exists(os.path.join(path, '.git'))... | .git is a file not a directory in a submodule | py |
diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -58,6 +58,7 @@ def parse(text, *, strip=False, strict=True):
def check_dir(dir, *, files=None, size=None):
actual_files = set(dir.iterdir())
+ seen = set()
if size is not Non... | Fix duplicate files ignored by "check_dir()" tests util | py |
diff --git a/smart_selects/widgets.py b/smart_selects/widgets.py
index <HASH>..<HASH> 100644
--- a/smart_selects/widgets.py
+++ b/smart_selects/widgets.py
@@ -157,7 +157,8 @@ class ChainedSelect(JqueryMediaMixin, Select):
final_choices.append(ch)
self.choices = final_choices
- fin... | change build_attrs calls | py |
diff --git a/bot.py b/bot.py
index <HASH>..<HASH> 100755
--- a/bot.py
+++ b/bot.py
@@ -56,7 +56,10 @@ class IrcBot(SingleServerIRCBot):
| If we receive a !reload command, do the reloading magic.
| Call the appropriate handler method for processing.
"""
- target = e.target if e.target[0... | fix crash w/ op-only ctcp | py |
diff --git a/setuptools/tests/config/test_pyprojecttoml.py b/setuptools/tests/config/test_pyprojecttoml.py
index <HASH>..<HASH> 100644
--- a/setuptools/tests/config/test_pyprojecttoml.py
+++ b/setuptools/tests/config/test_pyprojecttoml.py
@@ -236,7 +236,7 @@ class TestClassifiers:
pyproject = tmp_path / "pyp... | Adequate existing tests for the latest changes | py |
diff --git a/openid/consumer/discover.py b/openid/consumer/discover.py
index <HASH>..<HASH> 100644
--- a/openid/consumer/discover.py
+++ b/openid/consumer/discover.py
@@ -384,7 +384,7 @@ def discoverYadis(uri):
# header, with no Accept header.
return discoverNoYadis(uri)
- # Try to pa... | [project @ consumer.discover: comment correction.] | py |
diff --git a/src/cr/cube/crunch_cube.py b/src/cr/cube/crunch_cube.py
index <HASH>..<HASH> 100644
--- a/src/cr/cube/crunch_cube.py
+++ b/src/cr/cube/crunch_cube.py
@@ -201,6 +201,9 @@ class CrunchCube(object):
return res
def _mr_prune(self, res):
+ if len(res.shape) > 2:
+ # Only perfor... | Only prune 1-D MR cubes. | py |
diff --git a/constance/backends/database/__init__.py b/constance/backends/database/__init__.py
index <HASH>..<HASH> 100644
--- a/constance/backends/database/__init__.py
+++ b/constance/backends/database/__init__.py
@@ -52,7 +52,7 @@ class DatabaseBackend(Backend):
def mget(self, keys):
if not keys:
... | Use dict comprehension; available since Python <I> (#<I>) | py |
diff --git a/emma2/msm/estimation/__init__.py b/emma2/msm/estimation/__init__.py
index <HASH>..<HASH> 100644
--- a/emma2/msm/estimation/__init__.py
+++ b/emma2/msm/estimation/__init__.py
@@ -22,7 +22,7 @@ Connectivity
connected_sets - Find connected subsets
largest_connected_set - Find largest connected set
-... | [doc] adopted method refactoring: connected_count_matrix -> largest_connected_submatrix | py |
diff --git a/server/lib/services/authpam.py b/server/lib/services/authpam.py
index <HASH>..<HASH> 100644
--- a/server/lib/services/authpam.py
+++ b/server/lib/services/authpam.py
@@ -5,4 +5,4 @@ from simplepam import authenticate
class AuthPam():
def authenticate(self, un, pw):
- return authenticate(un, ... | Fixed encoding issue with pam auth. | py |
diff --git a/python/ray/tests/test_actor_resources.py b/python/ray/tests/test_actor_resources.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/test_actor_resources.py
+++ b/python/ray/tests/test_actor_resources.py
@@ -229,7 +229,6 @@ def test_actor_different_numbers_of_gpus(ray_start_cluster):
assert ready_id... | Unskipped non-cluster tests in test_actor_resources.py (#<I>) | py |
diff --git a/anyvcs/git.py b/anyvcs/git.py
index <HASH>..<HASH> 100644
--- a/anyvcs/git.py
+++ b/anyvcs/git.py
@@ -295,7 +295,7 @@ class GitRepo(VCSRepo):
return results
def changed(self, rev):
- cmd = [GIT, 'diff-tree', '-z', '-C', '-r', '-m', '--root', rev]
+ cmd = [GIT, 'diff-tree', '-z', '-C', '-r',... | only use first parent in pdiff() and changed() Use -c instead of -m for git diff-tree This closes issue #<I> | py |
diff --git a/theblues/utils.py b/theblues/utils.py
index <HASH>..<HASH> 100644
--- a/theblues/utils.py
+++ b/theblues/utils.py
@@ -15,7 +15,7 @@ from theblues.errors import (
)
-API_URL = 'https://api.jujucharms.com/v5'
+API_URL = 'https://api.jujucharms.com/charmstore/v5'
DEFAULT_TIMEOUT = 3.05
_error_message =... | use /charmstore/v5, not /v5 AFAIK we make no guarantees that api.jujucharms.com/ will be the charmstore api. Instead, we have /charmstore, /identity, /bundleservice, a few others. It is coincidence that our current apache config default to charmstore at the root. We should not rely on it. | py |
diff --git a/salt/states/svn.py b/salt/states/svn.py
index <HASH>..<HASH> 100644
--- a/salt/states/svn.py
+++ b/salt/states/svn.py
@@ -17,7 +17,7 @@ import os
# Import Salt libs
from salt import exceptions
-from salt.states.git import _fail, _neutral_test
+from salt.states.git import _fail
log = logging.getLogge... | remove unused components from svn state | py |
diff --git a/tests/test_mpc.py b/tests/test_mpc.py
index <HASH>..<HASH> 100755
--- a/tests/test_mpc.py
+++ b/tests/test_mpc.py
@@ -7,6 +7,7 @@ from torch.nn.parameter import Parameter
import numpy as np
import numpy.random as npr
import numpy.testing as npt
+from numpy.testing import decorators
import cvxpy as cp | Import npt.decorators. | py |
diff --git a/algoliasearch_django/models.py b/algoliasearch_django/models.py
index <HASH>..<HASH> 100644
--- a/algoliasearch_django/models.py
+++ b/algoliasearch_django/models.py
@@ -68,7 +68,10 @@ class AlgoliaIndex(object):
self.__named_fields = {}
self.__translate_fields = {}
- all_model_f... | fix(models): get model fields in a way compatible with Django <I> | py |
diff --git a/edeposit/amqp/__init__.py b/edeposit/amqp/__init__.py
index <HASH>..<HASH> 100644
--- a/edeposit/amqp/__init__.py
+++ b/edeposit/amqp/__init__.py
@@ -120,4 +120,25 @@ If you don't want to define all this by yourself, you can just run the
amqp_tool.py, which can buld the schema:
./amqp_tool.py --create
... | Added example of schema creation into __init__.py's docstring. | py |
diff --git a/setuptools/command/upload.py b/setuptools/command/upload.py
index <HASH>..<HASH> 100755
--- a/setuptools/command/upload.py
+++ b/setuptools/command/upload.py
@@ -122,7 +122,7 @@ class upload(Command):
body = StringIO.StringIO()
for key, value in data.items():
# handle multipl... | Fix boolean test, incorrectly changed. Off-by-one errors are particularly ugly with booleans ;) Fixes #<I> | py |
diff --git a/cirq/qis/states.py b/cirq/qis/states.py
index <HASH>..<HASH> 100644
--- a/cirq/qis/states.py
+++ b/cirq/qis/states.py
@@ -305,13 +305,12 @@ def _state_like_to_state_tensor(*, state_like: 'cirq.STATE_VECTOR_LIKE',
prod = np.prod(qid_shape, dtype=int)
if len(qid_shape) == prod:
- ... | Remove unnecessary conditional (#<I>) `state_like` is definitely a numpy array (see if statement on line <I>). | py |
diff --git a/py3status/screenshots.py b/py3status/screenshots.py
index <HASH>..<HASH> 100644
--- a/py3status/screenshots.py
+++ b/py3status/screenshots.py
@@ -244,7 +244,7 @@ def process(name, data, module=True):
"""
path = os.path.join(os.path.dirname(os.path.dirname(
- os.path.realpath(__file__))),... | screenshots: use abspath instead of realpath (#<I>) | py |
diff --git a/sign_xpi_lib/sign_xpi_lib.py b/sign_xpi_lib/sign_xpi_lib.py
index <HASH>..<HASH> 100644
--- a/sign_xpi_lib/sign_xpi_lib.py
+++ b/sign_xpi_lib/sign_xpi_lib.py
@@ -226,7 +226,6 @@ class XPIFile(object):
if os.path.exists(outpath):
raise FileExistsError("File already exists: {}".format(o... | Meaningless statement This should have gotten cleaned up with make_signed, but I missed it. | py |
diff --git a/mpd/base.py b/mpd/base.py
index <HASH>..<HASH> 100644
--- a/mpd/base.py
+++ b/mpd/base.py
@@ -239,12 +239,20 @@ class MPDClientBase(object):
obj = {}
for key, value in self._parse_pairs(lines):
key = key.lower()
- if lookup_delimiter and not delimiters:
- ... | fixed multiple use of "group" in list command | py |
diff --git a/django_cas_ng/signals.py b/django_cas_ng/signals.py
index <HASH>..<HASH> 100644
--- a/django_cas_ng/signals.py
+++ b/django_cas_ng/signals.py
@@ -1,9 +1,8 @@
from django import dispatch
-cas_user_authenticated = dispatch.Signal(
- providing_args=['user', 'created', 'attributes', 'ticket', 'service', ... | Remove Signal(providing_args=) argument, deprecated in Django <I> This argument causes a warning and will be removed in Django <I>. It was purely documentational and has no effect on behavior. Ref: <URL> | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -14,11 +14,12 @@ extensions = [
root = os.path.join(os.path.dirname(__file__), '..')
setup_script = os.path.join(root, 'setup.py')
-dist_info_cmd = [sys.executable, setup_script, '--name', '--version', '--u... | Also grab the author from the package metadata | py |
diff --git a/arcana/study/multi.py b/arcana/study/multi.py
index <HASH>..<HASH> 100644
--- a/arcana/study/multi.py
+++ b/arcana/study/multi.py
@@ -191,14 +191,11 @@ class MultiStudy(Study):
# Invert name map in sub-study spec
name_map = {v: k for k, v in sub_study_spec.name_map.items()}
... | removed except/raise debugging statement | py |
diff --git a/tests/test_build_ext.py b/tests/test_build_ext.py
index <HASH>..<HASH> 100644
--- a/tests/test_build_ext.py
+++ b/tests/test_build_ext.py
@@ -1,6 +1,5 @@
import sys
import os
-import tempfile
import shutil
from io import StringIO
@@ -23,7 +22,8 @@ class BuildExtTestCase(unittest.TestCase):
def s... | Merged revisions <I> via svnmerge from svn+ssh://<EMAIL>/python/trunk ........ r<I> | tarek.ziade | <I>-<I>-<I> <I>:<I>:<I> <I> (Thu, <I> Feb <I>) | 1 line fixing the leak introduced in r<I> ........ | py |
diff --git a/salt/daemons/salting.py b/salt/daemons/salting.py
index <HASH>..<HASH> 100644
--- a/salt/daemons/salting.py
+++ b/salt/daemons/salting.py
@@ -73,19 +73,15 @@ class SaltKeep(Keep):
'''
self.saltRaetKey.delete_pki_dir()
- def loadLocalData(self):
+ def loadLocalRoleData(self):
... | refactor to use class specific loadLocalRoleData | py |
diff --git a/seleniumbase/core/mysql.py b/seleniumbase/core/mysql.py
index <HASH>..<HASH> 100755
--- a/seleniumbase/core/mysql.py
+++ b/seleniumbase/core/mysql.py
@@ -20,7 +20,7 @@ class DatabaseManager():
db_server, db_user, db_pass, db_schema = \
conf.APP_CREDS[conf.Apps.TESTCASE_REPOSITORY][dat... | If can't connect to MySQL DB, fail faster | py |
diff --git a/djangocms_installer/django/__init__.py b/djangocms_installer/django/__init__.py
index <HASH>..<HASH> 100644
--- a/djangocms_installer/django/__init__.py
+++ b/djangocms_installer/django/__init__.py
@@ -229,7 +229,9 @@ def load_starting_page(config_data):
with chdir(config_data.project_directory):
... | Fixes shell issue when loading starting data | py |
diff --git a/telemetry/telemetry/core/backends/chrome/desktop_browser_backend.py b/telemetry/telemetry/core/backends/chrome/desktop_browser_backend.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/backends/chrome/desktop_browser_backend.py
+++ b/telemetry/telemetry/core/backends/chrome/desktop_browser_back... | [Telemetry] Attempt to fix flake observed on mac. Perhaps the shutdown timeouts were just not long enough? See: <URL> | py |
diff --git a/duration.py b/duration.py
index <HASH>..<HASH> 100644
--- a/duration.py
+++ b/duration.py
@@ -86,7 +86,7 @@ def from_str(duration):
if duration in ("0", "+0", "-0"):
return datetime.timedelta()
- pattern = re.compile('([\-\+\d\.]+)([a-z]+)')
+ pattern = re.compile('([\-\+\d\.]+)([a-zµ... | fix regex to support unicode micro units | py |
diff --git a/nipap/nipap/backend.py b/nipap/nipap/backend.py
index <HASH>..<HASH> 100644
--- a/nipap/nipap/backend.py
+++ b/nipap/nipap/backend.py
@@ -1974,21 +1974,13 @@ class Nipap:
query_parts.append({
'interpretation': {
'string': query_str_part['string... | backend: fix pool smart search for tags There are no inherited tags for pools, so don't try to match on it! Part of #<I>. | py |
diff --git a/fbchat/__init__.py b/fbchat/__init__.py
index <HASH>..<HASH> 100644
--- a/fbchat/__init__.py
+++ b/fbchat/__init__.py
@@ -15,7 +15,7 @@ from .client import *
__copyright__ = 'Copyright 2015 by Taehoon Kim'
-__version__ = '0.6.0'
+__version__ = '0.6.1'
__license__ = 'BSD'
__author__ = 'Taehoon Kim; M... | Version up for merging #<I> | py |
diff --git a/splinter/driver/zopetestbrowser.py b/splinter/driver/zopetestbrowser.py
index <HASH>..<HASH> 100644
--- a/splinter/driver/zopetestbrowser.py
+++ b/splinter/driver/zopetestbrowser.py
@@ -16,6 +16,9 @@ class ZopeTestBrowser(DriverAPI):
def visit(self, url):
self._browser.open(url)
+ def ba... | Implemented back method on zope.testbrowser | py |
diff --git a/ruuvitag_sensor/ruuvi.py b/ruuvitag_sensor/ruuvi.py
index <HASH>..<HASH> 100644
--- a/ruuvitag_sensor/ruuvi.py
+++ b/ruuvitag_sensor/ruuvi.py
@@ -53,7 +53,7 @@ class RuuviTagSensor(object):
"""
try:
# TODO: Fix conversion so convered data will show https://ruu.vi/# and htts:/... | Removed non-ascii characters from comment Caused error with Python2 | py |
diff --git a/fastimport/parser.py b/fastimport/parser.py
index <HASH>..<HASH> 100644
--- a/fastimport/parser.py
+++ b/fastimport/parser.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2008 Canonical Ltd
+# Copyright (C) 2008-2010 Canonical Ltd
#
# This program is free software; you can redistribute it and/or modify
# it under t... | Support out of band processing of commands. | py |
diff --git a/lib/drizzlepac/imgclasses.py b/lib/drizzlepac/imgclasses.py
index <HASH>..<HASH> 100644
--- a/lib/drizzlepac/imgclasses.py
+++ b/lib/drizzlepac/imgclasses.py
@@ -120,10 +120,17 @@ class Image(object):
# (assume a valid WCS with each SCI extension)
#TODO: current check for a valid WCS may... | Switching to CTYPE instead of WCSAXES to check if a valid WCS is present because apparently WCSAXES is optional and some "valid" WCS do not have it. According to Nadia, CTYPE* is probably the most reliable parameter to check for. git-svn-id: <URL> | py |
diff --git a/tests/unit/auth_test.py b/tests/unit/auth_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/auth_test.py
+++ b/tests/unit/auth_test.py
@@ -38,3 +38,8 @@ class LoadAuthTestCase(TestCase):
expected_ret = call('fake_func_str', {'username': 'test_user', 'test_password': '', 'show_timeout': Fals... | Add __main__ to test | py |
diff --git a/salt/utils/gitfs.py b/salt/utils/gitfs.py
index <HASH>..<HASH> 100644
--- a/salt/utils/gitfs.py
+++ b/salt/utils/gitfs.py
@@ -446,7 +446,7 @@ class GitProvider(object):
cmd = subprocess.Popen(
shlex.split(cmd_str),
close_fds=not salt.utils.is_windows(),
- cwd=s... | Fix cwd for cleaning refs | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -68,7 +68,7 @@ install_requires = [
'decorator >=4.3',
'django >=1.10, <2.1',
'matplotlib >=1.5, <2.3',
- 'requests >=2.9, <2.21',
+ 'requests >=2.20, <2.21',
'pyshp ==1.2.3',
'PyYAML',
] | Exclude old requests release that are affected by CVE Former-commit-id: <I>cc<I>c<I>bfe<I>dcff7d<I> | py |
diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -12,15 +12,19 @@ logger = logging.getLogger(__name__)
@pytest.fixture(scope='function')
-def server():
+def server(request):
t = Server()
t.socket_name = 'tmuxp_test%s' % next... | move finalizer for cleaning servers to server fixture | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -678,7 +678,7 @@ class Minion(MinionBase):
if pid > 0:
continue
else:
- proxyminion = salt.ProxyMinion()
+ pr... | minion.py:Minion.__init__(): fix broken ref to ProxyMinion ************* Module salt.minion salt/minion.py:<I>: [E<I>(no-member), Minion.__init__] Module 'salt' has no 'ProxyMinion' member | py |
diff --git a/ELiDE/board/pawn.py b/ELiDE/board/pawn.py
index <HASH>..<HASH> 100644
--- a/ELiDE/board/pawn.py
+++ b/ELiDE/board/pawn.py
@@ -35,7 +35,7 @@ class Pawn(PawnSpot):
_touch = ObjectProperty(None, allownone=True)
travel_on_drop = BooleanProperty(False)
loc_name = ObjectProperty()
- next_loc_na... | pawns don't have to be travelling all the time | py |
diff --git a/src/automate/extensions/arduino/arduino_service.py b/src/automate/extensions/arduino/arduino_service.py
index <HASH>..<HASH> 100644
--- a/src/automate/extensions/arduino/arduino_service.py
+++ b/src/automate/extensions/arduino/arduino_service.py
@@ -41,10 +41,9 @@ PinTuple = namedtuple('PinTuple', ['type',... | Perform VirtualWire configuration with 1 SYSEX instead of 2 | py |
diff --git a/scs_osio/user.py b/scs_osio/user.py
index <HASH>..<HASH> 100644
--- a/scs_osio/user.py
+++ b/scs_osio/user.py
@@ -74,6 +74,8 @@ if __name__ == '__main__':
print("User not found.", file=sys.stderr)
exit()
+ # TODO: implement update
+
# if cmd.set():
# auth = APIAuth(cmd.... | Added OSIO user top-level script. | py |
diff --git a/cinje/block/func.py b/cinje/block/func.py
index <HASH>..<HASH> 100644
--- a/cinje/block/func.py
+++ b/cinje/block/func.py
@@ -109,7 +109,7 @@ class Function(object):
line = 'def ' + name + '(' + argspec + '):' + ((' -> ' + annotation) if annotation else '')
- yield declaration.clone(line='@cinj... | Disabling of currently unused decorator. | py |
diff --git a/amino/test/path.py b/amino/test/path.py
index <HASH>..<HASH> 100644
--- a/amino/test/path.py
+++ b/amino/test/path.py
@@ -1,6 +1,8 @@
import sys
from pathlib import Path
+from amino import env
+
__base_dir__ = None
@@ -21,6 +23,7 @@ def setup(path):
container = str(path.parent)
if contai... | also set project dir in spec in PYTHONPATH | py |
diff --git a/cmsplugin_cascade/link/cms_plugins.py b/cmsplugin_cascade/link/cms_plugins.py
index <HASH>..<HASH> 100644
--- a/cmsplugin_cascade/link/cms_plugins.py
+++ b/cmsplugin_cascade/link/cms_plugins.py
@@ -8,8 +8,8 @@ from .plugin_base import LinkPluginBase
from .forms import LinkForm
-class TextLinkPlugin(Li... | Renamed TextLinkPlugin -> LinkPlugin to make it usable by CKEditor as LinkPlugin | py |
diff --git a/custodian/vasp/tests/test_handlers.py b/custodian/vasp/tests/test_handlers.py
index <HASH>..<HASH> 100644
--- a/custodian/vasp/tests/test_handlers.py
+++ b/custodian/vasp/tests/test_handlers.py
@@ -303,7 +303,7 @@ class AliasingErrorHandlerTest(unittest.TestCase):
class UnconvergedErrorHandlerTest(unitt... | revert class methods for Unconverged handlers | py |
diff --git a/test/test_hub.py b/test/test_hub.py
index <HASH>..<HASH> 100644
--- a/test/test_hub.py
+++ b/test/test_hub.py
@@ -44,7 +44,7 @@ class TestHub(unittest.TestCase):
progress=False)
self.assertEqual(sum_of_model_parameters(hub_model).item(),
SUM_OF_PRETRAINED_RES... | test: Updated assert in test_hub (#<I>) Updated all raw asserts to corresponding unittest.TestCase.assert. See #<I> | py |
diff --git a/model_utils/fields.py b/model_utils/fields.py
index <HASH>..<HASH> 100644
--- a/model_utils/fields.py
+++ b/model_utils/fields.py
@@ -180,7 +180,6 @@ class SplitField(models.TextField):
def contribute_to_class(self, cls, name):
if self.add_excerpt_field:
excerpt_field = models.Te... | Removed unneeded creation_counter increment. | py |
diff --git a/samples/RandomAccumulatorObject.py b/samples/RandomAccumulatorObject.py
index <HASH>..<HASH> 100755
--- a/samples/RandomAccumulatorObject.py
+++ b/samples/RandomAccumulatorObject.py
@@ -17,7 +17,7 @@ from bacpypes.object import AccumulatorObject, Property, register_object_type
from bacpypes.errors import ... | add the additional RPM services -- note this is on the fly, not in the original inheritance heirarchy | py |
diff --git a/trisdb.py b/trisdb.py
index <HASH>..<HASH> 100644
--- a/trisdb.py
+++ b/trisdb.py
@@ -56,11 +56,8 @@ class TrisDbConnection:
def create(self, s, p, o):
req = message_pb2.QueryRequest()
req.query = 'CREATE "%s" "%s" "%s"' % (s, p, o)
- tmp = self.__sendData(req)
- result = []
-... | CREATE command doesn't give result | py |
diff --git a/tests/test_bre.py b/tests/test_bre.py
index <HASH>..<HASH> 100644
--- a/tests/test_bre.py
+++ b/tests/test_bre.py
@@ -436,7 +436,7 @@ class TestSearchTemplate(unittest.TestCase):
if PY3_FUTURE:
def no_unicode():
"""Should fail on Unicode back reference."""
- ... | Don't assign to a variable we don't use | py |
diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -50,7 +50,7 @@ master_doc = 'index'
# General information about the project.
project = u'doubles'
-copyright = u'2014, Jimmy Cuadra'
+copyright = u'2014, Uber Technologies, Inc.'... | List Uber as copyright holder in the docs. | py |
diff --git a/yubico_client/yubico.py b/yubico_client/yubico.py
index <HASH>..<HASH> 100644
--- a/yubico_client/yubico.py
+++ b/yubico_client/yubico.py
@@ -6,12 +6,9 @@
# Author: Tomaz Muraus (http://www.tomaz.me)
# License: BSD
#
-# Copyright (c) 2010, Tomaž Muraus
+# Copyright (c) 2010-2013, Tomaž Muraus
# Copyrig... | Update copyright date in the yubico module, remove requirements from the docstring. | py |
diff --git a/pubsub/tests/unit/pubsub_v1/subscriber/test_policy_base.py b/pubsub/tests/unit/pubsub_v1/subscriber/test_policy_base.py
index <HASH>..<HASH> 100644
--- a/pubsub/tests/unit/pubsub_v1/subscriber/test_policy_base.py
+++ b/pubsub/tests/unit/pubsub_v1/subscriber/test_policy_base.py
@@ -47,7 +47,8 @@ def test_id... | Fix test that checks for retryable exceptions (#<I>) | py |
diff --git a/src/jottalib/jottacloud.py b/src/jottalib/jottacloud.py
index <HASH>..<HASH> 100644
--- a/src/jottalib/jottacloud.py
+++ b/src/jottalib/jottacloud.py
@@ -153,8 +153,20 @@ def _decode_filename_to_unicode(f):
return f.decode(charguess['encoding'])
except UnicodeDecodeError:
... | try harder to decode filename, fallback to stripped ascii in def _decode_filename_to_unicode() | py |
diff --git a/debugtools/middleware/xviewmiddleware.py b/debugtools/middleware/xviewmiddleware.py
index <HASH>..<HASH> 100644
--- a/debugtools/middleware/xviewmiddleware.py
+++ b/debugtools/middleware/xviewmiddleware.py
@@ -1,6 +1,6 @@
from django.conf import settings
from django.template import TemplateDoesNotExist
-... | Added Django <I> support for XViewMiddleware | py |
diff --git a/odl/deform/linearized.py b/odl/deform/linearized.py
index <HASH>..<HASH> 100644
--- a/odl/deform/linearized.py
+++ b/odl/deform/linearized.py
@@ -314,12 +314,13 @@ class LinDeformFixedDisp(Operator):
if not isinstance(templ_space, DiscreteLp):
raise TypeError('`templ_space` mu... | ENH: Be more liberal in domain of LinDeformFixedDisp | py |
diff --git a/cmsplugin_zinnia/models.py b/cmsplugin_zinnia/models.py
index <HASH>..<HASH> 100644
--- a/cmsplugin_zinnia/models.py
+++ b/cmsplugin_zinnia/models.py
@@ -28,16 +28,16 @@ class LatestEntriesPlugin(CMSPlugin):
(False, _('Hide featured entries'))))
categories = models.ManyToManyField(
... | Fix 3 warnings of `manage.py check` | py |
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index <HASH>..<HASH> 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -1309,9 +1309,9 @@ def get_default_cache():
def safe_name(name):
"""Convert an arbitrary string to a standard distribution name
- Any runs of non-a... | Make safe_name compliant to PEP <I> and behaviour of pip > <I> According to PEP <I>, a "normalized" project name has all runs of the characters ., - and _ replaced with a single - character. [0] Similarly, since version <I>, that is the behaviour of pip as well. [1] However, Setuptools still allows a . in the normal... | py |
diff --git a/src/you_get/extractors/miaopai.py b/src/you_get/extractors/miaopai.py
index <HASH>..<HASH> 100644
--- a/src/you_get/extractors/miaopai.py
+++ b/src/you_get/extractors/miaopai.py
@@ -31,7 +31,7 @@ def miaopai_download_by_fid(fid, output_dir = '.', merge = False, info_only = Fa
#--------------------------... | [miaopai] support not fixed length fid | py |
diff --git a/plenum/test/client/test_client_retry.py b/plenum/test/client/test_client_retry.py
index <HASH>..<HASH> 100644
--- a/plenum/test/client/test_client_retry.py
+++ b/plenum/test/client/test_client_retry.py
@@ -100,7 +100,7 @@ def testClientNotRetryRequestWhenReqnackReceived(looper, nodeSet, client1,
origT... | Fix testClientNotRetryRequestWhenReqnackReceived | py |
diff --git a/tests/test_containers.py b/tests/test_containers.py
index <HASH>..<HASH> 100644
--- a/tests/test_containers.py
+++ b/tests/test_containers.py
@@ -186,11 +186,11 @@ def test_Cost():
assert int(c2)
assert int(c3)
assert int(c4)
- assert str(c2) == "<Cost 50min 50gas 3supply 0energy 100loops... | - updated constainers test since output string format changed to show fractional supply values | py |
diff --git a/salt/output/highstate.py b/salt/output/highstate.py
index <HASH>..<HASH> 100644
--- a/salt/output/highstate.py
+++ b/salt/output/highstate.py
@@ -66,6 +66,7 @@ Example output:
from __future__ import absolute_import
import pprint
import textwrap
+import collections
# Import salt libs
import salt.util... | Include data in highstate outputter Closes #<I> | py |
diff --git a/autograd/core.py b/autograd/core.py
index <HASH>..<HASH> 100644
--- a/autograd/core.py
+++ b/autograd/core.py
@@ -160,6 +160,10 @@ class Node(object):
def sum_outgrads(outgrads):
return sum(outgrads[1:], outgrads[0])
+ def __str__(self):
+ return "Autograd {0} with value {1} and {... | Added a __str__ method to Node for more helpful debugging info. | py |
diff --git a/leakcheck/crypto.py b/leakcheck/crypto.py
index <HASH>..<HASH> 100644
--- a/leakcheck/crypto.py
+++ b/leakcheck/crypto.py
@@ -102,10 +102,18 @@ FCB5K3c2kkTv2KjcCAimjxkE+SBKfHg35W0wB0AWkXpVFO5W/TbHg4tqtkpt/KMn
-class Checker_CRL_get_revoked(BaseChecker):
+class Checker_CRL(BaseChecker):
"""
- ... | Add a leakcheck test for CRL.add_revoked | py |
diff --git a/winpty/__init__.py b/winpty/__init__.py
index <HASH>..<HASH> 100644
--- a/winpty/__init__.py
+++ b/winpty/__init__.py
@@ -16,5 +16,5 @@ from .winpty_wrapper import PTY
PTY
PtyProcess
-VERSION_INFO = (0, 4)
+VERSION_INFO = (0, 4, 1, 'dev0')
__version__ = '.'.join(map(str, VERSION_INFO)) | Set development version to <I>.dev0 | py |
diff --git a/more_examples/aquarium.py b/more_examples/aquarium.py
index <HASH>..<HASH> 100644
--- a/more_examples/aquarium.py
+++ b/more_examples/aquarium.py
@@ -255,7 +255,8 @@ class Aquarium(commonmixin.CommonMixin, System):
tags='analog,ph',
pin=arduino_analog_ports['ph'],
def... | Add stdev display to ph sensors | py |
diff --git a/ceph_deploy/osd.py b/ceph_deploy/osd.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/osd.py
+++ b/ceph_deploy/osd.py
@@ -201,7 +201,9 @@ def prepare_disk(
Run on osd node, prepares a data disk for use.
"""
args = [
- 'ceph-disk-prepare',
+ 'ceph-disk',
+ '-v',
+ ... | use ceph-disk executable with -v flag | py |
diff --git a/openfisca_core/formulas.py b/openfisca_core/formulas.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/formulas.py
+++ b/openfisca_core/formulas.py
@@ -694,7 +694,7 @@ def new_filled_column(base_function = UnboundLocalError, calculate_output = Unbo
assert isinstance(name, unicode)
if calculat... | Fix set_input and calculate_output setting in new_filled_column | py |
diff --git a/cumulusci/tasks/push/tasks.py b/cumulusci/tasks/push/tasks.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/push/tasks.py
+++ b/cumulusci/tasks/push/tasks.py
@@ -2,6 +2,7 @@ from datetime import datetime
from datetime import timedelta
import time
+from cumulusci.core.exceptions import CumulusCIExce... | raise exception if push start time is in the past | py |
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -206,18 +206,10 @@ def create_calculation(model, params):
# the following parameters will be removed by HazardCalculation
if param in ('... | Removed a superfluous warning | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.