diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/graphtools/graphs.py b/graphtools/graphs.py
index <HASH>..<HASH> 100644
--- a/graphtools/graphs.py
+++ b/graphtools/graphs.py
@@ -311,6 +311,9 @@ class kNNGraph(DataGraph):
bandwidth = bandwidth * bandwidth_scale
+ # check for zero bandwidth
+ bandwidth = np.maximum(b... | remove zero bandwidth warning from knngraph | py |
diff --git a/jawa/cf.py b/jawa/cf.py
index <HASH>..<HASH> 100644
--- a/jawa/cf.py
+++ b/jawa/cf.py
@@ -232,8 +232,7 @@ class ClassFile(object):
A list of direct superinterfaces of this class as indexes into
the constant pool, in left-to-right order.
"""
- for interface_index in self._i... | ClassFile.interfaces is now a list not an iterator (usability improvement) | py |
diff --git a/livebridge/controller.py b/livebridge/controller.py
index <HASH>..<HASH> 100644
--- a/livebridge/controller.py
+++ b/livebridge/controller.py
@@ -58,6 +58,7 @@ class Controller(object):
is_changed = await self.control_data.check_control_change(self.control_file)
if is_changed is T... | Added log message when ending control data watcher. | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -141,6 +141,7 @@ class Minion(object):
Return the functions and the returners loaded up from the loader
module
'''
+ self.opts['grains'] = salt.loader.grains(self.opts)... | Fix dynamic reloading of grains | py |
diff --git a/python/thunder/rdds/writers.py b/python/thunder/rdds/writers.py
index <HASH>..<HASH> 100644
--- a/python/thunder/rdds/writers.py
+++ b/python/thunder/rdds/writers.py
@@ -150,8 +150,8 @@ class LocalFSCollectedFileWriter(object):
SCHEMAS_TO_PARALLELWRITERS = {
'': LocalFSParallelWriter,
'file': Lo... | add s3 writer to parallelWriters lookup table | py |
diff --git a/nodeconductor/iaas/tests/test_provisioning.py b/nodeconductor/iaas/tests/test_provisioning.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/iaas/tests/test_provisioning.py
+++ b/nodeconductor/iaas/tests/test_provisioning.py
@@ -268,6 +268,19 @@ class InstanceApiPermissionTest(UrlResolverMixin, test.APITr... | Add a test for a conflicting instance state | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,8 @@ LICENSE = read('LICENSE.txt')
source = 'http://pypi.python.org/packages/source'
-install_requires = ['numpy', 'scipy', 'matplotlib', 'pandas', 'gsw']
+install_requires = ['numpy', 'scipy', 'matplotlib', 'pa... | Added seawater and ctd as dependencies. | py |
diff --git a/ELiDE/ELiDE/game.py b/ELiDE/ELiDE/game.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/game.py
+++ b/ELiDE/ELiDE/game.py
@@ -41,7 +41,7 @@ class GameApp(App):
branch = StringProperty('trunk')
turn = NumericProperty(0)
tick = NumericProperty(0)
- turn_length = 0.5
+ turn_length = Numer... | Make turn_length a NumericProperty In case you need to change it mid-game for whatever reason, or want to set it in kv | py |
diff --git a/gwpy/tests/test_array.py b/gwpy/tests/test_array.py
index <HASH>..<HASH> 100644
--- a/gwpy/tests/test_array.py
+++ b/gwpy/tests/test_array.py
@@ -234,7 +234,6 @@ class SeriesTestCase(CommonTests, unittest.TestCase):
# check that warnings are printed for out-of-bounds
with pytest.warns(Use... | tests: just check that at least one warning is printed | py |
diff --git a/leadbutt.py b/leadbutt.py
index <HASH>..<HASH> 100644
--- a/leadbutt.py
+++ b/leadbutt.py
@@ -139,10 +139,8 @@ def main(*args, **kwargs):
# help: http://boto.readthedocs.org/en/latest/ref/cloudwatch.html#boto.ec2.cloudwatch.CloudWatchConnection.get_metric_statistics
config_file = options.pop('--c... | refactor to try and simplify period type conversion logic | py |
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/source.py
+++ b/openquake/commonlib/source.py
@@ -786,7 +786,9 @@ def collect_source_model_paths(smlt):
with node.context(smlt, blevel):
for bset in blevel:
... | Fixed collect_source_model_paths Former-commit-id: <I>be<I>a<I>bd<I>b<I>b<I>f0a7e<I> | py |
diff --git a/indy_node/test/catchup/test_batch_rejected_and_later_ordered_on_catchup.py b/indy_node/test/catchup/test_batch_rejected_and_later_ordered_on_catchup.py
index <HASH>..<HASH> 100644
--- a/indy_node/test/catchup/test_batch_rejected_and_later_ordered_on_catchup.py
+++ b/indy_node/test/catchup/test_batch_reject... | Temporary skip test_batch_rejected_and_later_ordered_on_catchup | py |
diff --git a/tasks.py b/tasks.py
index <HASH>..<HASH> 100644
--- a/tasks.py
+++ b/tasks.py
@@ -80,14 +80,16 @@ def sites(c):
# TODO: merge w/ invoke's own such task, using invocations or ?
-@ctask(help=test.help)
+@ctask(help=dict(test.help, module='Just run integration/STRING.py'))
def integration(c, module=None... | Tweak parameterized integration runner | py |
diff --git a/promptly/renderers/console.py b/promptly/renderers/console.py
index <HASH>..<HASH> 100644
--- a/promptly/renderers/console.py
+++ b/promptly/renderers/console.py
@@ -46,7 +46,7 @@ class NotificationPrompt(ConsolePrompt):
styles_prefix = Style.styles_for_key('prefix', stylesheet)
styles_la... | fixed issue in python<I> with u prefixed strings | py |
diff --git a/pecan/hooks.py b/pecan/hooks.py
index <HASH>..<HASH> 100644
--- a/pecan/hooks.py
+++ b/pecan/hooks.py
@@ -54,12 +54,17 @@ class TransactionHook(PecanHook):
self.commit = commit
self.rollback = rollback
self.clear = clear
-
+
+ if defer is False:
+ self.... | before hook now re-checks tranactional status | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,14 @@
from setuptools import setup, find_packages
-project_url = 'https://github.com/ociu/sphinx-traceability-extension'
+project_url = 'https://github.com/bavovanachte/sphinx-wavedrom'
requires = ['Sphinx>=0.6'... | Fixed link in setup.py. There was still something remaining from copy-paste operation from different project. | py |
diff --git a/redbeat/schedulers.py b/redbeat/schedulers.py
index <HASH>..<HASH> 100644
--- a/redbeat/schedulers.py
+++ b/redbeat/schedulers.py
@@ -63,7 +63,8 @@ def redis(app=None):
if conf.redis_url.startswith('redis-sentinel') and 'sentinels' in BROKER_TRANSPORT_OPTIONS:
from redis.sentinel imp... | Fix support for Redis Sentinel Redis-py by default returns `bytes` rather than `str`. Redbeat expects values are already decoded into `str`. `decode_responses=True` is passed to `StrictRedis` but it was not passed to `Sentinel`. | py |
diff --git a/src/you_get/extractors/mgtv.py b/src/you_get/extractors/mgtv.py
index <HASH>..<HASH> 100644
--- a/src/you_get/extractors/mgtv.py
+++ b/src/you_get/extractors/mgtv.py
@@ -7,6 +7,7 @@ from ..extractor import VideoExtractor
from json import loads
from urllib.parse import urlsplit
from os.path import dirnam... | [MGTV]Fix some video cannot be downloaded in full length | py |
diff --git a/spatialist/sqlite_util.py b/spatialist/sqlite_util.py
index <HASH>..<HASH> 100644
--- a/spatialist/sqlite_util.py
+++ b/spatialist/sqlite_util.py
@@ -66,7 +66,7 @@ def sqlite_setup(driver=':memory:', extensions=None, verbose=False):
def spatialite_setup():
- if platform.system() is 'Windows':
+ ... | [sqlite_util.spatialite_setup] changed 'is' to '==' | py |
diff --git a/salt/syspaths.py b/salt/syspaths.py
index <HASH>..<HASH> 100644
--- a/salt/syspaths.py
+++ b/salt/syspaths.py
@@ -96,8 +96,6 @@ def _get_windows_root_dir():
# This key will be created by the NullSoft installer
# If salt is currently installed in C:\salt and the user performs an
# upgrade, th... | Remove TODO as it has been TODONE | py |
diff --git a/glymur/jp2box.py b/glymur/jp2box.py
index <HASH>..<HASH> 100644
--- a/glymur/jp2box.py
+++ b/glymur/jp2box.py
@@ -2738,6 +2738,7 @@ class XMLBox(Jp2kBox):
# Try to search for <?xml and go from there.
decl_start = read_buffer.find(b'<?xml')
if decl_start <= -1:
+ ... | Adjusted some comments in XML box parsing. #<I> | py |
diff --git a/configmanager/base.py b/configmanager/base.py
index <HASH>..<HASH> 100644
--- a/configmanager/base.py
+++ b/configmanager/base.py
@@ -63,7 +63,7 @@ def resolve_config_prefix(*prefix):
def parse_bool_str(bool_str):
- return str(bool_str).lower().strip() in ('yes', 'y', 'yeah', 't', 'true', '1', 'yup... | parse_bool_str accepts standard ‘on’ as True | py |
diff --git a/src/quart/blueprints.py b/src/quart/blueprints.py
index <HASH>..<HASH> 100644
--- a/src/quart/blueprints.py
+++ b/src/quart/blueprints.py
@@ -2,7 +2,7 @@ from __future__ import annotations
from functools import update_wrapper
from json import JSONDecoder, JSONEncoder
-from typing import Callable, Itera... | make quart.Blueprint constructor fully compatible with flask.Blueprint | py |
diff --git a/python/ray/data/tests/test_optimize.py b/python/ray/data/tests/test_optimize.py
index <HASH>..<HASH> 100644
--- a/python/ray/data/tests/test_optimize.py
+++ b/python/ray/data/tests/test_optimize.py
@@ -81,6 +81,7 @@ class OnesSource(Datasource):
return read_tasks
+@pytest.mark.skip(reason="Fla... | [Datasets] Skip flaky pipelining memory release test (#<I>) This pipelining memory release test is flaky; it was skipped in this Polars PR, which was then reverted. | py |
diff --git a/src/infi/docopt_completion/zsh.py b/src/infi/docopt_completion/zsh.py
index <HASH>..<HASH> 100644
--- a/src/infi/docopt_completion/zsh.py
+++ b/src/infi/docopt_completion/zsh.py
@@ -22,10 +22,9 @@ _message_next_arg()
fi
done
if [[ $argcount -le ${{#myargs[@]}} ]] ; then
+ _message... | print param name as message along with file list for filename arguments | py |
diff --git a/contract_variable_quantity/tests/test_contract_variable_quantity.py b/contract_variable_quantity/tests/test_contract_variable_quantity.py
index <HASH>..<HASH> 100644
--- a/contract_variable_quantity/tests/test_contract_variable_quantity.py
+++ b/contract_variable_quantity/tests/test_contract_variable_quant... | [IMP] contract: Add past receipt type. Fix yearly. Add month last day | py |
diff --git a/autograd/convenience_wrappers.py b/autograd/convenience_wrappers.py
index <HASH>..<HASH> 100644
--- a/autograd/convenience_wrappers.py
+++ b/autograd/convenience_wrappers.py
@@ -61,7 +61,7 @@ def jacobian(fun, argnum=0):
def hessian_vector_product(fun, argnum=0):
"""Builds a function that returns t... | Updated docstring to reflect new argument order in hess_vec_product | py |
diff --git a/raven/utils/serializer/base.py b/raven/utils/serializer/base.py
index <HASH>..<HASH> 100644
--- a/raven/utils/serializer/base.py
+++ b/raven/utils/serializer/base.py
@@ -175,6 +175,6 @@ if not six.PY3:
# register all serializers
-for obj in globals().values():
+for obj in tuple(globals().values()):
... | Coerce globals to a tuple (fixes GH-<I>) | py |
diff --git a/aioxmpp/utils.py b/aioxmpp/utils.py
index <HASH>..<HASH> 100644
--- a/aioxmpp/utils.py
+++ b/aioxmpp/utils.py
@@ -540,18 +540,22 @@ class AlivenessMonitor:
def proxy_property(owner_attr, member_attr, *,
readonly=False,
allow_delete=False):
+ ga = getattr
+ sa ... | utils: proxy_property: bind stuff to locals for speed | py |
diff --git a/pyscada/hmi/models.py b/pyscada/hmi/models.py
index <HASH>..<HASH> 100644
--- a/pyscada/hmi/models.py
+++ b/pyscada/hmi/models.py
@@ -189,7 +189,7 @@ class ControlPanel(WidgetContentModel):
main_template = get_template('control_panel.html')
main_content = main_template.render(dict(control... | fixup! added a uuid to control_element id in the hmi, updated the move data script, updated docs | py |
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index <HASH>..<HASH> 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -2661,11 +2661,12 @@ class _FlowSpecOperatorBase(_FlowSpecComponentBase):
return cls(operator, value), rest
def serialize_body(self):
- length = (self.... | packet/bgp: Properly calculate length for FlowSpec RFC <I> says the 'len' field in numeric or bitmask operators represents that the length of the value field is [1 << 'len']. But, in serializing FlowSpec messages, the packet library uses the `len` field as the length of the value field itself. This patch fixes it to s... | py |
diff --git a/raiden_contracts/deploy/contract_verifier.py b/raiden_contracts/deploy/contract_verifier.py
index <HASH>..<HASH> 100644
--- a/raiden_contracts/deploy/contract_verifier.py
+++ b/raiden_contracts/deploy/contract_verifier.py
@@ -109,7 +109,7 @@ class ContractVerifier:
services=services,
... | Shallower indent in deployment JSON files | py |
diff --git a/representatives/models.py b/representatives/models.py
index <HASH>..<HASH> 100644
--- a/representatives/models.py
+++ b/representatives/models.py
@@ -38,6 +38,12 @@ class Representative(models.Model):
def former_mandates(self):
return self.mandate_set.filter(active=False)
+ def current_g... | adds current model property to representative model | py |
diff --git a/metpy/units.py b/metpy/units.py
index <HASH>..<HASH> 100644
--- a/metpy/units.py
+++ b/metpy/units.py
@@ -16,10 +16,14 @@ units : `pint.UnitRegistry`
from __future__ import division
import pint
+import pint.unit
import numpy as np
units = pint.UnitRegistry(autoconvert_offset_to_baseunit=True)
+# ... | Define a unit for percent. This will properly change to a dimensionless with the right scaling [0, 1]. | py |
diff --git a/openpnm/utils/petsc.py b/openpnm/utils/petsc.py
index <HASH>..<HASH> 100644
--- a/openpnm/utils/petsc.py
+++ b/openpnm/utils/petsc.py
@@ -11,10 +11,13 @@ import scipy.sparse
from openpnm.core import Base
from openpnm.utils import logging
logger = logging.getLogger(__name__)
-import petsc4py
-# Next line... | Protect petsc import via try/except | py |
diff --git a/colorise/parser.py b/colorise/parser.py
index <HASH>..<HASH> 100644
--- a/colorise/parser.py
+++ b/colorise/parser.py
@@ -181,7 +181,7 @@ class ColorFormatParser(object):
r = [None, None]
for token in tokens:
- for i, e in enumerate(('fg=', 'bg=')):
+ for i, e in e... | Use a list for better readability | py |
diff --git a/sphinxarg/parser.py b/sphinxarg/parser.py
index <HASH>..<HASH> 100644
--- a/sphinxarg/parser.py
+++ b/sphinxarg/parser.py
@@ -98,8 +98,7 @@ def parse_parser(parser, data=None, **kwargs):
# Fill in things like %(prog)s in the help section.
# Note that if any keyword is missing, then noth... | Simplify dictionary construction, it now matches what argparse is doing internally | py |
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index <HASH>..<HASH> 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -844,7 +844,7 @@ class ComposeCommand(Command):
self.envelope.attach(sig, filename=name)
logging.debug('attached')
... | ComposeCommand: open signature as binary Otherwise it will be read as a regular python string and be interpreted as octet-stream. | py |
diff --git a/growler/http/responder.py b/growler/http/responder.py
index <HASH>..<HASH> 100644
--- a/growler/http/responder.py
+++ b/growler/http/responder.py
@@ -23,6 +23,10 @@ class GrowlerHTTPResponder():
found in protocol.
"""
+ body_buffer = None
+ content_length = None
+ headers = None
+
... | growler.http.request: Moved some attributes to class level. Exceptions thrown now correctly set the phrase | py |
diff --git a/stacker/lookups/handlers/ssmstore.py b/stacker/lookups/handlers/ssmstore.py
index <HASH>..<HASH> 100644
--- a/stacker/lookups/handlers/ssmstore.py
+++ b/stacker/lookups/handlers/ssmstore.py
@@ -1,4 +1,4 @@
-import boto3
+from stacker.session_cache import get_session
from ...util import read_value_from_p... | Update ssmstore handler to use cred cache | py |
diff --git a/python/thunder/rdds/fileio/readers.py b/python/thunder/rdds/fileio/readers.py
index <HASH>..<HASH> 100644
--- a/python/thunder/rdds/fileio/readers.py
+++ b/python/thunder/rdds/fileio/readers.py
@@ -62,6 +62,10 @@ def appendExtensionToPathSpec(datapath, ext=None):
# we already have a literal wi... | more path resolution; fix case where literal file specified with nonstandard extension | py |
diff --git a/werkzeug/useragents.py b/werkzeug/useragents.py
index <HASH>..<HASH> 100644
--- a/werkzeug/useragents.py
+++ b/werkzeug/useragents.py
@@ -38,6 +38,7 @@ class UserAgentParser(object):
('ask jeeves', 'ask'),
(r'aol|america\s+online\s+browser', 'aol'),
('opera', 'opera'),
+ (... | Added chrome to the user agent parser. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ def read(fname):
setup(
name = "assembla",
- version = "1.1.1",
+ version = "1.1.2",
packages = find_packages(),
install_requires = [ | Bumped version to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -49,7 +49,7 @@ setup(name='moi',
packages=['moi'],
extras_require={'test': ["nose >= 0.10.1", "pep8", 'mock']},
install_requires=['future', 'tornado==3.1.1', 'toredis', 'redis',
- 'i... | Add ipython <I> version constraint to avoid errors | py |
diff --git a/wishlib/ma/qt.py b/wishlib/ma/qt.py
index <HASH>..<HASH> 100644
--- a/wishlib/ma/qt.py
+++ b/wishlib/ma/qt.py
@@ -21,9 +21,9 @@
# THE SOFTWARE.
import wishlib.qt
-wishlib.qt.initialize("pyside")
+wishlib.qt.init("pyside")
-from ..qt import QtGui, wrapinstance, set_style
+from ..qt import QtGui, QtCor... | show_qt() for maya | py |
diff --git a/pages/views.py b/pages/views.py
index <HASH>..<HASH> 100644
--- a/pages/views.py
+++ b/pages/views.py
@@ -88,13 +88,13 @@ def details(request, path=None, lang=None, delegation=True, **kwargs):
result = resolve('/', urlconf)
if len(result):
view, args, kwargs = result
+ ... | Make the delegation code compatible with python <I> | py |
diff --git a/openid/message.py b/openid/message.py
index <HASH>..<HASH> 100644
--- a/openid/message.py
+++ b/openid/message.py
@@ -273,7 +273,7 @@ class Message(object):
ns_key = 'openid.ns'
else:
ns_key = 'openid.ns.' + alias
- args[ns_key] = ns_uri
+ ... | Fix encoding of namespace uris. Namespace for openid is usually unicode type, but it is not encoded to string in response. | py |
diff --git a/simpleai/search/utils.py b/simpleai/search/utils.py
index <HASH>..<HASH> 100644
--- a/simpleai/search/utils.py
+++ b/simpleai/search/utils.py
@@ -16,6 +16,12 @@ class BoundedPriorityQueue(object):
self.limit = limit
self.queue = list()
+ def __getitem__(self, val):
+ return se... | Added __len__ and __getitem__ methods | py |
diff --git a/quilt_server/views.py b/quilt_server/views.py
index <HASH>..<HASH> 100644
--- a/quilt_server/views.py
+++ b/quilt_server/views.py
@@ -449,7 +449,7 @@ def package_put(auth_user, owner, package_name, package_hash):
)
)
.all()
- )
+ ) if all_hashes else... | Fix a sqlalchemy warning Don't run queries with an empty IN clause. | py |
diff --git a/ddsc/sdk/tests/test_client.py b/ddsc/sdk/tests/test_client.py
index <HASH>..<HASH> 100644
--- a/ddsc/sdk/tests/test_client.py
+++ b/ddsc/sdk/tests/test_client.py
@@ -278,7 +278,7 @@ class TestDDSConnection(TestCase):
@patch('ddsc.sdk.client.DataServiceApi')
@patch('ddsc.sdk.client.DataServiceAuth... | use autospec to surface upload_file bug | py |
diff --git a/bika/lims/browser/analysisrequest/publish.py b/bika/lims/browser/analysisrequest/publish.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/analysisrequest/publish.py
+++ b/bika/lims/browser/analysisrequest/publish.py
@@ -222,6 +222,19 @@ class AnalysisRequestPublishView(BrowserView):
"""
... | Added function to generate a string containing the ar rasults dict structure | py |
diff --git a/tornado/test/twisted_test.py b/tornado/test/twisted_test.py
index <HASH>..<HASH> 100644
--- a/tornado/test/twisted_test.py
+++ b/tornado/test/twisted_test.py
@@ -24,6 +24,7 @@ import shutil
import signal
import tempfile
import threading
+import warnings
try:
import fcntl
@@ -444,7 +445,11 @@ cla... | Fix a DeprecationWarning in twisted_test with Twisted <I>. | py |
diff --git a/volapi/volapi.py b/volapi/volapi.py
index <HASH>..<HASH> 100644
--- a/volapi/volapi.py
+++ b/volapi/volapi.py
@@ -41,7 +41,7 @@ from .utils import delayed_close, html_to_text, random_id, to_json
LOGGER = logging.getLogger(__name__)
-__version__ = "5.0.0"
+__version__ = "5.0.1"
MAX_UNACKED = 10
BAS... | Version <I> (the pypi version) because pypi sperged on me | py |
diff --git a/ccompiler.py b/ccompiler.py
index <HASH>..<HASH> 100644
--- a/ccompiler.py
+++ b/ccompiler.py
@@ -15,6 +15,7 @@ from distutils.spawn import spawn
from distutils.file_util import move_file
from distutils.dir_util import mkpath
from distutils.dep_util import newer_pairwise, newer_group
+from distutils.sys... | Bug #<I>: strip directories when building Python. Out-of-tree builds should work again. | py |
diff --git a/zxbparser.py b/zxbparser.py
index <HASH>..<HASH> 100755
--- a/zxbparser.py
+++ b/zxbparser.py
@@ -508,7 +508,7 @@ def p_arr_decl_initialized(p):
return False
if len(remaining) != boundlist[0].count:
- syntax_error(p.lineno(9), 'Mismatched vector size. Expected %i, got %i.... | Bugfix: error in BOUNDlist count. | 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
@@ -133,7 +133,7 @@ def upgrade_available(name):
return latest_version(name) != ''
-def list_upgrades(refresh=True):
+def list_upgrades(refresh=True, **kwargs):... | salt/modules/win_pkg.py: add kwargs to list_upgrades This is done for API compatibility | py |
diff --git a/openid/sreg.py b/openid/sreg.py
index <HASH>..<HASH> 100644
--- a/openid/sreg.py
+++ b/openid/sreg.py
@@ -396,6 +396,7 @@ class SRegResponse(Extension):
ns_alias = 'sreg'
def __init__(self, data=None, sreg_ns_uri=ns_uri):
+ Extension.__init__(self)
if data is None:
... | [project @ pylint cleanups for openid/sreg.py] | py |
diff --git a/openquake/hazardlib/gsim/mgmpe/avg_poe_gmpe.py b/openquake/hazardlib/gsim/mgmpe/avg_poe_gmpe.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/gsim/mgmpe/avg_poe_gmpe.py
+++ b/openquake/hazardlib/gsim/mgmpe/avg_poe_gmpe.py
@@ -111,6 +111,6 @@ class AvgPoeGMPE(GMPE):
cm.gsims = self.gsims
... | Added comment [ci skip] | py |
diff --git a/LiSE/LiSE/reify.py b/LiSE/LiSE/reify.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/reify.py
+++ b/LiSE/LiSE/reify.py
@@ -15,13 +15,11 @@
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERC... | Make note of the changes to reify | py |
diff --git a/src/installer/__init__.py b/src/installer/__init__.py
index <HASH>..<HASH> 100644
--- a/src/installer/__init__.py
+++ b/src/installer/__init__.py
@@ -8,7 +8,7 @@ from ._pip import (
from .operations import sync, clean
from .synchronizer import Cleaner, Synchronizer
-__version__ = '0.1.0'
+__version__ =... | Prebump to <I>.dev0 | py |
diff --git a/fedmsg_meta_fedora_infrastructure/fasshim.py b/fedmsg_meta_fedora_infrastructure/fasshim.py
index <HASH>..<HASH> 100644
--- a/fedmsg_meta_fedora_infrastructure/fasshim.py
+++ b/fedmsg_meta_fedora_infrastructure/fasshim.py
@@ -106,7 +106,7 @@ def make_fasjson_cache(**config):
log.warn("No fasjson-c... | Use better-fitting configuration key for FASJSON | py |
diff --git a/pyaml/__init__.py b/pyaml/__init__.py
index <HASH>..<HASH> 100644
--- a/pyaml/__init__.py
+++ b/pyaml/__init__.py
@@ -114,7 +114,7 @@ class UnsafePrettyYAMLDumper(PrettyYAMLDumper):
style = dumper.pyaml_string_val_style
if not style:
style = 'plain'
- if '\n' in data or (data and data[0] in '!&... | Strings starting with "[" need to be quoted as well. | py |
diff --git a/fastly/models.py b/fastly/models.py
index <HASH>..<HASH> 100644
--- a/fastly/models.py
+++ b/fastly/models.py
@@ -91,6 +91,16 @@ class Service(Model):
COLLECTION_PATTERN = '/service'
INSTANCE_PATTERN = COLLECTION_PATTERN + '/$id'
+ def details(self):
+ resp, data = self._query('GET', ... | feature(service): Add convenience methods for active version number and Service Details API | py |
diff --git a/web/dispatch/object/dispatch.py b/web/dispatch/object/dispatch.py
index <HASH>..<HASH> 100644
--- a/web/dispatch/object/dispatch.py
+++ b/web/dispatch/object/dispatch.py
@@ -58,7 +58,7 @@ class ObjectDispatch(object):
for previous, current in ipeek(path): # Things can get hairy, so we need to track... | Dynamic class instantiation. If no context is given – `context=None` – no arguments will be passed during class instantiation. | py |
diff --git a/great_expectations/dataset/autoinspect.py b/great_expectations/dataset/autoinspect.py
index <HASH>..<HASH> 100644
--- a/great_expectations/dataset/autoinspect.py
+++ b/great_expectations/dataset/autoinspect.py
@@ -27,10 +27,10 @@ def columns_exist(inspect_dataset):
Args:
inspect_dataset (grea... | Avoid hasattrs for betters python2/3 compatibility | py |
diff --git a/tcex/testing/test_case.py b/tcex/testing/test_case.py
index <HASH>..<HASH> 100644
--- a/tcex/testing/test_case.py
+++ b/tcex/testing/test_case.py
@@ -470,7 +470,7 @@ class TestCase:
'apiservice',
'triggerservice',
'webhooktriggerservice',
- ]:
+ ] and se... | making it so no exit message is written if profile is to be skipped | py |
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/yumpkg.py
+++ b/salt/modules/yumpkg.py
@@ -149,7 +149,7 @@ def _yum():
return __context__[contextkey]
-def _call_yum(args, **kwargs):
+def _call_yum(args, scope=False, **kwargs):
'''
Call yum/d... | Add scope for yum/dnf | py |
diff --git a/salt/modules/test.py b/salt/modules/test.py
index <HASH>..<HASH> 100644
--- a/salt/modules/test.py
+++ b/salt/modules/test.py
@@ -23,7 +23,6 @@ def echo(text):
salt '*' test.echo 'foo bar baz quo qux'
'''
- print 'Echo got called!'
return text
@@ -76,8 +75,9 @@ def get_opts():
... | Remove a print in test and clean up the doctext | py |
diff --git a/tweepy/api.py b/tweepy/api.py
index <HASH>..<HASH> 100644
--- a/tweepy/api.py
+++ b/tweepy/api.py
@@ -3299,9 +3299,18 @@ class API:
Check on the progress of a chunked media upload. If the upload has
succeeded, it's safe to create a Tweet with this ``media_id``.
- :param media_id:... | Update and improve documentation for API.get_media_upload_status | py |
diff --git a/openquake/hazardlib/gsim/mgmpe/modifiable_gmpe.py b/openquake/hazardlib/gsim/mgmpe/modifiable_gmpe.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/gsim/mgmpe/modifiable_gmpe.py
+++ b/openquake/hazardlib/gsim/mgmpe/modifiable_gmpe.py
@@ -342,7 +342,8 @@ class ModifiableGMPE(GMPE):
# ... | checking for phi_model before deleting | py |
diff --git a/simpleimages/management/commands/retransform.py b/simpleimages/management/commands/retransform.py
index <HASH>..<HASH> 100644
--- a/simpleimages/management/commands/retransform.py
+++ b/simpleimages/management/commands/retransform.py
@@ -63,8 +63,6 @@ class Command(BaseCommand):
' F... | Removed debug logging in retransform command | py |
diff --git a/salt/runners/survey.py b/salt/runners/survey.py
index <HASH>..<HASH> 100644
--- a/salt/runners/survey.py
+++ b/salt/runners/survey.py
@@ -162,7 +162,7 @@ def _get_pool_results(*args, **kwargs):
# hash minion return values as a string
for minion in sorted(minions):
h = hashlib.sha256(str(... | Fix PEP8 E<I> - test for membership should be "not in" | py |
diff --git a/src/photini/metadata.py b/src/photini/metadata.py
index <HASH>..<HASH> 100644
--- a/src/photini/metadata.py
+++ b/src/photini/metadata.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
## Photini - a simple photo metadata editor.
## http://github.com/jim-easterbrook/Photini
-## Copyright (C) 2012-15 Jim Ea... | Improved GExiv2 version handling This is a better fix for issue #<I>. Known good versions are tried until one is found that is available. If none is found then the PyGIWarning will occur but Photini will continue, allowing new versions to be tested. | py |
diff --git a/src/python/turicreate/toolkits/text_classifier/_text_classifier.py b/src/python/turicreate/toolkits/text_classifier/_text_classifier.py
index <HASH>..<HASH> 100644
--- a/src/python/turicreate/toolkits/text_classifier/_text_classifier.py
+++ b/src/python/turicreate/toolkits/text_classifier/_text_classifier.... | Add l2_penalty property to text_classifier create method (#<I>) | py |
diff --git a/elasticsearch/connection.py b/elasticsearch/connection.py
index <HASH>..<HASH> 100644
--- a/elasticsearch/connection.py
+++ b/elasticsearch/connection.py
@@ -73,13 +73,12 @@ class RequestsHttpConnection(Connection):
# raise errors based on http status codes, let the client handle those if needed... | Add response text to TransportError | py |
diff --git a/symbols/unary.py b/symbols/unary.py
index <HASH>..<HASH> 100644
--- a/symbols/unary.py
+++ b/symbols/unary.py
@@ -14,13 +14,10 @@ from number import SymbolNUMBER
from string_ import SymbolSTRING
from typecast import SymbolTYPECAST
from type_ import SymbolTYPE
-from type_ import SymbolBASICTYPE
from typ... | Clean Up: Removed unused imports | py |
diff --git a/gooey/gui/containers/application.py b/gooey/gui/containers/application.py
index <HASH>..<HASH> 100644
--- a/gooey/gui/containers/application.py
+++ b/gooey/gui/containers/application.py
@@ -145,7 +145,7 @@ class GooeyApplication(wx.Frame):
def onStopExecution(self):
"""Displays a scary messa... | Fix show_stop_warning Previously, show_stop_warning=False would make the stop button do nothing Now, if show_stop_warning=False the stop button stops the program without a warning dialog | py |
diff --git a/simpl/__about__.py b/simpl/__about__.py
index <HASH>..<HASH> 100644
--- a/simpl/__about__.py
+++ b/simpl/__about__.py
@@ -28,7 +28,7 @@ __title__ = 'simpl'
__summary__ = ('simpl is a collection of useful, '
'reusable, common python libraries')
__url__ = 'https://github.com/checkmate/simpl... | chore(vers): bump from <I> to <I> minor version change for new features | py |
diff --git a/pydeconz/deconzdevice.py b/pydeconz/deconzdevice.py
index <HASH>..<HASH> 100644
--- a/pydeconz/deconzdevice.py
+++ b/pydeconz/deconzdevice.py
@@ -42,8 +42,7 @@ class DeconzDevice:
async def async_set(self, field, data, tries=0):
"""Set state of device."""
- if tries == 0:
- ... | Fix retry set state (#<I>) | py |
diff --git a/tests/integration/modules/test_cp.py b/tests/integration/modules/test_cp.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/test_cp.py
+++ b/tests/integration/modules/test_cp.py
@@ -634,6 +634,7 @@ class CPModuleTest(ModuleCase):
finally:
os.unlink(tgt)
+ @with_tempfi... | Resolve bad merge: there should only be one test_get_file_from_env_in_url test | py |
diff --git a/robots/admin.py b/robots/admin.py
index <HASH>..<HASH> 100644
--- a/robots/admin.py
+++ b/robots/admin.py
@@ -20,6 +20,7 @@ class RuleAdmin(admin.ModelAdmin):
list_filter = ('sites',)
list_display = ('robot', 'allowed_urls', 'disallowed_urls')
search_fields = ('robot', 'allowed__pattern', 'd... | Add filter_horizontal for for allowed and disallowed | py |
diff --git a/tests/engines/base_case.py b/tests/engines/base_case.py
index <HASH>..<HASH> 100644
--- a/tests/engines/base_case.py
+++ b/tests/engines/base_case.py
@@ -7,11 +7,13 @@ from PIL import Image as PILImage
from django.conf import settings
import unittest
-settings.configure(THUMBNAIL_WATERMARK="mark.png", ... | fix: set secret key in CI. | py |
diff --git a/autofit/non_linear/paths.py b/autofit/non_linear/paths.py
index <HASH>..<HASH> 100644
--- a/autofit/non_linear/paths.py
+++ b/autofit/non_linear/paths.py
@@ -29,9 +29,7 @@ class Paths:
def __init__(
self,
name="",
- path_prefix=None,
- non_linear_nam... | removed unused arguments from Paths constructor signature | py |
diff --git a/jax/numpy/lax_numpy.py b/jax/numpy/lax_numpy.py
index <HASH>..<HASH> 100644
--- a/jax/numpy/lax_numpy.py
+++ b/jax/numpy/lax_numpy.py
@@ -1249,10 +1249,9 @@ def _intersect1d_sorted_mask(ar1, ar2, return_indices=False):
Helper function for intersect1d which is jit-able
"""
ar = concatenate((a... | Improve np.intersect1d (#<I>) | py |
diff --git a/tests/test_common.py b/tests/test_common.py
index <HASH>..<HASH> 100644
--- a/tests/test_common.py
+++ b/tests/test_common.py
@@ -8,7 +8,7 @@ from pathlib import Path
import pytest
import pretend
-from pip_check_reqs import common
+from pip_check_reqs import common, __version__
@pytest.mark.parame... | Test version_info for inclusion of __version__ | py |
diff --git a/indra/ontology/ontology_graph.py b/indra/ontology/ontology_graph.py
index <HASH>..<HASH> 100644
--- a/indra/ontology/ontology_graph.py
+++ b/indra/ontology/ontology_graph.py
@@ -214,7 +214,8 @@ class IndraOntology(networkx.DiGraph):
Otherwise False.
"""
if self.transitive_clo... | Use labels in transitive closure to save memory | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ def read(fname):
setup(
name='django-authority',
- version='0.1',
+ version='0.2',
description="A Django app that provides generic per-object-permissions for Django's auth app.",
long_descr... | bumped version up after releasing <I> | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -40,7 +40,7 @@ import GEOparse
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.au... | chore: Updated Sphinx config file | py |
diff --git a/autotest/pst_tests.py b/autotest/pst_tests.py
index <HASH>..<HASH> 100644
--- a/autotest/pst_tests.py
+++ b/autotest/pst_tests.py
@@ -975,9 +975,8 @@ def write2_nan_test():
pst.write("test.pst", version=2)
pst = pyemu.Pst(os.path.join("test.pst"))
- print(pst.control_data.nphinored)
- ret... | fix in pst when repeated read and write of v2, some kw args were getting revereted to default values | py |
diff --git a/tests/test_app.py b/tests/test_app.py
index <HASH>..<HASH> 100644
--- a/tests/test_app.py
+++ b/tests/test_app.py
@@ -83,6 +83,7 @@ class TestConfig(unittest.TestCase):
self.assertEqual(self.app.layouts, self.layout_config);
layout_config = {"layouts":{"test":[]}}
+ time.sleep(0.... | add slight delay between layout rewrite | py |
diff --git a/tweepy/api.py b/tweepy/api.py
index <HASH>..<HASH> 100644
--- a/tweepy/api.py
+++ b/tweepy/api.py
@@ -3598,14 +3598,24 @@ class API:
Use this endpoint to initiate a chunked file upload session.
- :param total_bytes: The size of the media being uploaded in bytes.
- :param media_ty... | Update and improve documentation for API.chunked_upload_init | py |
diff --git a/txmongo/collection.py b/txmongo/collection.py
index <HASH>..<HASH> 100644
--- a/txmongo/collection.py
+++ b/txmongo/collection.py
@@ -454,10 +454,10 @@ class Collection(object):
.addCallback(lambda result: result[0] if result else None)
@timeout
- def count(self, spec=None, **kwargs)... | spec->filter in count() signature (with backwards compatibility) | py |
diff --git a/spyder/plugins/plots/widgets/figurebrowser.py b/spyder/plugins/plots/widgets/figurebrowser.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/plots/widgets/figurebrowser.py
+++ b/spyder/plugins/plots/widgets/figurebrowser.py
@@ -717,6 +717,23 @@ class ThumbnailScrollBar(QFrame):
index = 0 if ... | add scroll functionality to ThumbnailScrollBar | py |
diff --git a/jams/eval.py b/jams/eval.py
index <HASH>..<HASH> 100644
--- a/jams/eval.py
+++ b/jams/eval.py
@@ -18,6 +18,7 @@ Evaluation
from collections import defaultdict
+import six
import numpy as np
import mir_eval
@@ -352,7 +353,7 @@ def pattern_to_mireval(ann):
patterns[pattern_id][occurrence_id... | fixed a py3 compatibility issue in pattern discovoery eval | py |
diff --git a/vyper/parser/function_definitions/parse_external_function.py b/vyper/parser/function_definitions/parse_external_function.py
index <HASH>..<HASH> 100644
--- a/vyper/parser/function_definitions/parse_external_function.py
+++ b/vyper/parser/function_definitions/parse_external_function.py
@@ -106,7 +106,7 @@ d... | fix: include stop instruction at end of default func lll | py |
diff --git a/metaseq/plotutils.py b/metaseq/plotutils.py
index <HASH>..<HASH> 100644
--- a/metaseq/plotutils.py
+++ b/metaseq/plotutils.py
@@ -105,9 +105,11 @@ def imshow(arr, x=None, ax=None, vmin=None, vmax=None, percentile=True,
ind = np.arange(arr.shape[0])
if ax is None:
- ax = fig.array_axe... | fix recently introduced bug that would prevent line plot by default | py |
diff --git a/bitstamp/client.py b/bitstamp/client.py
index <HASH>..<HASH> 100644
--- a/bitstamp/client.py
+++ b/bitstamp/client.py
@@ -379,6 +379,10 @@ class Trading(Public):
"""
Returns dictionary with status.
"""
+ data = {'amount': amount,
+ 'currency': currency}
+ ... | Finished the two transfer methods Finished the two transfer methods (untested) | py |
diff --git a/graphene/core/schema.py b/graphene/core/schema.py
index <HASH>..<HASH> 100644
--- a/graphene/core/schema.py
+++ b/graphene/core/schema.py
@@ -75,7 +75,7 @@ class Schema(object):
def types(self):
return self._internal_types
- def execute(self, request='', root=None, vars=None, operation_n... | Added support for custom executor settings | py |
diff --git a/tests/test_actuator.py b/tests/test_actuator.py
index <HASH>..<HASH> 100644
--- a/tests/test_actuator.py
+++ b/tests/test_actuator.py
@@ -234,7 +234,7 @@ def test_back_and_forth_on_activate(mysys):
def test_back_and_forth_on_activate_w_safety_delay(mysys):
- mysys.act.safety_delay = DELAYTIME
+ ... | Try to fix time-dependent test for Travis | py |
diff --git a/coursera/utils.py b/coursera/utils.py
index <HASH>..<HASH> 100644
--- a/coursera/utils.py
+++ b/coursera/utils.py
@@ -24,7 +24,7 @@ def clean_filename(s, minimal_change=False):
If minimal_change is set to true, then we only strip the bare minimum of
characters that are problematic for filesyste... | utils: Update docstring to reflect reality. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.