diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/nodeconductor/structure/serializers.py b/nodeconductor/structure/serializers.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/serializers.py
+++ b/nodeconductor/structure/serializers.py
@@ -112,7 +112,7 @@ class ProjectCreateSerializer(core_serializers.PermissionFieldFilteringMixin,
lo... | project_groups added to filtered_fields (nc-<I>-2) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,8 @@ setup(
tests_require=[
'pytest',
'pytest-cov',
- 'eth-tester[py-evm]==0.1.0b31',
+ 'py-evm==0.2.0a32',
+ 'eth-tester[py-evm]==0.1.0b32',
'web3==4.4.1',
]... | Bump eth-tester and py-evm versions. | py |
diff --git a/tests/test_utils.py b/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -1,6 +1,6 @@
from __future__ import unicode_literals
-from datetime import datetime
+from datetime import datetime, timedelta
from django.test import TestCase
from django.util... | Fix test in python2 | py |
diff --git a/source/rafcon/gui/controllers/execution_history.py b/source/rafcon/gui/controllers/execution_history.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/controllers/execution_history.py
+++ b/source/rafcon/gui/controllers/execution_history.py
@@ -86,7 +86,10 @@ class ExecutionHistoryTreeController(Exten... | fix(execution_history): resolves #<I> | py |
diff --git a/cpenv/api.py b/cpenv/api.py
index <HASH>..<HASH> 100644
--- a/cpenv/api.py
+++ b/cpenv/api.py
@@ -512,6 +512,9 @@ class EnvironmentCache(set):
self.path = path
if not os.path.exists(self.path):
+ root = os.path.dirname(self.path)
+ if not os.path.exists(root):
+ ... | Make sure envcache root path exists | py |
diff --git a/iopipe/constants.py b/iopipe/constants.py
index <HASH>..<HASH> 100644
--- a/iopipe/constants.py
+++ b/iopipe/constants.py
@@ -1,2 +1,2 @@
TIMESTAMP_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
-VERSION = "0.3.1"
+VERSION = "0.4.0" | Version increase for release (#<I>) | py |
diff --git a/sentinelsat/sentinel.py b/sentinelsat/sentinel.py
index <HASH>..<HASH> 100644
--- a/sentinelsat/sentinel.py
+++ b/sentinelsat/sentinel.py
@@ -750,11 +750,17 @@ class SentinelAPI:
if not dl_task.exception() and dl_task.result():
product_info = dl_task.result()
... | Wait for triggering to finish. Solves #<I>. | py |
diff --git a/python/herald/core.py b/python/herald/core.py
index <HASH>..<HASH> 100644
--- a/python/herald/core.py
+++ b/python/herald/core.py
@@ -245,7 +245,7 @@ class Herald(object):
# Call listeners in the thread pool
for listener in msg_listeners:
try:
- self.__pool.enq... | Give the Herald instance to listeners, to avoid them requiring Herald Message listeners only have to provide the herald.listener service, they can use the Herald instance given as first parameter of herald_message() to send a reply. | py |
diff --git a/tests/test_scheduler.py b/tests/test_scheduler.py
index <HASH>..<HASH> 100644
--- a/tests/test_scheduler.py
+++ b/tests/test_scheduler.py
@@ -234,7 +234,7 @@ class TestScheduler(unittest.TestCase):
'url': 'url'
})
time.sleep(0.1)
- self.assertEqual(self.rpc.size(), 0)
... | fix test as task_queue contain processing tasks now | py |
diff --git a/salt/modules/npm.py b/salt/modules/npm.py
index <HASH>..<HASH> 100644
--- a/salt/modules/npm.py
+++ b/salt/modules/npm.py
@@ -65,7 +65,8 @@ def install(pkg=None,
dir=None,
runas=None,
registry=None,
- env=None):
+ env=None,
+ silent=Tr... | Adding ability to disable npm install silent flag | py |
diff --git a/dosagelib/util.py b/dosagelib/util.py
index <HASH>..<HASH> 100644
--- a/dosagelib/util.py
+++ b/dosagelib/util.py
@@ -225,7 +225,10 @@ def urlopen(url, referrer=None, max_content_bytes=None,
"headers": headers,
"timeout": timeout,
}
- if not hasattr(requests, 'adapters'):
+ if ... | Do not prefetch content with requests >= <I> | py |
diff --git a/pysat/tests/test_utils.py b/pysat/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_utils.py
+++ b/pysat/tests/test_utils.py
@@ -250,10 +250,7 @@ class TestBasicNetCDF4():
def teardown(self):
"""Runs after every method to clean up previous testing."""
remove_file... | STY: remove try/except around set_data_dir | py |
diff --git a/dedupe/training.py b/dedupe/training.py
index <HASH>..<HASH> 100644
--- a/dedupe/training.py
+++ b/dedupe/training.py
@@ -41,10 +41,7 @@ class ActiveLearning(object) :
def __init__(self, candidates, data_model) :
self.candidates = candidates
- self.fields = [field for field in data_m... | use data_model.comparison fields to show fields for comparison | py |
diff --git a/tools/c7n_mailer/c7n_mailer/utils.py b/tools/c7n_mailer/c7n_mailer/utils.py
index <HASH>..<HASH> 100644
--- a/tools/c7n_mailer/c7n_mailer/utils.py
+++ b/tools/c7n_mailer/c7n_mailer/utils.py
@@ -261,6 +261,11 @@ def resource_format(resource, resource_type):
elif resource_type == 'iam-profile':
... | tools/c7n_mailer - support for dynamodb-table resource in utils row formatter (#<I>) | py |
diff --git a/tohu/v7/base.py b/tohu/v7/base.py
index <HASH>..<HASH> 100644
--- a/tohu/v7/base.py
+++ b/tohu/v7/base.py
@@ -94,7 +94,7 @@ class TohuBaseGenerator(metaclass=ABCMeta):
@abstractmethod
def spawn(self): # pragma: no cover
- raise NotImplementedError("Class {} does not implement method 'sp... | Ensure that tohu generators must implement __next__ by declaring it as an abstract method | py |
diff --git a/cartoframes/context.py b/cartoframes/context.py
index <HASH>..<HASH> 100644
--- a/cartoframes/context.py
+++ b/cartoframes/context.py
@@ -758,7 +758,6 @@ class CartoContext(object):
bounds = self._get_bounds(nb_layers)
options.update(bounds)
bbox = '{west},{south},{ea... | removes print used in debugging | py |
diff --git a/Evtx/Evtx.py b/Evtx/Evtx.py
index <HASH>..<HASH> 100644
--- a/Evtx/Evtx.py
+++ b/Evtx/Evtx.py
@@ -129,6 +129,23 @@ class FileHeader(Block):
yield ChunkHeader(self._buf, ofs)
ofs += 0x10000
+ def get_record(self, record_num):
+ """
+ Get a Record by record number... | add two convenience methods to File and Chunk headers | py |
diff --git a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/views.py b/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/views.py
index <HASH>..<HASH> 100644
--- a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}... | Ensure only superuser can access upload/download functionality | py |
diff --git a/harvestingkit/elsevier_package.py b/harvestingkit/elsevier_package.py
index <HASH>..<HASH> 100644
--- a/harvestingkit/elsevier_package.py
+++ b/harvestingkit/elsevier_package.py
@@ -592,6 +592,8 @@ class ElsevierPackage(object):
issue = get_value_in_tag(xml_doc, "prism:number")
fi... | elsevier_package: take articleID if journal does not use pagination * If no first_page is found the code now looks for an articleID. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ test_requirements = [
]
setup(
- name='googlesearch',
+ name='google-search',
version='1.0.0',
description="Library for scraping google search results",
long_description=readme + '\n\n' ... | changed name to match pypi repo | py |
diff --git a/twitcher/middleware.py b/twitcher/middleware.py
index <HASH>..<HASH> 100644
--- a/twitcher/middleware.py
+++ b/twitcher/middleware.py
@@ -1,6 +1,6 @@
from webob import Request
-from twitcher.owsexceptions import OWSServiceNotAllowed
+from twitcher.owsexceptions import OWSException, OWSServiceNotAllowed
... | fixed usage of owsexceptions in middleware | py |
diff --git a/test_16x2.py b/test_16x2.py
index <HASH>..<HASH> 100755
--- a/test_16x2.py
+++ b/test_16x2.py
@@ -53,7 +53,7 @@ if len(sys.argv) < 2:
if sys.argv[1] == 'i2c':
if len(sys.argv) != 5:
print_usage()
- lcd = i2c.CharLCD(int(sys.argv[3], 16), cols=16, rows=2, charmap=sys.argv[4], i2c_expander=... | test_<I>x2: Fix error caused by removing default value for i2c_expander | py |
diff --git a/soccer/request_handler.py b/soccer/request_handler.py
index <HASH>..<HASH> 100644
--- a/soccer/request_handler.py
+++ b/soccer/request_handler.py
@@ -66,7 +66,7 @@ class RequestHandler(object):
click.secho("No action during past week. Change the time "
... | Added missing arguments `show_upcoming, use_<I>_hour_format` was missing from call to `self.writer.team_scores()`. | py |
diff --git a/pyinstrument/profiler.py b/pyinstrument/profiler.py
index <HASH>..<HASH> 100644
--- a/pyinstrument/profiler.py
+++ b/pyinstrument/profiler.py
@@ -34,6 +34,8 @@ class Profiler(object):
self.stack_self_time = {}
def start(self, use_signal=True):
+ self.last_profile_time = timer()
+
... | Fix event profiler coming back with incorrect timings for the first frame | py |
diff --git a/plenum/common/tracker.py b/plenum/common/tracker.py
index <HASH>..<HASH> 100644
--- a/plenum/common/tracker.py
+++ b/plenum/common/tracker.py
@@ -13,12 +13,12 @@ class Tracker:
un_committed_state = ()
if state_root != "":
- un_committed_state = un_committed_state + (state_roo... | minor refactor and fixed one error in logic | py |
diff --git a/api/src/opentrons/hardware_control/simulator.py b/api/src/opentrons/hardware_control/simulator.py
index <HASH>..<HASH> 100644
--- a/api/src/opentrons/hardware_control/simulator.py
+++ b/api/src/opentrons/hardware_control/simulator.py
@@ -5,7 +5,7 @@ from threading import Event
from typing import Dict, Opt... | fix(api): apiv2: simulator should find pipettes by name versus model (#<I>) Due to the nickname not being a subset of the model name in gen2 anymore, the simulator for api v2 no longer recognized p<I>_single_gen2 as a valid name to load a pipette into a protocol context. This change looks through the `name` field of t... | py |
diff --git a/paramiko/transport.py b/paramiko/transport.py
index <HASH>..<HASH> 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -1534,7 +1534,9 @@ class Transport (threading.Thread, ClosingContextManager):
m.add_bytes(self.H)
m.add_byte(b(id))
m.add_bytes(self.session_id)
- ... | Fallback to sha1 in _compute_key | py |
diff --git a/engineio/asyncio_client.py b/engineio/asyncio_client.py
index <HASH>..<HASH> 100644
--- a/engineio/asyncio_client.py
+++ b/engineio/asyncio_client.py
@@ -307,7 +307,8 @@ class AsyncClient(client.Client):
websocket_url + self._get_url_timestamp(),
headers=headers)
... | Catch more connection exceptions in the asyncio client (Fixes #<I>) | py |
diff --git a/phoebe/__init__.py b/phoebe/__init__.py
index <HASH>..<HASH> 100644
--- a/phoebe/__init__.py
+++ b/phoebe/__init__.py
@@ -21,9 +21,14 @@ if os.getcwd().find(os.path.abspath(os.path.split(os.path.split(__file__)[0])[0]
# unless 'Agg' is used before the import. All X-systems define the
# 'DISPLAY' environm... | removed dependency on matplotlib mpl is a soft-dependency | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ setup(
url='http://github.com/praekelt/django-recaptcha',
packages=find_packages(),
tests_require=[
- 'django-setuptest>=0.0.6',
+ 'django-setuptest>=0.1',
],
test_suite="s... | Bumped django setuptests version | py |
diff --git a/rawdisk/plugins/filesystems/ntfs/bootsector.py b/rawdisk/plugins/filesystems/ntfs/bootsector.py
index <HASH>..<HASH> 100644
--- a/rawdisk/plugins/filesystems/ntfs/bootsector.py
+++ b/rawdisk/plugins/filesystems/ntfs/bootsector.py
@@ -80,7 +80,7 @@ class BootSector(RawStruct):
@property
def tota... | convert to py3, num of clusters is int | py |
diff --git a/mapillary_tools/processing.py b/mapillary_tools/processing.py
index <HASH>..<HASH> 100644
--- a/mapillary_tools/processing.py
+++ b/mapillary_tools/processing.py
@@ -715,7 +715,7 @@ def failed_process(file_path, process):
def processed_images_rootpath(filepath):
- return os.path.join(os.path.dirnam... | Fix spelling in the processed images mapillary path Note that this will cause Mapillary to no longer find the files from previous runs. | py |
diff --git a/octodns/provider/fastdns.py b/octodns/provider/fastdns.py
index <HASH>..<HASH> 100644
--- a/octodns/provider/fastdns.py
+++ b/octodns/provider/fastdns.py
@@ -181,7 +181,7 @@ class AkamaiProvider(BaseProvider):
def __init__(self, id, client_secret, host, access_token, client_token,
co... | Update octodns/provider/fastdns.py | py |
diff --git a/bika/lims/browser/partition_magic.py b/bika/lims/browser/partition_magic.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/partition_magic.py
+++ b/bika/lims/browser/partition_magic.py
@@ -81,6 +81,10 @@ class PartitionMagicView(BrowserView):
)
partitions.append(parti... | Ensure analyses from primary are removed after being added to part (#<I>) | py |
diff --git a/pysat/instruments/demeter_iap.py b/pysat/instruments/demeter_iap.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/demeter_iap.py
+++ b/pysat/instruments/demeter_iap.py
@@ -55,6 +55,10 @@ multi_file_day = True
# Use default demeter download method
download = demeter_methods.download
+# use default... | Added link to list_remote_files in demeter_methods | py |
diff --git a/statsd/counter.py b/statsd/counter.py
index <HASH>..<HASH> 100644
--- a/statsd/counter.py
+++ b/statsd/counter.py
@@ -1,6 +1,20 @@
import statsd
+# The doctests in this file, when run, will try to send data on the wire. To
+# keep this from happening, we hook into nose's machinery to mock out
+# `Con... | Un-break doctests in counter.py. These test broke as we're now reporting back if packets are making it to the destination. These tests are a bit suspicious to begin with, as they're actually sending data out on the wire every time you run them, which isn't quite what unittests should be doing. The fix implemented he... | py |
diff --git a/regdom/__init__.py b/regdom/__init__.py
index <HASH>..<HASH> 100644
--- a/regdom/__init__.py
+++ b/regdom/__init__.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
__title__ = 'regdom'
-__version__ = '0.2'
-__build__ = 0x03
+__version__ = '0.3'
+__build__ = 0x04
__author__ = 'Huy Phan'
__license__ = 'Apach... | Bumped to version <I> | py |
diff --git a/signalfx/signalflow/computation.py b/signalfx/signalflow/computation.py
index <HASH>..<HASH> 100644
--- a/signalfx/signalflow/computation.py
+++ b/signalfx/signalflow/computation.py
@@ -108,6 +108,7 @@ class Computation(object):
# a computation has a high rate of member churn.
if ... | Also yield metadata messages In addition to intercepting and collecting metadata, also yield the metadata messages to the user so they can use them if they need/want to (useful for being notified of metadata updates for example). | py |
diff --git a/dyndnsc/detector/iface.py b/dyndnsc/detector/iface.py
index <HASH>..<HASH> 100644
--- a/dyndnsc/detector/iface.py
+++ b/dyndnsc/detector/iface.py
@@ -65,10 +65,10 @@ class IPDetector_Iface(IPDetector):
addrlist = netifaces.ifaddresses(self.opts['iface'])[netifaces.AF_INET6]
el... | catch more specific exception. Code style. Fixes #6 | py |
diff --git a/pyang/error.py b/pyang/error.py
index <HASH>..<HASH> 100644
--- a/pyang/error.py
+++ b/pyang/error.py
@@ -343,7 +343,13 @@ def err_to_str(tag, args):
return 'unknown error %s' % tag
def err_add(errors, pos, tag, args):
- errors.append((copy.copy(pos), tag, args))
+ error = (copy.copy(pos)... | don't add suplicate errors | py |
diff --git a/ccmlib/cmds/node_cmds.py b/ccmlib/cmds/node_cmds.py
index <HASH>..<HASH> 100644
--- a/ccmlib/cmds/node_cmds.py
+++ b/ccmlib/cmds/node_cmds.py
@@ -397,7 +397,7 @@ class NodeJsonCmd(Cmd):
if self.keyspace is None:
print_("You need a keyspace specified (option -k) if you specify ... | Json cmd was ordering args incorrectly | py |
diff --git a/sorl/thumbnail/admin/compat.py b/sorl/thumbnail/admin/compat.py
index <HASH>..<HASH> 100644
--- a/sorl/thumbnail/admin/compat.py
+++ b/sorl/thumbnail/admin/compat.py
@@ -33,7 +33,7 @@ class AdminImageWidget(forms.FileInput):
ext = 'JPG'
try:
aux_ext = str(value).s... | Update compat.py optimizing condition of image format | py |
diff --git a/metadown/__init__.py b/metadown/__init__.py
index <HASH>..<HASH> 100644
--- a/metadown/__init__.py
+++ b/metadown/__init__.py
@@ -1 +1 @@
-__version__ = '0.6'
\ No newline at end of file
+__version__ = '0.7-dev'
\ No newline at end of file | Bump to <I>-dev | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -268,8 +268,8 @@ Programming Language :: Python
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
-Classifier:... | Fix classifier in setup.py. | py |
diff --git a/packages/sdk/snet/sdk/__init__.py b/packages/sdk/snet/sdk/__init__.py
index <HASH>..<HASH> 100644
--- a/packages/sdk/snet/sdk/__init__.py
+++ b/packages/sdk/snet/sdk/__init__.py
@@ -77,6 +77,7 @@ class SnetSDK:
options['free_call_auth_token-bin'] = bytes.fromhex(self._config.get("free_call_auth_to... | passed config's concurrency variable to the options in service client | py |
diff --git a/tweepy/api.py b/tweepy/api.py
index <HASH>..<HASH> 100644
--- a/tweepy/api.py
+++ b/tweepy/api.py
@@ -3038,14 +3038,24 @@ class API:
Un-blocks the user specified in the ID parameter for the authenticating
user.
- :param screen_name: |screen_name|
- :param user_id: |user_id... | Update and improve documentation for API.destroy_block | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -68,6 +68,9 @@ setup(
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.4",
+ "P... | Added classifiers about which python version supported | py |
diff --git a/spyder_profiler/widgets/profilergui.py b/spyder_profiler/widgets/profilergui.py
index <HASH>..<HASH> 100644
--- a/spyder_profiler/widgets/profilergui.py
+++ b/spyder_profiler/widgets/profilergui.py
@@ -384,7 +384,7 @@ class TreeWidgetItem( QTreeWidgetItem ):
def __lt__(self, otherItem):
colu... | Added "local time" column to sorting | py |
diff --git a/dimod/decorators.py b/dimod/decorators.py
index <HASH>..<HASH> 100644
--- a/dimod/decorators.py
+++ b/dimod/decorators.py
@@ -28,8 +28,6 @@ from dimod.core.structured import Structured
from dimod.exceptions import BinaryQuadraticModelStructureError
from dimod.vartypes import Vartype
-__all__ = ['bqm_in... | Remove unnecessary __all__ from decorators.py | py |
diff --git a/tests/test_compat.py b/tests/test_compat.py
index <HASH>..<HASH> 100644
--- a/tests/test_compat.py
+++ b/tests/test_compat.py
@@ -4,4 +4,4 @@ from unittest import TestCase
class StringTypeTest(TestCase):
def test(self):
from django_ftpserver.compat import string_type
- self.assertIsNo... | test with python <I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,7 @@ setup(
include_package_data=True,
zip_safe=False,
license='MIT License',
+ keywords=['django color field'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'... | Added some keywords to the package's metadata. | py |
diff --git a/rootpy/plotting/hist.py b/rootpy/plotting/hist.py
index <HASH>..<HASH> 100644
--- a/rootpy/plotting/hist.py
+++ b/rootpy/plotting/hist.py
@@ -679,7 +679,7 @@ class _HistBase(Plottable, NamedObject):
self.SetBinContent(i, v.value)
self.SetBinError(i, v.error)
... | Remove extraneous check for `value` being true | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ setup(
long_description=long_description,
long_description_content_type='text/markdown',
keywords='arcgis,fgdc,iso,ISO-19115,ISO-19139,gis,metadata,parser,xml,gis_metadata,gis_metadata_parser',
- ... | Increment version for mock test fix | py |
diff --git a/src/nlpia/futil.py b/src/nlpia/futil.py
index <HASH>..<HASH> 100644
--- a/src/nlpia/futil.py
+++ b/src/nlpia/futil.py
@@ -12,7 +12,7 @@ import io
import json
import gzip
-from pugnlp.futil import mkdir_p # noqa
+from pugnlp.futil import mkdir_p, path_status, find_files # noqa
from nlpia.constants ... | import some commonly used futils from pugnlp | py |
diff --git a/examples/example_run_manager/example_run_manager.py b/examples/example_run_manager/example_run_manager.py
index <HASH>..<HASH> 100644
--- a/examples/example_run_manager/example_run_manager.py
+++ b/examples/example_run_manager/example_run_manager.py
@@ -52,9 +52,9 @@ if __name__ == "__main__":
for del... | MAINT: adding some comment to avoid confusion | py |
diff --git a/nnpy/socket.py b/nnpy/socket.py
index <HASH>..<HASH> 100644
--- a/nnpy/socket.py
+++ b/nnpy/socket.py
@@ -6,8 +6,21 @@ NN_MSG = int(ffi.cast("size_t", -1))
ustr = str if sys.version_info[0] > 2 else unicode
class Socket(object):
-
+ """
+ Nanomsg scalability protocols (SP) socket.
+
+ .. s... | Added documentation for socket class and its constructor. (#<I>) | py |
diff --git a/satpy/utils.py b/satpy/utils.py
index <HASH>..<HASH> 100644
--- a/satpy/utils.py
+++ b/satpy/utils.py
@@ -72,8 +72,7 @@ def trace_on():
def dep_warnings_on():
- """Switch on deprecation warnings.
- """
+ """Switch on deprecation warnings."""
warnings.filterwarnings("default", category=De... | Make linter happy Linter says docstring should be on one line. Let it be so. | py |
diff --git a/waspy/transports/rabbitmqtransport.py b/waspy/transports/rabbitmqtransport.py
index <HASH>..<HASH> 100644
--- a/waspy/transports/rabbitmqtransport.py
+++ b/waspy/transports/rabbitmqtransport.py
@@ -7,7 +7,7 @@ import re
from aioamqp.channel import Channel
from .transportabc import TransportABC, ClientT... | RabbitMQ Fix: If method isnt on routing_key, assume its a post | py |
diff --git a/billboard.py b/billboard.py
index <HASH>..<HASH> 100644
--- a/billboard.py
+++ b/billboard.py
@@ -142,7 +142,8 @@ class ChartData:
Billboard automatically rounds dates up to the nearest date on
which a chart was published.
If this argument is invalid, no e... | Fix orderings of year and date in if else | py |
diff --git a/calysto/graphics.py b/calysto/graphics.py
index <HASH>..<HASH> 100644
--- a/calysto/graphics.py
+++ b/calysto/graphics.py
@@ -62,7 +62,7 @@ class Transform:
return x,y
class Canvas(object):
- def __init__(self, filename="noname.svg", size=(300, 300), **extras):
+ def __init__(self, size=(... | calysto.graphics.Canvas arg order; added scale | py |
diff --git a/gtfs_writer.py b/gtfs_writer.py
index <HASH>..<HASH> 100644
--- a/gtfs_writer.py
+++ b/gtfs_writer.py
@@ -22,7 +22,8 @@ class GTFSWriter(object):
records = sorted(records, key=lambda x: x[sortkey])
for record in records:
csv_record = OrderedDict.fromkeys(self.headers[name... | Don't write extra fields in CSV. | py |
diff --git a/spyderlib/utils/programs.py b/spyderlib/utils/programs.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/programs.py
+++ b/spyderlib/utils/programs.py
@@ -145,7 +145,7 @@ def run_python_script_in_terminal(fname, wdir, args, interact,
# Command line and cwd have to be converted to the filesystem... | Running a script in an external system terminal: feature was broken since a bunch of changes that were made a while ago to fix unicode-related issues | py |
diff --git a/zinnia/management/commands/wp2zinnia.py b/zinnia/management/commands/wp2zinnia.py
index <HASH>..<HASH> 100644
--- a/zinnia/management/commands/wp2zinnia.py
+++ b/zinnia/management/commands/wp2zinnia.py
@@ -130,7 +130,8 @@ class Command(LabelCommand):
if self.default_author:
au... | fix wp import when author has blank spaces in his username | py |
diff --git a/mama_cas/tests/test_utils.py b/mama_cas/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/mama_cas/tests/test_utils.py
+++ b/mama_cas/tests/test_utils.py
@@ -7,6 +7,7 @@ from mama_cas.utils import clean_service_url
from mama_cas.utils import is_valid_service_url
from mama_cas.utils import redirect
f... | Test import failure paths for get_callable | py |
diff --git a/cjdns/bencode.py b/cjdns/bencode.py
index <HASH>..<HASH> 100644
--- a/cjdns/bencode.py
+++ b/cjdns/bencode.py
@@ -44,7 +44,7 @@ def bencode(obj):
if isinstance(obj, dict):
res = "d"
for key in sorted(obj.keys()):
- if obj[key]:
+ if key in obj:
... | bencode: Use 'key in obj` instead of `obj[key]` in if | py |
diff --git a/pystock_crawler/settings.py b/pystock_crawler/settings.py
index <HASH>..<HASH> 100644
--- a/pystock_crawler/settings.py
+++ b/pystock_crawler/settings.py
@@ -27,7 +27,7 @@ HTTPCACHE_ENABLED = True
HTTPCACHE_POLICY = 'scrapy.contrib.httpcache.RFC2616Policy'
-HTTPCACHE_STORAGE = 'scrapy.contrib.httpcach... | Use leveldb for httpcache which is more resilient than anydbm | py |
diff --git a/gscholar/gscholar.py b/gscholar/gscholar.py
index <HASH>..<HASH> 100755
--- a/gscholar/gscholar.py
+++ b/gscholar/gscholar.py
@@ -175,7 +175,7 @@ def rename_file(pdf, bibitem):
if author:
author = author.split(",")[0]
title = _get_bib_element(bibitem, "title")
- l = [i for i in year, ... | Put year, author, title in tuple for Python3 compatibility Fixes #8 | py |
diff --git a/bonobo/util/iterators.py b/bonobo/util/iterators.py
index <HASH>..<HASH> 100644
--- a/bonobo/util/iterators.py
+++ b/bonobo/util/iterators.py
@@ -38,6 +38,6 @@ def tuplize(generator):
def iter_if_not_sequence(mixed):
- if isinstance(mixed, (dict, list, str)):
+ if isinstance(mixed, (dict, list, ... | Fixes #<I>, probably the whole logic should be refactored as the approach of hardcoding iterators which we should not iterate on is bad. Let's think about it for <I>, maybe that just means removing the ability to return a list/tuple from a function for multiple rows, as a generator would do the same. | py |
diff --git a/test/logger.py b/test/logger.py
index <HASH>..<HASH> 100644
--- a/test/logger.py
+++ b/test/logger.py
@@ -4,8 +4,7 @@ from devassistant.logger import logger
class TestLoggingHandler(logging.Handler):
def __init__(self):
- if isinstance(self, type):
- super(TestLoggingHandler, self... | Better fix for older python compat | py |
diff --git a/openquake/hazardlib/shakemap/maps.py b/openquake/hazardlib/shakemap/maps.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/shakemap/maps.py
+++ b/openquake/hazardlib/shakemap/maps.py
@@ -106,14 +106,14 @@ def get_sitecol_usgs(kind, uridict, required_imts, sitecol=None,
data[name][im] = ... | fix(shakemap): return only relevant imts in shakemap | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -72,7 +72,7 @@ extras = {
setup(
name="pythainlp",
- version="2.2dev",
+ version="2.2dev0",
description="Thai Natural Language Processing library",
long_description=readme,
long_description_content... | Change version to <I>dev0 | py |
diff --git a/shap/plots/_text.py b/shap/plots/_text.py
index <HASH>..<HASH> 100644
--- a/shap/plots/_text.py
+++ b/shap/plots/_text.py
@@ -247,6 +247,8 @@ def process_shap_values(tokens, values, group_threshold, separator, clustering =
M = len(tokens)
else:
group_sizes = np.ones(M)
+ toke... | Added text-to-text viz for non partitioned text | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ setup(
author_email = "adam@element34.ca",
install_requires = ['pytest>2.0.2',
'pytest-marks',
- 'pytest-markfiltration>=0.5',
+ '... | what was deselected is properly displayed to the user now | py |
diff --git a/holoviews/streams.py b/holoviews/streams.py
index <HASH>..<HASH> 100644
--- a/holoviews/streams.py
+++ b/holoviews/streams.py
@@ -271,8 +271,8 @@ class Stream(param.Parameterized):
class Next(Stream):
"""
- Example of an empty stream that can be used to trigger generators or
- callbacks that ... | Updated docstring for Next() stream | py |
diff --git a/salt/modules/smartos_vmadm.py b/salt/modules/smartos_vmadm.py
index <HASH>..<HASH> 100644
--- a/salt/modules/smartos_vmadm.py
+++ b/salt/modules/smartos_vmadm.py
@@ -143,7 +143,7 @@ def init(**kwargs):
raise CommandExecutionError('Missing mandatory arguments')
-def list_vms():
+def list_domain... | Unify method name with the virt module and fix the docstring | py |
diff --git a/plaso/parsers/winreg_plugins/interface.py b/plaso/parsers/winreg_plugins/interface.py
index <HASH>..<HASH> 100644
--- a/plaso/parsers/winreg_plugins/interface.py
+++ b/plaso/parsers/winreg_plugins/interface.py
@@ -143,7 +143,7 @@ class WindowsRegistryKeyPathPrefixFilter(BaseWindowsRegistryKeyFilter):
... | Fix simple typo in winreg_plugins interface (#<I>) | py |
diff --git a/galpy/df/constantbetadf.py b/galpy/df/constantbetadf.py
index <HASH>..<HASH> 100644
--- a/galpy/df/constantbetadf.py
+++ b/galpy/df/constantbetadf.py
@@ -102,7 +102,7 @@ class constantbetadf(anisotropicsphericaldf):
"""
if m%2 == 1 or n%2 == 1:
return 0.
- return 2... | Add missing factor of r^-2beta in vmomentdensity of constantbetadf | py |
diff --git a/salt/beacons/service.py b/salt/beacons/service.py
index <HASH>..<HASH> 100644
--- a/salt/beacons/service.py
+++ b/salt/beacons/service.py
@@ -92,10 +92,9 @@ def beacon(config):
beacons:
service:
- nginx:
- onchangeonly: True
- delay: 30
- ... | Updating the documentation in service beacon. | py |
diff --git a/lib/bibformat_templates.py b/lib/bibformat_templates.py
index <HASH>..<HASH> 100644
--- a/lib/bibformat_templates.py
+++ b/lib/bibformat_templates.py
@@ -59,6 +59,7 @@ class Template:
</table>
''' % {'warnings': '<br/>'.join(warnings)}
+ comment_on_php_admin_interface = '... | Fixed uninitialized variable. | py |
diff --git a/endless_pagination/__init__.py b/endless_pagination/__init__.py
index <HASH>..<HASH> 100644
--- a/endless_pagination/__init__.py
+++ b/endless_pagination/__init__.py
@@ -1 +1 @@
-VERSION = (0, "6a1")
\ No newline at end of file
+VERSION = (0, "6a2")
\ No newline at end of file | Bumped version up a little. | py |
diff --git a/simplesqlite/converter.py b/simplesqlite/converter.py
index <HASH>..<HASH> 100644
--- a/simplesqlite/converter.py
+++ b/simplesqlite/converter.py
@@ -47,11 +47,11 @@ class RecordConvertor(object):
raise ValueError("cannot convert from {} to list".format(type(values)))
@classmethod
- def ... | Refactor: rename an argument | py |
diff --git a/raven/events.py b/raven/events.py
index <HASH>..<HASH> 100644
--- a/raven/events.py
+++ b/raven/events.py
@@ -67,7 +67,7 @@ class Exception(BaseEvent):
exc_type = getattr(exc_type, '__name__', '<unknown>')
return {
- 'level': logging.ERROR,
+ 'level... | Respect log level overriding from kwargs in Exception handler | py |
diff --git a/safe/impact_functions/inundation/flood_population_evacuation_polygon_hazard.py b/safe/impact_functions/inundation/flood_population_evacuation_polygon_hazard.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/inundation/flood_population_evacuation_polygon_hazard.py
+++ b/safe/impact_functions/inunda... | [BACKPORT] improve reporting of people needing evacuation with vector hazard, raster polygon scenario, | py |
diff --git a/grimoire_elk/enriched/gerrit.py b/grimoire_elk/enriched/gerrit.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/enriched/gerrit.py
+++ b/grimoire_elk/enriched/gerrit.py
@@ -72,6 +72,7 @@ class GerritEnrich(Enrich):
self.studies = []
self.studies.append(self.enrich_demography)
+ ... | [enrich] Add onion study to gerrit This code includes the onion study to gerrit. Thus, now an onion study can be defined via the setup.cfg of modred. | py |
diff --git a/pyodeint/__init__.py b/pyodeint/__init__.py
index <HASH>..<HASH> 100644
--- a/pyodeint/__init__.py
+++ b/pyodeint/__init__.py
@@ -41,10 +41,11 @@ def integrate_adaptive(rhs, jac, y0, x0, xend, dx0, atol, rtol,
Returns
-------
- (xout, yout):
+ (xout, yout, info):
xout: 1-dimensio... | DOC: fix docstring of integrate_adaptive, integrate_predefined | py |
diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -714,7 +714,7 @@ def docker(subtask='info'):
parsed_commands = []
replacements = {}
- for key in ('user', 'host', 'port', 'branch'):
+ for key in ('user', 'host', 'port', 'branch', 'rootFolder'):
replace... | allow rootFolder for docker-script-replacements via %guest.rootFolder% | py |
diff --git a/salt/states/win_network.py b/salt/states/win_network.py
index <HASH>..<HASH> 100644
--- a/salt/states/win_network.py
+++ b/salt/states/win_network.py
@@ -181,6 +181,11 @@ def _changes(cur, dns_proto, dns_servers, ip_proto, ip_addrs, gateway):
changes['dns_servers'] = dns_servers
elif 'DNS... | Fix network.managed for windows (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ SETUP_OPTIONS = dict(
data_files=[('.', ['README.md'])
],
- install_requires=['boto >= 2.15.0',
+ install_requires=['boto >= 2.32.0',
'cmd2',
... | Bumping requirement for boto ( >= <I> ) to fix scan command in dynash2 | py |
diff --git a/salt/cloud/clouds/msazure.py b/salt/cloud/clouds/msazure.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/msazure.py
+++ b/salt/cloud/clouds/msazure.py
@@ -298,6 +298,7 @@ def list_nodes_full(conn=None, call=None):
ret[role]['private_ips'] = []
ret[role]['public_ips'... | Added url in role dict from list_nodes_full | py |
diff --git a/salt/states/__init__.py b/salt/states/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/states/__init__.py
+++ b/salt/states/__init__.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+'''
+States Directory
+''' | Add encoding and docstring to states dir | py |
diff --git a/master/buildbot/steps/package/deb/pbuilder.py b/master/buildbot/steps/package/deb/pbuilder.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/steps/package/deb/pbuilder.py
+++ b/master/buildbot/steps/package/deb/pbuilder.py
@@ -29,10 +29,10 @@ from buildbot import config
from buildbot.process import log... | package: Inherit from proper superclass in pbuilder steps | py |
diff --git a/clam/config/template.py b/clam/config/template.py
index <HASH>..<HASH> 100644
--- a/clam/config/template.py
+++ b/clam/config/template.py
@@ -105,6 +105,8 @@ MAXLOADAVG = 1.0
DISK = '/dev/sda1' #set this to the disk where ROOT is on
MINDISKSPACE = 10
+#The amount of diskspace a user may use (in MB), th... | added USERQUOTA example in template | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ from setuptools import setup
description = 'A spec-compliant gitignore parser for Python 3.5+'
setup(
name='gitignore_parser',
- version='0.0.4',
+ version='0.0.5',
description=description,
... | Set version number for release <I> | py |
diff --git a/dirutility/walk/multiprocess.py b/dirutility/walk/multiprocess.py
index <HASH>..<HASH> 100644
--- a/dirutility/walk/multiprocess.py
+++ b/dirutility/walk/multiprocess.py
@@ -79,7 +79,7 @@ class Sprinter:
paths = os.listdir(base + os.sep + fullname)
... | FIX issue where file paths were incorrectly concatenated | py |
diff --git a/salt/states/module.py b/salt/states/module.py
index <HASH>..<HASH> 100644
--- a/salt/states/module.py
+++ b/salt/states/module.py
@@ -5,9 +5,9 @@ Execution of Salt modules from within states.
Individual module calls can be made via states. to call a single module
function use the run function.
-One iss... | fun is also a low chunk keyword, it needs to be changed to m_fun like name is turned into m_name, Fix #<I> | py |
diff --git a/uri/part/path.py b/uri/part/path.py
index <HASH>..<HASH> 100644
--- a/uri/part/path.py
+++ b/uri/part/path.py
@@ -26,6 +26,9 @@ class PathPart(ProxyPart):
value = str(value)
obj._trailing = value.endswith('/')
+ if obj.authority and not value.startswith('/'):
+ raise ValueError("Can only assig... | Restrict rootless path assignment if authority is present. | py |
diff --git a/spyder/plugins/projects/plugin.py b/spyder/plugins/projects/plugin.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/projects/plugin.py
+++ b/spyder/plugins/projects/plugin.py
@@ -900,8 +900,15 @@ class Projects(SpyderDockablePlugin):
if osp.isfile(fpath):
config = configparser.Con... | Projects: Catch error when trying to detect project type | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,8 @@ setup(
license='MIT License',
py_modules=['sqlalchemy_enum34'],
setup_requires=[
- 'setuptools>=54.2.0',
+ 'setuptools~=44.1.0; python_version<"3"',
+ 'setuptools>=54.2.0; pyt... | setup: setuptools has limited support for Python 2... | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,11 @@ setup(name='graftm',
'extern >=0.0.4',
'taxtastic >=0.5.4',
'bird_tool_utils',
- 'DendroPy >= 4.1.0'),
+ ... | setup.py: Add missing deps. | py |
diff --git a/ayrton/castt.py b/ayrton/castt.py
index <HASH>..<HASH> 100644
--- a/ayrton/castt.py
+++ b/ayrton/castt.py
@@ -326,7 +326,8 @@ class CrazyASTTransformer (ast.NodeTransformer):
# handle 'remote'
sub_node= node.items[0].context_expr
- if type (sub_node)==Call and sub_node.func.id=='... | * be more defensive about things that are being inspected. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.