diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/tests/integration/modules/cmdmod.py b/tests/integration/modules/cmdmod.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/cmdmod.py
+++ b/tests/integration/modules/cmdmod.py
@@ -28,7 +28,10 @@ class CMDModuleTest(integration.ModuleCase):
'''
cmd.run
'''
- shell... | avoid key error is not SHELL env var | py |
diff --git a/salt/modules/pillar.py b/salt/modules/pillar.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pillar.py
+++ b/salt/modules/pillar.py
@@ -614,7 +614,7 @@ def filter_by(lookup_dict,
on that particular OS.
The dictionary key can be a globbing pattern. The function will return
- the... | Porting PR #<I> to <I> | py |
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py
index <HASH>..<HASH> 100644
--- a/allegedb/allegedb/cache.py
+++ b/allegedb/allegedb/cache.py
@@ -580,7 +580,14 @@ class Cache(object):
parents[turn] = newp
branches = self.branches[parent+(entity, key)][branch]
if b... | Make Cache._store raise HistoryError if you try to overwrite a tick | py |
diff --git a/src/plotypus/preprocessing.py b/src/plotypus/preprocessing.py
index <HASH>..<HASH> 100644
--- a/src/plotypus/preprocessing.py
+++ b/src/plotypus/preprocessing.py
@@ -169,10 +169,10 @@ class Fourier():
amplitude_ratios[:] = amplitudes[1:]
amplitude_ratios /= amplitudes[0]
- # th... | Constraining phase_deltas between 0 and 2*pi This is probably the wrong way to do it. I'll probably change it back later | py |
diff --git a/wikidataintegrator/wdi_helpers.py b/wikidataintegrator/wdi_helpers.py
index <HASH>..<HASH> 100644
--- a/wikidataintegrator/wdi_helpers.py
+++ b/wikidataintegrator/wdi_helpers.py
@@ -1,3 +1,4 @@
+import difflib
import datetime
import json
from collections import defaultdict, Counter
@@ -400,6 +401,12 @@ ... | PubmedItem: if the current title is <I>% similar to new title, dont change it | py |
diff --git a/datajoint/erd.py b/datajoint/erd.py
index <HASH>..<HASH> 100644
--- a/datajoint/erd.py
+++ b/datajoint/erd.py
@@ -406,6 +406,9 @@ class ERD(DiGraph):
tables
:return: string representation of the erm
"""
+ if len(self) == 0:
+ return "No relations to show"
+
... | Correctly handle ERD repr when ERD is empty | py |
diff --git a/txtorcon/endpoints.py b/txtorcon/endpoints.py
index <HASH>..<HASH> 100644
--- a/txtorcon/endpoints.py
+++ b/txtorcon/endpoints.py
@@ -397,7 +397,6 @@ class TCPHiddenServiceEndpoint(object):
if ephemeral is None:
ephemeral = True
if hidden_service_dir is not None:
- ... | version=3 ephemeral services do work; removing redundant comments | py |
diff --git a/angr/state_plugins/unicorn_engine.py b/angr/state_plugins/unicorn_engine.py
index <HASH>..<HASH> 100644
--- a/angr/state_plugins/unicorn_engine.py
+++ b/angr/state_plugins/unicorn_engine.py
@@ -974,7 +974,7 @@ class Unicorn(SimStatePlugin):
else:
self.countdown_nonunicorn_blocks = sel... | Guard against floating point exceptions in unicorn timing code | py |
diff --git a/raiden/tests/integration/api/test_restapi.py b/raiden/tests/integration/api/test_restapi.py
index <HASH>..<HASH> 100644
--- a/raiden/tests/integration/api/test_restapi.py
+++ b/raiden/tests/integration/api/test_restapi.py
@@ -951,26 +951,6 @@ def test_api_payments_conflicts(test_api_server, raiden_network,... | Fix test_api_payments_conflicts The test was previously using a direct transfer to compare direct and mediated transfers in flight. This is no longer needed. | py |
diff --git a/ci/print_versions.py b/ci/print_versions.py
index <HASH>..<HASH> 100755
--- a/ci/print_versions.py
+++ b/ci/print_versions.py
@@ -1,21 +1,15 @@
#!/usr/bin/env python
-try:
- from pandas.util.print_versions import show_versions
-except Exception as e:
-
- print("Failed to import pandas: %s" % e)
... | CLN: just call print_versions via subprocess | py |
diff --git a/backtrader/cerebro.py b/backtrader/cerebro.py
index <HASH>..<HASH> 100644
--- a/backtrader/cerebro.py
+++ b/backtrader/cerebro.py
@@ -1129,6 +1129,7 @@ class Cerebro(with_metaclass(MetaParams, object)):
dt0 = min((d for d in dts if d is not None))
dmaster = datas[dts.index... | Address #<I> correct data timeframe length accounting intended for synchronized plotting | py |
diff --git a/pyblish_qml/control.py b/pyblish_qml/control.py
index <HASH>..<HASH> 100644
--- a/pyblish_qml/control.py
+++ b/pyblish_qml/control.py
@@ -922,6 +922,14 @@ class Controller(QtCore.QObject):
def on_finished():
self.host.emit("published", context=None)
+ # If there are insta... | Prompt failed message if any error occurred on published | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ from setuptools import setup
install_requires = [
'python-dateutil==1.5',
- 'requests',
+ 'requests==1.0',
'simplejson',
] | requests <I> is required Client is using requests's Session.mount() which was introduced in <I> | py |
diff --git a/holoviews/core/operation.py b/holoviews/core/operation.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/operation.py
+++ b/holoviews/core/operation.py
@@ -119,7 +119,8 @@ class DynamicOperation(Operation):
"""
dim_values = zip(*hmap.data.keys())
params = util.get_param_values(... | Ensured DynamicOperation uses the set of keys when converting HoloMap | py |
diff --git a/src/infi/instruct/fields/__init__.py b/src/infi/instruct/fields/__init__.py
index <HASH>..<HASH> 100644
--- a/src/infi/instruct/fields/__init__.py
+++ b/src/infi/instruct/fields/__init__.py
@@ -175,6 +175,7 @@ class Struct(StaticSerializer):
kwargs = kwargs.copy()
cls = type(sel... | INSTRUCT-3 Struct's init calls _init_class_fields_if_needed | py |
diff --git a/indic_transliteration/sanscript/schemes/brahmi.py b/indic_transliteration/sanscript/schemes/brahmi.py
index <HASH>..<HASH> 100644
--- a/indic_transliteration/sanscript/schemes/brahmi.py
+++ b/indic_transliteration/sanscript/schemes/brahmi.py
@@ -25,7 +25,7 @@ class DevanagariScheme(Scheme):
def __init... | Remove iml file, fix a sandhi test. | py |
diff --git a/eve_elastic/elastic.py b/eve_elastic/elastic.py
index <HASH>..<HASH> 100644
--- a/eve_elastic/elastic.py
+++ b/eve_elastic/elastic.py
@@ -291,8 +291,8 @@ class Elastic(DataLayer):
ids = []
kwargs.update(self._es_args(resource))
for doc in doc_or_docs:
- doc.update(self... | fix(insert): don't extend document on insert it should avoid adding elastic internal data to docs like _version, _index, _type | py |
diff --git a/test_elasticsearch_dsl/test_result.py b/test_elasticsearch_dsl/test_result.py
index <HASH>..<HASH> 100644
--- a/test_elasticsearch_dsl/test_result.py
+++ b/test_elasticsearch_dsl/test_result.py
@@ -23,6 +23,12 @@ def test_response_is_pickleable(dummy_response):
assert r == res
+def test_hit_is_pic... | add pickle tests for Hit as well | py |
diff --git a/bigfloat/test/test_bigfloat.py b/bigfloat/test/test_bigfloat.py
index <HASH>..<HASH> 100644
--- a/bigfloat/test/test_bigfloat.py
+++ b/bigfloat/test/test_bigfloat.py
@@ -109,6 +109,10 @@ class BigFloatTests(unittest.TestCase):
# test add, mul, div, sub, pow, mod
test_precisions = [2, 10, ... | Don't test 'mod' function for MPFR < <I>. | py |
diff --git a/timeside/server/management/commands/timeside-import-items.py b/timeside/server/management/commands/timeside-import-items.py
index <HASH>..<HASH> 100644
--- a/timeside/server/management/commands/timeside-import-items.py
+++ b/timeside/server/management/commands/timeside-import-items.py
@@ -31,7 +31,7 @@ cla... | [server] use print() in timeside-import-items.py | py |
diff --git a/scrape/scrape.py b/scrape/scrape.py
index <HASH>..<HASH> 100755
--- a/scrape/scrape.py
+++ b/scrape/scrape.py
@@ -59,6 +59,7 @@ IGNORED_SERVICE_ALIASES = {
"Amazon Lex V2": "lex",
"Amazon Pinpoint Email Service": "ses",
"Amazon Simple Email Service v2": "ses",
+ "AWS Cloud Control API": "... | Fix scraper to deal with AWS doc changes | py |
diff --git a/rejected/consumer.py b/rejected/consumer.py
index <HASH>..<HASH> 100644
--- a/rejected/consumer.py
+++ b/rejected/consumer.py
@@ -764,8 +764,7 @@ class PublishingConsumer(Consumer):
# Publish the message
self.logger.debug('Publishing message to %s:%s', exchange, routing_key)
- wi... | PublishingConsumer: Remove routing key from metric. Having the routing key in the metric path causes enormous growth in the metric count when the routing key is used for fine-grained routing. | py |
diff --git a/spotify/client.py b/spotify/client.py
index <HASH>..<HASH> 100644
--- a/spotify/client.py
+++ b/spotify/client.py
@@ -1,4 +1,5 @@
import asyncio
+from typing import Optional, List, Iterable, Dict, Union
from .http import HTTPClient
from .utils import to_id
@@ -13,7 +14,6 @@ from . import (
Playli... | bugfix missing imports and update docstring | py |
diff --git a/ait/core/tlm.py b/ait/core/tlm.py
index <HASH>..<HASH> 100644
--- a/ait/core/tlm.py
+++ b/ait/core/tlm.py
@@ -743,8 +743,8 @@ class PacketDefinition(json.SlotSerializer, object):
def simulate(self, fill=None):
size = self.nbytes
- values = range(size) if fill is None else ((fill,) ... | Updated tlm packet simulate to match behavior in py2 | py |
diff --git a/tests/urls.py b/tests/urls.py
index <HASH>..<HASH> 100644
--- a/tests/urls.py
+++ b/tests/urls.py
@@ -15,6 +15,6 @@ urlpatterns = [
views.TileView.as_view(queryset=Location.objects.all()),
name='location-tiles'),
url(tilepath('^maptiles/(?P<pk>\d+)/'),
- views.MapView.as_view(... | Use RasterTileView in test urls | py |
diff --git a/examples/paramiko_expect-demo-helper.py b/examples/paramiko_expect-demo-helper.py
index <HASH>..<HASH> 100755
--- a/examples/paramiko_expect-demo-helper.py
+++ b/examples/paramiko_expect-demo-helper.py
@@ -7,6 +7,7 @@
#
# This interactive script is used to help demonstrate the paramiko_expect-demo.py
# ... | Corrected the demo helper script to work properly on Python <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -59,6 +59,13 @@ setup(
install_requires=install_requires,
license='MIT',
test_suite='nose.collector',
+ project_urls={
+ "Documentation": "https://httpretty.readthedocs.io/en/latest/",
+ "Source... | add project urls to pypi | py |
diff --git a/test/functional/test_ckan.py b/test/functional/test_ckan.py
index <HASH>..<HASH> 100644
--- a/test/functional/test_ckan.py
+++ b/test/functional/test_ckan.py
@@ -10,7 +10,7 @@ except ImportError:
from ambry.exporters.ckan.core import export, MISSING_CREDENTIALS_MSG
from test.factories import FileFactor... | CKAN tests use proto library. #<I>. | py |
diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py
index <HASH>..<HASH> 100644
--- a/saltapi/netapi/rest_cherrypy/app.py
+++ b/saltapi/netapi/rest_cherrypy/app.py
@@ -1121,7 +1121,7 @@ class Events(object):
def __init__(self):
self.opts = cherrypy.config['saltopts']
-... | Replace another auth.Resolver instead of LoadAuth Missed this one in 4e<I>ca. | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -36,9 +36,10 @@ extensions = [
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
- 'sphinx.ext.githubpages',
'sphinx.ext.napoleon'
]
+# Removed: 'sphinx.ext.githubpage... | Remove sphinx.ext.githubpages from conf.py Causing build errors on readthedocs.org | py |
diff --git a/src/plotypus_scripts/plotypus.py b/src/plotypus_scripts/plotypus.py
index <HASH>..<HASH> 100644
--- a/src/plotypus_scripts/plotypus.py
+++ b/src/plotypus_scripts/plotypus.py
@@ -2,7 +2,7 @@ import numpy
from sys import exit, stdin, stderr
from os import path, listdir
from argparse import ArgumentError, ... | Changed LassoCV to LassoLarsIC | py |
diff --git a/angr/analyses/backward_slice.py b/angr/analyses/backward_slice.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/backward_slice.py
+++ b/angr/analyses/backward_slice.py
@@ -246,6 +246,9 @@ class BackwardSlice(Analysis):
max_count = len(actions)
state = s
... | Skip IRSBs with no successors | py |
diff --git a/prosper/common/utilities.py b/prosper/common/utilities.py
index <HASH>..<HASH> 100644
--- a/prosper/common/utilities.py
+++ b/prosper/common/utilities.py
@@ -128,8 +128,15 @@ def email_body_builder(errorMsg, helpMsg):
def quandlfy_json(jsonObj):
'''turn object from JSON into QUANDL-style JSON'''
- ... | adding log_and_debug to utilities | py |
diff --git a/tests/test_fixtures.py b/tests/test_fixtures.py
index <HASH>..<HASH> 100644
--- a/tests/test_fixtures.py
+++ b/tests/test_fixtures.py
@@ -17,7 +17,7 @@ FixturesMixin.init_app(app, db)
class TestFoo(unittest.TestCase, FixturesMixin):
# Specify the fixtures file(s) you want to load
- fixtures = ['... | Don't want to require PyYAML just to run the tests | py |
diff --git a/shinken/satellite.py b/shinken/satellite.py
index <HASH>..<HASH> 100644
--- a/shinken/satellite.py
+++ b/shinken/satellite.py
@@ -578,7 +578,7 @@ class Satellite(BaseSatellite):
sched = self.schedulers[sched_id]
for mod in self.worker_modules:
# In workers we've g... | Fix : call for on bad call for dict. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -143,7 +143,7 @@ def get_extensions():
if torch.__version__ >= "1.5":
from torch.utils.cpp_extension import ROCM_HOME
- is_rocm_pytorch = True if ((torch.version.hip is not None) and (ROCM_HOME is not No... | Removed unnecessary if from setup.py (#<I>) * Removed unnecessary if from setup.py * Removed empty line | py |
diff --git a/hvac/api/system_backend/mount.py b/hvac/api/system_backend/mount.py
index <HASH>..<HASH> 100644
--- a/hvac/api/system_backend/mount.py
+++ b/hvac/api/system_backend/mount.py
@@ -33,7 +33,7 @@ class Mount(SystemBackendMixin):
:param backend_type: The name of the backend type, such as "github" or ... | Fix name of the argument in docstring of `Mount.enable_secrets_engine` | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ def read(fname):
setup(name='Deft',
- version='0.1.0',
+ version='0.2.0',
description='Easy Distributed Feature Tracking',
long_description=read("README.rst"),
author='Nat Pryce... | now working towards <I> release | py |
diff --git a/openquake/server/db/actions.py b/openquake/server/db/actions.py
index <HASH>..<HASH> 100644
--- a/openquake/server/db/actions.py
+++ b/openquake/server/db/actions.py
@@ -260,8 +260,7 @@ def get_outputs(db, job_id):
DISPLAY_NAME = {
'gmf_data': 'Ground Motion Fields',
'dmg_by_asset': 'Average Ass... | Added description Aggregate Event Damages Former-commit-id: c1b<I>c5c<I>eb<I>c<I>a<I>e6c<I> | py |
diff --git a/examples/image_streamer/artifact_bundles.py b/examples/image_streamer/artifact_bundles.py
index <HASH>..<HASH> 100644
--- a/examples/image_streamer/artifact_bundles.py
+++ b/examples/image_streamer/artifact_bundles.py
@@ -112,7 +112,8 @@ pprint(response)
# Download the Artifact Bundle
print("\nDownload... | fixed an issue in artifact bundle sample | py |
diff --git a/src/feat/database/tools.py b/src/feat/database/tools.py
index <HASH>..<HASH> 100644
--- a/src/feat/database/tools.py
+++ b/src/feat/database/tools.py
@@ -76,12 +76,6 @@ def _update_old(connection, doc):
yield connection.save_document(doc)
-def load_application(option, opt_str, value, parser):
- ... | Loading --application is a general option now, remove it from feat-dbload. | py |
diff --git a/mzgtfs/test_agency.py b/mzgtfs/test_agency.py
index <HASH>..<HASH> 100644
--- a/mzgtfs/test_agency.py
+++ b/mzgtfs/test_agency.py
@@ -77,7 +77,7 @@ class TestAgency(unittest.TestCase):
def test_route(self):
agency = util.preload_agency()
- assert agency.route(id='AB')
+ assert agency.rout... | Changed id= to key= | py |
diff --git a/keyboard.py b/keyboard.py
index <HASH>..<HASH> 100644
--- a/keyboard.py
+++ b/keyboard.py
@@ -1,3 +1,5 @@
+from __future__ import with_statement
+
import os
import sys
import fcntl
@@ -34,7 +36,7 @@ ANSI_SEQUENCES = dict(
KEY_NAMES = dict((v,k) for k,v in ANSI_SEQUENCES.items())
KEY_NAMES.update({
-... | fix support for python <I> | py |
diff --git a/gwpy/plotter/segments.py b/gwpy/plotter/segments.py
index <HASH>..<HASH> 100644
--- a/gwpy/plotter/segments.py
+++ b/gwpy/plotter/segments.py
@@ -247,7 +247,7 @@ class SegmentAxes(TimeSeriesAxes):
@auto_refresh
def plot_segmentlist(self, segmentlist, y=None, collection=True,
- ... | SegmentAxes: added support for rasterization | py |
diff --git a/tests/integration/modules/ssh.py b/tests/integration/modules/ssh.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/ssh.py
+++ b/tests/integration/modules/ssh.py
@@ -222,7 +222,7 @@ class SSHModuleTest(integration.ModuleCase):
ret = self.run_function('ssh.set_known_host', ['root', 'git... | fix ssh test error introduced by #<I> | py |
diff --git a/nodeconductor/core/handlers.py b/nodeconductor/core/handlers.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/core/handlers.py
+++ b/nodeconductor/core/handlers.py
@@ -119,7 +119,6 @@ def log_ssh_key_delete(sender, instance, **kwargs):
def log_token_create(sender, instance, created=False, **kwargs):
... | Remove blank line [WAL-<I>] | py |
diff --git a/sigopt_sklearn/search.py b/sigopt_sklearn/search.py
index <HASH>..<HASH> 100644
--- a/sigopt_sklearn/search.py
+++ b/sigopt_sklearn/search.py
@@ -11,9 +11,18 @@ import numpy
import sigopt
from joblib import Parallel, delayed
from joblib.func_inspect import getfullargspec
-from sklearn.grid_search import... | upgrade for sklearn <I> | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -47,6 +47,7 @@ def get_version(*file_paths):
# sys.path.insert(0, os.path.abspath('.'))
REPO_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(REPO_ROOT)
+sys.path.append(os.... | docs: Fix configuration for RTD builds (#<I>) Fixed another bug in the docs configuration that impacted Read the Docs builds but not local builds via tox. Also removed a redundant argument for a command copied in from the cookiecutter. | py |
diff --git a/satpy/readers/amsr2_l1b.py b/satpy/readers/amsr2_l1b.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/amsr2_l1b.py
+++ b/satpy/readers/amsr2_l1b.py
@@ -14,15 +14,17 @@ class AMSR2L1BFileHandler(HDF5FileHandler):
raise NotImplementedError()
def get_shape(self, ds_id, ds_info):
+ """... | Attempt to fix AMSR2 L1B reader tests | py |
diff --git a/mintapi/signIn.py b/mintapi/signIn.py
index <HASH>..<HASH> 100644
--- a/mintapi/signIn.py
+++ b/mintapi/signIn.py
@@ -448,7 +448,7 @@ def handle_same_page_username_password(driver, email, password):
def handle_different_page_username_password(driver, email):
try:
- email_input = find_element... | [FIX] - Add missing driver to find_element to fix issue with signing in (#<I>) | py |
diff --git a/salt/tops/reclass_adapter.py b/salt/tops/reclass_adapter.py
index <HASH>..<HASH> 100644
--- a/salt/tops/reclass_adapter.py
+++ b/salt/tops/reclass_adapter.py
@@ -93,11 +93,16 @@ def top(**kwargs):
# file_roots of class 'base' (if that exists):
set_inventory_base_uri_default(__opts__, kwar... | Extract minion_id and pass to top() Contrary to previous information, the master_tops interface *expects* the data to be limited to states applicable to a specific minion. Therefore, the minion ID needs to be provided to reclass. As the minion_id is currently not part of the master_tops interface, it needs to be extra... | py |
diff --git a/pyhadoopapi/__init__.py b/pyhadoopapi/__init__.py
index <HASH>..<HASH> 100644
--- a/pyhadoopapi/__init__.py
+++ b/pyhadoopapi/__init__.py
@@ -1,10 +1,10 @@
-from .client import ServiceError
+from .client import Client,ServiceError,parse_args,make_client
from .webhdfs import WebHDFS
from .oozie import Ooz... | adjusted imports; bumped version | py |
diff --git a/django_productline/features/admin/context_processors.py b/django_productline/features/admin/context_processors.py
index <HASH>..<HASH> 100644
--- a/django_productline/features/admin/context_processors.py
+++ b/django_productline/features/admin/context_processors.py
@@ -19,9 +19,11 @@ def django_admin(reque... | add django_admin template context only in case the user is authenticated | py |
diff --git a/src/gnupg.py b/src/gnupg.py
index <HASH>..<HASH> 100644
--- a/src/gnupg.py
+++ b/src/gnupg.py
@@ -743,7 +743,15 @@ use_agent: %s
def _sign_file(self, file, keyid=None, passphrase=None, clearsign=True,
detach=False, binary=False):
- """Create a signature for a file."""
+ ... | Update docstring for GPG._sign_file(). | py |
diff --git a/datatableview/views/legacy.py b/datatableview/views/legacy.py
index <HASH>..<HASH> 100644
--- a/datatableview/views/legacy.py
+++ b/datatableview/views/legacy.py
@@ -676,6 +676,7 @@ class LegacyConfigurationDatatableMixin(DatatableMixin):
'object_list': self.get_queryset(),
'view'... | Fix callback discover on LegacyConfiguration view | py |
diff --git a/datatableview/utils.py b/datatableview/utils.py
index <HASH>..<HASH> 100644
--- a/datatableview/utils.py
+++ b/datatableview/utils.py
@@ -190,10 +190,10 @@ def normalize_config(config, query_config, model=None):
# Page length
try:
- page_length = query_config.get(OPTION_NAME_MAP['page_le... | Fix bug with ignored page_length on first load There was no query_config yet, so defaulting to the global options instead of the new DatatableOptions config was the wrong plan. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -49,5 +49,5 @@ setup(
'field=field:main',
],
},
- data_files=[('/usr/share/man/man1/', ['docs/field.1.gz'])]
+ data_files=[('man/man1', ['docs/field.1.gz'])]
) | Change manpage path to be relative in setup.py | py |
diff --git a/landez/tests.py b/landez/tests.py
index <HASH>..<HASH> 100644
--- a/landez/tests.py
+++ b/landez/tests.py
@@ -96,7 +96,7 @@ class TestTilesManager(unittest.TestCase):
class TestMBTilesBuilder(unittest.TestCase):
- temp_cache = os.path.join(tempfile.gettempdir(), 'landez/stileopenstreetmaporg')
+ ... | Adapt tests to the new temporary directory layout | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -673,7 +673,7 @@ with open(os.path.join(setup_py_cwd, "README.md"), encoding="utf-8") as f:
setup(
name="PyMuPDF",
- version="1.20.0rc2",
+ version="1.20.0rc3",
description="Python bindings for the PDF toolk... | setup.py: set version to <I>rc3. Also updated minimum python version from <I> to <I> to match the wheels we build. | py |
diff --git a/mmcv/runner/hooks/lr_updater.py b/mmcv/runner/hooks/lr_updater.py
index <HASH>..<HASH> 100644
--- a/mmcv/runner/hooks/lr_updater.py
+++ b/mmcv/runner/hooks/lr_updater.py
@@ -110,11 +110,11 @@ class LrUpdaterHook(Hook):
group['initial_lr'] for group in runner.optimizer.param_groups
... | fix bug for self.warmup_iters when warmup_by_epoch (#<I>) | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -177,7 +177,7 @@ htmlhelp_basename = 'AmissPHPDataMapperdoc'
# -- Options for LaTeX output --------------------------------------------------
# The paper size ('letter' or 'a4').
-#latex_paper_size = 'letter'
+... | A4. What's this "letter" crap? | py |
diff --git a/bcbio/provenance/versioncheck.py b/bcbio/provenance/versioncheck.py
index <HASH>..<HASH> 100644
--- a/bcbio/provenance/versioncheck.py
+++ b/bcbio/provenance/versioncheck.py
@@ -10,11 +10,14 @@ def samtools(config, items):
"""Ensure samtools has parallel processing required for piped analysis.
""... | Check both stderr and stdout for the -@ option. samtools <I> with just the samtools sort option doesn't return the help, it needs the -h. | py |
diff --git a/salt/states/git.py b/salt/states/git.py
index <HASH>..<HASH> 100644
--- a/salt/states/git.py
+++ b/salt/states/git.py
@@ -2732,7 +2732,7 @@ def cloned(name,
https_pass=None,
output_encoding=None):
'''
- .. versionadded:: 2018.3.3, Fluorine
+ .. versionadded:: 2018.3.3,Flu... | Fix badly formatted versionadded directive A space here will cause the Sphinx role to treat whatever is after the comma as the comment for the directive, so it will be rendered with different CSS and look weird. | py |
diff --git a/py/vttest/occ_test.py b/py/vttest/occ_test.py
index <HASH>..<HASH> 100755
--- a/py/vttest/occ_test.py
+++ b/py/vttest/occ_test.py
@@ -122,7 +122,8 @@ class TestEnv(object):
pass
if getattr(self, "vtocc", None):
self.vtocc.terminate()
- self.vtstderr.close()
+ if getattr(self, "vtst... | Fix for exception in test harness due to attribute out of scope/missing. Traceback (most recent call last): File "./occ_test.py", line <I>, in <module> env.tearDown() File "./occ_test.py", line <I>, in tearDown self.vtstderr.close() AttributeError: 'TestEnv' object has no attribute ... | py |
diff --git a/lib/websearch_webinterface.py b/lib/websearch_webinterface.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_webinterface.py
+++ b/lib/websearch_webinterface.py
@@ -760,7 +760,7 @@ class WebInterfaceSearchInterfacePages(WebInterfaceDirectory):
elif component == 'record' and path and path[0] == 'e... | WebSearch: fix /record URL * Calling /record (without trailing slash) resulted in an error <I> because of a missing check. Fixed now. | py |
diff --git a/spyder/utils/tests/test_codeanalysis.py b/spyder/utils/tests/test_codeanalysis.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/tests/test_codeanalysis.py
+++ b/spyder/utils/tests/test_codeanalysis.py
@@ -43,11 +43,8 @@ def test_codeanalysis():
code = open(TEST_FILE).read()
check_results = check... | Testing: Make test_codeanalysis more robust to changes in Pyflakes and Pycodestyle | py |
diff --git a/djes/mapping.py b/djes/mapping.py
index <HASH>..<HASH> 100644
--- a/djes/mapping.py
+++ b/djes/mapping.py
@@ -12,7 +12,8 @@ FIELD_MAPPINGS = {
"TextField": {"type": "string"},
"SlugField": {"type": "string", "index": "not_analyzed"},
"DateTimeField": {"type": "date"},
- "DateField": {"typ... | Adding BooleanField | py |
diff --git a/werkzeug/datastructures.py b/werkzeug/datastructures.py
index <HASH>..<HASH> 100644
--- a/werkzeug/datastructures.py
+++ b/werkzeug/datastructures.py
@@ -613,6 +613,12 @@ class OrderedMultiDict(MultiDict):
In general an :class:`OrderedMultiDict` is an order of magnitude
slower than a :class:`Mu... | Documented a problem with dict() calls. | py |
diff --git a/fireplace/game.py b/fireplace/game.py
index <HASH>..<HASH> 100644
--- a/fireplace/game.py
+++ b/fireplace/game.py
@@ -188,9 +188,16 @@ class BaseGame(Entity):
for action in actions:
if isinstance(action, EventListener):
+ # Queuing an EventListener registers it as a one-time event
+ # This a... | Differenciate between one-time events coming from spells and minions | py |
diff --git a/troposphere/rds.py b/troposphere/rds.py
index <HASH>..<HASH> 100644
--- a/troposphere/rds.py
+++ b/troposphere/rds.py
@@ -334,7 +334,7 @@ class DBCluster(AWSObject):
resource_type = "AWS::RDS::DBCluster"
props = {
- 'AvailabilityZone': (basestring, False),
+ 'AvailabilityZones': (... | Fix #<I>: RDS::DBCluster change AvailabilityZone to AvailabilityZones | py |
diff --git a/telemetry/telemetry/core/cast_interface.py b/telemetry/telemetry/core/cast_interface.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/cast_interface.py
+++ b/telemetry/telemetry/core/cast_interface.py
@@ -10,8 +10,8 @@ from telemetry.core import util
CAST_BROWSERS = [
'platform_app'
]
-... | [cast3p] Change user and password used for Cast hardware devices Change-Id: Id<I>d<I>afea<I>d<I>ce9af<I>d<I>add<I>e3 Reviewed-on: <URL> | py |
diff --git a/slackviewer/reader.py b/slackviewer/reader.py
index <HASH>..<HASH> 100644
--- a/slackviewer/reader.py
+++ b/slackviewer/reader.py
@@ -110,7 +110,7 @@ class Reader(object):
all_mpim_users = []
for mpim in mpims:
- mpim_members = {"name": mpim["name"], "users": [self.__USER_DAT... | Managed cases with incomplete Slack's export (following e.g. member or reply removal in a conversation) | py |
diff --git a/tests/test_track.py b/tests/test_track.py
index <HASH>..<HASH> 100755
--- a/tests/test_track.py
+++ b/tests/test_track.py
@@ -40,8 +40,8 @@ class TestPyLastTrack(TestPyLastWithLastFm):
# Assert
loved = lastfm_user.get_loved_tracks(limit=1)
if len(loved): # OK to be empty but if ... | Fix: 'list' object has no attribute 'track' | py |
diff --git a/osmnx/settings.py b/osmnx/settings.py
index <HASH>..<HASH> 100644
--- a/osmnx/settings.py
+++ b/osmnx/settings.py
@@ -52,6 +52,10 @@ default_access = '["access"!~"private"]'
# The network types for which a bidirectional graph will be created
bidirectional_network_types = ['walk']
+#default settings str... | Added default overpass settings to settings.py. | py |
diff --git a/airflow/providers/microsoft/azure/hooks/wasb.py b/airflow/providers/microsoft/azure/hooks/wasb.py
index <HASH>..<HASH> 100644
--- a/airflow/providers/microsoft/azure/hooks/wasb.py
+++ b/airflow/providers/microsoft/azure/hooks/wasb.py
@@ -26,6 +26,8 @@ field (see connection `wasb_default` for an example).
... | Set default wasb Azure http logging level to warning; fixes #<I> (#<I>) | py |
diff --git a/openpnm/algorithms/GenericTransport.py b/openpnm/algorithms/GenericTransport.py
index <HASH>..<HASH> 100644
--- a/openpnm/algorithms/GenericTransport.py
+++ b/openpnm/algorithms/GenericTransport.py
@@ -356,8 +356,8 @@ class GenericTransport(GenericAlgorithm):
rate_BC_mask = np.isfinite(self["pore.... | Change warning for already-present-BCs from critical to simple warning | py |
diff --git a/src/wormhole/cli/cmd_send.py b/src/wormhole/cli/cmd_send.py
index <HASH>..<HASH> 100644
--- a/src/wormhole/cli/cmd_send.py
+++ b/src/wormhole/cli/cmd_send.py
@@ -65,7 +65,7 @@ class Sender:
other_cmd = "wormhole receive"
if args.verify:
- other_cmd = "wormhole --verify receiv... | Fix small CLI typo The output for verified copies asks the user to run `wormhole --verify receive`, but the correct argument order is `wormhole receive --verify`. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ except ImportError:
setup(
name='ezmomi',
- version='0.2.3',
+ version='0.3.0',
author='Jason Ashby',
author_email='jashby2@gmail.com',
packages=['ezmomi'], | updated release ver to <I> for pypi | py |
diff --git a/dvc/repo/update.py b/dvc/repo/update.py
index <HASH>..<HASH> 100644
--- a/dvc/repo/update.py
+++ b/dvc/repo/update.py
@@ -4,6 +4,5 @@ def update(self, target):
stage = Stage.load(self, target)
with self.state:
stage.update()
- stage.save()
stage.dump() | ui: remove extraneous stage.save() stage.update() already does that via .run(). That was causing printing a confusing message to user. | py |
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -137,8 +137,7 @@ class Networking(Plugin):
self.add_forbidden_path("/proc/net/cdp")
self.add_forbidden_path("/sys/net/cdp")
# Dialo... | [networking] blacklist entire /proc/net/eicon The Dialogic Diva out-of-tree driver creates a number of problematic files in /proc/net that return unlimited data on read. The previous attempt to handle this driver left some files exposed (possibly due to a change in the driver): to prevent this, blacklist the entire /p... | py |
diff --git a/kafka/producer/simple.py b/kafka/producer/simple.py
index <HASH>..<HASH> 100644
--- a/kafka/producer/simple.py
+++ b/kafka/producer/simple.py
@@ -42,7 +42,7 @@ class SimpleProducer(Producer):
batch_send=False,
batch_send_every_n=BATCH_SEND_MSG_COUNT,
ba... | Randomize start by default for SimpleProducer random_start=False is dangerous. Any client that initializes a SimpleProducer and performs only a single publish batch will always go to partition 0. A common use-case for this is command line utilities, or web-servers which are unable to cache the SimpleProducer instance ... | py |
diff --git a/pkglib/testing/mongo_server.py b/pkglib/testing/mongo_server.py
index <HASH>..<HASH> 100644
--- a/pkglib/testing/mongo_server.py
+++ b/pkglib/testing/mongo_server.py
@@ -83,7 +83,7 @@ class MongoTestServer(TestServer):
lock = os.path.join(mongo, 'mongod.lock')
if os.path.e... | Removed absolute path to lsof in mongo_server, this should be resolved in the environment. | py |
diff --git a/gtabview/dataio.py b/gtabview/dataio.py
index <HASH>..<HASH> 100644
--- a/gtabview/dataio.py
+++ b/gtabview/dataio.py
@@ -3,6 +3,7 @@ from __future__ import print_function, unicode_literals, absolute_import
import os
import sys
+import warnings
from .compat import *
@@ -79,6 +80,8 @@ def read_tabl... | Improved XLS[X] handling - Issue a warning when xlrd is not available but an xls[x] file has been provided. - Fallback trying to read the xls[x] file with read_csv to handle disguised files correctly (yes, this happens quite often in windows-land to simply use excel as a viewer). | py |
diff --git a/schedule/views.py b/schedule/views.py
index <HASH>..<HASH> 100644
--- a/schedule/views.py
+++ b/schedule/views.py
@@ -392,7 +392,7 @@ def _api_occurrences(start, end, calendar_slug):
def api_move_or_resize_by_code(request):
response_data = {}
user = request.user
- id = request.POST.get(id)
+ ... | * fix typo introduced in d1d2a<I>f | py |
diff --git a/blockstack_cli_0.14.1/blockstack_client/proxy.py b/blockstack_cli_0.14.1/blockstack_client/proxy.py
index <HASH>..<HASH> 100644
--- a/blockstack_cli_0.14.1/blockstack_client/proxy.py
+++ b/blockstack_cli_0.14.1/blockstack_client/proxy.py
@@ -460,7 +460,7 @@ def preorder(name, privatekey, register_addr=None... | don't pass public key on subsidized preorder | py |
diff --git a/tests/unit/test_response_generators.py b/tests/unit/test_response_generators.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_response_generators.py
+++ b/tests/unit/test_response_generators.py
@@ -120,7 +120,7 @@ class TestReadsGenerator(unittest.TestCase):
def testNoReadGroupsNotSupported(self... | fix testNoReadGroupsNotSupported | py |
diff --git a/tests/test_configargparse.py b/tests/test_configargparse.py
index <HASH>..<HASH> 100644
--- a/tests/test_configargparse.py
+++ b/tests/test_configargparse.py
@@ -628,7 +628,7 @@ class TestMisc(TestCase):
self.add_arg('--hello', type=int, required=False)
- command = '-c {} --hello 2'.for... | Fix string format to work with python <I> | py |
diff --git a/polymer/Polymer.py b/polymer/Polymer.py
index <HASH>..<HASH> 100644
--- a/polymer/Polymer.py
+++ b/polymer/Polymer.py
@@ -624,7 +624,7 @@ class TaskMgr(object):
if self.log_level >= 0:
self.log.info(stats.log_message)
- # Adaptive loop delay
+ #... | Update calc_wait_time() to fix Mac OSX problems | py |
diff --git a/forms_builder/forms/forms.py b/forms_builder/forms/forms.py
index <HASH>..<HASH> 100644
--- a/forms_builder/forms/forms.py
+++ b/forms_builder/forms/forms.py
@@ -84,7 +84,7 @@ class FormForForm(forms.ModelForm):
# If a FormEntry instance is given to edit, stores it's field
# values for us... | Fix massaging initial values for form fields. | py |
diff --git a/docido_sdk/__init__.py b/docido_sdk/__init__.py
index <HASH>..<HASH> 100644
--- a/docido_sdk/__init__.py
+++ b/docido_sdk/__init__.py
@@ -1,2 +1,2 @@
-__version__ = '0.2'
+__version__ = '0.2.1'
version_info = tuple([int(d) for d in __version__.split("-")[0].split(".")]) | Bump to version <I> | py |
diff --git a/src/ocrmypdf/__main__.py b/src/ocrmypdf/__main__.py
index <HASH>..<HASH> 100755
--- a/src/ocrmypdf/__main__.py
+++ b/src/ocrmypdf/__main__.py
@@ -720,6 +720,11 @@ def preamble(_log):
_log.debug('ocrmypdf ' + VERSION)
_log.debug('tesseract ' + tesseract.version())
_log.debug('qpdf ' + qpdf.ve... | Add PyMuPDF to preamble | py |
diff --git a/src/funcparserlib/parser.py b/src/funcparserlib/parser.py
index <HASH>..<HASH> 100644
--- a/src/funcparserlib/parser.py
+++ b/src/funcparserlib/parser.py
@@ -193,8 +193,20 @@ def many(p):
return ([v] + vs, rest, s3)
except NoParseError, e:
return ([], tokens, e.state)
- ... | Switched to iterative implementation of combinator many | py |
diff --git a/torf/_utils.py b/torf/_utils.py
index <HASH>..<HASH> 100644
--- a/torf/_utils.py
+++ b/torf/_utils.py
@@ -155,7 +155,8 @@ def real_size(path):
if os.path.isdir(os.path.realpath(path)):
size = 0
def onerror(exc):
- raise error.ReadError(getattr(exc, 'errno', None))
+ ... | utils.real_size(): Include file name in ReadError | py |
diff --git a/dimod/higherorder/polynomial.py b/dimod/higherorder/polynomial.py
index <HASH>..<HASH> 100644
--- a/dimod/higherorder/polynomial.py
+++ b/dimod/higherorder/polynomial.py
@@ -26,7 +26,7 @@ from dimod.sampleset import as_samples
from dimod.utilities import iter_safe_relabels
from dimod.vartypes import Vart... | fic __all__ in polynomial.py | py |
diff --git a/source/test/common/test_z_backward_stepping.py b/source/test/common/test_z_backward_stepping.py
index <HASH>..<HASH> 100644
--- a/source/test/common/test_z_backward_stepping.py
+++ b/source/test/common/test_z_backward_stepping.py
@@ -106,6 +106,7 @@ def trigger_gui_signals_library_state(*args):
def te... | quick-fix barrier concurrency state as proposed by @Franz S. | py |
diff --git a/asana/version.py b/asana/version.py
index <HASH>..<HASH> 100644
--- a/asana/version.py
+++ b/asana/version.py
@@ -1 +1 @@
-VERSION = '0.4.0'
+VERSION = '0.5.0' | Update to <I>. Webhooks (beta) now available. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ def get_readme():
setup(
name='eyap',
- version='0.4.3',
+ version='0.4.4',
description='Tools for extending yapping and comment management',
long_description=get_readme(),
url='http... | Bumped version since we now have a makefile | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -42,12 +42,10 @@ def write_version_py(path):
version_old = None
version_new = '__version__ = %r\n' % (version,)
if version_old != version_new:
- print 'writing %s' % (path,)
with open(path, '... | Do not notify about writing the version.py file. | py |
diff --git a/nsim/nsim.py b/nsim/nsim.py
index <HASH>..<HASH> 100644
--- a/nsim/nsim.py
+++ b/nsim/nsim.py
@@ -726,10 +726,12 @@ def _rts_from_ra(ra, tspan, labels):
def _dts_from_da(da, tspan, labels):
- """construct a DistTimeseries from a DistArray whose subarrays are already
- RemoteTimeseries
- """
... | _dts_from_da() remove requirement of subarrays being RemoteTimeseries | py |
diff --git a/microraiden/microraiden/channel_manager.py b/microraiden/microraiden/channel_manager.py
index <HASH>..<HASH> 100644
--- a/microraiden/microraiden/channel_manager.py
+++ b/microraiden/microraiden/channel_manager.py
@@ -217,7 +217,8 @@ class Blockchain(gevent.Greenlet):
except AttributeError:
... | channel manager: be more explicit if eth node isn't fully synced | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.