diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -404,11 +404,13 @@ def getExtensionModules(nupicCoreReleaseDir, platform, bitness, cmdOptions=None)
nupicCoreReleaseDir + "/lib/" +
getLibPrefix(platform) + "nupic_core" + getStaticLibExtension(platform)]
- #pyt... | py_support cpp files found in nupic.core | py |
diff --git a/test/acid_github.py b/test/acid_github.py
index <HASH>..<HASH> 100755
--- a/test/acid_github.py
+++ b/test/acid_github.py
@@ -51,6 +51,15 @@ def interesting(repository_path):
return False
+def complete(repository):
+ """Fill in missing paths of URL."""
+ if ':' in repository:
+ re... | Fill in missing portions of passed in URL | py |
diff --git a/librosa/onset.py b/librosa/onset.py
index <HASH>..<HASH> 100644
--- a/librosa/onset.py
+++ b/librosa/onset.py
@@ -34,7 +34,7 @@ def onset_detect(y=None, sr=22050, onset_envelope=None, hop_length=64,
>>> o_env = librosa.onset.onset_strength(y, sr=sr, hop_length=64)
>>> onset_frames = libro... | revised docstrings in onset #<I> | py |
diff --git a/angr/analyses/cfg_fast.py b/angr/analyses/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg_fast.py
+++ b/angr/analyses/cfg_fast.py
@@ -2839,7 +2839,11 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method
ins_addr = None
... | CFGFast: more robust in branch delay slot handling. | py |
diff --git a/blockstack_client/utils.py b/blockstack_client/utils.py
index <HASH>..<HASH> 100644
--- a/blockstack_client/utils.py
+++ b/blockstack_client/utils.py
@@ -149,6 +149,7 @@ def daemonize( logpath, child_wait=None ):
if daemon_pid == 0:
# daemon! chdir and return
os.chdir('/'... | reenable gc in grandchild | py |
diff --git a/python/jsbeautifier/__init__.py b/python/jsbeautifier/__init__.py
index <HASH>..<HASH> 100644
--- a/python/jsbeautifier/__init__.py
+++ b/python/jsbeautifier/__init__.py
@@ -886,8 +886,7 @@ class Beautifier:
return char
return block
- token_text = re.sub(r'\\{1,2}x([a... | Make regex work with Python <I> - don't use flags with re.sub() | py |
diff --git a/pyes/sort.py b/pyes/sort.py
index <HASH>..<HASH> 100644
--- a/pyes/sort.py
+++ b/pyes/sort.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
from .exceptions import InvalidSortOrder
from .utils import EqualityComparableUsingAttributeDictionary
@@ -106,7 +107,7 @@ class SortFactory(EqualityComparableUsingAttr... | set sort to None if no sort order is defined | py |
diff --git a/client/protocols/backup.py b/client/protocols/backup.py
index <HASH>..<HASH> 100644
--- a/client/protocols/backup.py
+++ b/client/protocols/backup.py
@@ -87,7 +87,7 @@ class BackupProtocol(models.Protocol):
submission_type,
response['dat... | show backup url whenever there is a backup (#<I>) | py |
diff --git a/openhtf/__init__.py b/openhtf/__init__.py
index <HASH>..<HASH> 100644
--- a/openhtf/__init__.py
+++ b/openhtf/__init__.py
@@ -37,6 +37,7 @@ from openhtf import util
from openhtf.exe import triggers
from openhtf.io import http_api
from openhtf.io import test_record
+from openhtf.util import functions
fr... | Make SetupFramework only get called once This limits flag parsing and logger setup to only happen on the first call to it or to Execute() | py |
diff --git a/mapillary_tools/uploader.py b/mapillary_tools/uploader.py
index <HASH>..<HASH> 100644
--- a/mapillary_tools/uploader.py
+++ b/mapillary_tools/uploader.py
@@ -344,7 +344,7 @@ def get_upload_token(mail, pwd):
'''
try:
params = urllib.urlencode({"email": mail, "password": pwd})
- res... | fix: authentication by using urllib2 instead of urllib | py |
diff --git a/censys/base.py b/censys/base.py
index <HASH>..<HASH> 100644
--- a/censys/base.py
+++ b/censys/base.py
@@ -154,7 +154,9 @@ class CensysAPIBase:
if res.status_code == 200:
# Check for a returned json body
try:
- return res.json()
+ json_data = ... | fix: <I> response errors | py |
diff --git a/source/rafcon/core/state_machine_manager.py b/source/rafcon/core/state_machine_manager.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/core/state_machine_manager.py
+++ b/source/rafcon/core/state_machine_manager.py
@@ -48,10 +48,10 @@ class StateMachineManager(Observable):
self.add_stat... | fix(state_machine_manager): fix deletion of state machines do not delete active state machine | py |
diff --git a/tests/test_markov.py b/tests/test_markov.py
index <HASH>..<HASH> 100644
--- a/tests/test_markov.py
+++ b/tests/test_markov.py
@@ -0,0 +1,38 @@
+import unittest
+import pysal
+from pysal.spatial_dynamics import markov
+import numpy as np
+
+
+class Markov_Tester(unittest.TestCase):
+ def setUp(self):
+ ... | adding the unittest shell for markov, waiting on feedback from serge for the rest | py |
diff --git a/core/journal/journal_core.py b/core/journal/journal_core.py
index <HASH>..<HASH> 100644
--- a/core/journal/journal_core.py
+++ b/core/journal/journal_core.py
@@ -359,7 +359,17 @@ class Journal(gossip_core.Gossip):
logger.debug('initial block list: %s', self.InitialBlockList)
+ # Generat... | Make sure the initial block list is sorted and unique post-ledger xfer | py |
diff --git a/tests/test_misc.py b/tests/test_misc.py
index <HASH>..<HASH> 100644
--- a/tests/test_misc.py
+++ b/tests/test_misc.py
@@ -116,8 +116,14 @@ def test_setdefaults_namespace_merge():
def test_namespace_repr():
- actual = repr(Namespace(a=1, b=2, c=Namespace(d=3, e=Namespace(f=4))))
- expected = "Nam... | Coverage back to <I>% | py |
diff --git a/openquake/commands/engine.py b/openquake/commands/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/engine.py
+++ b/openquake/commands/engine.py
@@ -264,9 +264,9 @@ engine._add('run_risk', '--run-risk', '--rr', help='Run a risk job with the '
engine._add('run', '--run', help='Run a job with t... | Fix a hazard<->risk mixup in the engine's help text | py |
diff --git a/cheroot/test/test_http.py b/cheroot/test/test_http.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_http.py
+++ b/cheroot/test/test_http.py
@@ -8,10 +8,9 @@ from unittest import mock
import six
-import cherrypy
-from cherrypy._cpcompat import HTTPConnection, HTTPSConnection, ntob
+from cheroot._... | Got test_http.py to pass collection | py |
diff --git a/python/dllib/src/bigdl/dllib/examples/nnframes/imageTransferLearning/ImageTransferLearningExample.py b/python/dllib/src/bigdl/dllib/examples/nnframes/imageTransferLearning/ImageTransferLearningExample.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/bigdl/dllib/examples/nnframes/imageTransferLearning/... | fix scripts and Preprocessing (#<I>) | py |
diff --git a/ddsc/core/util.py b/ddsc/core/util.py
index <HASH>..<HASH> 100644
--- a/ddsc/core/util.py
+++ b/ddsc/core/util.py
@@ -258,14 +258,14 @@ class ProjectDetailsList(object):
name = self.get_name(item, parent)
self.id_to_path[item.id] = name
if self.long_format:
- self.deta... | full path in long project listing Fixes bug just introduced where we only printed the filenames without folder. | py |
diff --git a/distutils/ccompiler.py b/distutils/ccompiler.py
index <HASH>..<HASH> 100644
--- a/distutils/ccompiler.py
+++ b/distutils/ccompiler.py
@@ -906,8 +906,8 @@ int main (int argc, char **argv) {
def execute(self, func, args, msg=None, level=1):
execute(func, args, msg, self.dry_run)
- def spaw... | In CCompiler, allow keyword arguments to be passed to spawn calls. Ref pypa/setuptools#<I> and pypa/distutils#5. | py |
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -840,6 +840,9 @@ def split_task(func, *args, duration=1000,
weights = numpy.fromiter(map(weight, elements), float)
idx = weights.arg... | Added comment [skip CI] Former-commit-id: <I>b<I>df<I>c<I>a<I>d8ef<I>d<I>a<I>dfb1 | py |
diff --git a/hypermap/settings.py b/hypermap/settings.py
index <HASH>..<HASH> 100644
--- a/hypermap/settings.py
+++ b/hypermap/settings.py
@@ -26,7 +26,7 @@ PROJECT_DIR = os.path.abspath(os.path.join(__file__, os.pardir))
BASE_URL = os.getenv('BASE_URL', 'localhost')
BASE_PORT = os.getenv('BASE_PORT', '8000')
-SITE... | Allow overriding the SITE_URL and give out more debugging information in the console | py |
diff --git a/bika/lims/browser/bika_listing.py b/bika/lims/browser/bika_listing.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/bika_listing.py
+++ b/bika/lims/browser/bika_listing.py
@@ -486,7 +486,7 @@ class BikaListingView(BrowserView):
query[k] = v
# override from self attribute... | Handle missing batch/sort headers in bika_listing | py |
diff --git a/tests/test_potential.py b/tests/test_potential.py
index <HASH>..<HASH> 100644
--- a/tests/test_potential.py
+++ b/tests/test_potential.py
@@ -1460,6 +1460,9 @@ def test_toPlanarPotential():
pass
else:
raise AssertionError('Using toPlanarPotential with a string rather than an Potentia... | New tests of erroneous inputs to toPlanar/toVerticalPotential | py |
diff --git a/trezorlib/transport_hid.py b/trezorlib/transport_hid.py
index <HASH>..<HASH> 100644
--- a/trezorlib/transport_hid.py
+++ b/trezorlib/transport_hid.py
@@ -117,10 +117,14 @@ class HidTransport(Transport):
while len(self.buffer) < length:
data = self.hid.read(64)
if not len(... | Don't spam the usb. The connected logic was flawed. After <I> s it would continuously check if the device is still connected. Now, we reset the timer after every check. | py |
diff --git a/grimoire_elk/enriched/meetup.py b/grimoire_elk/enriched/meetup.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/meetup.py
+++ b/grimoire_elk/enriched/meetup.py
@@ -223,10 +223,14 @@ class MeetupEnrich(Enrich):
"lat": group['lat'],
"lon": group['lon'],
... | [meetup-enriched] Prevent to access filter-classified attributes This code includes a check to avoid accessing the filter-classified attribute `group.topics`, which have been removed by Perceval. | py |
diff --git a/source/rafcon/gui/start.py b/source/rafcon/gui/start.py
index <HASH>..<HASH> 100755
--- a/source/rafcon/gui/start.py
+++ b/source/rafcon/gui/start.py
@@ -83,9 +83,11 @@ def setup_installation():
If RAFCON is started directly from the repo or from RMPM (without a previous installation), it can be for... | fix(start): Prevent repeated RAFCON restarts If the env var RAFCON_CHECK_INSTALLATION is set to "False", a RAFCON restart is prevented. The env var is set after installing fonts. | py |
diff --git a/bakery/settings/views.py b/bakery/settings/views.py
index <HASH>..<HASH> 100644
--- a/bakery/settings/views.py
+++ b/bakery/settings/views.py
@@ -248,13 +248,12 @@ def delclone(project_id):
project = Project.query.filter_by(
login=g.user.login, id=project_id).first()
if not project:
- ... | Minor: redirect delclone() to splash | py |
diff --git a/gitlab.py b/gitlab.py
index <HASH>..<HASH> 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -143,6 +143,8 @@ class Gitlab(object):
l = [cls(self, item) for item in r.json]
if kwargs:
for k, v in kwargs.items():
+ if k in ('page', 'per_page'):
+ ... | never add page and per_page attributes to the objects | py |
diff --git a/snekchek/misc.py b/snekchek/misc.py
index <HASH>..<HASH> 100644
--- a/snekchek/misc.py
+++ b/snekchek/misc.py
@@ -1,4 +1,4 @@
"""Misc information for setup.py"""
-__version__ = "0.2.5"
+__version__ = "0.2.6"
description = "Lint wrapper for python modules" # pylint: disable=invalid-name | Version increase to push fix to pypi | py |
diff --git a/dpxdt/server/auth.py b/dpxdt/server/auth.py
index <HASH>..<HASH> 100644
--- a/dpxdt/server/auth.py
+++ b/dpxdt/server/auth.py
@@ -51,6 +51,10 @@ def load_user(user_id):
@app.route('/login')
def login_view():
+ if app.config.get('IGNORE_AUTH'):
+ login_user(login.anonymous_user())
+ ret... | Fixing ignore auth for fresh logins | py |
diff --git a/ping3.py b/ping3.py
index <HASH>..<HASH> 100644
--- a/ping3.py
+++ b/ping3.py
@@ -277,7 +277,8 @@ def ping(dest_addr: str, timeout: int = 4, unit: str = "s", src_addr: str = None
if src_addr:
sock.bind((src_addr, 0)) # only packets send to src_addr are received.
_debug("... | using checksum to calc the ident. | py |
diff --git a/cnxepub/formatters.py b/cnxepub/formatters.py
index <HASH>..<HASH> 100644
--- a/cnxepub/formatters.py
+++ b/cnxepub/formatters.py
@@ -73,7 +73,7 @@ class DocumentSummaryFormatter(object):
def __bytes__(self):
# try to make sure summary is wrapped in a tag
- summary = self.document.me... | in case a None has been stored | py |
diff --git a/bcbio/distributed/objectstore.py b/bcbio/distributed/objectstore.py
index <HASH>..<HASH> 100644
--- a/bcbio/distributed/objectstore.py
+++ b/bcbio/distributed/objectstore.py
@@ -206,8 +206,8 @@ def _s3_handle(fname):
# set search offset so we do not need to scan this part of the bu... | Correct indentation to avoid chunking error in S3 streaming. Fixes #<I> | py |
diff --git a/gbdxtools/ipe/vrt.py b/gbdxtools/ipe/vrt.py
index <HASH>..<HASH> 100644
--- a/gbdxtools/ipe/vrt.py
+++ b/gbdxtools/ipe/vrt.py
@@ -60,7 +60,7 @@ def generate_vrt_template(ipe_id, node, level, num_bands=None):
tfm["scaleY"]]))
path... | make vrt generator respect num bands | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -74,7 +74,7 @@ master_doc = 'index'
# General information about the project.
project = u'Wed'
-copyright = u'2013-2016 Mangalam Research Center for Buddhist Languages'
+copyright = u'Mangalam Research Center fo... | Drop the copyright date in the API docs. | py |
diff --git a/cio/backends/locmem/backend.py b/cio/backends/locmem/backend.py
index <HASH>..<HASH> 100644
--- a/cio/backends/locmem/backend.py
+++ b/cio/backends/locmem/backend.py
@@ -59,6 +59,6 @@ class LocMemCacheBackend(CacheBackend):
def _delete_many(self, keys):
for key in keys:
- if key ... | Use individual delete from delete_many in locmem backend for coverage | py |
diff --git a/tests/test_h5py.py b/tests/test_h5py.py
index <HASH>..<HASH> 100644
--- a/tests/test_h5py.py
+++ b/tests/test_h5py.py
@@ -1,5 +1,5 @@
import h5py
-import bitshuffle.h5
+import hdf5plugin
import numpy
import tempfile
@@ -15,9 +15,8 @@ def test_is_h5py_correctly_installed():
dataset = f.create_data... | Change bitshuffle call to hdf5plugin | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -130,6 +130,8 @@ setup(
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
+ ... | Claim we support Python <I> and <I> | py |
diff --git a/setuptools/command/upload.py b/setuptools/command/upload.py
index <HASH>..<HASH> 100644
--- a/setuptools/command/upload.py
+++ b/setuptools/command/upload.py
@@ -24,21 +24,15 @@ class upload(orig.upload):
"""
try:
keyring = __import__('keyring')
- password = keyrin... | Simplify logic by eliminating retries in password prompt and returning results directly. | py |
diff --git a/mordred/config.py b/mordred/config.py
index <HASH>..<HASH> 100644
--- a/mordred/config.py
+++ b/mordred/config.py
@@ -147,11 +147,6 @@ class Config():
"default": "logs",
"type": str
},
- "skip_initial_load": {
- "o... | [config] Remove not needed anymore param skip_initial_load. Configure autorefresh as True by default because now it is needed for enriching with correct unification and affiliation data. | py |
diff --git a/telethon/extensions/markdown.py b/telethon/extensions/markdown.py
index <HASH>..<HASH> 100644
--- a/telethon/extensions/markdown.py
+++ b/telethon/extensions/markdown.py
@@ -21,7 +21,7 @@ DEFAULT_DELIMITERS = {
'```': MessageEntityPre
}
-DEFAULT_URL_RE = re.compile(r'\[([^\]]+)\]\((.+?)\)')
+DEFAUL... | Fix markdown regex not supporting [] inside URLs | py |
diff --git a/mot/configuration.py b/mot/configuration.py
index <HASH>..<HASH> 100644
--- a/mot/configuration.py
+++ b/mot/configuration.py
@@ -54,14 +54,28 @@ def set_cl_environments(cl_environments):
a persistent state change, consider using :func:`~mot.configuration.config_context` instead.
Args:
- ... | Allowed the configuration function set_cl_environments accept integers as arguments. | py |
diff --git a/hgvs/utils/PersistentDict.py b/hgvs/utils/PersistentDict.py
index <HASH>..<HASH> 100644
--- a/hgvs/utils/PersistentDict.py
+++ b/hgvs/utils/PersistentDict.py
@@ -13,7 +13,7 @@ class PersistentDict(dict):
self.flag = flag # r=readonly, c=create,write,read
try:
with open(sel... | don't warn about pickle.load() | py |
diff --git a/metrique/cubes/sqldata/generic.py b/metrique/cubes/sqldata/generic.py
index <HASH>..<HASH> 100644
--- a/metrique/cubes/sqldata/generic.py
+++ b/metrique/cubes/sqldata/generic.py
@@ -18,7 +18,6 @@ logger = logging.getLogger('metrique')
from collections import defaultdict
from copy import copy, deepcopy
... | use utcnow -- which defaults to utc, not time -- which defaults to localtime -- since everywhere else, we expect utc | py |
diff --git a/versatileimagefield/datastructures/base.py b/versatileimagefield/datastructures/base.py
index <HASH>..<HASH> 100644
--- a/versatileimagefield/datastructures/base.py
+++ b/versatileimagefield/datastructures/base.py
@@ -165,7 +165,7 @@ class ProcessedImage(object):
None,
'foo.%s' % ... | Use tell() function to get size to support Py2 and py3 | py |
diff --git a/conftest.py b/conftest.py
index <HASH>..<HASH> 100644
--- a/conftest.py
+++ b/conftest.py
@@ -10,6 +10,7 @@ def remove_PY2_broken_tests(items):
return
broken_test_names = [
'jaraco.itertools.always_iterable',
+ 'jaraco.itertools.flatten',
]
items[:] = (
item | Also skip flatten tests. Fixes #1. | py |
diff --git a/montblanc/impl/biro/v5/CompositeBiroSolver.py b/montblanc/impl/biro/v5/CompositeBiroSolver.py
index <HASH>..<HASH> 100644
--- a/montblanc/impl/biro/v5/CompositeBiroSolver.py
+++ b/montblanc/impl/biro/v5/CompositeBiroSolver.py
@@ -422,7 +422,6 @@ class CompositeBiroSolver(BaseSolver):
g... | Drop contiguity requirements on GPU slices. PyCUDA's _memcpy_discontig should handle two degrees of non-contiguity. | py |
diff --git a/resolwe/flow/utils/purge.py b/resolwe/flow/utils/purge.py
index <HASH>..<HASH> 100644
--- a/resolwe/flow/utils/purge.py
+++ b/resolwe/flow/utils/purge.py
@@ -159,6 +159,5 @@ def data_purge(data_ids=None, delete=False, verbosity=0):
elif os.path.isdir(name):
shutil.rmtree(name)... | Use update statement to marke Data objects as purged | py |
diff --git a/green/test/test_runner.py b/green/test/test_runner.py
index <HASH>..<HASH> 100644
--- a/green/test/test_runner.py
+++ b/green/test/test_runner.py
@@ -205,3 +205,10 @@ class A(unittest.TestCase):
os.chdir(TestSubprocesses.startdir)
gtr = GreenTestRunner(self.stream, subprocesses=2, termcol... | Added a test to detect for the crash that happens if you try to use subprocesses on an empty test suite | py |
diff --git a/hdf5storage/Marshallers.py b/hdf5storage/Marshallers.py
index <HASH>..<HASH> 100644
--- a/hdf5storage/Marshallers.py
+++ b/hdf5storage/Marshallers.py
@@ -55,6 +55,19 @@ def write_object_array(f, data, options):
options : hdf5storage.core.Options
hdf5storage options object.
+ Returns
+ ... | Fixed missing information about exceptions in docstrings. | py |
diff --git a/modernrpc/tests/test_xmlrpc.py b/modernrpc/tests/test_xmlrpc.py
index <HASH>..<HASH> 100644
--- a/modernrpc/tests/test_xmlrpc.py
+++ b/modernrpc/tests/test_xmlrpc.py
@@ -50,12 +50,12 @@ def test_xrpc_method_help(live_server):
client = xmlrpc_module.ServerProxy(live_server.url + '/all-rpc/')
- h... | Fix "shadow builtin name" warning | py |
diff --git a/autofit/mapper/prior_model.py b/autofit/mapper/prior_model.py
index <HASH>..<HASH> 100644
--- a/autofit/mapper/prior_model.py
+++ b/autofit/mapper/prior_model.py
@@ -56,6 +56,9 @@ class AbstractPriorModel:
"""
_ids = itertools.count()
+ def __init__(self):
+ self.id = next(self._ids)
... | use iterated id as hash for abstract prior models | 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
@@ -64,9 +64,9 @@ author = u'John Vinyard'
# built documents.
#
# The short X.Y version.
-version = '0.20.12'
+version = '0.46.0'
# The full version, including alpha/beta/rc tags.
-... | See if I can get the docs to build | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -73,6 +73,7 @@ setup(name='bika.lims',
'z3c.jbot',
'plone.resource',
'CairoSVG==1.0.20',
+ 'collective.taskqueue',
],
extras_require={
'test': [ | Added collective.taskqueue as a requirement | py |
diff --git a/alot/message.py b/alot/message.py
index <HASH>..<HASH> 100644
--- a/alot/message.py
+++ b/alot/message.py
@@ -416,7 +416,7 @@ class Attachment(object):
If the content-disposition header contains no file name,
this returns `None`
"""
- extracted_name = self.part.get_filenam... | Decode attachment filenames as well Attachment filenames can be quoted-printable as well just like headers. Decode them before further work | py |
diff --git a/pypump/pypump.py b/pypump/pypump.py
index <HASH>..<HASH> 100644
--- a/pypump/pypump.py
+++ b/pypump/pypump.py
@@ -384,9 +384,19 @@ class PyPump(object):
def construct_oauth_url(self):
""" Constructs verifier OAuth URL """
- return self._build_url("oauth/authorize?oauth_token={token}"... | Quick fix for #<I> do a request to figure out what protocol to use for url | py |
diff --git a/mass/parse.py b/mass/parse.py
index <HASH>..<HASH> 100644
--- a/mass/parse.py
+++ b/mass/parse.py
@@ -34,7 +34,11 @@ def get_output(src):
for line in lines:
m = re.match(config.import_regex,line)
if m:
- include_file = config.sources[os.path.abspath(src.dir + '/' + m.group... | If file isn't already in config.sources, add it | py |
diff --git a/tensorforce/tests/test_naf_agent.py b/tensorforce/tests/test_naf_agent.py
index <HASH>..<HASH> 100755
--- a/tensorforce/tests/test_naf_agent.py
+++ b/tensorforce/tests/test_naf_agent.py
@@ -18,7 +18,7 @@ class TestNAFAgent(unittest.TestCase):
passed = 0
- for _ in xrange(5):
+ fo... | adjust params in naf test | py |
diff --git a/hamster/hamster-applet.py b/hamster/hamster-applet.py
index <HASH>..<HASH> 100755
--- a/hamster/hamster-applet.py
+++ b/hamster/hamster-applet.py
@@ -86,7 +86,7 @@ def on_destroy(event):
if config.get_stop_on_shutdown():
from hamster import storage
last_activity = storage.get_last_ac... | Fixed fail on exit when there is no end time on the las activity. * hamster/hamster-applet.py: Fixed fail on exit when there is no end time on the las activity. svn path=/trunk/; revision=<I> | py |
diff --git a/tldr.py b/tldr.py
index <HASH>..<HASH> 100755
--- a/tldr.py
+++ b/tldr.py
@@ -345,8 +345,7 @@ def update_cache(language=None):
def main():
parser = ArgumentParser(
prog="tldr",
- usage="tldr [-u] [-p PLATFORM] [-l] [-s SOURCE] [-c] [-r] [-L LANGUAGE]" +
- " command",
+ u... | Set --help usage line to match node client (#<I>) | 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
@@ -212,7 +212,7 @@ LANG_RELEASE_MATRIX = {
('v1.23.0', ReleaseInfo()),
('v1.24.0', Rel... | Update interop matrix with Java <I> | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -123,6 +123,30 @@ class SMinion(object):
self.functions['sys.reload_modules'] = self.gen_modules
+class MasterMinion(object):
+ '''
+ Create a fully loaded minion function object for ... | Add the MasterMinion class to be able to use minion side stuff on the master | py |
diff --git a/mediasync/backends/rackspace_cloudfiles.py b/mediasync/backends/rackspace_cloudfiles.py
index <HASH>..<HASH> 100644
--- a/mediasync/backends/rackspace_cloudfiles.py
+++ b/mediasync/backends/rackspace_cloudfiles.py
@@ -18,13 +18,13 @@ class Client(BaseClient):
def open(self):
"Set up the Cloud... | renamed CLOUDFILES_KEY setting | py |
diff --git a/mpop/satin/eps_avhrr.py b/mpop/satin/eps_avhrr.py
index <HASH>..<HASH> 100644
--- a/mpop/satin/eps_avhrr.py
+++ b/mpop/satin/eps_avhrr.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (c) 2010.
+# Copyright (c) 2010, 2012.
# SMHI,
# Folkborgsvägen 1,
@@ -800,6 +800,10 @@ ... | Bugfix: for eps l1b, get_lonlat did not return coherent values since the introduction of pyresample. | py |
diff --git a/geoviews/plotting/plot.py b/geoviews/plotting/plot.py
index <HASH>..<HASH> 100644
--- a/geoviews/plotting/plot.py
+++ b/geoviews/plotting/plot.py
@@ -33,9 +33,9 @@ class ProjectionPlot(param.Parameterized):
opts = self._traverse_options(obj, 'plot', ['projection', 'infer_projection'],
... | Compatibility for changes in HoloViews (#<I>) | py |
diff --git a/tests/test_webapp_page_agents.py b/tests/test_webapp_page_agents.py
index <HASH>..<HASH> 100644
--- a/tests/test_webapp_page_agents.py
+++ b/tests/test_webapp_page_agents.py
@@ -18,7 +18,7 @@ class TestWebAppPageAgent(unittest.TestCase):
def test_01_get_list_of_files(self):
res = page_agents.... | fix test for additional <BR> | py |
diff --git a/tenant_schemas/test/client.py b/tenant_schemas/test/client.py
index <HASH>..<HASH> 100644
--- a/tenant_schemas/test/client.py
+++ b/tenant_schemas/test/client.py
@@ -26,5 +26,13 @@ class TenantClient(Client):
def get(self, path, data={}, **extra):
if 'HTTP_HOST' not in extra:
ext... | Added post method to TenantClient self.client.post() appeared to not be routed through the tenant, so I was getting <I>'s on all my urls. | py |
diff --git a/release.py b/release.py
index <HASH>..<HASH> 100644
--- a/release.py
+++ b/release.py
@@ -37,6 +37,11 @@ releases = [
},
{
'tag': tag,
+ 'target': 'x86_64-apple-darwin-cp37',
+ 'extension': 'tar.gz'
+ },
+ {
+ 'tag': tag,
'target': 'x86_64-unkn... | Update release utility [ci skip] | py |
diff --git a/alchimia/engine.py b/alchimia/engine.py
index <HASH>..<HASH> 100644
--- a/alchimia/engine.py
+++ b/alchimia/engine.py
@@ -8,7 +8,6 @@ class TwistedEngine(object):
if reactor is None:
raise TypeError("Must provide a reactor")
- super(TwistedEngine, self).__init__()
se... | object __init__ is empty, no need to call it | py |
diff --git a/pychromecast/socket_client.py b/pychromecast/socket_client.py
index <HASH>..<HASH> 100644
--- a/pychromecast/socket_client.py
+++ b/pychromecast/socket_client.py
@@ -217,7 +217,7 @@ class SocketClient(threading.Thread):
while not self.stop.is_set():
# check if connection is expired
... | Style fix to socket client. Changed expired property in the socket client’s PING handler to a function. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ requirements = [
# Protocol and data packages
"pytmpdir >= 0.2.3", # A temporary directory, useful for extracting archives to
"txhttputil >= 0.1.8", # Utility class for http requests
- "vorte... | Updated requirement of vortexpy | py |
diff --git a/shinken/external_command.py b/shinken/external_command.py
index <HASH>..<HASH> 100644
--- a/shinken/external_command.py
+++ b/shinken/external_command.py
@@ -1297,9 +1297,14 @@ class ExternalCommandManager:
return
i = host.launch_check(now, force=True)
- for chk i... | Fix: get back PROCESS_SERVICE_CHECK_RESULT and PROCESS_HOST_CHECK_RESULT work after check_in_progress and force checks enhancement. | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -62,7 +62,7 @@ master_doc = 'index'
# General information about the project.
project = u'Numina'
-copyright = u'2010-2018, Sergio Pascual, Nicolás Cardiel, Pablo Picazo-Sánchez'
+copyright = u'2010-2018, Univer... | [DOCS] Give correct copyright attribution to the UCM [skip ci] | py |
diff --git a/molecule/commands.py b/molecule/commands.py
index <HASH>..<HASH> 100644
--- a/molecule/commands.py
+++ b/molecule/commands.py
@@ -136,6 +136,7 @@ class BaseCommands(object):
# support fast converging
if self.molecule._args['--fast']:
create_instances = False
+ crea... | don't create inventory during --fast | py |
diff --git a/spatialist/raster.py b/spatialist/raster.py
index <HASH>..<HASH> 100644
--- a/spatialist/raster.py
+++ b/spatialist/raster.py
@@ -633,10 +633,15 @@ class Raster(object):
Returns
-------
- float
- the raster nodata value
+ float or list
+ the raster no... | [Raster.nodata] read nodata from all bands and return list if multiple | py |
diff --git a/axiom/plugins/mantissacmd.py b/axiom/plugins/mantissacmd.py
index <HASH>..<HASH> 100644
--- a/axiom/plugins/mantissacmd.py
+++ b/axiom/plugins/mantissacmd.py
@@ -124,7 +124,15 @@ class Generate(usage.Options, axiomatic.AxiomaticSubCommandMixin):
]
def postOptions(self):
- proj = self... | Apply dev's patch to handle missing project name - Fixes #<I> | py |
diff --git a/hgvs/dataproviders/uta.py b/hgvs/dataproviders/uta.py
index <HASH>..<HASH> 100644
--- a/hgvs/dataproviders/uta.py
+++ b/hgvs/dataproviders/uta.py
@@ -481,10 +481,8 @@ class UTA_postgresql(UTABase):
def close(self):
if self.pooling:
- _logger.warning("Closing pool; future mapping ... | closes #<I>: Removed useless warning (Closing connection; future mapping and validation will fail) | py |
diff --git a/openquake/calculators/hazard/classical/core.py b/openquake/calculators/hazard/classical/core.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/hazard/classical/core.py
+++ b/openquake/calculators/hazard/classical/core.py
@@ -224,6 +224,11 @@ class ClassicalHazardCalculator(haz_general.BaseHazardCa... | calcs/hazard/classical/core: Classical calculator now caches the site collection during pre-execute. Former-commit-id: <I>aa1bbf<I>ec9a<I>e<I>f<I>bd<I>b6ba<I>e | py |
diff --git a/gns3server/controller/project.py b/gns3server/controller/project.py
index <HASH>..<HASH> 100644
--- a/gns3server/controller/project.py
+++ b/gns3server/controller/project.py
@@ -609,7 +609,7 @@ class Project:
def _topology_file(self):
return os.path.join(self.path, self._filename)
- @asy... | Avoid crash due to persmission error on the .backup file | py |
diff --git a/ca/django_ca/widgets.py b/ca/django_ca/widgets.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/widgets.py
+++ b/ca/django_ca/widgets.py
@@ -144,14 +144,13 @@ class SubjectWidget(CustomMultiWidget):
if value is None: # pragma: no cover
return ('', '', '', '', '', '')
- # NO... | fix OU for resigning certificates | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -80,7 +80,7 @@ class TestCommand(Command):
self.run_command('build')
build_cmd = self.get_finalized_command('build_ext')
runner = os.path.abspath('tests/runtests.py')
- test_cmd = 'python {0}'... | Replace hardcoded python executable with sys.executable | py |
diff --git a/albumentations/core/composition.py b/albumentations/core/composition.py
index <HASH>..<HASH> 100644
--- a/albumentations/core/composition.py
+++ b/albumentations/core/composition.py
@@ -198,7 +198,8 @@ def data_postprocessing(data_name, params, check_fn, filter_fn, convert_fn, data
if params['format']... | Condition keypoint validity check on input param (#<I>) | py |
diff --git a/ratcave/mesh.py b/ratcave/mesh.py
index <HASH>..<HASH> 100644
--- a/ratcave/mesh.py
+++ b/ratcave/mesh.py
@@ -13,7 +13,7 @@ from .utils import gl as ugl
from .utils import vertices as vertutils
from .utils import mixins
from . import physical, shader
-from . import texture as texture_module
+from .textu... | replaced 'texture_module' with the Texture class, to make more idiomatic. | py |
diff --git a/peercoin_rpc/peercoin_rpc.py b/peercoin_rpc/peercoin_rpc.py
index <HASH>..<HASH> 100644
--- a/peercoin_rpc/peercoin_rpc.py
+++ b/peercoin_rpc/peercoin_rpc.py
@@ -45,7 +45,9 @@ class Client:
self.port = port
self.url = 'http://{0}:{1}'.format(self.ip, self.port)
- self.hea... | use request session object wide rather than starting a new one for each request. | py |
diff --git a/tests/func/test_add.py b/tests/func/test_add.py
index <HASH>..<HASH> 100644
--- a/tests/func/test_add.py
+++ b/tests/func/test_add.py
@@ -296,8 +296,9 @@ class TestShouldUpdateStateEntryForDirectoryAfterAdd(TestDvc):
self.assertEqual(ret, 0)
self.assertEqual(file_md5_counter.mock.... | test: ls/dir depends on platform, dir is not supported by Mac | py |
diff --git a/pymouse/base.py b/pymouse/base.py
index <HASH>..<HASH> 100644
--- a/pymouse/base.py
+++ b/pymouse/base.py
@@ -36,12 +36,14 @@ class PyMouseMeta(object):
raise NotImplementedError
- def click(self, x, y, button = 1):
- """Click the mouse on a givven x, y and button.
- Button is... | Extend click() by multi-click functionality. | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -67,7 +67,9 @@ intersphinx_mapping = {'python': ('http://docs.python.org/2', None),
#Stop autodoc from skipping __init__
def skip(app, what, name, obj, skip, options):
- if name == "__init__":
+ i... | added doc of __eq__ and __contains__ | py |
diff --git a/gpiozero/internal_devices.py b/gpiozero/internal_devices.py
index <HASH>..<HASH> 100644
--- a/gpiozero/internal_devices.py
+++ b/gpiozero/internal_devices.py
@@ -92,6 +92,22 @@ class PolledInternalDevice(InternalDevice):
def event_delay(self, value):
self._event_delay = float(value)
+ de... | Fix wait-for methods In my zeal for efficiency the background thread wasn't running when only the wait-for methods were called! | py |
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_utils.py
+++ b/tests/unit/test_utils.py
@@ -5,7 +5,9 @@ from quickbooks import utils
class UtilsTests(unittest.TestCase):
def test_build_where_clause(self):
where_clause = utils.build_where_... | Updated test for test_build_where_clause. | py |
diff --git a/hadoopy/_runner.py b/hadoopy/_runner.py
index <HASH>..<HASH> 100644
--- a/hadoopy/_runner.py
+++ b/hadoopy/_runner.py
@@ -66,8 +66,8 @@ def _find_hstreaming():
def _listeq_to_dict(jobconfs):
"""Convert iterators of 'key=val' into a dictionary with later values taking priority."""
if not isinstan... | Updated cmdenvs to convert to string before processing | py |
diff --git a/greg/greg.py b/greg/greg.py
index <HASH>..<HASH> 100755
--- a/greg/greg.py
+++ b/greg/greg.py
@@ -765,13 +765,8 @@ def sync(args):
entries_to_download = []
for entry in feed.podcast.entries:
feed.fix_linkdate(entry)
-<<<<<<< HEAD
if entry.linkdate... | Now that faulty merge has been finally resolved | py |
diff --git a/buildbot/slave/commands.py b/buildbot/slave/commands.py
index <HASH>..<HASH> 100755
--- a/buildbot/slave/commands.py
+++ b/buildbot/slave/commands.py
@@ -395,7 +395,7 @@ class ShellCommand:
argv = ['/bin/sh', '-c', self.command]
display = self.fake_command
else:
- ... | Don't use cmd.exe when executing other exes. Fixes CVS tests on Windows | py |
diff --git a/pydmt/builders/reqs.py b/pydmt/builders/reqs.py
index <HASH>..<HASH> 100644
--- a/pydmt/builders/reqs.py
+++ b/pydmt/builders/reqs.py
@@ -6,7 +6,7 @@ This module build python virtual envrionments
from pydmt.api.one_source_one_target import OneSourceOneTarget
from pydmt.utils.subprocess import check_call
... | added bootrap to reqs too | py |
diff --git a/tests/test_api.py b/tests/test_api.py
index <HASH>..<HASH> 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -6,7 +6,7 @@ import requests_mock
from august.api import API_GET_DOORBELLS_URL, Api, API_GET_LOCKS_URL, \
API_GET_LOCK_STATUS_URL, API_LOCK_URL, API_UNLOCK_URL, API_GET_LOCK_URL, \
... | Added missing import for LockDoorStatus. | py |
diff --git a/shinken/basemodule.py b/shinken/basemodule.py
index <HASH>..<HASH> 100644
--- a/shinken/basemodule.py
+++ b/shinken/basemodule.py
@@ -201,13 +201,19 @@ class BaseModule(object):
def stop_process(self):
"""Request the module process to stop and release it"""
if self.process:
- ... | Enh: still try to join the process after forced kill. | py |
diff --git a/pp/test_scene.py b/pp/test_scene.py
index <HASH>..<HASH> 100644
--- a/pp/test_scene.py
+++ b/pp/test_scene.py
@@ -481,12 +481,12 @@ class TestSatelliteInstrumentScene(unittest.TestCase):
dtype = int))
- self.scene.project(area_id2)
... | Bugfix: Scen tests where wrong in project. | py |
diff --git a/bcbio/variation/vardict.py b/bcbio/variation/vardict.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/vardict.py
+++ b/bcbio/variation/vardict.py
@@ -96,7 +96,7 @@ def _run_vardict_caller(align_bams, items, ref_file, assoc_files,
cmd = ("{var2vcf} -S -f {freq} {tmp_out2} | {vcf... | Vardict changes to accommodate empty files containing no variants | py |
diff --git a/tests/test_test_vectors.py b/tests/test_test_vectors.py
index <HASH>..<HASH> 100644
--- a/tests/test_test_vectors.py
+++ b/tests/test_test_vectors.py
@@ -12,3 +12,31 @@ def test_circuit(Circuit):
function_test_vectors = generate_function_test_vectors(Circuit, fn)
simulator_test_vectors = generate... | Add test for verilator target with test vectors | py |
diff --git a/example/clean.py b/example/clean.py
index <HASH>..<HASH> 100644
--- a/example/clean.py
+++ b/example/clean.py
@@ -11,11 +11,11 @@ from karld.run_together import pool_run_files_to_files
from karld.run_together import serial_run_files_to_files
-def titlize(data_items):
+def contrived_cleaner(data_items)... | Rename cleaner func. Update description | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.