diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/girder/api/describe.py b/girder/api/describe.py
index <HASH>..<HASH> 100644
--- a/girder/api/describe.py
+++ b/girder/api/describe.py
@@ -268,14 +268,11 @@ class Description(object):
reason = '\n\n'.join(reason)
if code in self._responses:
- print(TerminalColor.warning(
-... | Fix warnings from multiple errorReponse bindings to the same code | py |
diff --git a/bika/lims/content/analysis.py b/bika/lims/content/analysis.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/analysis.py
+++ b/bika/lims/content/analysis.py
@@ -1030,7 +1030,7 @@ class Analysis(BaseContent):
if service.getInstrumentEntryOfResults():
result = [
(i... | Checking if there is method assigned. | py |
diff --git a/angr/analyses/ddg.py b/angr/analyses/ddg.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/ddg.py
+++ b/angr/analyses/ddg.py
@@ -483,7 +483,7 @@ class DDG(Analysis):
run_stack.append(wrapper)
l.debug("Appending successor %s.", successor)
- self._solve_symbolic_me... | Disable resolving of symbolic mem operation in ddg.py | py |
diff --git a/gwpy/timeseries/io/losc.py b/gwpy/timeseries/io/losc.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/io/losc.py
+++ b/gwpy/timeseries/io/losc.py
@@ -177,8 +177,8 @@ def fetch_losc_data(detector, start, end, cls=TimeSeries, **kwargs):
kwargs['cls'] = cls
for url in cache:
keep = file... | gwpy.timeseries: fix start/end handling in GWOSC I/O | py |
diff --git a/icontrol/session.py b/icontrol/session.py
index <HASH>..<HASH> 100644
--- a/icontrol/session.py
+++ b/icontrol/session.py
@@ -274,6 +274,7 @@ def decorate_HTTP_verb_method(method):
REST_uri, suffix, **kwargs)
response = method(self, REST_uri, **kwargs)
... | Close each log file after logging. Issues: Fixes <URL> | py |
diff --git a/loam/manager.py b/loam/manager.py
index <HASH>..<HASH> 100644
--- a/loam/manager.py
+++ b/loam/manager.py
@@ -95,7 +95,7 @@ class _SubConfig:
self[opt] = dflt
return missing_opts
- def _names(self, arg):
+ def names_(self, arg):
"""List of cli strings for a given opti... | _SubConfig._names renamed to _SubConfig.names_ | py |
diff --git a/eztemplate.py b/eztemplate.py
index <HASH>..<HASH> 100755
--- a/eztemplate.py
+++ b/eztemplate.py
@@ -4,6 +4,7 @@
from __future__ import print_function
import argparse
+import errno
import os
import os.path
import re
@@ -326,7 +327,11 @@ def process_combinations(combinations, engine):
w... | Don't fail on removing nonexistent files. | py |
diff --git a/vertex/ptcp.py b/vertex/ptcp.py
index <HASH>..<HASH> 100644
--- a/vertex/ptcp.py
+++ b/vertex/ptcp.py
@@ -5,6 +5,7 @@ import struct, zlib
import random
from twisted.internet import protocol, error, reactor, defer
+from twisted.internet.main import CONNECTION_DONE
from twisted.python import log, util
... | CONNECTION_DONE, please | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ REQUIREMENTS = [
setup(
name='gcloud',
- version='0.4.1',
+ version='0.4.2',
description='API Client library for Google Cloud',
author='JJ Geewax',
author_email='jj@geewax.org', | Upgrading version to <I>. This is for a minor release cycle. | py |
diff --git a/ckanutils.py b/ckanutils.py
index <HASH>..<HASH> 100644
--- a/ckanutils.py
+++ b/ckanutils.py
@@ -36,7 +36,7 @@ __title__ = 'ckanutils'
__author__ = 'Reuben Cummings'
__description__ = 'Miscellaneous CKAN utility library'
__email__ = 'reubano@gmail.com'
-__version__ = '0.12.0'
+__version__ = '0.12.1'
_... | Bump to version <I> | py |
diff --git a/tests/pbc.py b/tests/pbc.py
index <HASH>..<HASH> 100755
--- a/tests/pbc.py
+++ b/tests/pbc.py
@@ -53,10 +53,12 @@ class PBCTest(unittest.TestCase):
a.set_cell([sx,sy,2*sz])
e3 = a.get_potential_energy()
- ase.io.write('test.cfg', a)
-
self.assertEqual(e2, e3)
+ ... | Added surface energy to pbc test. | py |
diff --git a/pymongo/client_session.py b/pymongo/client_session.py
index <HASH>..<HASH> 100644
--- a/pymongo/client_session.py
+++ b/pymongo/client_session.py
@@ -238,10 +238,7 @@ class ClientSession(object):
def end_session(self):
"""Finish this session. If a transaction has started, abort it.
- ... | Obsolete docstring for end_session | py |
diff --git a/saspy/sasioiom.py b/saspy/sasioiom.py
index <HASH>..<HASH> 100644
--- a/saspy/sasioiom.py
+++ b/saspy/sasioiom.py
@@ -23,10 +23,10 @@ import tempfile
try:
import saspy.sascfg_personal as SAScfg
-except:
+except ImportError:
try:
import sascfg_personal as SAScfg
- except:
+ except Impo... | Only catch ImportError, don't ignore every error (#<I>) | py |
diff --git a/ceph_deploy/hosts/remotes.py b/ceph_deploy/hosts/remotes.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/hosts/remotes.py
+++ b/ceph_deploy/hosts/remotes.py
@@ -16,6 +16,8 @@ def platform_information(_linux_distribution=None):
distro, release, codename = linux_distribution()
if not codename and ... | [RM-<I>] Support deploy on Debian 9 stretch | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
-from distutils.core import setup
+from setuptools import setup
setup(name='twittytwister',
- version='0.1',
+ version='0.1.1',
description='Twitter client for Twisted Python',
author='Dustin Sa... | use setuptools, version bump to <I>, install dependencies | py |
diff --git a/twilio/rest/resources.py b/twilio/rest/resources.py
index <HASH>..<HASH> 100644
--- a/twilio/rest/resources.py
+++ b/twilio/rest/resources.py
@@ -773,6 +773,7 @@ class CallerIds(ListResource):
:param extension: Digits to dial after connecting the validation call.
:returns: A response dict... | Add phone number to validation params | py |
diff --git a/webant/webant.py b/webant/webant.py
index <HASH>..<HASH> 100644
--- a/webant/webant.py
+++ b/webant/webant.py
@@ -94,6 +94,30 @@ def create_app(configfile=None):
def get_locale():
return request.accept_languages.best_match(['en','it','sq'])
+ def reuqestedFormat(acceptedFormat):
+ ... | [ webant ] added function to retrieve client requested format Client could specify requested format using: (options are processed in this order) - `format` field in http request - `Accept` header in http request | py |
diff --git a/openquake/hazardlib/sourceconverter.py b/openquake/hazardlib/sourceconverter.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/sourceconverter.py
+++ b/openquake/hazardlib/sourceconverter.py
@@ -311,7 +311,7 @@ def split_source(src):
for s in src:
s.src_group_id = src.src_group... | Fixed a terrible performance bug [skip CI] | py |
diff --git a/openquake/calculators/disaggregation.py b/openquake/calculators/disaggregation.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/disaggregation.py
+++ b/openquake/calculators/disaggregation.py
@@ -441,8 +441,9 @@ class DisaggregationCalculator(base.HazardCalculator):
imt = self.imts[m... | Improved a comment [ci skip] | py |
diff --git a/pydocumentdb/documents.py b/pydocumentdb/documents.py
index <HASH>..<HASH> 100644
--- a/pydocumentdb/documents.py
+++ b/pydocumentdb/documents.py
@@ -247,7 +247,7 @@ class ConnectionPolicy(object):
__defaultMaxConnections = 20
__defaultMaxConcurrentCallsPerConnection = 50
- __defaultRequestT... | change request timeout to be <I> seconds instead of <I> seconds | py |
diff --git a/tests/speech_to_text/test_modeling_tf_speech_to_text.py b/tests/speech_to_text/test_modeling_tf_speech_to_text.py
index <HASH>..<HASH> 100644
--- a/tests/speech_to_text/test_modeling_tf_speech_to_text.py
+++ b/tests/speech_to_text/test_modeling_tf_speech_to_text.py
@@ -90,6 +90,7 @@ class TFSpeech2TextMode... | Set scale_embedding to False in some TF tests (#<I>) * set scale_embedding to False to avoid large (> 1e-5) output differences between PT/TF | py |
diff --git a/phy/cluster/manual/session.py b/phy/cluster/manual/session.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/manual/session.py
+++ b/phy/cluster/manual/session.py
@@ -18,7 +18,7 @@ from ...utils.event import EventEmitter, ProgressReporter
from ...utils.logging import debug, info
from ...utils.settings imp... | WIP: refactor settings. | py |
diff --git a/boxview/__init__.py b/boxview/__init__.py
index <HASH>..<HASH> 100644
--- a/boxview/__init__.py
+++ b/boxview/__init__.py
@@ -1,7 +1,7 @@
__version_info__ = {
'major': 1,
'minor': 1,
- 'micro': 0,
+ 'micro': 1,
'releaselevel': 'beta',
'serial': 1
} | Version bumped to <I>. | py |
diff --git a/gadget/__init__.py b/gadget/__init__.py
index <HASH>..<HASH> 100644
--- a/gadget/__init__.py
+++ b/gadget/__init__.py
@@ -13,6 +13,7 @@ _MARKER = 'GDGT::'
TYPE_CODES = munch.Munch(
CREATE='CR',
+ DELETE='DL',
OPERATION='OP',
STATE='ST',
UPDATE='UP',
@@ -47,6 +48,15 @@ def log_enti... | add "deletion" event type | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -41,7 +41,7 @@ setup(
name='validators',
version=get_version(),
url='https://github.com/kvesteri/validators',
- license='BSD',
+ license='MIT',
author='Konsta Vesterinen',
author_email='konsta@fa... | Make license match LICENSE file | py |
diff --git a/ncclient/transport/ssh.py b/ncclient/transport/ssh.py
index <HASH>..<HASH> 100644
--- a/ncclient/transport/ssh.py
+++ b/ncclient/transport/ssh.py
@@ -322,7 +322,7 @@ class SSHSession(Session):
host_port = '[%s]:%s' % (host, port)
known_host_keys_for_this_host.update(self._host_key... | Fix error due to use of private paramiko class attribute This code relies on the internal mapping class in Paramiko, but the variable might hold a normal Python dictionary due to the previous lines, so it crashes when `self._host_keys.lookup(host_port)` is true. The keys to this virtual dictionary are already "x.key.g... | py |
diff --git a/ros_buildfarm/workspace.py b/ros_buildfarm/workspace.py
index <HASH>..<HASH> 100644
--- a/ros_buildfarm/workspace.py
+++ b/ros_buildfarm/workspace.py
@@ -51,6 +51,8 @@ def call_build_tool(
assert build_tool in ('catkin_make_isolated', 'colcon')
script_name = build_tool
+ cmd = ['PYTHONIOENCO... | workaround cmi invocation with Python 3 | py |
diff --git a/devassistant/gui/path_window.py b/devassistant/gui/path_window.py
index <HASH>..<HASH> 100644
--- a/devassistant/gui/path_window.py
+++ b/devassistant/gui/path_window.py
@@ -187,13 +187,16 @@ class PathWindow(object):
def _check_box_toggled(self, widget, data=None):
active = widget.get_acti... | Only try to set browse button sensitive if the checkbox acutally has one. Fixes rhbz#<I>. | py |
diff --git a/msmbuilder/decomposition/sparsetica.py b/msmbuilder/decomposition/sparsetica.py
index <HASH>..<HASH> 100644
--- a/msmbuilder/decomposition/sparsetica.py
+++ b/msmbuilder/decomposition/sparsetica.py
@@ -29,9 +29,6 @@ class SparseTICA(tICA):
of the input features which decorrelate most slowly. These can... | cvxpy not required | py |
diff --git a/R/tests/run.py b/R/tests/run.py
index <HASH>..<HASH> 100755
--- a/R/tests/run.py
+++ b/R/tests/run.py
@@ -1162,7 +1162,7 @@ def usage():
print(" Rerunning failures from a previous run, keeping old random seeds:")
print(" # Copy failures.txt, otherwise --wipe removes the directory with t... | Fix a typo in R-runner. | py |
diff --git a/salt/grains/core.py b/salt/grains/core.py
index <HASH>..<HASH> 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -1074,10 +1074,12 @@ _OS_FAMILY_MAP = {
'SLES_SAP': 'Suse',
'Solaris': 'Solaris',
'SmartOS': 'Solaris',
+ 'OmniOS': 'Solaris',
'OpenIndiana Development': 'Sola... | Forgot to update os_family map in #<I> | py |
diff --git a/maas/client/viscera/boot_resources.py b/maas/client/viscera/boot_resources.py
index <HASH>..<HASH> 100644
--- a/maas/client/viscera/boot_resources.py
+++ b/maas/client/viscera/boot_resources.py
@@ -74,9 +74,20 @@ class BootResources(ObjectSet, metaclass=BootResourcesType):
"""The set of boot resources... | Add the ability to load all data in one call. | py |
diff --git a/linkcheck/director/checker.py b/linkcheck/director/checker.py
index <HASH>..<HASH> 100644
--- a/linkcheck/director/checker.py
+++ b/linkcheck/director/checker.py
@@ -70,7 +70,7 @@ class Checker (task.CheckedTask):
url = ""
else:
url = url_data.url.encode("ascii", "replace... | Improved check thread name to include the word 'thread' | py |
diff --git a/holoviews/core/layout.py b/holoviews/core/layout.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/layout.py
+++ b/holoviews/core/layout.py
@@ -21,7 +21,7 @@ from . import traversal
class Composable(object):
"""
Composable is a mix-in class to allow Dimensioned object to be
- embedded withi... | Removed outdated reference to AxisLayouts | py |
diff --git a/python_modules/dagster/dagster/core/storage/tags.py b/python_modules/dagster/dagster/core/storage/tags.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster/core/storage/tags.py
+++ b/python_modules/dagster/dagster/core/storage/tags.py
@@ -41,7 +41,9 @@ PRIORITY_TAG = "{prefix}priority".forma... | Add max_retries to user editable tags (#<I>) | py |
diff --git a/Process.py b/Process.py
index <HASH>..<HASH> 100755
--- a/Process.py
+++ b/Process.py
@@ -228,6 +228,7 @@ def Process(params, raw_data, hourly_data, daily_data, monthly_data):
else:
start = last_month
# set start to end of first day of month
+ start = start - timedelta(hours=24)
... | Cured slight problem with monthly summaries at start of month. | py |
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py
index <HASH>..<HASH> 100755
--- a/coursera/coursera_dl.py
+++ b/coursera/coursera_dl.py
@@ -240,19 +240,17 @@ def write_cookie_file(class_name, username, password):
return fn
-def down_the_wabbit_hole(class_name, cj):
+def down_the_wabbit_hole(sess... | Use requests session in down_the_wabbit_hole | py |
diff --git a/pundler/__init__.py b/pundler/__init__.py
index <HASH>..<HASH> 100644
--- a/pundler/__init__.py
+++ b/pundler/__init__.py
@@ -1 +1 @@
-__version__ = '0.0.1'
+__version__ = "0.0.1" | Tweaking so the sdist is named correctly | py |
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py
index <HASH>..<HASH> 100755
--- a/misc/log-analytics/import_logs.py
+++ b/misc/log-analytics/import_logs.py
@@ -650,10 +650,11 @@ Performance summary
latest_total_recorded = 0
while not self.monitor_stop:
c... | Fixes #<I>, check that elapsed time is non-zero before calculating average import speed. git-svn-id: <URL> | py |
diff --git a/salt/cloud/clouds/vsphere.py b/salt/cloud/clouds/vsphere.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/vsphere.py
+++ b/salt/cloud/clouds/vsphere.py
@@ -265,7 +265,6 @@ def create(vm_):
'password': template_password,
'script': deploy_script,
'name': vm_['name... | remove hard-coded script path in vsphere provider | py |
diff --git a/ftw/http.py b/ftw/http.py
index <HASH>..<HASH> 100644
--- a/ftw/http.py
+++ b/ftw/http.py
@@ -192,6 +192,8 @@ class HttpResponse(object):
raise errors.TestError(
'The status num of the response line isn\'t convertable',
{
+ 'msg': 'This may ... | Adding additional details on headerless responses | 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
@@ -193,7 +193,7 @@ class _CountsMSMMixin(object):
sliding_window=self.sliding_window)
ergodic_cutoff = self._parse_ergodic_cutoff()
- if ... | changed the ec comparsion to 0 because of sliding window concerns | py |
diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py
index <HASH>..<HASH> 100644
--- a/sos/policies/redhat.py
+++ b/sos/policies/redhat.py
@@ -211,7 +211,7 @@ RH_CFME_DESC = "Red Hat CloudForms"
RH_SATELLITE = "satellite"
RH_SATELLITE_DESC = "Red Hat Satellite"
-SAT_OPTS = SoSOptions(verify=True, plugopts=[... | [policy] Change Satellite preset from verify to more logs As Satellite deployments get more stable, it is less important to verify packages installed. Further, as Satellite produces much logs worth to collect, the preset should increase log size to <I> MB. Resolves: #<I> | py |
diff --git a/api_core/google/api_core/bidi.py b/api_core/google/api_core/bidi.py
index <HASH>..<HASH> 100644
--- a/api_core/google/api_core/bidi.py
+++ b/api_core/google/api_core/bidi.py
@@ -505,8 +505,9 @@ class BackgroundConsumer(object):
# when the RPC has terminated.
self.resume()
- def _thre... | Adds a ready event to BackgroundConsumer to wait on start. (#<I>) * Adds a ready event to BackgroundConsumer to allow waiting for the background thread to start | py |
diff --git a/dpxdt/client/fetch_worker.py b/dpxdt/client/fetch_worker.py
index <HASH>..<HASH> 100644
--- a/dpxdt/client/fetch_worker.py
+++ b/dpxdt/client/fetch_worker.py
@@ -21,6 +21,7 @@ import json
import logging
import shutil
import socket
+import ssl
import time
import urllib
import urllib2
@@ -134,7 +135,7 ... | Catch SSL read errors and retry | py |
diff --git a/pyqode/core/api/code_edit.py b/pyqode/core/api/code_edit.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/api/code_edit.py
+++ b/pyqode/core/api/code_edit.py
@@ -1238,13 +1238,15 @@ class CodeEdit(QtWidgets.QPlainTextEdit):
self.action_duplicate_line = action
# swap line up
actio... | Alt + Key up and Alt + Key down for swapping lines | 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,20 @@ class Client:
""":obj:`bool`: Indicates if the websocket connection is closed."""
return self._closed.is_set()
+ @property
+ def activity(self):
+... | Add ability to change the activity used when logging in at runtime. | py |
diff --git a/muda/deformers/time.py b/muda/deformers/time.py
index <HASH>..<HASH> 100644
--- a/muda/deformers/time.py
+++ b/muda/deformers/time.py
@@ -44,7 +44,7 @@ class TimeStretch(BaseTransformer):
def deform_tempo(self, annotation):
'''Deform a tempo annotation'''
- annotation.data.value /= s... | fixed an inversion error in tempo deformation | py |
diff --git a/tests/test_authentication.py b/tests/test_authentication.py
index <HASH>..<HASH> 100644
--- a/tests/test_authentication.py
+++ b/tests/test_authentication.py
@@ -49,6 +49,7 @@ def test_basic_auth():
token = b'Basic ' + b64encode('{0}:{1}'.format('Tim', 'Wrong password').encode('utf8'))
assert '40... | Add test to define desired change in how documentation is generated | py |
diff --git a/spock/plugins/core/event.py b/spock/plugins/core/event.py
index <HASH>..<HASH> 100644
--- a/spock/plugins/core/event.py
+++ b/spock/plugins/core/event.py
@@ -28,7 +28,11 @@ class EventCore:
def emit(self, event, data = None):
to_remove = []
- for handler in self.event_handlers[event]:
+ # reversed... | Reverse event handler execution order to fix feedback loop issue Handlers can register themselves for the same event they handle, and the new handler is appended to the end of the iterated handler list and immediately run, so an infinite loop can be created. | py |
diff --git a/patroni/postgresql/rewind.py b/patroni/postgresql/rewind.py
index <HASH>..<HASH> 100644
--- a/patroni/postgresql/rewind.py
+++ b/patroni/postgresql/rewind.py
@@ -165,7 +165,7 @@ class Rewind(object):
return
if not self.check_leader_is_not_in_recovery(
- self._conn_kwa... | Use replication credentials when checking leader status (#<I>) It could be that `remove_data_directory_on_diverged_timelines` is set, but there is no `rewind_credentials` defined and superuser access between nodes is not allowed. Close <URL> | py |
diff --git a/uncompyle6/parsers/reducecheck/ifelsestmt.py b/uncompyle6/parsers/reducecheck/ifelsestmt.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parsers/reducecheck/ifelsestmt.py
+++ b/uncompyle6/parsers/reducecheck/ifelsestmt.py
@@ -41,7 +41,7 @@ def ifelsestmt(self, lhs, n, rule, ast, tokens, first, last):
... | ifelsestmt reduce check tracking parse rule change | py |
diff --git a/jellyfish/porter.py b/jellyfish/porter.py
index <HASH>..<HASH> 100644
--- a/jellyfish/porter.py
+++ b/jellyfish/porter.py
@@ -112,8 +112,8 @@ class Stemmer(object):
and if second c isn't w,x, or y.
used to restore e at end of short words like cave, love, hope, crime
"""
- ... | fix two stray flake8 errors | py |
diff --git a/quarkc/test/test_env_tracing.py b/quarkc/test/test_env_tracing.py
index <HASH>..<HASH> 100644
--- a/quarkc/test/test_env_tracing.py
+++ b/quarkc/test/test_env_tracing.py
@@ -195,13 +195,15 @@ def test_env_tracing():
print
print language, "-- logging NOT configured", "==" * 20
- ... | Commented out the "Run no qtrace no ttrace" permutation of the env_tracing test. I *think* this permutation depends on language default behavior given my prior change and therefore doesn't make sense to test anymore. | py |
diff --git a/source/awesome_tool/mvc/models/scoped_variable.py b/source/awesome_tool/mvc/models/scoped_variable.py
index <HASH>..<HASH> 100644
--- a/source/awesome_tool/mvc/models/scoped_variable.py
+++ b/source/awesome_tool/mvc/models/scoped_variable.py
@@ -27,13 +27,12 @@ class ScopedVariableModel(ModelMT):
... | Change model to fit the new architecture Scoped variable model observes itself - model_changed is called before and after a change - notifies the parent about the change - ATTENTION: call of update list store in the parent model was removed, as we do not want this call here. Please check whether is is correctly ca... | py |
diff --git a/mycluster/sge.py b/mycluster/sge.py
index <HASH>..<HASH> 100644
--- a/mycluster/sge.py
+++ b/mycluster/sge.py
@@ -94,8 +94,7 @@ def tasks_per_node(queue_id):
with os.popen('qconf -sq '+queue_name) as f:
for line in f:
if line.split(' ')[0] == 'slots':
- new_line = ... | added check to qconf output for sge to support format in version <I>u4 and below | py |
diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py
index <HASH>..<HASH> 100644
--- a/openid/consumer/consumer.py
+++ b/openid/consumer/consumer.py
@@ -1758,6 +1758,8 @@ class SuccessResponse(Response):
for key in msg_args.iterkeys():
if not self.isSigned(ns_uri, key):
+ ... | [project @ consumer.consumer.SuccessResponse.getSignedNS: log an attempt to get an unsigned value] | py |
diff --git a/tests/server.py b/tests/server.py
index <HASH>..<HASH> 100644
--- a/tests/server.py
+++ b/tests/server.py
@@ -4,7 +4,7 @@ from multiprocessing import Process
from bottle import Bottle, run, template
-PRESETS_DIR = 'presets'
+PRESETS_DIR = path.join(path.dirname(__file__), 'presets')
class TPBApp(... | get the full presets dir path | py |
diff --git a/kairos/timeseries.py b/kairos/timeseries.py
index <HASH>..<HASH> 100644
--- a/kairos/timeseries.py
+++ b/kairos/timeseries.py
@@ -148,7 +148,7 @@ class Timeseries(object):
rval = OrderedDict()
if resolution==step:
if config.get('count_only',False):
- data = int( self._client.get... | If tracking only counts and resolution=interval, handle an interval without data | py |
diff --git a/tests/test_mongodict.py b/tests/test_mongodict.py
index <HASH>..<HASH> 100644
--- a/tests/test_mongodict.py
+++ b/tests/test_mongodict.py
@@ -121,15 +121,14 @@ class TestMongoDict(unittest.TestCase):
def test_pickle_codec_should_return_same_objects(self):
self.collection.drop()
- dat... | Fix a little problem in codec test | py |
diff --git a/django_payzen/views.py b/django_payzen/views.py
index <HASH>..<HASH> 100644
--- a/django_payzen/views.py
+++ b/django_payzen/views.py
@@ -6,6 +6,7 @@ from django.views.decorators.csrf import csrf_exempt
from . import forms
from . import signals
+from . import tools
logger = logging.getLogger(__name_... | django_payzen | views - Added django payzen response data integrity check. | py |
diff --git a/spyderlib/widgets/dicteditor.py b/spyderlib/widgets/dicteditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/dicteditor.py
+++ b/spyderlib/widgets/dicteditor.py
@@ -514,14 +514,12 @@ class DictDelegate(QItemDelegate):
editor = QDateTimeEdit(value, parent)
editor.setCalen... | Variable Explorer: Remove signals not present in QDateTimeEdit and QDateEdit widgets | py |
diff --git a/carrot/utils.py b/carrot/utils.py
index <HASH>..<HASH> 100644
--- a/carrot/utils.py
+++ b/carrot/utils.py
@@ -17,3 +17,22 @@ def gen_unique_id():
_uuid_generate_random(buffer)
return str(UUID(bytes=buffer.raw))
return str(uuid4())
+
+
+def _compat_rpartition(str, sep):
+ """``part... | carrot.utils.rpartition: Compat implementation of str.rpartition for python <= <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,12 +2,20 @@
from setuptools import setup, find_packages
+#http://stackoverflow.com/questions/10718767/have-the-same-readme-both-in-markdown-and-restructuredtext
+try:
+ from pypandoc import convert
+ read_md = la... | md to rst conversion for REAMDE. | py |
diff --git a/safe/impact_function/impact_function.py b/safe/impact_function/impact_function.py
index <HASH>..<HASH> 100644
--- a/safe/impact_function/impact_function.py
+++ b/safe/impact_function/impact_function.py
@@ -2509,7 +2509,7 @@ class ImpactFunction(object):
set_provenance(
self._p... | set requested extent as wkt polygon (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ from setuptools import (
here = os.path.dirname(__file__)
requires = [
- 'cryptography >= 1.7.2, < 2.*',
+ 'cryptography >= 2.2.2, < 3.*',
]
try: | upgrade cryptography to >= <I> | py |
diff --git a/mapillary_tools/process_csv.py b/mapillary_tools/process_csv.py
index <HASH>..<HASH> 100644
--- a/mapillary_tools/process_csv.py
+++ b/mapillary_tools/process_csv.py
@@ -255,7 +255,7 @@ def process_csv(
"Error, csv column numbers start with 1, one of the columns specified is 0."
)
-... | fix columns that contains None (#<I>) | py |
diff --git a/fedmsg_meta_fedora_infrastructure/hotness.py b/fedmsg_meta_fedora_infrastructure/hotness.py
index <HASH>..<HASH> 100644
--- a/fedmsg_meta_fedora_infrastructure/hotness.py
+++ b/fedmsg_meta_fedora_infrastructure/hotness.py
@@ -222,10 +222,18 @@ class HotnessProcessor(BaseProcessor):
def packages(self, ... | Try to workaround an odd variation in message structure. | py |
diff --git a/test/lal_verify.py b/test/lal_verify.py
index <HASH>..<HASH> 100644
--- a/test/lal_verify.py
+++ b/test/lal_verify.py
@@ -81,7 +81,7 @@ class test_LIGOTimeGPS(unittest.TestCase):
def test_pylal_comparison(self):
try:
- from pylal.xlal.date import LIGOTimeGPS as pylalLIGOTimeGPS
+ from pylal.data... | update for new LIGOTimeGPS location in pylal | py |
diff --git a/angr/project.py b/angr/project.py
index <HASH>..<HASH> 100644
--- a/angr/project.py
+++ b/angr/project.py
@@ -158,9 +158,9 @@ class Project:
self._translation_cache = translation_cache
self._executing = False # this is a flag for the convenience API, exec() and terminate_execution() below... | Fix minor configuration setup for self modifying code option (#<I>) | py |
diff --git a/opbeat/contrib/django/middleware/__init__.py b/opbeat/contrib/django/middleware/__init__.py
index <HASH>..<HASH> 100644
--- a/opbeat/contrib/django/middleware/__init__.py
+++ b/opbeat/contrib/django/middleware/__init__.py
@@ -59,7 +59,7 @@ class OpbeatAPMMiddleware(object):
if hasattr(self.thread_... | Bug in view_name fallback. | py |
diff --git a/rtv/subreddit.py b/rtv/subreddit.py
index <HASH>..<HASH> 100644
--- a/rtv/subreddit.py
+++ b/rtv/subreddit.py
@@ -1,6 +1,7 @@
import curses
import time
import requests
+import praw
from .exceptions import SubredditError
from .page import BasePage, Navigator, BaseController
@@ -102,6 +103,10 @@ class... | properly strip subreddit name and post submission | py |
diff --git a/shap/plots/_force.py b/shap/plots/_force.py
index <HASH>..<HASH> 100644
--- a/shap/plots/_force.py
+++ b/shap/plots/_force.py
@@ -101,7 +101,7 @@ def force(base_value, shap_values=None, features=None, feature_names=None, out_n
"shap.force_plot(explainer.expected_value[0], shap_... | Update _force.py correcting a typo | py |
diff --git a/src/python/dxpy/utils/describe.py b/src/python/dxpy/utils/describe.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/utils/describe.py
+++ b/src/python/dxpy/utils/describe.py
@@ -284,8 +284,6 @@ def print_data_obj_desc(desc):
if 'folder' in desc:
print_field("Folder", desc["folder"])
... | PTFM-<I>: Updating dx describe output for data objects again (combined with size line) | py |
diff --git a/script/run-clang-format.py b/script/run-clang-format.py
index <HASH>..<HASH> 100644
--- a/script/run-clang-format.py
+++ b/script/run-clang-format.py
@@ -325,6 +325,7 @@ def main():
retcode = ExitStatus.DIFF
if patch_file.tell() == 0:
+ patch_file.close()
os.unlink(patch... | fix: close patch_file before deleting it (#<I>) | py |
diff --git a/limpyd_extensions/__init__.py b/limpyd_extensions/__init__.py
index <HASH>..<HASH> 100644
--- a/limpyd_extensions/__init__.py
+++ b/limpyd_extensions/__init__.py
@@ -1,6 +1,6 @@
"Some extensions for redis-limpyd, a redis orm (sort of) in python"
-VERSION = (0, 1, 0)
+VERSION = (0, 1, 1)
__author__ = ... | Bump to version <I> | py |
diff --git a/hydpy/core/parametertools.py b/hydpy/core/parametertools.py
index <HASH>..<HASH> 100644
--- a/hydpy/core/parametertools.py
+++ b/hydpy/core/parametertools.py
@@ -360,15 +360,16 @@ class Parameter(objecttools.ValueMath):
lines = []
if pub.options.reprcomments:
if self.__doc__ ... | Fix multi line comments of string representations of class "Parameter". Multiline class docstrings like class Test(Parameter): """line 1 and line2 [-]. """ resulted in class representations like # line 1 and line 2 [-]. test(?) which are not valid Python code. This has been corrected to # line 1 and ... | py |
diff --git a/vyper/context/types/function.py b/vyper/context/types/function.py
index <HASH>..<HASH> 100644
--- a/vyper/context/types/function.py
+++ b/vyper/context/types/function.py
@@ -7,6 +7,7 @@ from vyper.ast.validation import validate_call_args
from vyper.context.namespace import get_namespace
from vyper.contex... | fix: add check to prevent dynamic-length struct as a function input | py |
diff --git a/tests/test_sql_copy.py b/tests/test_sql_copy.py
index <HASH>..<HASH> 100644
--- a/tests/test_sql_copy.py
+++ b/tests/test_sql_copy.py
@@ -50,7 +50,7 @@ def copy_client(api_key_auth_client_usr):
return CopySQLClient(api_key_auth_client_usr)
-def test_copyfrom(copy_client):
+def test_copyfrom(copy_c... | Fix silly mistake with tests I thought having a fixture with module scope would execute it automatically. I was wrong. | py |
diff --git a/pyzos/zosutils.py b/pyzos/zosutils.py
index <HASH>..<HASH> 100644
--- a/pyzos/zosutils.py
+++ b/pyzos/zosutils.py
@@ -54,8 +54,8 @@ def replicate_methods(srcObj, dstObj):
def zos_wrapper_deco(func):
def wrapper(*args, **kwargs):
return wrapped_zos_object(func(*args, **kwargs))
- ... | Bug. parameter list of zos methods in introspection reordered automatically Since I was using set() features for the creating the parameter list for ZOS object methods in the function, the parameters would auto reorder. Changed to use an list object instead. | py |
diff --git a/tests/test_tabular.py b/tests/test_tabular.py
index <HASH>..<HASH> 100644
--- a/tests/test_tabular.py
+++ b/tests/test_tabular.py
@@ -274,13 +274,6 @@ class TestBasic(TesterCore):
D = tb.tabarray(HSVfile=fname, toload=toload)
self.assert_io(eq(self.D[toload], D), fname)
- def test_lo... | removed HSVlist test since we've decided to drop support for that format | py |
diff --git a/panoptes_client/workflow.py b/panoptes_client/workflow.py
index <HASH>..<HASH> 100644
--- a/panoptes_client/workflow.py
+++ b/panoptes_client/workflow.py
@@ -1,5 +1,6 @@
from __future__ import absolute_import, division, print_function
from builtins import str
+from copy import deepcopy
from panoptes_c... | Deep copy of initial workflow config Determining whether to save the workflow configuration relies on comparison between a potentially updated configuration dict and a copy of the original taken when the Workflow instance was created. Using assignment or even copy construction can (apparently not always) result in the... | py |
diff --git a/tests/test_mbox.py b/tests/test_mbox.py
index <HASH>..<HASH> 100644
--- a/tests/test_mbox.py
+++ b/tests/test_mbox.py
@@ -26,9 +26,9 @@ import logging
import unittest
from base import TestBaseBackend
-from grimoire_elk.ocean.mbox import MBoxOcean
-from grimoire_elk.elk.mbox import MBoxEnrich
+from gr... | [tests] Update import section test_mbox This code updates the name of the package elk to enriched in the import section. | py |
diff --git a/vaex/ui/qt.py b/vaex/ui/qt.py
index <HASH>..<HASH> 100644
--- a/vaex/ui/qt.py
+++ b/vaex/ui/qt.py
@@ -312,8 +312,8 @@ class Option(OptionBase):
def on_change(index):
setter(self.options[index])
update()
- self.combobox.currentIndexChanged.connect(on_change)
self.combobox.setCurrentIndex(opti... | changed order to avoid issues with assignment to variable | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ def read(fname):
setup(name='Lifetimes',
- version='0.1.4',
+ version='0.1.5',
description='Measure customer lifetime value in Python',
author='Cam Davidson-Pilon',
author_email... | bump it, as this fixed some good bugs | py |
diff --git a/headnode_notifier.py b/headnode_notifier.py
index <HASH>..<HASH> 100755
--- a/headnode_notifier.py
+++ b/headnode_notifier.py
@@ -5,6 +5,7 @@ import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
import argparse
+import sys
__author__ = "Dariusz Izak"
@@ -... | ENH@__main__:Read passwd.txt path from bash PATH | py |
diff --git a/salt/client/ssh/shell.py b/salt/client/ssh/shell.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/shell.py
+++ b/salt/client/ssh/shell.py
@@ -78,7 +78,7 @@ class Shell(object):
self.mods = mods
self.identities_only = identities_only
self.remote_port_forwards = remote_port_for... | Add space around equality operator Needed for lint | py |
diff --git a/tests/test_bootstrap_calcs.py b/tests/test_bootstrap_calcs.py
index <HASH>..<HASH> 100644
--- a/tests/test_bootstrap_calcs.py
+++ b/tests/test_bootstrap_calcs.py
@@ -69,11 +69,11 @@ class ComputationalTests(unittest.TestCase):
# We should have the value in BR[lower_row, 0] = 3 so that there are 2
... | Change upper and lower row to ints to avoid TravisCI testing errors. | py |
diff --git a/atrcopy/dos33.py b/atrcopy/dos33.py
index <HASH>..<HASH> 100644
--- a/atrcopy/dos33.py
+++ b/atrcopy/dos33.py
@@ -180,7 +180,7 @@ class Dos33Dirent(Dirent):
self.parse_raw_dirent(image, bytes)
def __str__(self):
- return "File #%-2d (%s) %03d %-30s %03d %03d" % (self.file_num, self.s... | dos<I>: workaround to ignore non-ascii characters. fails on beagle bros 'Alpha Plot.dsk' | 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
@@ -23,7 +23,8 @@ import shlex
sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../../'))
-
+# For Read the Docs... | new fix for read the docs | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ setup(
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_ver... | version bump for removing dnn progress | py |
diff --git a/resources.py b/resources.py
index <HASH>..<HASH> 100644
--- a/resources.py
+++ b/resources.py
@@ -64,6 +64,7 @@ class _RI(object):
class IRI(_RI):
+ default_encoding = 'utf8'
def __init__(self, iri, encoding=None, query_class=None):
@@ -71,16 +72,16 @@ class IRI(_RI):
if isinstanc... | error handling when used with unicode and encoding | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ import sys
from setuptools import setup, find_packages
from setuptools.command.install import install
-VERSION = '0.1.52'
+VERSION = '0.2.0'
class VerifyVersionCommand(install):
"""Custom command to ve... | Do not confuse the current master branch with the <I>x versions (#<I>) | py |
diff --git a/sftpman/launcher.py b/sftpman/launcher.py
index <HASH>..<HASH> 100755
--- a/sftpman/launcher.py
+++ b/sftpman/launcher.py
@@ -4,7 +4,7 @@
def main():
import sys, os
path = os.path.dirname(os.path.dirname(__file__))
- sys.path.append(path)
+ sys.path.insert(0, path)
from sftpman import... | Prefer local code directory (prioritize in sys.path) This makes local development easier when the `sftpman` package is also available on the path, coming from the system packages. | py |
diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py
index <HASH>..<HASH> 100644
--- a/salt/utils/cloud.py
+++ b/salt/utils/cloud.py
@@ -1729,7 +1729,7 @@ def fire_event(key, msg, tag, args=None, sock_dir=None, transport='zeromq'):
# Fire deploy action
if sock_dir is None:
salt.utils.warn_until(
- ... | Bump fire_event deprecation warning version from Nitrogen to Oxygen (#<I>) This deprecated was made only a month or so ago in develop. We need at least 2 feature release versions for deprecations. Refs #<I> | py |
diff --git a/openquake/server/views.py b/openquake/server/views.py
index <HASH>..<HASH> 100644
--- a/openquake/server/views.py
+++ b/openquake/server/views.py
@@ -326,7 +326,8 @@ def calc_remove(request, calc_id):
message = logs.dbcmd('del_calc', calc_id, user)
except dbapi.NotFound:
return HttpR... | Change how error is managed by views.py Former-commit-id: d<I>d<I>bde<I>d<I>a<I>e4a<I>eb<I>fabaa4 | py |
diff --git a/spyder/utils/ipython/spyder_kernel.py b/spyder/utils/ipython/spyder_kernel.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/ipython/spyder_kernel.py
+++ b/spyder/utils/ipython/spyder_kernel.py
@@ -22,7 +22,7 @@ PY2 = sys.version[0] == '2'
# Check if we are running under an external interpreter
# We add ... | IPython kernel: Prefix all env vars we set for it with SPY This way there are less chances of clashes with user defined vars. | py |
diff --git a/galpy/orbit_src/planarOrbit.py b/galpy/orbit_src/planarOrbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/planarOrbit.py
+++ b/galpy/orbit_src/planarOrbit.py
@@ -307,8 +307,8 @@ class planarOrbit(planarOrbitTop):
HISTORY:
2010-07-10 - Written - Bovy (NYU)
"""
- ... | fix plotEt for planarOrbit | py |
diff --git a/astrocats/__init__.py b/astrocats/__init__.py
index <HASH>..<HASH> 100644
--- a/astrocats/__init__.py
+++ b/astrocats/__init__.py
@@ -4,7 +4,7 @@
import os
import sys
-__version__ = '0.2.0'
+__version__ = '0.2.1'
__author__ = 'James Guillochon'
__license__ = 'MIT' | ENH: bumping version to `<I>` | py |
diff --git a/pypresence/payloads.py b/pypresence/payloads.py
index <HASH>..<HASH> 100644
--- a/pypresence/payloads.py
+++ b/pypresence/payloads.py
@@ -198,7 +198,7 @@ class Payload:
@classmethod
def select_text_channel(cls, channel_id: str):
payload = {
- "cmd": "SELECT_VOICE_CHANNEL",
+ ... | Fix that select_text_channel selects voice channels. `SELECT_VOICE_CHANNEL` was used as cmd in the payload for `select_text_channel` | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.