diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/tests/test_decorators.py b/tests/test_decorators.py
index <HASH>..<HASH> 100644
--- a/tests/test_decorators.py
+++ b/tests/test_decorators.py
@@ -73,9 +73,11 @@ class TestPraetorianDecorators:
moment = pendulum.parse('2017-05-24 10:18:45')
with freezegun.freeze_time(moment):
... | Issue #<I>: Replaced usage of add_timedelta | py |
diff --git a/superset/views/dashboard/views.py b/superset/views/dashboard/views.py
index <HASH>..<HASH> 100644
--- a/superset/views/dashboard/views.py
+++ b/superset/views/dashboard/views.py
@@ -44,8 +44,7 @@ class DashboardModelView(
datamodel = SQLAInterface(models.Dashboard)
@action("mulexport", __("Expo... | [dashboards] Fix, missing mulexport permission (#<I>) * [dashboards] Fix, missing mulexport permission * [dashboards] Fix, missing mulexport permission | py |
diff --git a/salt/fileserver/s3fs.py b/salt/fileserver/s3fs.py
index <HASH>..<HASH> 100644
--- a/salt/fileserver/s3fs.py
+++ b/salt/fileserver/s3fs.py
@@ -38,6 +38,9 @@ Master config.
- bucket3
- bucket4
+ Note that bucket names must be all lowercase both in the AWS console
+ and in Sa... | jcockhren encountered an issue this evening with regards to s3fs buckets, I have added a note that details the solution to hopefully avoid this in the future. | py |
diff --git a/dbussy.py b/dbussy.py
index <HASH>..<HASH> 100644
--- a/dbussy.py
+++ b/dbussy.py
@@ -4625,7 +4625,6 @@ def matches_rule(message, rule, destinations = None) :
#end if
rule = unformat_rule(rule)
eavesdrop = rule.get("eavesdrop", "false") == "true"
- rule.pop("eavesdrop", None)
def m... | don’t want to modify passed-in rule dict | py |
diff --git a/scapy/asn1fields.py b/scapy/asn1fields.py
index <HASH>..<HASH> 100644
--- a/scapy/asn1fields.py
+++ b/scapy/asn1fields.py
@@ -375,8 +375,6 @@ class ASN1F_optional(ASN1F_field):
self.name = field.name
self.islist = field.islist
self.holds_packets = field.holds_packets
- def __g... | Remove little useful __getattr__ overload in ASN1F_optional | py |
diff --git a/bugzilla/base.py b/bugzilla/base.py
index <HASH>..<HASH> 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -648,7 +648,7 @@ class Bugzilla(object):
http://bugzilla.readthedocs.org/en/latest/api/core/v1/user.html#valid-login
"""
try:
- self._backend.user_get({"ids... | base: Pass value to user_get for logged_in check The XMLRPC backend doesn't care if a value is passed or not, and will reject auth with the current empty list. The REST API does care though. So try to resolve id=1 | py |
diff --git a/salt/modules/glance.py b/salt/modules/glance.py
index <HASH>..<HASH> 100644
--- a/salt/modules/glance.py
+++ b/salt/modules/glance.py
@@ -55,7 +55,8 @@ from salt.version import (
)
# is there not SaltStackVersion.current() to get
# the version of the salt running this code??
-CUR_VER = SaltStackVers... | Fix version check, fix extracting Major and Minor versions from __version__ | py |
diff --git a/openquake/hazardlib/stats.py b/openquake/hazardlib/stats.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/stats.py
+++ b/openquake/hazardlib/stats.py
@@ -27,7 +27,7 @@ def mean_curve(values, weights=None):
"""
if weights:
weights = list(map(float, weights))
- assert abs(su... | Relaxed check on the sum of the weights | py |
diff --git a/remi/server.py b/remi/server.py
index <HASH>..<HASH> 100644
--- a/remi/server.py
+++ b/remi/server.py
@@ -342,7 +342,7 @@ class App(BaseHTTPRequestHandler, object):
"""
re_static_file = re.compile(r"^([\/]*[\w\d]+:[-_. $@?#£'%=()\/\[\]!+°§^,\w\d]+)") #https://regex101.com/r/uK1sX1/6
- re_att... | Fix query string REGEX (#<I>) This change would allow for query string values to accept non-alphanumeric characters to conform with <URL> | py |
diff --git a/rinoh/style.py b/rinoh/style.py
index <HASH>..<HASH> 100644
--- a/rinoh/style.py
+++ b/rinoh/style.py
@@ -217,7 +217,7 @@ class Style(dict, metaclass=StyleMeta):
if not (attribute.accepted_type.check_type(value)
or accept_variables and isinstance(value, VarBase)):
typ... | Wrap the style name in quotes to avoid confusion | py |
diff --git a/ykman/otp.py b/ykman/otp.py
index <HASH>..<HASH> 100644
--- a/ykman/otp.py
+++ b/ykman/otp.py
@@ -140,11 +140,11 @@ class OtpController(object):
modhex_public_id = modhex_encode(public_id)
data = {
'aeskey': binascii.b2a_hex(key).decode('utf-8'),
- 'serial': serial... | Send upload preparation as JSON body instead of form | py |
diff --git a/openquake/hazardlib/sourcewriter.py b/openquake/hazardlib/sourcewriter.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/sourcewriter.py
+++ b/openquake/hazardlib/sourcewriter.py
@@ -560,6 +560,13 @@ def build_source_group(source_group):
return Node('sourceGroup', attrs, nodes=source_nodes)
... | Added an experimental routine to serialize the CompositeSourceModel | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -41,16 +41,16 @@ master_doc = 'index'
# General information about the project.
project = u'Riak Python Client'
-copyright = u'2010-2012, Basho Technologies'
+copyright = u'2010-2013, Basho Technologies'
... | Update version to <I> in docs. | py |
diff --git a/gns3server/controller/project.py b/gns3server/controller/project.py
index <HASH>..<HASH> 100644
--- a/gns3server/controller/project.py
+++ b/gns3server/controller/project.py
@@ -514,10 +514,10 @@ class Project:
except OSError as e:
log.warning(str(e))
- @open_required
@async... | Allow to delete a non opened project | py |
diff --git a/dynamodb_sessions/backends/dynamodb.py b/dynamodb_sessions/backends/dynamodb.py
index <HASH>..<HASH> 100644
--- a/dynamodb_sessions/backends/dynamodb.py
+++ b/dynamodb_sessions/backends/dynamodb.py
@@ -100,7 +100,6 @@ class SessionStore(SessionBase):
have anything in it.
"""
whil... | Removed the _get_or_create_session_key call in the create method since it will be called in save method | py |
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index <HASH>..<HASH> 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -276,7 +276,7 @@ class TestRepo(TestBase):
c += 1
b = self.rorepo.blame(self.rorepo.head, item.path)
#END for each item to traverse
- assert b
+ assert c
d... | fixed testcase a test cases was asserting the wrong variable | py |
diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -2273,6 +2273,13 @@ class TestDataFrame(unittest.TestCase, CheckIndexing,
os.remove(path)
def test_to_excel_from_excel(self):
+ try... | TST: skip excel tests if libraries not installed | py |
diff --git a/phy/utils/settings.py b/phy/utils/settings.py
index <HASH>..<HASH> 100644
--- a/phy/utils/settings.py
+++ b/phy/utils/settings.py
@@ -186,3 +186,11 @@ def get_internal(*args, **kwargs):
def set_internal(*args, **kwargs):
return _INTERNAL_SETTINGS.set(*args, **kwargs)
+
+
+def save_internal(*args, *... | Added save/load_internal global functions in settings. | py |
diff --git a/py/selenium/webdriver/remote/webelement.py b/py/selenium/webdriver/remote/webelement.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/webelement.py
+++ b/py/selenium/webdriver/remote/webelement.py
@@ -15,9 +15,9 @@
# specific language governing permissions and limitations
# under the Lic... | Further improve imports (#<I>) | py |
diff --git a/indra/sources/biopax/processor.py b/indra/sources/biopax/processor.py
index <HASH>..<HASH> 100644
--- a/indra/sources/biopax/processor.py
+++ b/indra/sources/biopax/processor.py
@@ -513,8 +513,9 @@ class BiopaxProcessor(object):
db_name = bpe.data_source[0].display_name
if db_name... | Make the source IDs URLs for backwards compatibility | py |
diff --git a/salt/modules/keystone.py b/salt/modules/keystone.py
index <HASH>..<HASH> 100644
--- a/salt/modules/keystone.py
+++ b/salt/modules/keystone.py
@@ -288,7 +288,7 @@ def endpoint_create(service, publicurl=None, internalurl=None, adminurl=None,
salt '*' keystone.endpoint_create nova 'http://public/url'... | Allow passing connection_args through non-profile methods | py |
diff --git a/test/vtgatev2_test.py b/test/vtgatev2_test.py
index <HASH>..<HASH> 100755
--- a/test/vtgatev2_test.py
+++ b/test/vtgatev2_test.py
@@ -959,8 +959,7 @@ class TestFailures(unittest.TestCase):
# Restart tablet and put it back to SERVING state
utils.wait_procs([shard_0_replica.start_mysql(),])
... | vtgate fail-fast test: start and wait for state together | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from distutils.core import setup
setup(
name='pyosm',
- version='0.4.0',
+ version='0.5.1',
author='Ian Dees',
author_email='ian.dees@gmail.com',
packages=['pyosm'],
@@ -12,8 +12,8 @@ ... | Forgot to update the setup.py version | py |
diff --git a/sc2/unit.py b/sc2/unit.py
index <HASH>..<HASH> 100644
--- a/sc2/unit.py
+++ b/sc2/unit.py
@@ -179,6 +179,24 @@ class Unit(object):
return self._proto.vespene_contents > 0
@property
+ def can_attack_ground(self):
+ # See data_pb2.py line 141 for info on weapon data
+ if hasa... | Add checks if Unit can attack ground and/or air | py |
diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -4033,8 +4033,8 @@ class BaseHighState:
levels, include = match.groups()
else:
msg = (
- "Ba... | Fixing string formatting in salt/state.py | py |
diff --git a/luigi/contrib/salesforce.py b/luigi/contrib/salesforce.py
index <HASH>..<HASH> 100644
--- a/luigi/contrib/salesforce.py
+++ b/luigi/contrib/salesforce.py
@@ -474,7 +474,7 @@ class SalesforceAPI(object):
raise Exception("Can not create a batch without a valid job_id and an active session.")
... | Update SF to cast header value to str (#<I>) With the introduction of Requests <I>, headers are explicitly enforced to only contain strings. This commit corrects the header for salesforce batches. | py |
diff --git a/discord/client.py b/discord/client.py
index <HASH>..<HASH> 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -584,6 +584,7 @@ class Client:
Logs out of Discord and closes all connections."""
response = yield from self.session.post(endpoints.LOGOUT, headers=self.headers)
+ ... | Client.logout now properly cleans up the response. | py |
diff --git a/manuscripts/_version.py b/manuscripts/_version.py
index <HASH>..<HASH> 100644
--- a/manuscripts/_version.py
+++ b/manuscripts/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.2.1"
+__version__ = "0.2.2" | Update version number to <I> | py |
diff --git a/sqlalchemy_mixins/smartquery.py b/sqlalchemy_mixins/smartquery.py
index <HASH>..<HASH> 100644
--- a/sqlalchemy_mixins/smartquery.py
+++ b/sqlalchemy_mixins/smartquery.py
@@ -6,9 +6,9 @@ except ImportError: # pragma: no cover
from collections import OrderedDict
-import sqlalchemy
+
from sqlalchemy im... | refactor: Remove unused imports | py |
diff --git a/tests/cli/test_suite.py b/tests/cli/test_suite.py
index <HASH>..<HASH> 100644
--- a/tests/cli/test_suite.py
+++ b/tests/cli/test_suite.py
@@ -230,8 +230,10 @@ def test_suite_new_multiple_datasources_with_generator_without_suite_name_argume
assert result.exit_code == 0
assert "Select a datasourc... | Modify assertion to ensure data assets were sorted | py |
diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py
index <HASH>..<HASH> 100755
--- a/tools/run_tests/run_interop_tests.py
+++ b/tools/run_tests/run_interop_tests.py
@@ -481,7 +481,7 @@ def build_interop_image_jobspec(language, tag=None):
# This env variable is used to get around... | add check to see if file exists | py |
diff --git a/raiden/raiden_service.py b/raiden/raiden_service.py
index <HASH>..<HASH> 100644
--- a/raiden/raiden_service.py
+++ b/raiden/raiden_service.py
@@ -592,7 +592,7 @@ class RaidenService(Runnable):
)
greenlets: List[Greenlet] = list()
- if not self.ready_to_process_events:
+ if... | Bugfix: Events must be processed w/ True flag | py |
diff --git a/py/testdir_single_jvm/test_GBM_many_cols_enum.py b/py/testdir_single_jvm/test_GBM_many_cols_enum.py
index <HASH>..<HASH> 100644
--- a/py/testdir_single_jvm/test_GBM_many_cols_enum.py
+++ b/py/testdir_single_jvm/test_GBM_many_cols_enum.py
@@ -148,10 +148,10 @@ class Basic(unittest.TestCase):
... | On the way to have 0-error nightly - fix a type in test. | py |
diff --git a/examples/example1.py b/examples/example1.py
index <HASH>..<HASH> 100644
--- a/examples/example1.py
+++ b/examples/example1.py
@@ -1,6 +1,10 @@
+import logging
import luigi
import sciluigi as sl
from subprocess import call
+
+log = logging.getLogger('sciluigi-interface')
+
# ----------------------------... | Updating example1 to use latest SciLuigi features | py |
diff --git a/esipy/__init__.py b/esipy/__init__.py
index <HASH>..<HASH> 100644
--- a/esipy/__init__.py
+++ b/esipy/__init__.py
@@ -1,10 +1,9 @@
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
-from .client import EsiClient # noqa
-from .security import EsiSecurity # noqa
-
try:
+ from ... | Move import in try except (forgot the others) | py |
diff --git a/src/nupic/research/spatial_pooler.py b/src/nupic/research/spatial_pooler.py
index <HASH>..<HASH> 100644
--- a/src/nupic/research/spatial_pooler.py
+++ b/src/nupic/research/spatial_pooler.py
@@ -1468,7 +1468,10 @@ class SpatialPooler(object):
"""
winners = []
- addToWinners = 0.01
+ addToW... | Safer "addToWinners" value. Play nicely with surgical boosting. | py |
diff --git a/src/discoursegraphs/readwrite/paulaxml/paula.py b/src/discoursegraphs/readwrite/paulaxml/paula.py
index <HASH>..<HASH> 100644
--- a/src/discoursegraphs/readwrite/paulaxml/paula.py
+++ b/src/discoursegraphs/readwrite/paulaxml/paula.py
@@ -64,7 +64,7 @@ class PaulaDocument(object):
self.__ge... | minor: renamed function in paula exporter | py |
diff --git a/retext.py b/retext.py
index <HASH>..<HASH> 100755
--- a/retext.py
+++ b/retext.py
@@ -835,9 +835,17 @@ class ReTextWindow(QMainWindow):
pb.setHtml(td.toHtml())
else:
try:
- pb.setHtml(self.parseText())
+ parsedText = self.parseText()
except Exception as e:
self.printError(e)
+ ... | Seet font to Sans/<I>pt for WebKit engine | py |
diff --git a/dusty/specs.py b/dusty/specs.py
index <HASH>..<HASH> 100644
--- a/dusty/specs.py
+++ b/dusty/specs.py
@@ -4,8 +4,15 @@ import yaml
from .config import get_config_value
+class SpecsPathNotSet(Exception):
+ pass
+
def get_specs():
+ import logging
specs_path = get_config_value('specs_path')
... | alert the user if their specs_path is not set | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,13 +21,13 @@ setup(
include_package_data=True,
test_suite='tests',
install_requires=[
- 'numpy',
- 'pandas',
- 'periodictable',
- 'scipy',
+ 'numpy==1.19.2',
+ 'pand... | Specified current versions of related packages | py |
diff --git a/pystache/locator.py b/pystache/locator.py
index <HASH>..<HASH> 100644
--- a/pystache/locator.py
+++ b/pystache/locator.py
@@ -91,7 +91,7 @@ class Locator(object):
if template_extension is None:
template_extension = self.template_extension
- if template_extension is not False ... | Added find_file function, and remove extension check logic from make_file_name | py |
diff --git a/couch/check.py b/couch/check.py
index <HASH>..<HASH> 100644
--- a/couch/check.py
+++ b/couch/check.py
@@ -4,6 +4,7 @@
# stdlib
from urlparse import urljoin
+from urllib import quote
# 3rd party
import requests
@@ -119,7 +120,7 @@ class CouchDb(AgentCheck):
databases = list(databases)[:... | [couch] escaped the database names (fixes #<I>) (#<I>) * escaped the database names (fixes #<I>) To support forward slashes in db names, the names have to be URI encoded. * Directly imported quote from urllib | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,5 +12,6 @@ setup(
scripts=['scripts/cfn', 'scripts/cfn2py'],
test_suite="tests",
tests_require=["awacs"],
+ extras_require={'policy': ['awacs']},
use_2to3=True,
) | Add awacs as a soft dependency | py |
diff --git a/jams/eval.py b/jams/eval.py
index <HASH>..<HASH> 100644
--- a/jams/eval.py
+++ b/jams/eval.py
@@ -173,12 +173,12 @@ def chord(ref, est, **kwargs):
>>> ref_jam = jams.load('reference.jams')
>>> est_jam = jams.load('estimated.jams')
>>> # Select the first relevant annotations
- >>> ref_ann ... | expanded eval.chord to cover chord and chord_harte | py |
diff --git a/furious/context/context.py b/furious/context/context.py
index <HASH>..<HASH> 100644
--- a/furious/context/context.py
+++ b/furious/context/context.py
@@ -227,9 +227,10 @@ def _insert_tasks(tasks, queue, transactional=False):
try:
taskqueue.Queue(name=queue).add(tasks, transactional=transact... | Add BadTaskStateError to _insert_tasks Error list Add BadTaskStateError to except list in _insert_tasks so that when a task fails to enqueue with message 'Task has already been enqueued' in a BadTaskStateError, that error does not propagate upwards. Also lexicographically ordered the errors. | py |
diff --git a/ontquery/terms.py b/ontquery/terms.py
index <HASH>..<HASH> 100644
--- a/ontquery/terms.py
+++ b/ontquery/terms.py
@@ -465,6 +465,7 @@ class OntTerm(OntId):
self.validated = True
if i is None:
+ self._source = None
self.validated = False
for keywo... | OntTerm set _source = None if no results | py |
diff --git a/padatious/intent.py b/padatious/intent.py
index <HASH>..<HASH> 100644
--- a/padatious/intent.py
+++ b/padatious/intent.py
@@ -13,6 +13,7 @@
# limitations under the License.
import json
+import math
from os.path import join
from padatious.match_data import MatchData
@@ -37,7 +38,12 @@ class Intent(o... | Weight positional score in confidence calculation Also only uses positional matches if centered score > <I> | py |
diff --git a/src/metpy/calc/cross_sections.py b/src/metpy/calc/cross_sections.py
index <HASH>..<HASH> 100644
--- a/src/metpy/calc/cross_sections.py
+++ b/src/metpy/calc/cross_sections.py
@@ -292,12 +292,14 @@ def absolute_momentum(u, v, index='index'):
"""
# Get the normal component of the wind
- norm_wi... | Absolute momentum bug fix Ensures that units are provided to `u` and `v` when calculating normal_component. | py |
diff --git a/perforce/changelist.py b/perforce/changelist.py
index <HASH>..<HASH> 100644
--- a/perforce/changelist.py
+++ b/perforce/changelist.py
@@ -270,9 +270,8 @@ class Default(Changelist):
self._files.append(revision.Revision(f['depotFile'], f))
data = self._connection.run('change -o')[0]
-... | Removed redundant calls to default changelist query | py |
diff --git a/salt/loader.py b/salt/loader.py
index <HASH>..<HASH> 100644
--- a/salt/loader.py
+++ b/salt/loader.py
@@ -474,6 +474,13 @@ class Loader(object):
self._apply_outputter(func, mod)
if not hasattr(mod, '__salt__'):
mod.__salt__ = functions
+ try:
+ conte... | Fix #<I> This adresses the root of the problem, and ensures that the single locaded module keeps the same context, shared with the standard loaded modules | py |
diff --git a/salt/utils/openstack/neutron.py b/salt/utils/openstack/neutron.py
index <HASH>..<HASH> 100644
--- a/salt/utils/openstack/neutron.py
+++ b/salt/utils/openstack/neutron.py
@@ -539,10 +539,14 @@ class SaltNeutron(NeutronShell):
def update_floatingip(self, floatingip_id, port):
'''
- Upd... | Adding logic so that update_floatingip can dissassociate floatingip's Previously update_floatingip would cause an error if port is set to None. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,7 @@ else:
include_package_data=True,
test_suite = "peyotl.test"
)
+
EXTRA_KWARGS["zip_safe"] = True
ENTRY_POINTS = {}
@@ -81,9 +82,8 @@ setup(
author='Mark T. Holder',
author_ema... | adding packages to setup call - that is important for sdist or install | py |
diff --git a/allauth/account/views.py b/allauth/account/views.py
index <HASH>..<HASH> 100644
--- a/allauth/account/views.py
+++ b/allauth/account/views.py
@@ -450,7 +450,7 @@ class EmailView(AjaxCapableProcessFormViewMixin, FormView):
res = self._action_remove(request)
elif "action_primary... | chore(account): Don't send verification mail to verified email | py |
diff --git a/py/selenium/webdriver/remote/webdriver.py b/py/selenium/webdriver/remote/webdriver.py
index <HASH>..<HASH> 100755
--- a/py/selenium/webdriver/remote/webdriver.py
+++ b/py/selenium/webdriver/remote/webdriver.py
@@ -502,12 +502,6 @@ class WebDriver(object):
warnings.warn("use driver.switch_to.frame ... | don't need to have a deprecated method that was never released :) | py |
diff --git a/scapy/plist.py b/scapy/plist.py
index <HASH>..<HASH> 100644
--- a/scapy/plist.py
+++ b/scapy/plist.py
@@ -127,7 +127,7 @@ lfilter: truth function to apply to each packet to decide whether it will be dis
def filter(self, func):
"""Returns a packet list filtered by a truth function"""
- ... | Fixed PacketList filter result to return list | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ def parse_requirements(filename='requirements.txt'):
setup(
name='pocoui',
- version='1.0.85',
+ version='1.0.86',
keywords="poco, automation test, ui automation",
description='Poco cross... | level up to <I> (cherry picked from commit <I>e0d6a<I>e<I>db<I>fee<I>f<I>d9a<I>a<I>bb) | py |
diff --git a/src/ossos/core/setup.py b/src/ossos/core/setup.py
index <HASH>..<HASH> 100644
--- a/src/ossos/core/setup.py
+++ b/src/ossos/core/setup.py
@@ -1,5 +1,6 @@
import os
import sys
+from ossos.__version__ import version
from setuptools import setup, find_packages
@@ -31,7 +32,7 @@ for script in os.listdir... | use the version module to get consistent versions | py |
diff --git a/alot/widgets.py b/alot/widgets.py
index <HASH>..<HASH> 100644
--- a/alot/widgets.py
+++ b/alot/widgets.py
@@ -55,9 +55,9 @@ class ThreadlineWidget(urwid.AttrMap):
'threadline_mailcount')
cols.append(('fixed', len(mailcountstring), self.mailcount_w))
- t... | fix issue with non-updating focus-flags | py |
diff --git a/collections_extended/range_map.py b/collections_extended/range_map.py
index <HASH>..<HASH> 100644
--- a/collections_extended/range_map.py
+++ b/collections_extended/range_map.py
@@ -185,16 +185,14 @@ class RangeMap(Container):
new_values = [value]
stop_index = len(self._ordered_keys)
else:
- s... | Refactor RangeMap.set to simplify more. | py |
diff --git a/sigal/gallery.py b/sigal/gallery.py
index <HASH>..<HASH> 100644
--- a/sigal/gallery.py
+++ b/sigal/gallery.py
@@ -68,7 +68,8 @@ class Gallery:
self.paths[relpath].update(get_metadata(path))
if relpath != '.':
- alb_thumb = self.paths[relpath]['representative']
+ ... | fix 2 issues in gallery: - use empty string when representative is not set - make all subdirectories | py |
diff --git a/integration_tests/blockstack_integration_tests/scenarios/testlib.py b/integration_tests/blockstack_integration_tests/scenarios/testlib.py
index <HASH>..<HASH> 100644
--- a/integration_tests/blockstack_integration_tests/scenarios/testlib.py
+++ b/integration_tests/blockstack_integration_tests/scenarios/test... | revert force-uncompressed keys | py |
diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -596,6 +596,11 @@ class TemplateTagTest(TestCase):
self.assertTrue('hello world!' in rendered)
def test_else(self):
+ Switch.objects.create(
+ key='test',
+ ... | Ensure were setting test switch to DISABLED in test | py |
diff --git a/test/test_lazyarray.py b/test/test_lazyarray.py
index <HASH>..<HASH> 100644
--- a/test/test_lazyarray.py
+++ b/test/test_lazyarray.py
@@ -450,7 +450,10 @@ def test_partially_evaluate_constant_array_with_only_one_boolean_indice_true():
def test_partially_evaluate_constant_array_with_boolean_indice_as_rando... | Fix for `test_partially_evaluate_constant_array_with_boolean_indice_as_random_valid_ndarray()`, which was failing on some machines. | py |
diff --git a/python/perspective/perspective/widget/widget.py b/python/perspective/perspective/widget/widget.py
index <HASH>..<HASH> 100644
--- a/python/perspective/perspective/widget/widget.py
+++ b/python/perspective/perspective/widget/widget.py
@@ -409,6 +409,10 @@ class PerspectiveWidget(Widget, PerspectiveViewer):
... | Fix distributed editing in PerspectiveWidget | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,6 @@ classifiers = ['Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Langua... | BLD Remove Python <I> compatibility. | py |
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index <HASH>..<HASH> 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -2180,8 +2180,6 @@ class DocStringChecker(_BasicChecker):
func.bound, astroid.Instance
):
# Strings.
- ... | Remove superfluous check which is already done on the next line | py |
diff --git a/editor/editor.py b/editor/editor.py
index <HASH>..<HASH> 100644
--- a/editor/editor.py
+++ b/editor/editor.py
@@ -229,12 +229,11 @@ class Project(gui.Widget):
if app_init_fnc==None:
return None
-
- members_list = inspect.getmembers(app_init_fnc(editing_mode=Tr... | Fixed editor bug. It caused lag during drag and resize after project reload. | py |
diff --git a/alot/ui.py b/alot/ui.py
index <HASH>..<HASH> 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -446,6 +446,7 @@ class UI(object):
cmd.prehook(ui=self, dbm=self.dbman)
except:
logging.exception('prehook failed')
+ return False
... | abort command on pre-hook exceptions this makes ui.apply_command not call a commands apply method if its pre-hook raised an exception. closes #<I> | py |
diff --git a/werkzeug/wrappers.py b/werkzeug/wrappers.py
index <HASH>..<HASH> 100644
--- a/werkzeug/wrappers.py
+++ b/werkzeug/wrappers.py
@@ -1075,12 +1075,20 @@ class ETagRequestMixin(object):
@cached_property
def if_match(self):
- """An object containing all the etags in the `If-Match` header."""
... | Link ETags for ETagRequestMixin in docs | py |
diff --git a/indra/sources/ndex_cx/processor.py b/indra/sources/ndex_cx/processor.py
index <HASH>..<HASH> 100644
--- a/indra/sources/ndex_cx/processor.py
+++ b/indra/sources/ndex_cx/processor.py
@@ -83,8 +83,10 @@ class NdexCxProcessor(object):
id = node['@id']
cx_db_refs = self.get_aliases(no... | Handle secondary IDs in NDEx CX | py |
diff --git a/troposphere/autoscaling.py b/troposphere/autoscaling.py
index <HASH>..<HASH> 100644
--- a/troposphere/autoscaling.py
+++ b/troposphere/autoscaling.py
@@ -52,7 +52,7 @@ class AutoScalingGroup(AWSObject):
'InstanceId': (basestring, False),
'LaunchConfigurationName': (basestring, True),
... | Change AutoScalingGroup.MaxSize type to base_string to reflect support of Refs | py |
diff --git a/OpenPNM/Algorithms/__init__.py b/OpenPNM/Algorithms/__init__.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Algorithms/__init__.py
+++ b/OpenPNM/Algorithms/__init__.py
@@ -42,3 +42,4 @@ from .__StokesFlow__ import StokesFlow
from .__OrdinaryPercolation__ import OrdinaryPercolation
from .__InvasionPercolati... | Add new percolation alg to init - to be renamed later | py |
diff --git a/vcr/stubs.py b/vcr/stubs.py
index <HASH>..<HASH> 100644
--- a/vcr/stubs.py
+++ b/vcr/stubs.py
@@ -75,19 +75,16 @@ class VCRHTTPSConnection(HTTPSConnection):
I frankly don't understand.
"""
- def __init__(self, host, port=None, key_file=None, cert_file=None,
- strict=N... | guess <I> / <I> have different kwargs | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
with open('README.md', encoding='utf-8') as f:
@@ -25,7 +25,7 @@ setup(
'Programming Language :: Python :: 3.5',
'P... | find_packages is apparently recursive | py |
diff --git a/mousedb/data/forms.py b/mousedb/data/forms.py
index <HASH>..<HASH> 100644
--- a/mousedb/data/forms.py
+++ b/mousedb/data/forms.py
@@ -3,9 +3,6 @@ from django import forms
from django.contrib.admin import widgets
from django.forms.models import inlineformset_factory
-from ajax_select.fields import AutoC... | Removed ajax selects, part of issue #<I> and issue #<I> | py |
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py
index <HASH>..<HASH> 100644
--- a/glue/ligolw/lsctables.py
+++ b/glue/ligolw/lsctables.py
@@ -873,10 +873,7 @@ class SnglBurstTable(LSCTableUnique):
"param_two_value": "real_8",
"param_three_name": "lstring",
"param_three_value": "real_8",
- #"e... | Bring sngl_burst table into conformance with official definition. | py |
diff --git a/fabric/config.py b/fabric/config.py
index <HASH>..<HASH> 100644
--- a/fabric/config.py
+++ b/fabric/config.py
@@ -63,15 +63,6 @@ class Config(InvokeConfig):
object.__setattr__(self, '_user_ssh_path',
kwargs.pop('user_ssh_path', '~/.ssh/config'))
- # TODO:
- # - _system... | Nuke now-basically-done TODO | py |
diff --git a/s4/clients/local.py b/s4/clients/local.py
index <HASH>..<HASH> 100644
--- a/s4/clients/local.py
+++ b/s4/clients/local.py
@@ -84,7 +84,10 @@ class LocalSyncClient(SyncClient):
"""
logger.debug("Releasing lock %s", self.lock_file)
self._lock.release()
- os.unlink(self.lock_... | Fix failure when .s4lock is not found | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,7 @@ setup(
author_email='snakecharmers@ethereum.org',
url='https://github.com/ethereum/eth-account',
include_package_data=True,
+ package_data={"eth_account": ["hdaccount/wordlist/*.txt"]},
in... | Add package_data to setup.py for hdaccount wordlists | py |
diff --git a/polysquare_setuptools_lint/__init__.py b/polysquare_setuptools_lint/__init__.py
index <HASH>..<HASH> 100644
--- a/polysquare_setuptools_lint/__init__.py
+++ b/polysquare_setuptools_lint/__init__.py
@@ -326,7 +326,7 @@ class PolysquareLintCommand(setuptools.Command): # suppress(unused-function)
... | polysquarelint: Fix off-by-one error | py |
diff --git a/instaloader.py b/instaloader.py
index <HASH>..<HASH> 100755
--- a/instaloader.py
+++ b/instaloader.py
@@ -506,7 +506,7 @@ class Instaloader:
self._log('The request will be retried in {} seconds.'.format(waittime))
time.sleep(waittime)
self._sle... | Fix TypeError on retry in get_json() | py |
diff --git a/tests/testapp/tests/test_integrates_with_django_testrunner.py b/tests/testapp/tests/test_integrates_with_django_testrunner.py
index <HASH>..<HASH> 100644
--- a/tests/testapp/tests/test_integrates_with_django_testrunner.py
+++ b/tests/testapp/tests/test_integrates_with_django_testrunner.py
@@ -127,8 +127,10... | in python <I>, function local class names are different than before thus change the assertion into 'softer' so the test passes there too | py |
diff --git a/rinoh/paragraph.py b/rinoh/paragraph.py
index <HASH>..<HASH> 100644
--- a/rinoh/paragraph.py
+++ b/rinoh/paragraph.py
@@ -209,9 +209,8 @@ def spans_to_words(spans, container):
word.append((glyphs_span, chars))
except InlineFlowableException:
# TODO: take descender... | Tiny refactoring in spans_to_words | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ def parse_requirements(filename='requirements.txt'):
setup(
name='pocoui',
- version='1.0.81',
+ version='1.0.82',
keywords="poco, automation test, ui automation",
description='Poco cross... | level up to <I> (cherry picked from commit 7c8d<I>ccf<I>b<I>e<I>eb<I>dd<I>a1aef) | py |
diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -2,7 +2,7 @@ import io
import os
from setuptools import setup, find_packages
-VERSION = "0.0.4"
+VERSION = "0.1.0"
README = '../README.md'
description = "SDK for writing lookout analyzers"
@... | Update setup.py Increment version of py lib before the release | py |
diff --git a/mingus/core/keys.py b/mingus/core/keys.py
index <HASH>..<HASH> 100644
--- a/mingus/core/keys.py
+++ b/mingus/core/keys.py
@@ -36,3 +36,25 @@ def is_valid_key(key):
return notes.is_valid_note(key.upper())
+sharp_keys = [
+ ('C', 'a'), # 0
+ ('G', 'e'), # 1
+ ('D', 'b'), #... | Circle of fifths (all keys) implemented | py |
diff --git a/discord/guild.py b/discord/guild.py
index <HASH>..<HASH> 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -340,13 +340,13 @@ class Guild(Hashable):
def key(t):
k, v = t
- return ((not isinstance(k, TextChannel), k.position, k.id) if k else (-1, -1, -1), v)
+ ... | Actually fix the order in Guild.by_category. | py |
diff --git a/rollbar/contrib/asgi/__init__.py b/rollbar/contrib/asgi/__init__.py
index <HASH>..<HASH> 100644
--- a/rollbar/contrib/asgi/__init__.py
+++ b/rollbar/contrib/asgi/__init__.py
@@ -3,7 +3,7 @@ __all__ = ["ASGIMiddleware"]
import rollbar
try:
- from starlette.types import ASGIApp, Receive, Scope, Send
+... | Use unique identifier name for ASGIApp type Due to collision with ASGIApp class decorator | py |
diff --git a/rope/contrib/finderrors.py b/rope/contrib/finderrors.py
index <HASH>..<HASH> 100644
--- a/rope/contrib/finderrors.py
+++ b/rope/contrib/finderrors.py
@@ -10,7 +10,7 @@ attribute accesses. As an example::
prints possible errors for ``mod.py`` file.
"""
-from rope.base import ast, evaluate
+from rope.ba... | finderrors: not checking attributes for unknowns | py |
diff --git a/adafruit_motor/stepper.py b/adafruit_motor/stepper.py
index <HASH>..<HASH> 100644
--- a/adafruit_motor/stepper.py
+++ b/adafruit_motor/stepper.py
@@ -75,7 +75,8 @@ class StepperMotor:
# set a safe pwm freq for each output
for i in range(4):
- self._coil[i].frequency = 2000
+ ... | don't set stepper freq if it's already OK | py |
diff --git a/deployutils/management/commands/package_theme.py b/deployutils/management/commands/package_theme.py
index <HASH>..<HASH> 100644
--- a/deployutils/management/commands/package_theme.py
+++ b/deployutils/management/commands/package_theme.py
@@ -189,9 +189,9 @@ def package_theme(app_name, install_dir=None, bui... | fix: broker is also a project | py |
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py
index <HASH>..<HASH> 100644
--- a/sos/policies/__init__.py
+++ b/sos/policies/__init__.py
@@ -428,6 +428,9 @@ class LinuxPolicy(Policy):
self.reportName = self.sanitizeReportName(self.reportName)
self.ticketNumber = self.sanitizeTicketNu... | Use a default report name if name is empty after sanitizing | py |
diff --git a/trezorlib/client.py b/trezorlib/client.py
index <HASH>..<HASH> 100644
--- a/trezorlib/client.py
+++ b/trezorlib/client.py
@@ -54,7 +54,7 @@ SCREENSHOT = False
# make a getch function
try:
import termios
- import sys, tty
+ import tty
# POSIX system. Create and return a getch that manipula... | flake8: clean up imports from last commit | py |
diff --git a/msmbuilder/msm/core.py b/msmbuilder/msm/core.py
index <HASH>..<HASH> 100644
--- a/msmbuilder/msm/core.py
+++ b/msmbuilder/msm/core.py
@@ -10,6 +10,7 @@ import scipy.linalg
from scipy.sparse import csgraph, csr_matrix, coo_matrix
from sklearn.base import TransformerMixin
+from sklearn.utils import check... | Forgot to add checkrandomstate | py |
diff --git a/saltcloud/clouds/ec2.py b/saltcloud/clouds/ec2.py
index <HASH>..<HASH> 100644
--- a/saltcloud/clouds/ec2.py
+++ b/saltcloud/clouds/ec2.py
@@ -1020,10 +1020,8 @@ def create(vm_=None, call=None):
if isinstance(data, list) and not data:
log.warn(
- 'There was an error in... | Fixing small issue in DescribeInstances result handler | py |
diff --git a/run.py b/run.py
index <HASH>..<HASH> 100755
--- a/run.py
+++ b/run.py
@@ -65,9 +65,13 @@ def python_runtime():
# update passed args so they don't start with "<binary> python"
sys.argv = sys.argv[2:]
-
- with open(script) as f:
- exec(f.read())
+ exec_locals = {"__name__": "__main__... | Use explicit locals for custom script execution, handle exception in similar fashion as Python | py |
diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -1451,7 +1451,7 @@ class Instrument(object):
output_str = ' '.join((output_str, 'valid filenames found'))
else:
output_... | STY: removed whitespace Removed trailing whitespace. | py |
diff --git a/modutils.py b/modutils.py
index <HASH>..<HASH> 100644
--- a/modutils.py
+++ b/modutils.py
@@ -429,7 +429,7 @@ def is_standard_module(modname, std_path=(STD_LIB_DIR,)):
return True
filename = abspath(filename)
if filename.startswith(EXT_LIB_DIR):
- return True
+ return False... | Oups, fix a mistake. | py |
diff --git a/tests/test_cookies.py b/tests/test_cookies.py
index <HASH>..<HASH> 100644
--- a/tests/test_cookies.py
+++ b/tests/test_cookies.py
@@ -130,8 +130,3 @@ def test_cookie_set_unknown_property():
with pytest.raises(expected_exception=KeyError) as e:
c["invalid"] = "value"
assert e.message ... | cleanup stale test for cookie object | py |
diff --git a/hwt/synthesizer/interface.py b/hwt/synthesizer/interface.py
index <HASH>..<HASH> 100644
--- a/hwt/synthesizer/interface.py
+++ b/hwt/synthesizer/interface.py
@@ -156,6 +156,10 @@ class Interface(InterfaceBase, InterfaceceImplDependentFns,
return
if self._interfaces:
+ if ... | raise error on connecting of an interface which does miss some part | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.