diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/scapy/arch/linux.py b/scapy/arch/linux.py
index <HASH>..<HASH> 100644
--- a/scapy/arch/linux.py
+++ b/scapy/arch/linux.py
@@ -30,7 +30,6 @@ SIOCSIFFLAGS = 0x8914 # set flags
SIOCGIFINDEX = 0x8933 # name -> if_index mapping
SIOCGIFCOUNT = 0x8938 # get number of devices
SI... | Fix for get_last_packet_timestamp() on x<I>_<I> (thanks to A. Howell) | py |
diff --git a/km3pipe/io/tests/test_h5.py b/km3pipe/io/tests/test_h5.py
index <HASH>..<HASH> 100644
--- a/km3pipe/io/tests/test_h5.py
+++ b/km3pipe/io/tests/test_h5.py
@@ -464,3 +464,4 @@ class TestConvertHeaderDictToTable(TestCase):
def test_conversion_returns_none_for_empty_dict(self):
assert None is c... | Assert None is returned for empty dict | py |
diff --git a/lib/svtplay_dl/service/urplay.py b/lib/svtplay_dl/service/urplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/urplay.py
+++ b/lib/svtplay_dl/service/urplay.py
@@ -15,7 +15,7 @@ from svtplay_dl.subtitle import subtitle
class Urplay(Service, OpenGraphThumbMixin):
- supported_domains = ... | urplay: support for urskola fixes: #<I> | py |
diff --git a/lurklib/core.py b/lurklib/core.py
index <HASH>..<HASH> 100755
--- a/lurklib/core.py
+++ b/lurklib/core.py
@@ -146,7 +146,7 @@ class _Core(variables._Variables, exceptions._Exceptions,
self._index += 1
return msg
- def readable(self, timeout=3):
+ def readable(self, timeout... | Accidentally commit'ed a modification used purely for my own testing. | py |
diff --git a/visidata/loaders/yaml.py b/visidata/loaders/yaml.py
index <HASH>..<HASH> 100644
--- a/visidata/loaders/yaml.py
+++ b/visidata/loaders/yaml.py
@@ -1,19 +1,39 @@
from visidata import *
+from itertools import chain
class YamlSheet(JsonSheet):
def iterload(self):
import yaml
with s... | [yaml] Support files containing multiple documents The loader previously threw an exception when given a YAML file with multiple documents. Now it successfully loads the file, with each document presented as a row. All other existing behaviour remains the same. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
setup(
name='graphene-sqlalchemy',
- version='1.1.0',
+ version='1.1.1',
description='Graphene SQLAlchemy integration',
long_description=open('... | Updated version to <I> | py |
diff --git a/tests/test_utils/test_prof_utils.py b/tests/test_utils/test_prof_utils.py
index <HASH>..<HASH> 100644
--- a/tests/test_utils/test_prof_utils.py
+++ b/tests/test_utils/test_prof_utils.py
@@ -68,7 +68,7 @@ def test_write_session_description():
write_session_description(amgr)
- desc = ru.read_json... | Fix test for issue #<I> | py |
diff --git a/flask_split/__init__.py b/flask_split/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_split/__init__.py
+++ b/flask_split/__init__.py
@@ -58,7 +58,7 @@ class Split(object):
alternative.increment_participation()
self.begin_experiment(experiment, alternative.name)
... | python <I> support | py |
diff --git a/bugwarrior/db.py b/bugwarrior/db.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/db.py
+++ b/bugwarrior/db.py
@@ -183,7 +183,7 @@ def find_local_uuid(tw, keys, issue, legacy_matching=True):
for service, key_list in six.iteritems(keys):
if any([key in issue for key in key_list]):
... | Hack to let task-<I>.x search for url UDAs. As discussed in ralphbean/taskw#<I>. | py |
diff --git a/statscraper/base_scraper.py b/statscraper/base_scraper.py
index <HASH>..<HASH> 100644
--- a/statscraper/base_scraper.py
+++ b/statscraper/base_scraper.py
@@ -215,11 +215,12 @@ class ResultSet(list):
val.resultset = self
val.dataset = self.dataset
- # TODO: Clean up this mess
... | dont require _fetch_dimensions to be implemented | py |
diff --git a/temperusb/temper.py b/temperusb/temper.py
index <HASH>..<HASH> 100644
--- a/temperusb/temper.py
+++ b/temperusb/temper.py
@@ -205,8 +205,9 @@ class TemperHandler(object):
"""
def __init__(self):
+ self._devices = []
for vid, pid in VIDPIDS:
- self._devices = [TemperDe... | Append devices discovered for each VIDPID. | py |
diff --git a/tests/test_ckbytelist.py b/tests/test_ckbytelist.py
index <HASH>..<HASH> 100644
--- a/tests/test_ckbytelist.py
+++ b/tests/test_ckbytelist.py
@@ -25,7 +25,7 @@ class Testutil(unittest.TestCase):
ck = PyKCS11.ckbytelist(size)
for index in range(size):
ck[index] = index
- ... | tests: fix test_ckbytelist for Python3 | py |
diff --git a/master/buildbot/locks.py b/master/buildbot/locks.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/locks.py
+++ b/master/buildbot/locks.py
@@ -101,7 +101,9 @@ class BaseLock:
debuglog("%s release(%s, %s)" % (self, owner, access.mode))
entry = (owner, access)
- assert entry in ... | Cope if releaseLocks is called multiple times | py |
diff --git a/theanets/activations.py b/theanets/activations.py
index <HASH>..<HASH> 100644
--- a/theanets/activations.py
+++ b/theanets/activations.py
@@ -174,8 +174,8 @@ class Maxout(Activation):
self.params.append(self.slope)
b = np.ones((self.pieces, ), FLOAT)
- self.intercept = theano.sha... | Try to get maxout activation working with ... | py |
diff --git a/scout/server/blueprints/cases/controllers.py b/scout/server/blueprints/cases/controllers.py
index <HASH>..<HASH> 100644
--- a/scout/server/blueprints/cases/controllers.py
+++ b/scout/server/blueprints/cases/controllers.py
@@ -486,7 +486,7 @@ def gene_variants(store, variants_query, institute_id, page=1, pe... | Missed a line when picking from last PR.. | py |
diff --git a/tests_tf/test_attacks.py b/tests_tf/test_attacks.py
index <HASH>..<HASH> 100644
--- a/tests_tf/test_attacks.py
+++ b/tests_tf/test_attacks.py
@@ -959,8 +959,6 @@ class TestMomentumIterativeMethod(TestProjectedGradientDescent):
def setUp(self):
super(TestMomentumIterativeMethod, self).setUp()
- ... | Add model build to constructor of BIM/Madry | py |
diff --git a/luigi/scheduler.py b/luigi/scheduler.py
index <HASH>..<HASH> 100644
--- a/luigi/scheduler.py
+++ b/luigi/scheduler.py
@@ -747,12 +747,15 @@ class CentralPlannerScheduler(Scheduler):
if len(task.workers) == 1 and not assistant:
n_unique_pending += 1
+ if be... | Speeds up get_work after finding best_task After finding best_task, get_work can return immediately, except that it needs to compute the number of PENDING tasks. However, it still does a lot of other unnecessary work. This speeds up get_work by checking earlier whether a best_task has been found yet and skipping the o... | py |
diff --git a/authorize/response_parser.py b/authorize/response_parser.py
index <HASH>..<HASH> 100644
--- a/authorize/response_parser.py
+++ b/authorize/response_parser.py
@@ -36,6 +36,7 @@ NESTED_LIST_FIELDS = [
'statistics',
'lineItems',
'userFields',
+ 'subscriptionDetails'
]
DIRECT_RESPONSE_FIE... | fix parser issue on recurring list function | py |
diff --git a/rows/cli.py b/rows/cli.py
index <HASH>..<HASH> 100755
--- a/rows/cli.py
+++ b/rows/cli.py
@@ -28,8 +28,8 @@ from rows.utils import import_from_uri, export_to_uri
DEFAULT_INPUT_ENCODING = 'utf-8'
DEFAULT_OUTPUT_ENCODING = 'utf-8'
-DEFAULT_INPUT_LOCALE = 'POSIX'
-DEFAULT_OUTPUT_LOCALE = 'POSIX'
+DEFAULT_... | Set 'C' as default locale | py |
diff --git a/airflow/utils.py b/airflow/utils.py
index <HASH>..<HASH> 100644
--- a/airflow/utils.py
+++ b/airflow/utils.py
@@ -228,6 +228,9 @@ def apply_defaults(func):
default_args = {}
if 'default_args' in kwargs:
default_args = kwargs['default_args']
+ if 'params' in default... | Minor touchup to operator constructor decorator | py |
diff --git a/coursera/test/test_parsing.py b/coursera/test/test_parsing.py
index <HASH>..<HASH> 100644
--- a/coursera/test/test_parsing.py
+++ b/coursera/test/test_parsing.py
@@ -58,8 +58,8 @@ def test_that_we_parse_and_write_json_correctly(get_page, json_path):
@pytest.fixture
def get_video(monkeypatch):
"""
- ... | test: test_parsing: Fix docstring. | py |
diff --git a/telluric/georaster.py b/telluric/georaster.py
index <HASH>..<HASH> 100644
--- a/telluric/georaster.py
+++ b/telluric/georaster.py
@@ -2026,7 +2026,7 @@ release, please use: .colorize('gray').to_png()", GeoRaster2Warning)
return None
elif len(assets) > 1:
return GeoMultiRa... | fix issue in `GeoRaster.from_asset` | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -56,6 +56,13 @@ class SQLAlchemyPluginTest(unittest.TestCase):
self.assertFalse('db' in kw)
self.app({'PATH_INFO':'/2', 'REQUEST_METHOD':'GET'}, lambda x, y: None)
+ def test_install_two_times(self):
+ ... | Test plugin conflict with another instance of the same plugin. | py |
diff --git a/ohapi/api.py b/ohapi/api.py
index <HASH>..<HASH> 100644
--- a/ohapi/api.py
+++ b/ohapi/api.py
@@ -170,10 +170,8 @@ def upload_file(target_filepath, metadata, access_token, base_url=OH_BASE_URL,
It's default value is 128m.
"""
filesize = os.stat(target_filepath).st_size
- if filesize >... | refactored code to use exceed_size function (#<I>) | py |
diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py
index <HASH>..<HASH> 100644
--- a/scapy/layers/inet6.py
+++ b/scapy/layers/inet6.py
@@ -2706,7 +2706,7 @@ class MIP6MH_HoTI(_MobilityHeader):
ByteEnumField("mhtype", 1, mhtypes),
ByteField("res", Non... | Reserved is <I> bits (not bytes) --HG-- branch : Issue #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,9 @@ setup(
entry_points={
'console_scripts': [
'hasc2gml=hex_utils.hasc2gml:main',
+ 'hasc2geojson=hex_utils.hasc2geojson:main',
'asc2hasc=hex_utils.asc2hasc:main',... | Added new scripts to setup.py. | py |
diff --git a/src/molecule/util.py b/src/molecule/util.py
index <HASH>..<HASH> 100644
--- a/src/molecule/util.py
+++ b/src/molecule/util.py
@@ -143,6 +143,7 @@ def run_command(
else:
env = cmd.env or env
args = cmd.cmd
+ cwd = cmd.cwd
stdout = cmd.stdout
stderr = c... | Ensure cwd is passed to utils.run_command() in all cases (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,6 +29,7 @@ packages = [
'ibis.backends.pandas.tests.execution',
'ibis.backends.postgres',
'ibis.backends.postgres.tests',
+ 'ibis.backends.pyarrow',
'ibis.backends.pyspark',
'ibis.backends.pyspa... | chore: generate pyarrow backend in setup.py | py |
diff --git a/salt/modules/file.py b/salt/modules/file.py
index <HASH>..<HASH> 100644
--- a/salt/modules/file.py
+++ b/salt/modules/file.py
@@ -2155,7 +2155,7 @@ def blockreplace(path,
if prepend_if_not_found:
# add the markers and content at the beginning of file
new_file.insert(0, ma... | Don't append a newline when creating new content with blockreplace (#<I>) Fix #<I> | py |
diff --git a/pygal/graph/frenchmap.py b/pygal/graph/frenchmap.py
index <HASH>..<HASH> 100644
--- a/pygal/graph/frenchmap.py
+++ b/pygal/graph/frenchmap.py
@@ -223,13 +223,22 @@ class FrenchMapDepartments(Graph):
ratio = 1
else:
ratio = .3 + .7 * (value - min_) ... | Try to fix lol xpath in python <I> | py |
diff --git a/vent/helpers/logs.py b/vent/helpers/logs.py
index <HASH>..<HASH> 100644
--- a/vent/helpers/logs.py
+++ b/vent/helpers/logs.py
@@ -1,4 +1,5 @@
import logging
+import logging.handlers
import os
from vent.helpers.paths import PathDirs
@@ -10,11 +11,14 @@ def Logger(name, **kargs):
logging.captureWar... | Changed logger to WatchFileHandler to automatically create if something happens to it. Enables continuous logging. Closes #<I> | py |
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -31,7 +31,6 @@ import logging
import itertools
import platform
from os.path import getsize
-import psutil
import numpy
try:
from setproctitle im... | Do not stop the zworkers when it is dangerous to do so | py |
diff --git a/pyt/framework_adaptor.py b/pyt/framework_adaptor.py
index <HASH>..<HASH> 100644
--- a/pyt/framework_adaptor.py
+++ b/pyt/framework_adaptor.py
@@ -8,8 +8,9 @@ from .module_definitions import project_definitions
class FrameworkAdaptor():
- """An engine that should be uses the template pattern
- to... | [comments] fixed up some comments | py |
diff --git a/katcp/test/test_compat.py b/katcp/test/test_compat.py
index <HASH>..<HASH> 100644
--- a/katcp/test/test_compat.py
+++ b/katcp/test/test_compat.py
@@ -15,6 +15,9 @@ from katcp.compat import ensure_native_str
class test_CompatClass(unittest.TestCase):
- def test_ensure_native_str(self):
+ def test... | added a boolean to ensure_native_str_raises_error test | py |
diff --git a/tools/nni_trial_tool/log_utils.py b/tools/nni_trial_tool/log_utils.py
index <HASH>..<HASH> 100644
--- a/tools/nni_trial_tool/log_utils.py
+++ b/tools/nni_trial_tool/log_utils.py
@@ -85,6 +85,13 @@ class RemoteLogger(object):
'''
return PipeLogReader(self.logger, self.log_collection, loggi... | Fix trialkeeper flush (#<I>) | py |
diff --git a/imgaug/augmenters/meta.py b/imgaug/augmenters/meta.py
index <HASH>..<HASH> 100644
--- a/imgaug/augmenters/meta.py
+++ b/imgaug/augmenters/meta.py
@@ -2952,6 +2952,12 @@ class WithChannels(Augmenter):
return self._augment_non_images(keypoints_on_images, parents, hooks,
... | Add polygon augmentation method to WithChannels | py |
diff --git a/pypif/obj/common/pio.py b/pypif/obj/common/pio.py
index <HASH>..<HASH> 100644
--- a/pypif/obj/common/pio.py
+++ b/pypif/obj/common/pio.py
@@ -145,4 +145,5 @@ class Pio(object):
if not isinstance(obj, list):
raise TypeError(self.__class__.__name__ + '.' + name + ' contains valu... | Fixed problem in _validate_nested_list_type Was not actually checking the sublist. Recursive operations were simply calling the function with the same object as input | py |
diff --git a/salesforce/testrunner/example/models.py b/salesforce/testrunner/example/models.py
index <HASH>..<HASH> 100644
--- a/salesforce/testrunner/example/models.py
+++ b/salesforce/testrunner/example/models.py
@@ -40,6 +40,14 @@ class User(SalesforceModel):
IsActive = models.BooleanField(default=False)
+def ... | Migrations: minimal support for creating a migration for testrunner/example application | py |
diff --git a/ppp_datamodel/communication/request.py b/ppp_datamodel/communication/request.py
index <HASH>..<HASH> 100644
--- a/ppp_datamodel/communication/request.py
+++ b/ppp_datamodel/communication/request.py
@@ -24,6 +24,8 @@ class Request(SerializableAttributesHolder):
raise AttributeNotProvided('Missi... | Compatibility fix with old datamodel. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ setup(name='googleanalytics',
author_email='stijn@debrouwere.org',
url='https://github.com/debrouwere/google-analytics/',
download_url='http://www.github.com/debrouwere/google-analytics/tarball/mast... | Deal with dependency rename: inspector to inspect-it. | py |
diff --git a/django_prometheus/exports.py b/django_prometheus/exports.py
index <HASH>..<HASH> 100644
--- a/django_prometheus/exports.py
+++ b/django_prometheus/exports.py
@@ -91,7 +91,7 @@ def SetupPrometheusEndpointOnPortRange(port_range, addr=''):
thread.start()
logger.info('Exporting Prometheus /me... | Bump export port range exhaustion log level to warn | py |
diff --git a/qtpylib/broker.py b/qtpylib/broker.py
index <HASH>..<HASH> 100644
--- a/qtpylib/broker.py
+++ b/qtpylib/broker.py
@@ -66,7 +66,7 @@ class Broker():
__metaclass__ = ABCMeta
- def __init__(self, instruments, ibclient=999, ibport=4001, ibserver="localhost", **kwargs):
+ def __init__(self, instr... | changed default ibport to <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,10 +26,10 @@ setup(
zip_safe=False,
include_package_data=True,
install_requires=[
- 'setuptools',
'Mopidy >= 1.1',
'Pykka >= 1.1',
'pydbus >= 0.6.0',
+ 'setuptools',
... | setup: Update Trove classifiers | py |
diff --git a/examples/redash/athena.py b/examples/redash/athena.py
index <HASH>..<HASH> 100644
--- a/examples/redash/athena.py
+++ b/examples/redash/athena.py
@@ -107,9 +107,11 @@ class Athena(BaseQueryRunner):
try:
with conn.cursor() as cursor:
cursor.execute(query)
- ... | Fix lint errors E<I> line too long E<I> expected 2 blank lines after class or function definition | py |
diff --git a/ciscosparkapi/restsession.py b/ciscosparkapi/restsession.py
index <HASH>..<HASH> 100644
--- a/ciscosparkapi/restsession.py
+++ b/ciscosparkapi/restsession.py
@@ -184,18 +184,23 @@ class RestSession(object):
assert isinstance(headers, dict)
self._req_session.headers.update(headers)
- ... | Patch abs_url() to check if input url is already absolute Patch RestSession.abs_url() so that it will not modify an input URL if the input is already an absolute URL. | py |
diff --git a/src/python/atomistica/io.py b/src/python/atomistica/io.py
index <HASH>..<HASH> 100644
--- a/src/python/atomistica/io.py
+++ b/src/python/atomistica/io.py
@@ -80,7 +80,9 @@ def write(fn, a, **kwargs):
if ext[0] == '.out' or ext[0] == '.dat':
return write_atoms(fn, a)
elif ext[0] == '.lamm... | Added NetCDF support to write function of atomistica.io. | py |
diff --git a/tests/integration/states/test_file.py b/tests/integration/states/test_file.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/test_file.py
+++ b/tests/integration/states/test_file.py
@@ -2294,7 +2294,11 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin):
# Check that the owner and gr... | Normalize the mode before we compare it. | py |
diff --git a/ryu/tests/unit/lib/ovs/test_vsctl.py b/ryu/tests/unit/lib/ovs/test_vsctl.py
index <HASH>..<HASH> 100644
--- a/ryu/tests/unit/lib/ovs/test_vsctl.py
+++ b/ryu/tests/unit/lib/ovs/test_vsctl.py
@@ -83,7 +83,7 @@ class TestVSCtl(unittest.TestCase):
def _docker_inspect_ip_addr(cls, container):
retu... | test_vsctl: Strip unexpected double quote This patch removes unexpected double quote around IP address in OVSDB_SWITCH_ADDR. e.g.) NG: tcp:"<I>":<I> OK: tcp:<I>:<I> | py |
diff --git a/gremlin-python/src/main/jython/tests/driver/test_client.py b/gremlin-python/src/main/jython/tests/driver/test_client.py
index <HASH>..<HASH> 100644
--- a/gremlin-python/src/main/jython/tests/driver/test_client.py
+++ b/gremlin-python/src/main/jython/tests/driver/test_client.py
@@ -22,7 +22,7 @@ from gremli... | TINKERPOP-<I> ignored failing test related to this issue until it can be resolved CTR | py |
diff --git a/patroni/api.py b/patroni/api.py
index <HASH>..<HASH> 100644
--- a/patroni/api.py
+++ b/patroni/api.py
@@ -10,8 +10,8 @@ import os
import six
import socket
-from patroni.postgresql import PostgresConnectionException
-from patroni.postgresql.misc import postgres_version_to_int, PostgresException
+from pa... | Make the error more helpful if restapi cannot bind (#<I>) Giving the user a hint if we couldn't start the restapi service. | py |
diff --git a/coconut/compiler/grammar.py b/coconut/compiler/grammar.py
index <HASH>..<HASH> 100644
--- a/coconut/compiler/grammar.py
+++ b/coconut/compiler/grammar.py
@@ -669,12 +669,12 @@ def compose_item_handle(tokens):
else:
return "_coconut_compose(" + ", ".join(tokens) + ")"
-def maybe_tco_handle(s... | Fixes maybe_tco_handle | py |
diff --git a/airflow/cli/cli_parser.py b/airflow/cli/cli_parser.py
index <HASH>..<HASH> 100644
--- a/airflow/cli/cli_parser.py
+++ b/airflow/cli/cli_parser.py
@@ -1290,7 +1290,7 @@ airflow_commands: List[CLICommand] = [
),
GroupCommand(
name="kubernetes",
- help='tools to help run the Kubernet... | Standardize the Airflow CLI help descriptions (#<I>) | py |
diff --git a/persephone/corpus.py b/persephone/corpus.py
index <HASH>..<HASH> 100644
--- a/persephone/corpus.py
+++ b/persephone/corpus.py
@@ -64,6 +64,9 @@ class Corpus:
self.train_prefixes = utils.sort_by_size(
self.feat_dir, self.train_prefixes, feat_type)
+ # Ensure no overlap between... | Adding simple check for corpus subset overlap. | py |
diff --git a/spikeextractors/extractors/exdirextractors/exdirextractors.py b/spikeextractors/extractors/exdirextractors/exdirextractors.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/extractors/exdirextractors/exdirextractors.py
+++ b/spikeextractors/extractors/exdirextractors/exdirextractors.py
@@ -289,7 +289,7 ... | When single group make sure group id is not 0 | py |
diff --git a/tests/calcex/test_figure.py b/tests/calcex/test_figure.py
index <HASH>..<HASH> 100644
--- a/tests/calcex/test_figure.py
+++ b/tests/calcex/test_figure.py
@@ -170,13 +170,13 @@ def test_add_not_implemented(a, b):
a + b
-@pytest.mark.parametrize(('a', 'b', 'expected_sum'), [
+@pytest.mark.parame... | tests/calcex/test_figure.py: renamed param | py |
diff --git a/wallace/models.py b/wallace/models.py
index <HASH>..<HASH> 100644
--- a/wallace/models.py
+++ b/wallace/models.py
@@ -168,7 +168,6 @@ class Node(Base):
def observe(self, environment):
environment.get_observed(by_whom=self)
- self.receive_all()
def update(self, infos):
... | Don't automatically receive all when observing environment | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -44,24 +44,9 @@ latex_elements = {
\usepackage{pgfplots}
\usetikzlibrary{arrows}''',
}
-latex_documents = [
- ('index', 'theanets.tex', u'theanets Documentation',
- u'Leif Johnson', 'manual'),
-]
-man_p... | Remove stuff for building latex, man, texinfo. | py |
diff --git a/pandas/__init__.py b/pandas/__init__.py
index <HASH>..<HASH> 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -6,6 +6,16 @@ from datetime import datetime
import numpy as np
+try:
+ import pandas._tseries as lib
+except Exception, e:
+ if 'No module named' in e.message:
+ raise ... | DOC: add more helpful error message when accidentally importing pandas from source directory, address GH #<I> | py |
diff --git a/pysat/_constellation.py b/pysat/_constellation.py
index <HASH>..<HASH> 100644
--- a/pysat/_constellation.py
+++ b/pysat/_constellation.py
@@ -218,9 +218,9 @@ class Constellation(object):
# If desired, determine the resolution
if self.index_res is None:
... | BUG: fixed freq comparisons Frequency comparisons were broken as, if a frequency with a numeric component was provided, the conversion to seconds would not work. Also, the conversion incorrectly used `to_datetime` instead of `Timedelta`. Fixed this and reduced duplicate code by using the new time utilities `calc_res... | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,15 +13,14 @@ from setuptools import setup
setup(
name="aiounifi",
packages=["aiounifi"],
- version="23",
+ version="24",
description="An asynchronous Python library for communicating with Unifi Contro... | Bump to <I> Also remove python <I> requirement until Hass removes support for <I> | py |
diff --git a/quite/controller/widget_controller.py b/quite/controller/widget_controller.py
index <HASH>..<HASH> 100644
--- a/quite/controller/widget_controller.py
+++ b/quite/controller/widget_controller.py
@@ -9,6 +9,7 @@ class WidgetController:
parent = parent.w
self.w = self.__trick__(constru... | added widget auto-delete after close (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ required = [
setup(
name='django-postgrespool',
- version='0.2.3',
+ version='0.2.4',
description='Postgres Connection Pooling for Django.',
long_description=open('README.rst').read(),
... | Time for a new release! There's been multiple fairly critical fixes applied, so bumping the version number for a new release. | py |
diff --git a/kernel_tuner/interface.py b/kernel_tuner/interface.py
index <HASH>..<HASH> 100644
--- a/kernel_tuner/interface.py
+++ b/kernel_tuner/interface.py
@@ -306,12 +306,10 @@ def tune_kernel(kernel_name, kernel_string, problem_size, arguments,
dev.copy_constant_memory_args(cmem_args)
#test... | forgot to move back a bit of code after debugging | py |
diff --git a/discord/guild.py b/discord/guild.py
index <HASH>..<HASH> 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -257,7 +257,7 @@ class Guild(Hashable):
# according to Stan, this is always available even if the guild is unavailable
# I don't have this guarantee when someone updates the gu... | Fix cases where member_count is equal to 0 Fixes #<I>, #<I> | py |
diff --git a/rllib/train.py b/rllib/train.py
index <HASH>..<HASH> 100755
--- a/rllib/train.py
+++ b/rllib/train.py
@@ -182,10 +182,15 @@ def run(args, parser):
inputs = force_list(input_)
# This script runs in the ray/rllib dir.
rllib_dir = Path(__file__).parent
- abs_i... | [rllib] Fix to allow input strings that are not file paths (#<I>) | py |
diff --git a/glooey/drawing.py b/glooey/drawing.py
index <HASH>..<HASH> 100644
--- a/glooey/drawing.py
+++ b/glooey/drawing.py
@@ -226,6 +226,7 @@ class Artist:
@group.setter
def group(self, new_group):
if self._group is not new_group:
+ self._group = new_group
self._batch.mig... | Allow Rectangles to switch groups more than once. I'm not sure when I introduced this bug, but I found it while reorganizing my tests. | 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
@@ -22,11 +22,11 @@ package_root = os.path.abspath('../../')
sys.path.insert(0, package_root)
try:
- import ConfigParser as configparser
+ from ConfigParser import ConfigParse... | Update docs/source/conf.py to read package info properly | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,8 +16,8 @@ setup(
long_description="",
install_requires=['cypy>=0.2',
'quantities',
- 'pandas',
- 'ipython',
+ 'pandas==0.18',... | Specified pandas and ipython versions | py |
diff --git a/napalm_yang/translator.py b/napalm_yang/translator.py
index <HASH>..<HASH> 100644
--- a/napalm_yang/translator.py
+++ b/napalm_yang/translator.py
@@ -21,7 +21,7 @@ class Translator(object):
def __init__(self, model, profile,
translation=None, keys=None, bookmarks=None,
- ... | Fixed an issue where merge/replace objects weren't passed properly between modules | py |
diff --git a/pyinfra_cli/main.py b/pyinfra_cli/main.py
index <HASH>..<HASH> 100644
--- a/pyinfra_cli/main.py
+++ b/pyinfra_cli/main.py
@@ -363,7 +363,7 @@ def _main(
), err=True)
command = 'fact'
- fact_names = []
+ fact_ops = []
for fact_name in get_fact_names():
... | Fix `all-facts` fact listing. This was broken by the new `pyinfra fact ...` CLI. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setup(
packages=find_packages(exclude=('termsandconditions_demo', 'tests', 'devscripts')),
include_package_data=True,
zip_safe=False,
- install_requires=['django>=1.8.7', ],
+ install_requir... | Enabling Django <I> support. | py |
diff --git a/gitsuggest/commandline.py b/gitsuggest/commandline.py
index <HASH>..<HASH> 100644
--- a/gitsuggest/commandline.py
+++ b/gitsuggest/commandline.py
@@ -31,6 +31,7 @@ import webbrowser
import crayons
import github
+from github.GithubException import BadCredentialsException, TwoFactorException
from .sug... | Add TwoFactorException handling This handles the exception raised when logging in with the password while 2FA is enabled for the GitHub account. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ if __name__ == "__main__":
]
},
setup_requires = ['pytest-runner'],
- tests_require=['pytest','ciso8601'],
+ tests_require=['pytest','ciso8601','pytest-mock'],
... | add pytest-mock to test-requirements | py |
diff --git a/raiden/utils/http.py b/raiden/utils/http.py
index <HASH>..<HASH> 100644
--- a/raiden/utils/http.py
+++ b/raiden/utils/http.py
@@ -70,7 +70,7 @@ class HTTPExecutor(MiHTTPExecutor):
return True
except (HTTPException, socket.timeout, socket.error) as ex:
- log.warning('E... | Make tests node executor logging less threatening | py |
diff --git a/tests/test_spi.py b/tests/test_spi.py
index <HASH>..<HASH> 100644
--- a/tests/test_spi.py
+++ b/tests/test_spi.py
@@ -1,3 +1,4 @@
+import os
import sys
import periphery
from .asserts import AssertRaises
@@ -13,10 +14,10 @@ def test_arguments():
# Invalid mode
with AssertRaises(ValueError):
-... | tests/spi: run arguments test in ci environment | py |
diff --git a/examples/plotting/file/rect.py b/examples/plotting/file/rect.py
index <HASH>..<HASH> 100644
--- a/examples/plotting/file/rect.py
+++ b/examples/plotting/file/rect.py
@@ -21,7 +21,8 @@ def rect_example():
)
# angle
- rect(x, y, 0.05, 0.1, color="#4444aa", angle=-np.pi/6, tools="pan,zoom,resiz... | fixed the rect_example so that it doesn't leave randomly named embed.js files inside of demos | py |
diff --git a/nion/swift/model/Cache.py b/nion/swift/model/Cache.py
index <HASH>..<HASH> 100644
--- a/nion/swift/model/Cache.py
+++ b/nion/swift/model/Cache.py
@@ -364,7 +364,7 @@ class DbStorageCache:
pass
def __run(self, cache_filename):
- self.conn = sqlite3.connect(cache_filename)
+ sel... | Fix Python <I> compatibility issue. | py |
diff --git a/ait/core/server/plugin.py b/ait/core/server/plugin.py
index <HASH>..<HASH> 100644
--- a/ait/core/server/plugin.py
+++ b/ait/core/server/plugin.py
@@ -140,10 +140,15 @@ class TelemetryLimitMonitor(Plugin):
log.info('Starting telemetry limit monitoring')
def process(self, input_data, topic=No... | Make TelemetryLimitMonitor plugin robust to poorly formed input Update the TelemetryLimitMonitor plugin so exceptions raised when handling potentially malformed data are caught, logged, and ignored. This ensures that the greenlet doesn't terminate when bad input is received. | py |
diff --git a/cmd/load-generator/latency-charter.py b/cmd/load-generator/latency-charter.py
index <HASH>..<HASH> 100644
--- a/cmd/load-generator/latency-charter.py
+++ b/cmd/load-generator/latency-charter.py
@@ -41,7 +41,7 @@ def plot_section(data, started, stopped, title, outputPath):
ax = axes[i][0]
... | Switch throughput and quantile chart positions | py |
diff --git a/test/test_utils.py b/test/test_utils.py
index <HASH>..<HASH> 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -44,6 +44,30 @@ def test_paper_state_by_state2pyphi_state_by_state():
answer,
utils.paper_state_by_state2pyphi_state_by_state(paper_tpm)
)
+ paper_tpm = np.arra... | Add another test for TPM conversion utility | py |
diff --git a/phy/cluster/manual/views.py b/phy/cluster/manual/views.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/manual/views.py
+++ b/phy/cluster/manual/views.py
@@ -506,7 +506,7 @@ class WaveformView(ManualClusteringView):
dy = (py1 - py0) * .5
# New range.
new_range = (cx - dx, cy - dy... | Fix display bug in autozoom in waveform view | py |
diff --git a/fmn/rules/utils.py b/fmn/rules/utils.py
index <HASH>..<HASH> 100644
--- a/fmn/rules/utils.py
+++ b/fmn/rules/utils.py
@@ -6,10 +6,31 @@ import requests
import requests.exceptions
from dogpile.cache import make_region
+from fedora.client.fas2 import AccountSystem
log = logging.getLogger(__name__)
... | Add logic to instantiate an AccountSystem object if there isn't already one | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,6 +4,7 @@ import re
import os
from setuptools.command.test import test as TestCommand
+from setuptools.command.install import install
from setuptools import setup
@@ -21,12 +22,15 @@ description = "Python client fo... | setup: remove consul.aio only at install phase | py |
diff --git a/modularodm/storedobject.py b/modularodm/storedobject.py
index <HASH>..<HASH> 100644
--- a/modularodm/storedobject.py
+++ b/modularodm/storedobject.py
@@ -317,7 +317,7 @@ class StoredObject(object):
self.__backrefs[backref_key] = {}
if backref_value_class_name not in self.__backrefs[ba... | don't freeze back refs unless necessary | py |
diff --git a/bedup/tracking.py b/bedup/tracking.py
index <HASH>..<HASH> 100644
--- a/bedup/tracking.py
+++ b/bedup/tracking.py
@@ -29,7 +29,7 @@ import stat
import subprocess
import sys
-from contextlib import closing
+from contextlib import closing, nested
from .btrfs import (
lookup_ino_path_one, get_fsid... | Make comm3 closing more deterministic. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -24,6 +24,6 @@ setup(
'lesscpy/test/css/issues/*.css',
'lesscpy/test/less/*.less',
'lesscpy/test/less/issues/*.less',]},
- ... | Fix Py3k encoding issues in setup.py | py |
diff --git a/hyperstream/time_interval.py b/hyperstream/time_interval.py
index <HASH>..<HASH> 100644
--- a/hyperstream/time_interval.py
+++ b/hyperstream/time_interval.py
@@ -152,7 +152,7 @@ class TimeIntervals(Printable):
if self.is_empty:
return TimeIntervals(other.intervals)
- if other... | bugfix in hyperstream/time_interval.py: __add__ did not check whether other is TimeIntervals before checking other.is_empty | py |
diff --git a/synapse/lib/node.py b/synapse/lib/node.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/node.py
+++ b/synapse/lib/node.py
@@ -608,7 +608,8 @@ class Node:
async for _ in self.snap.nodesByTag(self.ndef[1]): # NOQA
mesg = 'Nodes still have this tag.'
- ... | Include node iden in Node.delete() errors (#<I>) | py |
diff --git a/clamdispatcher.py b/clamdispatcher.py
index <HASH>..<HASH> 100755
--- a/clamdispatcher.py
+++ b/clamdispatcher.py
@@ -74,8 +74,11 @@ abortchecktime = 0
idle = 0
done = False
+def total_seconds(delta):
+ return delta.days * 86400 + delta.seconds + (delta.microseconds / 1000000.0)
+
while not done: ... | fix for older python | py |
diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/extract.py
+++ b/openquake/calculators/extract.py
@@ -202,13 +202,16 @@ def extract_realizations(dstore, dummy):
@extract.add('tagcollection')
def extract_tagcollection(dstore, what... | While extracting the tagcollection, also extract loss categories Former-commit-id: <I>e6ff5f<I>f9d<I>c4ef9ffa<I>ab9b<I>eea9 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,7 @@ test_deps = [
'vcrpy']
setup(name='fast_arrow',
- version='0.2.1',
+ version='0.2.2',
description='API client for Robinhood',
long_description=long_description,
long_description_cont... | verion bump. added #<I>, portfolio historical data. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ from os import path
setup(
name = "acos-client",
- version = "2.1.1",
+ version = "2.2.0",
packages = find_packages(),
author = "A10 Networks", | Bumped version number to represent addition of vrid partition support | py |
diff --git a/intranet/apps/users/models.py b/intranet/apps/users/models.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/users/models.py
+++ b/intranet/apps/users/models.py
@@ -1134,7 +1134,10 @@ class User(AbstractBaseUser, PermissionsMixin):
raise AttributeError("'User' has no attribute '{}'".format(na... | if user is 'inactive,' aka a temp user, don't throw exception when they don't exist in ldap | py |
diff --git a/rio_client/contrib/flask.py b/rio_client/contrib/flask.py
index <HASH>..<HASH> 100644
--- a/rio_client/contrib/flask.py
+++ b/rio_client/contrib/flask.py
@@ -2,9 +2,16 @@
from __future__ import absolute_import
+from collections import namedtuple
+
+from flask import request
+
from rio_client.base imp... | add `rio.current` property. | py |
diff --git a/songpal/containers.py b/songpal/containers.py
index <HASH>..<HASH> 100644
--- a/songpal/containers.py
+++ b/songpal/containers.py
@@ -109,6 +109,7 @@ class Sysinfo:
macAddr = attr.ib()
version = attr.ib()
wirelessMacAddr = attr.ib()
+ bssid = attr.ib(default=None)
@attr.s
@@ -179,14 ... | adjust output and sysinfo containers for srs-x<I> (issue #3) | py |
diff --git a/napalm_ios/ios.py b/napalm_ios/ios.py
index <HASH>..<HASH> 100644
--- a/napalm_ios/ios.py
+++ b/napalm_ios/ios.py
@@ -199,6 +199,9 @@ class IOSDriver(NetworkDriver):
merge_error = "Configuration merge failed; automatic rollback attempted"
raise MergeConfigException(merge_e... | Adding write mem to commit operation | py |
diff --git a/python/kappa_common.py b/python/kappa_common.py
index <HASH>..<HASH> 100644
--- a/python/kappa_common.py
+++ b/python/kappa_common.py
@@ -26,6 +26,9 @@ class FileMetadata(object):
def get_file_id(self):
return(self.file_metadata_id)
+def stringAsFile(content,position=1):
+ return(File(Fi... | python wrapper to represent kappa code as a kappa file | py |
diff --git a/qualysapi/config.py b/qualysapi/config.py
index <HASH>..<HASH> 100644
--- a/qualysapi/config.py
+++ b/qualysapi/config.py
@@ -52,7 +52,7 @@ class QualysConnectConfig:
# apply bitmask to current mode to check ONLY user access permissions.
if (mode & (stat.S_IRWXG | stat.S_IRWXO))... | Root logger stealing Noticed these two lines stealing/duplicating my logging ;) | py |
diff --git a/cobra/core/Object.py b/cobra/core/Object.py
index <HASH>..<HASH> 100644
--- a/cobra/core/Object.py
+++ b/cobra/core/Object.py
@@ -4,7 +4,7 @@ from six import iteritems
class Object(object):
"""Defines common behavior of object in cobra.core"""
- def __init__(self, id=None, name=None):
+ def _... | cobra.object.name is empty strign by default Instead of None by default | py |
diff --git a/validator/sawtooth_validator/state/client_handlers.py b/validator/sawtooth_validator/state/client_handlers.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/state/client_handlers.py
+++ b/validator/sawtooth_validator/state/client_handlers.py
@@ -496,7 +496,7 @@ class StateGetRequest(_Client... | Fix validator using wrong status for non-leaf addresses | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.