diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/hearthstone/hslog/player.py b/hearthstone/hslog/player.py
index <HASH>..<HASH> 100644
--- a/hearthstone/hslog/player.py
+++ b/hearthstone/hslog/player.py
@@ -71,8 +71,9 @@ class PlayerManager:
Registers a link between \a name and \a id.
Note that this does not support two different players with the s... | hslog: Use raw IDs instead of LazyPlayer once the id is available | py |
diff --git a/i3pystatus/core/command.py b/i3pystatus/core/command.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/core/command.py
+++ b/i3pystatus/core/command.py
@@ -7,11 +7,21 @@ CommandResult = namedtuple("Result", ['rc', 'out', 'err'])
def run_through_shell(command, enable_shell=False):
"""
- Retrieves o... | Docs: Updated docstring of `run_through_shell`. | py |
diff --git a/pylint_django/augmentations/__init__.py b/pylint_django/augmentations/__init__.py
index <HASH>..<HASH> 100644
--- a/pylint_django/augmentations/__init__.py
+++ b/pylint_django/augmentations/__init__.py
@@ -44,6 +44,7 @@ MANAGER_ATTRS = {
'extra',
'get',
'get_or_create',
+ 'update_or_creat... | Fix for Reverse Manager `update_or_create` calls This attr list appears to be missing `update_or_create` which means that reverse related managers throw an error when trying to use them like `self.<MANAGER>.update_or_create()`. | py |
diff --git a/canvasapi/requester.py b/canvasapi/requester.py
index <HASH>..<HASH> 100644
--- a/canvasapi/requester.py
+++ b/canvasapi/requester.py
@@ -107,11 +107,14 @@ class Requester(object):
:param params: dict
:param data: dict
"""
- if 'file' in data:
- file = {'file': ... | Modified file handling in POST requests to expect a list of 2-tuples rather than dict. | py |
diff --git a/salt/utils/event.py b/salt/utils/event.py
index <HASH>..<HASH> 100644
--- a/salt/utils/event.py
+++ b/salt/utils/event.py
@@ -613,8 +613,8 @@ class Reactor(multiprocessing.Process, salt.state.Compiler):
res[name]['__sls__'] = fn_
react.update(res)
- except... | Show errors on failure to render reactors Because how else would people debug their broken code. Like me? <URL> | py |
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -686,7 +686,7 @@ class ContextTests(TestCase, _LoopbackMixin):
fObj.write(dump_certificate(FILETYPE_PEM, cert).decode('ascii'))
fObj.clo... | Write text to files instead of bytes | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ classifiers = [
]
setup(name='hypua2jamo',
- version='0.3',
+ version='0.4.dev0',
license='GNU Lesser GPL v3+',
description='Convert Hanyang-PUA code to unicode Hangul Jamo, i.e., Syl... | Back to development: <I> | py |
diff --git a/phoebe/parameters/datasets.py b/phoebe/parameters/datasets.py
index <HASH>..<HASH> 100644
--- a/phoebe/parameters/datasets.py
+++ b/phoebe/parameters/datasets.py
@@ -1631,7 +1631,7 @@ def parse_rv(filename, columns=None, components=None,
# Convert to right units
for col in units:
- i... | skip rv unit conversions when given unit is the same as required unit | py |
diff --git a/bibliopixel/__init__.py b/bibliopixel/__init__.py
index <HASH>..<HASH> 100644
--- a/bibliopixel/__init__.py
+++ b/bibliopixel/__init__.py
@@ -3,4 +3,4 @@ from . led import (LEDCircle, LEDMatrix, LEDPOV, LEDStrip,
from . import animation, colors, font, gamma, led, log, util
-__version__ = VERSION = '2.... | upped to <I> version | py |
diff --git a/test/__init__.py b/test/__init__.py
index <HASH>..<HASH> 100644
--- a/test/__init__.py
+++ b/test/__init__.py
@@ -198,16 +198,7 @@ class MotorTest(PauseMixin, testing.AsyncTestCase):
try:
next(sync_cursor)
- except pymongo.errors.OperationFailure, e:
- ... | Simplify wait_for_cursor with CursorNotFound exception. | py |
diff --git a/apps/django_ext/models.py b/apps/django_ext/models.py
index <HASH>..<HASH> 100644
--- a/apps/django_ext/models.py
+++ b/apps/django_ext/models.py
@@ -1,5 +0,0 @@
-from stories.models import Story
-from categories import register_m2m, register_fk
-
-register_m2m(Story)#, extra_params={'through':'StoryCatego... | Removed the registration of Categories and Stories, as Stories already checks for it | py |
diff --git a/tests/test_conf.py b/tests/test_conf.py
index <HASH>..<HASH> 100644
--- a/tests/test_conf.py
+++ b/tests/test_conf.py
@@ -120,6 +120,14 @@ class TestConf(TestCase):
assert conf.a == 1
self.assertRaises(AttributeError, getattr, conf, 'b')
+ def test_config_get_valid_key(self):
+ ... | add tests to support the new get method in the config object | py |
diff --git a/build/build.py b/build/build.py
index <HASH>..<HASH> 100755
--- a/build/build.py
+++ b/build/build.py
@@ -897,6 +897,9 @@ def runValidator():
def checkService():
+ if not os.path.exists(vnuJar):
+ release = Release()
+ release.createExecutable("jar")
doc = miniDoc.replace(" ", "%... | Build: Ensure jar is built before checking service | py |
diff --git a/pythonforandroid/bdist_apk.py b/pythonforandroid/bdist_apk.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/bdist_apk.py
+++ b/pythonforandroid/bdist_apk.py
@@ -3,7 +3,9 @@ from setuptools import Command
from pythonforandroid import toolchain
class BdistAPK(Command):
+ description = 'Create an ... | Added doc to bdist_apk class | py |
diff --git a/psiturk/psiturk_shell.py b/psiturk/psiturk_shell.py
index <HASH>..<HASH> 100644
--- a/psiturk/psiturk_shell.py
+++ b/psiturk/psiturk_shell.py
@@ -503,6 +503,10 @@ class PsiturkNetworkShell(PsiturkShell):
prompt += ' mode:' + colorize('sdbx', 'bold')
else:
prompt += ' mode... | Indicate tunnel status in CLI prompt | py |
diff --git a/salt/modules/debconfmod.py b/salt/modules/debconfmod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/debconfmod.py
+++ b/salt/modules/debconfmod.py
@@ -19,8 +19,9 @@ def __virtual__():
is installed.
'''
if salt.utils.which('debconf-get-selections') is None:
- log.error('The package ... | Improve `salt.modules.debconfmod` + PEP8. A missing package is a warning not a error on since salt will run perfectly fine without that package. The module depends on that package but salt does not. | py |
diff --git a/autofit/message_passing/factor_graphs/variable.py b/autofit/message_passing/factor_graphs/variable.py
index <HASH>..<HASH> 100644
--- a/autofit/message_passing/factor_graphs/variable.py
+++ b/autofit/message_passing/factor_graphs/variable.py
@@ -1,6 +1,8 @@
from itertools import count, chain
from typing ... | variables are a kind of model object | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,4 +9,17 @@ setup(name='bitmath',
license='MIT',
package_dir={'bitmath': 'bitmath'},
packages=['bitmath']
+ classifiers = [
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Co... | More classifiers in setup.py | py |
diff --git a/organizations/__init__.py b/organizations/__init__.py
index <HASH>..<HASH> 100644
--- a/organizations/__init__.py
+++ b/organizations/__init__.py
@@ -1,4 +1,4 @@
"""
edx-organizations app initialization module
"""
-__version__ = '1.0.1' # pragma: no cover
+__version__ = '2.0.1' # pragma: no cover | Prepare for a package release. Doing this as a major version upgrade because we were previously pinning the djangorestframework library. If upstream projects were relying on us pinning it to stick to a specific version, our change might break them. | py |
diff --git a/clients/ansible/girder.py b/clients/ansible/girder.py
index <HASH>..<HASH> 100644
--- a/clients/ansible/girder.py
+++ b/clients/ansible/girder.py
@@ -1726,7 +1726,7 @@ class GirderClientModule(GirderClient):
updateable = ["root", "mongohost", "replicaset", "bucket",
... | Add dbtype and dburi to updateable list | py |
diff --git a/alerta/shell.py b/alerta/shell.py
index <HASH>..<HASH> 100644
--- a/alerta/shell.py
+++ b/alerta/shell.py
@@ -957,6 +957,8 @@ class AlertaShell(object):
args = parser.parse_args(left)
+ if hasattr(args, 'id') and args.ids:
+ args.filters += ['id='+i for i in args.ids]
... | dont assume always have --ids option | py |
diff --git a/tests/unit/test_crunch_cube.py b/tests/unit/test_crunch_cube.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_crunch_cube.py
+++ b/tests/unit/test_crunch_cube.py
@@ -356,3 +356,15 @@ class TestCrunchCube(TestCase):
expected = sum(weighted_counts)
self.assertEqual(actual, expected)
+... | Bring coverage back to <I>% | py |
diff --git a/federation/hostmeta/fetchers.py b/federation/hostmeta/fetchers.py
index <HASH>..<HASH> 100644
--- a/federation/hostmeta/fetchers.py
+++ b/federation/hostmeta/fetchers.py
@@ -66,7 +66,7 @@ def fetch_nodeinfo_document(host):
else:
for link in doc.get('links'):
version = float(link.... | Make a line of code prettier | py |
diff --git a/bonfire/formats.py b/bonfire/formats.py
index <HASH>..<HASH> 100644
--- a/bonfire/formats.py
+++ b/bonfire/formats.py
@@ -40,10 +40,11 @@ def tail_format(fields=["source", "facility", "line", "module"], color=True):
if message_text:
message_text = " " + message_text + " #"
- ... | fix(fields): message wasn't queried in follow mode #<I> (#<I>) | py |
diff --git a/python-package/xgboost/sklearn.py b/python-package/xgboost/sklearn.py
index <HASH>..<HASH> 100644
--- a/python-package/xgboost/sklearn.py
+++ b/python-package/xgboost/sklearn.py
@@ -363,7 +363,7 @@ class XGBClassifier(XGBModel, XGBClassifierBase):
metric measured on the validation set to stder... | change type of xgbclassifier.classes_ from list to numpy array | py |
diff --git a/ELiDE/ELiDE/stores.py b/ELiDE/ELiDE/stores.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/stores.py
+++ b/ELiDE/ELiDE/stores.py
@@ -112,7 +112,8 @@ class StoreList(RecycleView):
yield '+'
yield from sorted(self.store.keys())
- def redata(self, select_name=None, *args):
+ def red... | Fix some crashes when calling StoreList.redata without select_name param | py |
diff --git a/shutit_pexpect.py b/shutit_pexpect.py
index <HASH>..<HASH> 100644
--- a/shutit_pexpect.py
+++ b/shutit_pexpect.py
@@ -2736,7 +2736,7 @@ $'"""
user = self.whoami()
if group is None:
group = self.whoarewe()
- if self.current_environment.environment_id == 'ORIGIN_ENV':
+ if self.current_environme... | ready to dump native file sending - did not work with simple case in bash with Clair | py |
diff --git a/journal/consensus/poet/poet_journal.py b/journal/consensus/poet/poet_journal.py
index <HASH>..<HASH> 100644
--- a/journal/consensus/poet/poet_journal.py
+++ b/journal/consensus/poet/poet_journal.py
@@ -63,6 +63,8 @@ class PoetJournal(journal_core.Journal):
# initialize stats specifically for the... | added local mean and previous block ID stats | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,7 @@ setup(
download_url='https://github.com/erdc-cm/RAPIDpy/tarballs/2.2.1',
license='BSD 3-Clause',
packages=find_packages(),
+ package_data={'': ['gis/lsm_grids/*.nc']},
install_requires=['n... | Added netcdf files to setup.py | py |
diff --git a/agon_ratings/models.py b/agon_ratings/models.py
index <HASH>..<HASH> 100644
--- a/agon_ratings/models.py
+++ b/agon_ratings/models.py
@@ -17,7 +17,7 @@ class OverallRating(models.Model):
object_id = models.IntegerField(db_index=True)
content_type = models.ForeignKey(ContentType)
content_obje... | Increase decimal field by 3 digits | py |
diff --git a/pycbc/weave.py b/pycbc/weave.py
index <HASH>..<HASH> 100644
--- a/pycbc/weave.py
+++ b/pycbc/weave.py
@@ -136,6 +136,8 @@ def verify_weave_options(opt, parser):
sys.path = [cache_dir] + sys.path
try: os.makedirs(cache_dir)
except OSError: pass
+ if not os.environ.get("LAL_... | if using --fixed-weeave-cache, set LAL_DATA_PATH to the cache directory (#<I>) - only if it has not been set externally - this is meant to allow using ROM files in a PyInstaller bundle | py |
diff --git a/pmxbot/commands.py b/pmxbot/commands.py
index <HASH>..<HASH> 100644
--- a/pmxbot/commands.py
+++ b/pmxbot/commands.py
@@ -624,13 +624,21 @@ def blame(client, event, channel, nick, rest):
"fault!!" % blamee)
yield "/me cries and weeps in despair"
+def _request_friendly(auth):
+ """
+ Requests does ... | Blarg. Requests expects a tuple, not a list. | py |
diff --git a/warehouse/packaging/models.py b/warehouse/packaging/models.py
index <HASH>..<HASH> 100644
--- a/warehouse/packaging/models.py
+++ b/warehouse/packaging/models.py
@@ -261,7 +261,7 @@ class Release(db.ModelBase):
primary_key=True,
)
version = Column(Text, primary_key=True)
- canonical_v... | Release.canonical_version is not nullable (#<I>) | py |
diff --git a/src/lib/service.py b/src/lib/service.py
index <HASH>..<HASH> 100644
--- a/src/lib/service.py
+++ b/src/lib/service.py
@@ -319,8 +319,8 @@ class PhraseRunner:
#self.ignoreCount = len(expansion.string) + expansion.backspaces + extraBs + len(extraKeys) + expansion.lefts
mediator.se... | Revert phrases to being sent via keyboard instead of X selection git-svn-id: <URL> | py |
diff --git a/host/analysis/data_struct.py b/host/analysis/data_struct.py
index <HASH>..<HASH> 100644
--- a/host/analysis/data_struct.py
+++ b/host/analysis/data_struct.py
@@ -22,11 +22,16 @@ class HitInfoTable(tb.IsDescription):
service_record = tb.UInt32Col(pos=9)
event_status = tb.UInt8Col(pos=10)
... | ENH: new data structure for the meta word index added | py |
diff --git a/s_tui/GraphData.py b/s_tui/GraphData.py
index <HASH>..<HASH> 100644
--- a/s_tui/GraphData.py
+++ b/s_tui/GraphData.py
@@ -190,6 +190,12 @@ class GraphData:
last_value = psutil.sensors_temperatures()['it8655'][0].current
except:
last_value = 0
+ # Suppor... | Fix temperature reading on it<I> sensor | py |
diff --git a/carrot/backends/pyamqplib.py b/carrot/backends/pyamqplib.py
index <HASH>..<HASH> 100644
--- a/carrot/backends/pyamqplib.py
+++ b/carrot/backends/pyamqplib.py
@@ -184,6 +184,10 @@ class Backend(BaseBackend):
conninfo = self.connection
if not conninfo.hostname:
raise KeyError("... | amqplib: Better error messages if userid/password is None. Thanks to Eric Palakovich Carr | py |
diff --git a/pyontutils/scigraph_codegen.py b/pyontutils/scigraph_codegen.py
index <HASH>..<HASH> 100755
--- a/pyontutils/scigraph_codegen.py
+++ b/pyontutils/scigraph_codegen.py
@@ -887,8 +887,16 @@ class State2(State):
return None, ''
-def moduleDirect(api_url, basepath, module_name):
+def moduleDirect(b... | scigraph codegen fix bugs in moduleDirect now only need to provide basepath, api_uri is generated from that | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -2261,13 +2261,15 @@ p.wait()
def test_pushd(self):
""" test basic pushd functionality """
+ child = realpath(tempfile.mkdtemp())
+
old_wd1 = sh.pwd().strip()
old_wd2 = os.getcwd()
... | CWD may be /tmp on some systems. Use a random dir instead. Fixes #<I> | py |
diff --git a/src/python/twitter/common/python/obtainer.py b/src/python/twitter/common/python/obtainer.py
index <HASH>..<HASH> 100644
--- a/src/python/twitter/common/python/obtainer.py
+++ b/src/python/twitter/common/python/obtainer.py
@@ -122,6 +122,14 @@ class CachingObtainer(Obtainer):
precedence=self._prece... | Expose the ttl and install_cache properties on CachingObtainer. They're "public" anyway, in the sense that they're passed into __init__(). But this allows the PantsObtainer subclass of CachingObtainer to access them in a natural way and use them to initialize the temporary CachingObtainers it delegates to. Reviewed ... | py |
diff --git a/examples/shelly/main.py b/examples/shelly/main.py
index <HASH>..<HASH> 100644
--- a/examples/shelly/main.py
+++ b/examples/shelly/main.py
@@ -2,7 +2,7 @@ import settings
from aswitch import Switch
from homie.constants import FALSE, TRUE, BOOLEAN
from homie.device import HomieDevice
-from homie.node impo... | Add micropython node to shelly example | py |
diff --git a/samples/missioners.py b/samples/missioners.py
index <HASH>..<HASH> 100644
--- a/samples/missioners.py
+++ b/samples/missioners.py
@@ -74,8 +74,8 @@ result = breadth_first_search(problem)
#result = astar_search(problem)
#result = astar_search(problem, graph_search=True)
-#result = beam_search(problem, b... | Reduced the beam size for missioners | py |
diff --git a/safe_qgis/dock.py b/safe_qgis/dock.py
index <HASH>..<HASH> 100644
--- a/safe_qgis/dock.py
+++ b/safe_qgis/dock.py
@@ -970,7 +970,7 @@ class Dock(QtGui.QDockWidget, Ui_DockBase):
myLayer = QgsMapLayerRegistry.instance().mapLayer(myLayerId)
return myLayer
- def getPostProcessingLayer(s... | renamed getpostprocessinglayer to get AggregationLayer | py |
diff --git a/manticore/manticore.py b/manticore/manticore.py
index <HASH>..<HASH> 100644
--- a/manticore/manticore.py
+++ b/manticore/manticore.py
@@ -656,7 +656,7 @@ class Manticore(object):
f.write(fmt.format(m[1]))
if self.memory_errors_file is not None:
- ... | Fix bad reference to args (#<I>) | py |
diff --git a/ufork/test.py b/ufork/test.py
index <HASH>..<HASH> 100644
--- a/ufork/test.py
+++ b/ufork/test.py
@@ -182,3 +182,12 @@ def daemon_test(addr = ("0.0.0.0", 8888)):
pid = int(open('test.pid').read())
os.kill(pid, signal.SIGTERM)
+
+def test_stdout_handler():
+ 'note: destroyts standard out'
+ ... | added stdout handler test | py |
diff --git a/i3pystatus/updates/yaourt.py b/i3pystatus/updates/yaourt.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/updates/yaourt.py
+++ b/i3pystatus/updates/yaourt.py
@@ -1,15 +1,25 @@
-"""
-This module counts the available updates using yaourt.
-By default it will only count aur packages.
-If you want to count bot... | Moved the docstring and added usage examples. | py |
diff --git a/hangups/__main__.py b/hangups/__main__.py
index <HASH>..<HASH> 100644
--- a/hangups/__main__.py
+++ b/hangups/__main__.py
@@ -335,7 +335,7 @@ class TabbedWindowWidget(urwid.WidgetWrap):
@gen.coroutine
-def main():
+def main_coroutine():
"""Start an example chat client."""
# prepare urwid UI
... | Fix entry point for console_scripts | py |
diff --git a/bcbio/variation/genotype.py b/bcbio/variation/genotype.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/genotype.py
+++ b/bcbio/variation/genotype.py
@@ -520,10 +520,14 @@ def variantcall_sample(data, region=None, out_file=None):
region, call_file)
if data["config"]["algorithm"].get... | Handle simultaneous symlinking of results on distributed runs | py |
diff --git a/calloway/urls.py b/calloway/urls.py
index <HASH>..<HASH> 100644
--- a/calloway/urls.py
+++ b/calloway/urls.py
@@ -9,7 +9,7 @@ urlpatterns = patterns('',
(r'^critic/', include('critic.urls')),
(r'^api/', include('api.urls')),
(r'^syn/', include('synagg.urls')),
- (r'^massmedia/', include('... | massmedia > multimedia in the urls | py |
diff --git a/gwpy/timeseries/tests/test_io_gwf_lalframe.py b/gwpy/timeseries/tests/test_io_gwf_lalframe.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/tests/test_io_gwf_lalframe.py
+++ b/gwpy/timeseries/tests/test_io_gwf_lalframe.py
@@ -163,8 +163,6 @@ def test_write():
data2 = gwpy_lalframe.read(tmp, CH... | gwpy.timeseries: remove unnecessary comment line | py |
diff --git a/perceval/backends/mozilla/mozillaclub.py b/perceval/backends/mozilla/mozillaclub.py
index <HASH>..<HASH> 100644
--- a/perceval/backends/mozilla/mozillaclub.py
+++ b/perceval/backends/mozilla/mozillaclub.py
@@ -71,7 +71,7 @@ class MozillaClub(Backend):
:param tag: label used to mark the data
:para... | [mozillaclub] Change log level message when missing event data This code changes the level of the log message from error to warning when parsing events with no date or club name. | py |
diff --git a/abilian/core/entities.py b/abilian/core/entities.py
index <HASH>..<HASH> 100644
--- a/abilian/core/entities.py
+++ b/abilian/core/entities.py
@@ -450,7 +450,6 @@ class Entity(with_metaclass(EntityMeta, Indexable, BaseMixin, db.Model)):
def _indexable_tag_text(self):
return u' '.join(text_type... | (minor) lint | py |
diff --git a/aiohttp_security/api.py b/aiohttp_security/api.py
index <HASH>..<HASH> 100644
--- a/aiohttp_security/api.py
+++ b/aiohttp_security/api.py
@@ -17,6 +17,7 @@ def remember(request, response, identity, **kwargs):
pushed into custom header also.
"""
assert isinstance(identity, str), identity
+ ... | Add couple assertions and short-cut | py |
diff --git a/acceptancetests/assess_deploy_lxd_profile_bundle.py b/acceptancetests/assess_deploy_lxd_profile_bundle.py
index <HASH>..<HASH> 100755
--- a/acceptancetests/assess_deploy_lxd_profile_bundle.py
+++ b/acceptancetests/assess_deploy_lxd_profile_bundle.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env p... | Move back to python as it doesn't tear down correctly | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ setup(
description='Responsive Theme for Django Admin With Sidebar Menu (Django 1.11)',
long_description=readme,
author='Douglas Miranda',
- author_email='douglasmirandasilva@gmail.com',
+ a... | Change author email and fix license on setup.py | py |
diff --git a/docker/client.py b/docker/client.py
index <HASH>..<HASH> 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -233,17 +233,8 @@ class Client(requests.Session):
def _stream_helper(self, response):
"""Generator for data coming from a chunked-encoded HTTP response."""
- socket_fp = s... | Use requests to read chunk data instead of parsing the raw stream The previous code had a bug in which it assumed that the chunk data had no newlines in it. In <I> newlines were added to the stream results, which exposed this bug. | py |
diff --git a/bot/action/standard/info/action.py b/bot/action/standard/info/action.py
index <HASH>..<HASH> 100644
--- a/bot/action/standard/info/action.py
+++ b/bot/action/standard/info/action.py
@@ -19,6 +19,9 @@ class UserInfoAction(Action):
replied_message = message.reply_to_message
if replied_messa... | If 'forward' is the argument, display the forwarded user info of the message | py |
diff --git a/foolbox/zoo/zoo.py b/foolbox/zoo/zoo.py
index <HASH>..<HASH> 100644
--- a/foolbox/zoo/zoo.py
+++ b/foolbox/zoo/zoo.py
@@ -19,9 +19,7 @@ def get_model(url):
Instantiate a model:
>>> from foolbox import zoo
- >>> model = zoo.get_model(
- >>> url="https://github.com/bveliqi/foolbox-zoo-d... | trying to fix DocTestFailure on travis | py |
diff --git a/plexapi/myplex.py b/plexapi/myplex.py
index <HASH>..<HASH> 100644
--- a/plexapi/myplex.py
+++ b/plexapi/myplex.py
@@ -684,6 +684,18 @@ class MyPlexAccount(PlexObject):
elem = ElementTree.fromstring(req.text)
return self.findItems(elem)
+ def onlineMediaSources(self):
+ """ Ret... | create onlineMediaSources method pulls in opt in/out status of Online Media Sources | py |
diff --git a/tensorboard/plugins/core/core_plugin.py b/tensorboard/plugins/core/core_plugin.py
index <HASH>..<HASH> 100644
--- a/tensorboard/plugins/core/core_plugin.py
+++ b/tensorboard/plugins/core/core_plugin.py
@@ -54,10 +54,12 @@ class CorePlugin(base_plugin.TBPlugin):
def get_plugin_apps(self):
apps = {... | Don't log some noisy <I> errors (#<I>) | py |
diff --git a/plexapi/base.py b/plexapi/base.py
index <HASH>..<HASH> 100644
--- a/plexapi/base.py
+++ b/plexapi/base.py
@@ -169,9 +169,14 @@ class PlexObject(object):
raise BadRequest('ekey was not provided')
if isinstance(ekey, int):
ekey = '/library/metadata/%s' % ekey
- for e... | Add librarySectionID when using fetchItem (#<I>) | py |
diff --git a/heron/instance/src/python/instance/st_heron_instance.py b/heron/instance/src/python/instance/st_heron_instance.py
index <HASH>..<HASH> 100644
--- a/heron/instance/src/python/instance/st_heron_instance.py
+++ b/heron/instance/src/python/instance/st_heron_instance.py
@@ -202,6 +202,8 @@ class SingleThreadHer... | Assign pplan helper before doing state activate. (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
from setuptools import setup
setup(name='bio_utils',
- version='0.7.1.0',
+ version='0.7.2.0',
description='importable functions often used by bioinformatic scripts',
classifiers=[
... | Update setup.py Incremented version number | py |
diff --git a/angr/procedures/linux_kernel/time.py b/angr/procedures/linux_kernel/time.py
index <HASH>..<HASH> 100644
--- a/angr/procedures/linux_kernel/time.py
+++ b/angr/procedures/linux_kernel/time.py
@@ -2,6 +2,7 @@ import angr
import time as _time
class time(angr.SimProcedure):
+ #pylint: disable=arguments-d... | Add conditional store to time SimProcedure (#<I>) * Added conditional store to time SimProcedure * Simplified condition expression * Removed trailing whitespace * Disabled arguments-differ | py |
diff --git a/sigal/writer.py b/sigal/writer.py
index <HASH>..<HASH> 100644
--- a/sigal/writer.py
+++ b/sigal/writer.py
@@ -74,6 +74,7 @@ class Writer(object):
PrefixLoader({'!default': default_loader}) # explicit one
]),
trim_blocks=True,
+ lstrip_blocks=True
... | Use lstrip_blocks jinja option. From jinja doc: If this is set to True leading spaces and tabs are stripped from the start of a line to a block | py |
diff --git a/testing/test_pdb.py b/testing/test_pdb.py
index <HASH>..<HASH> 100644
--- a/testing/test_pdb.py
+++ b/testing/test_pdb.py
@@ -853,7 +853,7 @@ class TestDebuggingBreakpoints:
Test that supports breakpoint global marks on Python 3.7+ and not on
CPython 3.5, 2.7
"""
- if sys.... | Fix for Python 4: replace unsafe PY3 with PY2 | py |
diff --git a/serial_device.py b/serial_device.py
index <HASH>..<HASH> 100644
--- a/serial_device.py
+++ b/serial_device.py
@@ -39,9 +39,11 @@ class SerialDevice(object):
else:
ports = itertools.chain(path('/dev').walk('ttyUSB*'),
path('/dev').walk('ttyACM*'))
- ... | Sort COM ports alphebetically | py |
diff --git a/napalm_ios/ios.py b/napalm_ios/ios.py
index <HASH>..<HASH> 100644
--- a/napalm_ios/ios.py
+++ b/napalm_ios/ios.py
@@ -177,6 +177,7 @@ class IOSDriver(NetworkDriver):
if current_prompt == self.device.find_prompt():
raise
else:
+ self.... | Fix bug with set_base_prompt() needing called | py |
diff --git a/ella/core/app_data.py b/ella/core/app_data.py
index <HASH>..<HASH> 100644
--- a/ella/core/app_data.py
+++ b/ella/core/app_data.py
@@ -56,10 +56,9 @@ class AppDataContainerFactory(dict):
self[name] = copy(value)
def __getattr__(self, name):
- class_ = self._app_registry.get_class(... | Use same logic for __getattr__ to avoid issues with pickling | py |
diff --git a/stacker/lookups/__init__.py b/stacker/lookups/__init__.py
index <HASH>..<HASH> 100644
--- a/stacker/lookups/__init__.py
+++ b/stacker/lookups/__init__.py
@@ -19,7 +19,7 @@ LOOKUP_REGEX = re.compile("""
# space
?\s* # any number of s... | add '?' to lookup regex (#<I>) Filters passed into the ami lookup may include question marks | py |
diff --git a/dedupe/api.py b/dedupe/api.py
index <HASH>..<HASH> 100644
--- a/dedupe/api.py
+++ b/dedupe/api.py
@@ -926,14 +926,13 @@ class Dedupe(DedupeMatching, ActiveMatching) :
predicates,
indexed_... | get union instead of intersection of random and blocked samples | py |
diff --git a/pmagpy/new_builder.py b/pmagpy/new_builder.py
index <HASH>..<HASH> 100644
--- a/pmagpy/new_builder.py
+++ b/pmagpy/new_builder.py
@@ -927,6 +927,8 @@ class Contribution(object):
"""
if 'ages' not in self.tables:
return
+ if not len(self.tables['ages'].df):
+ ... | prevent Contribution.propagate_ages from failing when there is an empty age table | py |
diff --git a/examples/cluster_scoped_custom_object.py b/examples/cluster_scoped_custom_object.py
index <HASH>..<HASH> 100644
--- a/examples/cluster_scoped_custom_object.py
+++ b/examples/cluster_scoped_custom_object.py
@@ -13,7 +13,7 @@
# limitations under the License.
"""
-Uses a Custom Resource Definition (CRD) t... | correct `custom object` to `custom resource (CR)` | py |
diff --git a/oplus/version.py b/oplus/version.py
index <HASH>..<HASH> 100644
--- a/oplus/version.py
+++ b/oplus/version.py
@@ -1 +1 @@
-version='7.0.1.dev300'
+version='7.0.1.dev301' | [skip ci] updated version as <I>.de<I> | py |
diff --git a/xdataweb/__init__.py b/xdataweb/__init__.py
index <HASH>..<HASH> 100644
--- a/xdataweb/__init__.py
+++ b/xdataweb/__init__.py
@@ -85,5 +85,5 @@ class Server(object):
#
# TODO(choudhury): a templating engine would be useful here; look
# into Jinja2 (recommended by DJ D... | Updated new directory structure for notfound.html error page. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -50,6 +50,7 @@ tests_require = [
dev_require = [
'ipdb',
'ipython',
+ 'python-bitcoinrpc',
]
docs_require = [ | Add bitcoinrpc to experiment with when developing | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='soundscrape',
- version='0.23.10',
+ version='0.23.11',
packages=['soundscrape'],
install_requi... | <I> - hotfix until new sc scrape core | py |
diff --git a/ldap_sync/management/commands/syncldap.py b/ldap_sync/management/commands/syncldap.py
index <HASH>..<HASH> 100644
--- a/ldap_sync/management/commands/syncldap.py
+++ b/ldap_sync/management/commands/syncldap.py
@@ -5,10 +5,14 @@ import logging
from django.conf import settings
from django.core.management... | Support Django <I> custom User models | py |
diff --git a/salt/pillar/git_pillar.py b/salt/pillar/git_pillar.py
index <HASH>..<HASH> 100644
--- a/salt/pillar/git_pillar.py
+++ b/salt/pillar/git_pillar.py
@@ -126,7 +126,7 @@ The corresponding Pillar top file would look like this:
.. code-block:: yaml
- {{saltenv}}:
+ "{{saltenv}}":
'*':
... | Update dynamic git_pillar docs to enclose env name in quotes | py |
diff --git a/ci/travis/check_minimal_install.py b/ci/travis/check_minimal_install.py
index <HASH>..<HASH> 100644
--- a/ci/travis/check_minimal_install.py
+++ b/ci/travis/check_minimal_install.py
@@ -14,7 +14,6 @@ DEFAULT_BLACKLIST = [
"aiohttp_cors",
"colorful",
"py-spy",
- # "requests",
"gpustat... | Remove `requests` from blacklist of minimal install test (#<I>) While working on <URL> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ setup(
"Topic :: Utilities",
],
- packages = find_packages(exclude=['examples', 'tests']),
+ packages = find_packages(exclude=['example', 'test', 'test.*']),
include_package_data = True,
pac... | Correct pluralization mismatch in packaging exclusions. (#<I>) | py |
diff --git a/core/dbt/logger.py b/core/dbt/logger.py
index <HASH>..<HASH> 100644
--- a/core/dbt/logger.py
+++ b/core/dbt/logger.py
@@ -221,9 +221,12 @@ class DelayedFileHandler(logbook.TimedRotatingFileHandler, FormatterMixin):
def set_path(self, log_dir):
"""log_dir can be the path to a log directory, ... | Allow an initial disable to prevent a path from ever being set | py |
diff --git a/tile_generator/tile_metadata.py b/tile_generator/tile_metadata.py
index <HASH>..<HASH> 100644
--- a/tile_generator/tile_metadata.py
+++ b/tile_generator/tile_metadata.py
@@ -543,6 +543,8 @@ class TileMetadata(object):
'release': template.get('release')
... | Handle str or dict consumes in manifest | py |
diff --git a/src/collectors/snmp/snmp.py b/src/collectors/snmp/snmp.py
index <HASH>..<HASH> 100644
--- a/src/collectors/snmp/snmp.py
+++ b/src/collectors/snmp/snmp.py
@@ -35,6 +35,10 @@ import diamond.collector
class SNMPCollector(diamond.collector.Collector):
+ def __init__(self, *args, **kwargs):
+ sup... | #<I> - changing snmp base collector to actually implement the collect method | py |
diff --git a/jams/pyjams.py b/jams/pyjams.py
index <HASH>..<HASH> 100644
--- a/jams/pyjams.py
+++ b/jams/pyjams.py
@@ -360,19 +360,25 @@ class JamsFrame(pd.DataFrame):
new_frame = super(JamsFrame, cls).from_dict(*args, **kwargs)
+ return cls.from_dataframe(new_frame)
+
+ @classmethod
+ def fro... | added a dataframe to jamsframe converter | py |
diff --git a/src/toil/job.py b/src/toil/job.py
index <HASH>..<HASH> 100644
--- a/src/toil/job.py
+++ b/src/toil/job.py
@@ -92,18 +92,7 @@ class Job(object):
be used to create temporary files which can be shared between jobs.
The return values of the function can be passed to other jobs
- ... | Removing outdated doc comment about nested promises. | py |
diff --git a/cablemap.core/cablemap/core/c14n.py b/cablemap.core/cablemap/core/c14n.py
index <HASH>..<HASH> 100644
--- a/cablemap.core/cablemap/core/c14n.py
+++ b/cablemap.core/cablemap/core/c14n.py
@@ -272,6 +272,7 @@ _SIGNER_C14N = {
u'SHLICHER': u'SCHLICHER',
u'BERYLE': u'BEYRLE',
u'BYERLE': u'BEYRLE'... | Added more names to c<I>n | py |
diff --git a/katcp/katcp.py b/katcp/katcp.py
index <HASH>..<HASH> 100644
--- a/katcp/katcp.py
+++ b/katcp/katcp.py
@@ -635,7 +635,6 @@ class DeviceServer(DeviceServerBase):
self.log = DeviceLogger(self)
self._sensors = {} # map names to sensor objects
self._reactor = SampleReactor()
- ... | Override run method to ensure reactor thread is running when server is running git-svn-id: <URL> | py |
diff --git a/BAC0/tasks/Poll.py b/BAC0/tasks/Poll.py
index <HASH>..<HASH> 100644
--- a/BAC0/tasks/Poll.py
+++ b/BAC0/tasks/Poll.py
@@ -83,6 +83,10 @@ class DevicePoll(Task):
return self._device()
def task(self):
+ if self.device.properties.ping_failures > 0:
+ self.device._log.warni... | Skip polling if ping failed | py |
diff --git a/spyderlib/widgets/qscieditor/qscieditor.py b/spyderlib/widgets/qscieditor/qscieditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/qscieditor/qscieditor.py
+++ b/spyderlib/widgets/qscieditor/qscieditor.py
@@ -1075,6 +1075,9 @@ class QsciEditor(TextEditBaseWidget):
elif (key == Qt.Key_V) a... | QsciEditor/fixed Issue <I>: Ctrl+Shift+Z inserts [sub] instead doing Redo | py |
diff --git a/master/buildbot/data/buildsets.py b/master/buildbot/data/buildsets.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/data/buildsets.py
+++ b/master/buildbot/data/buildsets.py
@@ -72,8 +72,8 @@ class BuildsetsEndpoint(Db2DataMixin, base.Endpoint):
complete = bool(options['complete']) # TODO:... | use a better local variable name per jaredgrubb's suggestion | py |
diff --git a/posttroll/subscriber.py b/posttroll/subscriber.py
index <HASH>..<HASH> 100644
--- a/posttroll/subscriber.py
+++ b/posttroll/subscriber.py
@@ -281,13 +281,15 @@ class NSSubscriber(object):
requests, defaulting to "localhost".
Note: 'services = None', means no services, and 'services =""' means a... | Change default behaviour of subscriber to listen to everything | py |
diff --git a/kernel_tuner/strategies/simulated_annealing.py b/kernel_tuner/strategies/simulated_annealing.py
index <HASH>..<HASH> 100644
--- a/kernel_tuner/strategies/simulated_annealing.py
+++ b/kernel_tuner/strategies/simulated_annealing.py
@@ -58,13 +58,13 @@ def tune(runner, kernel_options, device_options, tuning_o... | rename iter to iteration | py |
diff --git a/salt/key.py b/salt/key.py
index <HASH>..<HASH> 100644
--- a/salt/key.py
+++ b/salt/key.py
@@ -376,6 +376,10 @@ class Key(object):
for key in keys:
try:
os.remove(os.path.join(self.opts['pki_dir'], status, key))
+ eload = {'result': True,... | add event firing code for delete and delete_all key mgmt operations | py |
diff --git a/Lib/fontbakery/specifications/googlefonts.py b/Lib/fontbakery/specifications/googlefonts.py
index <HASH>..<HASH> 100644
--- a/Lib/fontbakery/specifications/googlefonts.py
+++ b/Lib/fontbakery/specifications/googlefonts.py
@@ -4343,3 +4343,26 @@ def check_regression_missing_glyphs(ttFont, gfonts_ttFont):
... | new test: com.google.fonts/test/<I> "Copyright notice name entry matches those on METADATA.pb ?" (issue #<I>) | py |
diff --git a/django_admin_index/models.py b/django_admin_index/models.py
index <HASH>..<HASH> 100644
--- a/django_admin_index/models.py
+++ b/django_admin_index/models.py
@@ -27,13 +27,23 @@ class AppGroupQuerySet(OrderedModelQuerySet):
app["app_label"], model["object_name"].lower()
... | Fixed active menu item for groups without change/read permission | py |
diff --git a/galpy/potential.py b/galpy/potential.py
index <HASH>..<HASH> 100644
--- a/galpy/potential.py
+++ b/galpy/potential.py
@@ -18,6 +18,7 @@ from galpy.potential_src import MovingObjectPotential
from galpy.potential_src import ForceSoftening
from galpy.potential_src import EllipticalDiskPotential
from galpy.... | add RazorThin to top-level | py |
diff --git a/flask_io/utils.py b/flask_io/utils.py
index <HASH>..<HASH> 100644
--- a/flask_io/utils.py
+++ b/flask_io/utils.py
@@ -1,13 +1,31 @@
import sys
+from collections import Mapping
from flask import request, _compat
from time import perf_counter
from marshmallow.marshalling import SCHEMA
from werkzeug.ht... | added validation to error coercion to stop error processing before it hits the stdlib json module. | py |
diff --git a/dosagelib/scraper.py b/dosagelib/scraper.py
index <HASH>..<HASH> 100644
--- a/dosagelib/scraper.py
+++ b/dosagelib/scraper.py
@@ -131,6 +131,9 @@ class _BasicScraper(object):
msg += u" for index %s" % self.indexes[0]
else:
msg += u" for indexes %s" % self.inde... | Call self.starter() on indexed comics since it might set cookies. | py |
diff --git a/unit_tests/test_buff.py b/unit_tests/test_buff.py
index <HASH>..<HASH> 100644
--- a/unit_tests/test_buff.py
+++ b/unit_tests/test_buff.py
@@ -99,6 +99,16 @@ class InteractionsTestCase(unittest.TestCase):
buff_interactions = isambard.buff.find_inter_ampal(cc, 1000)
self.assertEqual(len(buf... | Added tests for checking the score of a reference structure. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.