diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/test/multisig/commands/prepare_multisig_transfer_test.py b/test/multisig/commands/prepare_multisig_transfer_test.py
index <HASH>..<HASH> 100644
--- a/test/multisig/commands/prepare_multisig_transfer_test.py
+++ b/test/multisig/commands/prepare_multisig_transfer_test.py
@@ -4,6 +4,7 @@ from __future__ impor... | [#<I>] Documented handling of unexpected param. | py |
diff --git a/libplanarradpy/planrad.py b/libplanarradpy/planrad.py
index <HASH>..<HASH> 100644
--- a/libplanarradpy/planrad.py
+++ b/libplanarradpy/planrad.py
@@ -573,8 +573,8 @@ class BatchRun():
#if not os.path.isfile(inp_file):
# lg.error(inp_file + ' : is not a valid parameter file')
... | Updated the logging details to help find bug | py |
diff --git a/tests/test_subclass_init.py b/tests/test_subclass_init.py
index <HASH>..<HASH> 100644
--- a/tests/test_subclass_init.py
+++ b/tests/test_subclass_init.py
@@ -1,6 +1,3 @@
-import math
-import time
-import warnings
def test_dispatcher_construction():
from pydispatch import Dispatcher, Property
@@ -20... | Remove obsolete StopIteration test No longer necessary after changes in #<I> Fixes #<I> | py |
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/plot.py
+++ b/holoviews/plotting/plot.py
@@ -199,7 +199,8 @@ class DimensionedPlot(Plot):
comm = None
if self.dynamic or self.renderer.widget_mode == 'live':
- self.co... | Ensured Plot.comms is set | py |
diff --git a/angr/analyses/cfg_fast.py b/angr/analyses/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg_fast.py
+++ b/angr/analyses/cfg_fast.py
@@ -1468,6 +1468,9 @@ class CFGFast(ForwardAnalysis, CFGBase):
# is it a jump table? try with the fast approach
resolvable, targets = s... | CFGFast: avoid following targets that are out of executable memory regions | py |
diff --git a/pandas/tests/tseries/offsets/test_offsets_properties.py b/pandas/tests/tseries/offsets/test_offsets_properties.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/tseries/offsets/test_offsets_properties.py
+++ b/pandas/tests/tseries/offsets/test_offsets_properties.py
@@ -123,11 +123,12 @@ def test_apply_inde... | TST: Fix xfailed offset test (#<I>) | py |
diff --git a/superset/config.py b/superset/config.py
index <HASH>..<HASH> 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -250,6 +250,7 @@ BABEL_DEFAULT_FOLDER = "superset/translations"
# The allowed translation for you app
LANGUAGES = {
"en": {"flag": "us", "name": "English"},
+ "es": {"flag": "e... | [i<I>n] enable spanish (#<I>) | py |
diff --git a/galpy/actionAngle_src/actionAngleAdiabatic.py b/galpy/actionAngle_src/actionAngleAdiabatic.py
index <HASH>..<HASH> 100644
--- a/galpy/actionAngle_src/actionAngleAdiabatic.py
+++ b/galpy/actionAngle_src/actionAngleAdiabatic.py
@@ -14,6 +14,13 @@ import math as m
import numpy as nu
from actionAngleAxi impo... | start on C implementation of the adiabatic approximation, also make python code take arrays | py |
diff --git a/eppy/tests/test_modeleditor.py b/eppy/tests/test_modeleditor.py
index <HASH>..<HASH> 100644
--- a/eppy/tests/test_modeleditor.py
+++ b/eppy/tests/test_modeleditor.py
@@ -257,7 +257,10 @@ def test_iddofobject():
)
for key, itsidd in thedata:
result = modeleditor.iddofobject(data, commdct,... | fixed an issue in pytest. it was failing on version earlier than <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -67,4 +67,5 @@ setup(
packages=find_packages(exclude=('jwt.tests', )),
install_requires=requires,
+ python_requires='>=3.4',
) | Require at least python <I> (#<I>) | py |
diff --git a/tests/test_advanced.py b/tests/test_advanced.py
index <HASH>..<HASH> 100644
--- a/tests/test_advanced.py
+++ b/tests/test_advanced.py
@@ -5,10 +5,12 @@ def test_nested():
text = md('<p>This is an <a href="http://example.com/">example link</a>.</p>')
assert text == 'This is an [example link](http:... | Add new line at the end of file | py |
diff --git a/coinop/crypto/passphrasebox.py b/coinop/crypto/passphrasebox.py
index <HASH>..<HASH> 100644
--- a/coinop/crypto/passphrasebox.py
+++ b/coinop/crypto/passphrasebox.py
@@ -28,9 +28,7 @@ from Crypto.Protocol.KDF import PBKDF2
class PassphraseBox:
- # FIXME: PassphraseBox in Ruby has the default itera... | Cleanup and increased default iterations by a factor of ten to match other coinop packages. | py |
diff --git a/exchangelib/folders/base.py b/exchangelib/folders/base.py
index <HASH>..<HASH> 100644
--- a/exchangelib/folders/base.py
+++ b/exchangelib/folders/base.py
@@ -379,16 +379,16 @@ class BaseFolder(RegisterMixIn, SearchableMixIn, metaclass=EWSMeta):
self.empty(delete_sub_folders=False)
... | Make wiping folders fail less often | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,16 +1,4 @@
-# Copyright 2009-2012, Simon Kennedy, code@sffjunkie.co.uk
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may... | Removed license text, retaining only copyright statement. | py |
diff --git a/tensor2tensor/layers/transformer_layers.py b/tensor2tensor/layers/transformer_layers.py
index <HASH>..<HASH> 100644
--- a/tensor2tensor/layers/transformer_layers.py
+++ b/tensor2tensor/layers/transformer_layers.py
@@ -88,7 +88,7 @@ def transformer_prepare_encoder(inputs, target_space, hparams, features=Non... | Guard some hparams in case they don't exist. PiperOrigin-RevId: <I> | py |
diff --git a/hepdata_converter/version.py b/hepdata_converter/version.py
index <HASH>..<HASH> 100644
--- a/hepdata_converter/version.py
+++ b/hepdata_converter/version.py
@@ -1,3 +1,3 @@
# this file ideally should only contain __version__ declaration, as anything else
# may break setup.py and PyPI uploads
-__version_... | global: version bump to <I> * FIX Fixes to root conversion * FIX Support phrase addition | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ setup(
name="paperwork-backend",
# if you change the version, don't forget to
# * update the ChangeLog file
- version="1.1",
+ version="1.2",
description=(
"Paperwork's backend... | this branch will become paperwork-backend-<I> | py |
diff --git a/pypet/tests/unittests/brian2tests/brian2_parameter_test.py b/pypet/tests/unittests/brian2tests/brian2_parameter_test.py
index <HASH>..<HASH> 100644
--- a/pypet/tests/unittests/brian2tests/brian2_parameter_test.py
+++ b/pypet/tests/unittests/brian2tests/brian2_parameter_test.py
@@ -63,11 +63,8 @@ class Bria... | Cleaned up loop in test_false_on_values_not_of_same_type, renamed for better clarity [ci skip] | py |
diff --git a/pwkit/bblocks.py b/pwkit/bblocks.py
index <HASH>..<HASH> 100644
--- a/pwkit/bblocks.py
+++ b/pwkit/bblocks.py
@@ -244,7 +244,7 @@ def tt_bblock (tstarts, tstops, times, p0=0.05):
j = wafter[0]
else:
j = utimes.size
- assert i == 0 or np.where (utime... | pwkit/bblocks.py: fix corner case handling bug Reported by Maïca Clavel and collaborators of the Laboratoire AstroParticule et Cosmologie, Université Paris Diderot. They say that the previous code will crash if there are no events in the first two GTIs of an observation. | py |
diff --git a/pypet/tests/hdf5_storage_test.py b/pypet/tests/hdf5_storage_test.py
index <HASH>..<HASH> 100644
--- a/pypet/tests/hdf5_storage_test.py
+++ b/pypet/tests/hdf5_storage_test.py
@@ -370,7 +370,7 @@ class EnvironmentTest(TrajectoryComparator):
self.assertTrue(name in overview_group, '%s in overview... | Fixed a bug in a test | py |
diff --git a/directory_cms_client/client.py b/directory_cms_client/client.py
index <HASH>..<HASH> 100644
--- a/directory_cms_client/client.py
+++ b/directory_cms_client/client.py
@@ -119,10 +119,12 @@ class DirectoryCMSClient(AbstractAPIClient):
path,
fields=None,
draft_token=None,
+ l... | Update lookup_by_path() to support passing of language_code | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ if version_info < (3, 5):
setup(
name='wikitextparser',
# Scheme: [N!]N(.N)*[{a|b|rc}N][.postN][.devN]
- version='0.11.1.dev4',
+ version='0.11.1.dev5',
description='A simple, purely python... | version='<I>.dev5' Using extras_require={"python_version < '<I>'": ['typing']} again. It turned out to be a fault in my virtual environment. | py |
diff --git a/hamper/plugins/friendly.py b/hamper/plugins/friendly.py
index <HASH>..<HASH> 100644
--- a/hamper/plugins/friendly.py
+++ b/hamper/plugins/friendly.py
@@ -42,8 +42,10 @@ class OmgPonies(object):
def process(self, bot, comm):
if re.match(r'.*pon(y|ies).*', comm['message'], re.I):
n... | Make ponies work in <I> | py |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -645,10 +645,7 @@ class SMinion(MinionBase):
# Clean out the proc directory (default /var/cache/salt/minion/proc)
if (self.opts.get('file_client', 'remote') == 'remote'
... | Remove obsolete ZMQIOLoop direct instance | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -7,8 +7,8 @@ from setuptools import setup
setup(
- name = 'latexmk.py',
- version = '0.3-dev',
+ name='latexmk.py',
+ version='0.3dev',
description=('Latexmk.py completely automates the process ... | fixed version string and pep8 inconsistencies | py |
diff --git a/salt/modules/jenkins.py b/salt/modules/jenkins.py
index <HASH>..<HASH> 100644
--- a/salt/modules/jenkins.py
+++ b/salt/modules/jenkins.py
@@ -2,6 +2,8 @@
'''
Module for controlling Jenkins
+:depends: python-jenkins
+
.. versionadded:: 2016.3.0
:configuration: This module can be used by either passi... | adding python-jenkins as dependecy in docs I cam through this [SOF question](<URL>) which I think python-jenkins is not a library that would be installed by default | py |
diff --git a/tests/test_ordering.py b/tests/test_ordering.py
index <HASH>..<HASH> 100644
--- a/tests/test_ordering.py
+++ b/tests/test_ordering.py
@@ -316,6 +316,17 @@ class TestOrderMethodsDailyFrequency(zf.WithMakeAlgo,
sids=[1],
)
+ def test_cant_order_in_initialize(self):
+ algotex... | MAINT: Put back test for ordering in initialize. | py |
diff --git a/src/python/pants/bin/pants_exe.py b/src/python/pants/bin/pants_exe.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/bin/pants_exe.py
+++ b/src/python/pants/bin/pants_exe.py
@@ -56,6 +56,8 @@ def _help(version, root_dir):
print()
print('Available subcommands:\n\t%s' % '\n\t'.join(_find_all_comman... | Pants help text += link to web site | py |
diff --git a/indra/tests/test_elsevier_client.py b/indra/tests/test_elsevier_client.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_elsevier_client.py
+++ b/indra/tests/test_elsevier_client.py
@@ -42,7 +42,4 @@ def test_article():
doi = '10.1006/bbrc.2001.4693'
xml_str = ec.download_article(doi)
bo... | Fix failing elsevier client test The paper being queried has no accessible full text element, so the assertion should actually be that body is None. | py |
diff --git a/safe/gui/tools/peta_bencana_dialog.py b/safe/gui/tools/peta_bencana_dialog.py
index <HASH>..<HASH> 100644
--- a/safe/gui/tools/peta_bencana_dialog.py
+++ b/safe/gui/tools/peta_bencana_dialog.py
@@ -102,11 +102,6 @@ class PetaBencanaDialog(QDialog, FORM_CLASS):
self.radio_button_production.clicked.... | Removed progress dlg (unused) and fix vector API issue #<I> | py |
diff --git a/test_elasticsearch/test_server/test_common.py b/test_elasticsearch/test_server/test_common.py
index <HASH>..<HASH> 100644
--- a/test_elasticsearch/test_server/test_common.py
+++ b/test_elasticsearch/test_server/test_common.py
@@ -32,19 +32,6 @@ SKIP_TESTS = {
# upstream
"*": set(
(
- ... | No more broken upstream tests, yay! | py |
diff --git a/mordred/utils/filter_eclipse_projects.py b/mordred/utils/filter_eclipse_projects.py
index <HASH>..<HASH> 100644
--- a/mordred/utils/filter_eclipse_projects.py
+++ b/mordred/utils/filter_eclipse_projects.py
@@ -54,8 +54,8 @@ def filter_json(content):
url = url.replace("git.eclipse.org/c/","git.... | [mordred] Add compatibility to Eclipse filter with git backend name | py |
diff --git a/pykechain/models/part2.py b/pykechain/models/part2.py
index <HASH>..<HASH> 100644
--- a/pykechain/models/part2.py
+++ b/pykechain/models/part2.py
@@ -445,10 +445,10 @@ class Part2(Base):
against a trade-off that someone looking at the frontend won't notice any changes unless the page
is r... | Typing correction in header of `add` method of class `Part2` | py |
diff --git a/scripts/build.py b/scripts/build.py
index <HASH>..<HASH> 100755
--- a/scripts/build.py
+++ b/scripts/build.py
@@ -83,29 +83,17 @@ targets = {
}
supported_builds = {
- "darwin": [ "amd64" ],
"windows": [ "amd64" ],
"linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64" ],
... | Disable darwin builds (#<I>) telegraf can't be cross-compiled for darwin, it has C dependencies and thus many of the system plugins won't work. | py |
diff --git a/discord/gateway.py b/discord/gateway.py
index <HASH>..<HASH> 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -396,6 +396,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol):
self.sequence = None
self.session_id = None
log.inf... | Wait 5 seconds before IDENTIFYing with an invalidated session. | py |
diff --git a/src/armet/authentication.py b/src/armet/authentication.py
index <HASH>..<HASH> 100644
--- a/src/armet/authentication.py
+++ b/src/armet/authentication.py
@@ -10,12 +10,16 @@ import base64
class Authentication(object):
+ #! Whether returning `None` from `authenticate` indicates
+ #! unauthenticat... | Allow configuring authentication on the class object. | py |
diff --git a/extensions/arcade/sawtooth_battleship/battleship_cli.py b/extensions/arcade/sawtooth_battleship/battleship_cli.py
index <HASH>..<HASH> 100644
--- a/extensions/arcade/sawtooth_battleship/battleship_cli.py
+++ b/extensions/arcade/sawtooth_battleship/battleship_cli.py
@@ -331,6 +331,9 @@ def do_join(args, con... | Check for/remove existing files before rename on Windows On Windows, os.rename raises 'OSError' if you attempt to rename a file to a destination that exists. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,18 @@
-from ez_setup import use_setuptools
-use_setuptools()
-from setuptools import setup, find_packages
+try:
+ from setuptools import setup, find_packages
+except ImportError:
+ from ez_setup import use_setup... | Work around already-installed setuptools | py |
diff --git a/telemetry/telemetry/record_wpr_unittest.py b/telemetry/telemetry/record_wpr_unittest.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/record_wpr_unittest.py
+++ b/telemetry/telemetry/record_wpr_unittest.py
@@ -130,7 +130,8 @@ class RecordWprUnitTests(tab_test_case.TabTestCase):
@contextlib.conte... | [Catapult] Fix the new wpr test on python3 A recent added test broke the python 3 tryjob: <URL> | py |
diff --git a/src/__init__.py b/src/__init__.py
index <HASH>..<HASH> 100755
--- a/src/__init__.py
+++ b/src/__init__.py
@@ -5,7 +5,7 @@ from cli import CLI
from config import FileConfig
from main import Main
-SIMPLE_DB_MIGRATE_VERSION = "1.3.3"
+SIMPLE_DB_MIGRATE_VERSION = "1.3.4"
# fixing print in non-utf8 termi... | Preparing for version <I>. | py |
diff --git a/test/input/func_noerror_function_as_method.py b/test/input/func_noerror_function_as_method.py
index <HASH>..<HASH> 100644
--- a/test/input/func_noerror_function_as_method.py
+++ b/test/input/func_noerror_function_as_method.py
@@ -1,6 +1,7 @@
# pylint: disable-msg=R0903
'''Test that a function is consider... | missing __revision__ to avoid failure | py |
diff --git a/cicoclient/ansible/cico.py b/cicoclient/ansible/cico.py
index <HASH>..<HASH> 100644
--- a/cicoclient/ansible/cico.py
+++ b/cicoclient/ansible/cico.py
@@ -203,24 +203,23 @@ def main():
'hosts': hosts,
'ssid': new_ssid
}
- module.exit_json(changed=Tru... | rename ansible return from results to cico_results `results` is a reserved keyword since Ansible <I> <URL> | py |
diff --git a/tests/fields/test_int64.py b/tests/fields/test_int64.py
index <HASH>..<HASH> 100644
--- a/tests/fields/test_int64.py
+++ b/tests/fields/test_int64.py
@@ -18,10 +18,10 @@ class TestInt64Field(TestCase):
def test_get_bounds(self):
msg = self.msg_cls()
-
msg.parse_from_bytes(b'\x08\xf... | Update int<I> tests to reflect new behaviour. | py |
diff --git a/salt/cli/batch.py b/salt/cli/batch.py
index <HASH>..<HASH> 100644
--- a/salt/cli/batch.py
+++ b/salt/cli/batch.py
@@ -54,8 +54,14 @@ class Batch(object):
'''
Return the active number of minions to maintain
'''
- if self.opts['batch'].startswith('%'):
- return in... | Make % management in batch more flexible | py |
diff --git a/tests/test_config.py b/tests/test_config.py
index <HASH>..<HASH> 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -42,6 +42,23 @@ def chdir(dirname=None):
class TestSuite(unittest.TestCase):
+ @patch('glymur.config.platform.system')
+ @patch('glymur.config.sys.version', 'Anaconda'... | Add test for coverage on anaconda on mac | py |
diff --git a/telephus/pool.py b/telephus/pool.py
index <HASH>..<HASH> 100644
--- a/telephus/pool.py
+++ b/telephus/pool.py
@@ -235,7 +235,7 @@ class CassandraPoolReconnectorFactory(protocol.ClientFactory):
return self.execute(ManagedThriftRequest('set_keyspace', keyspace))
def my_describe_ring(self, key... | Ignore new system keyspace. | py |
diff --git a/keep/commands/cmd_pull.py b/keep/commands/cmd_pull.py
index <HASH>..<HASH> 100644
--- a/keep/commands/cmd_pull.py
+++ b/keep/commands/cmd_pull.py
@@ -20,7 +20,7 @@ def cli(ctx):
gist_url = f"https://gist.github.com/{token['gist']}"
prompt_str = f"[CRITICAL] Replace local commands with GitHub gist... | hot-fix(pull) don’t remove the file just overwrite it The bug in #<I> was in `os.remove` because the file didn’t exist so it couldn’t be removed, so I removed the `remove` because we overwrite the file anyway | py |
diff --git a/tests/test_pip_support.py b/tests/test_pip_support.py
index <HASH>..<HASH> 100644
--- a/tests/test_pip_support.py
+++ b/tests/test_pip_support.py
@@ -19,7 +19,7 @@
# jnrbase. If not, see <http://www.gnu.org/licenses/>.
from pathlib import Path
-from typing import List
+from typing import Iterable
f... | [Tr] Args should use Iterable, not list See upstream Python docs for reasoning. | py |
diff --git a/src/base_api.py b/src/base_api.py
index <HASH>..<HASH> 100644
--- a/src/base_api.py
+++ b/src/base_api.py
@@ -44,9 +44,6 @@ class BaseApi(object):
# Default parameters
params = {} if params is None else params
- # Default basic_auth to an empty list if it wasnt supplied
- ... | Removes default assignment of an empty tuple to basic_auth | py |
diff --git a/km3pipe/tests/test_hardware.py b/km3pipe/tests/test_hardware.py
index <HASH>..<HASH> 100644
--- a/km3pipe/tests/test_hardware.py
+++ b/km3pipe/tests/test_hardware.py
@@ -384,6 +384,33 @@ class TestDetector(TestCase):
def test_detx_v4(self):
det = Detector(filename=data_path("detx/detx_v4.de... | Add more tests for detx v4 | py |
diff --git a/mintapi/api.py b/mintapi/api.py
index <HASH>..<HASH> 100644
--- a/mintapi/api.py
+++ b/mintapi/api.py
@@ -1331,5 +1331,6 @@ def main():
with open(options.filename, 'w+') as f:
f.write(attention_msg)
+
if __name__ == '__main__':
main() | added blank line to make flake happy | py |
diff --git a/spanner/tests/system/utils/populate_streaming.py b/spanner/tests/system/utils/populate_streaming.py
index <HASH>..<HASH> 100644
--- a/spanner/tests/system/utils/populate_streaming.py
+++ b/spanner/tests/system/utils/populate_streaming.py
@@ -14,9 +14,9 @@
"""Populate spanner databases with data for stre... | Spanner: Fix system test util to populate streaming (#<I>) | py |
diff --git a/vyper/ast/nodes.py b/vyper/ast/nodes.py
index <HASH>..<HASH> 100644
--- a/vyper/ast/nodes.py
+++ b/vyper/ast/nodes.py
@@ -622,6 +622,7 @@ class ClassDef(VyperNode):
class Raise(VyperNode):
__slots__ = ('exc', )
+ _only_empty_fields = ('cause', )
class Slice(VyperNode): | add cause as unsupported Raise field | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ setup(
name = 'atws',
scripts=['src/create_picklist_module.py'],
packages = ['atws','atws.monkeypatch'],
- version = '0.1.5',
+ version = '0.1.6',
install_requires=[
'requests',
'py... | version increment: fixed #<I> features: can always bulk update regardless of how many udfs in an entity | py |
diff --git a/drf_haystack/filters.py b/drf_haystack/filters.py
index <HASH>..<HASH> 100644
--- a/drf_haystack/filters.py
+++ b/drf_haystack/filters.py
@@ -158,10 +158,11 @@ class HaystackGEOSpatialFilter(HaystackFilter):
latitude, longitude = map(float, filters["from"].split(","))
poin... | Seem like this has been fixed upstreams | py |
diff --git a/master/buildbot/steps/source.py b/master/buildbot/steps/source.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/steps/source.py
+++ b/master/buildbot/steps/source.py
@@ -917,13 +917,14 @@ class Repo(Source):
import re
if s == None:
return []
- re1 = re.compile("rep... | Add support for "project/change_id/patchset_id" format. Both of the currenlty implemented formats are rejected by web interface for security reasons. This patch adds support for 3rd format (which is the only one that actually works). | py |
diff --git a/bct/algorithms/centrality.py b/bct/algorithms/centrality.py
index <HASH>..<HASH> 100644
--- a/bct/algorithms/centrality.py
+++ b/bct/algorithms/centrality.py
@@ -327,7 +327,7 @@ def edge_betweenness_wei(G):
if D[S].size == 0:
break # all nodes reached, or
if np.i... | Changed L<I> from Q[:q] to Q[:q<I>] | py |
diff --git a/sphinx_gallery/gen_rst.py b/sphinx_gallery/gen_rst.py
index <HASH>..<HASH> 100644
--- a/sphinx_gallery/gen_rst.py
+++ b/sphinx_gallery/gen_rst.py
@@ -331,11 +331,11 @@ def save_figures(image_path, fig_count, gallery_conf):
"""
figure_list = []
- fig_managers = matplotlib._pylab_helpers.Gcf.g... | MAINT use plt.get_fignums rather than a private helper | py |
diff --git a/plowshare/hosts.py b/plowshare/hosts.py
index <HASH>..<HASH> 100644
--- a/plowshare/hosts.py
+++ b/plowshare/hosts.py
@@ -1,5 +1,14 @@
anonymous = [
- "turbobit",
+ "1fichier",
+ "bayfiles",
+ "directmirror",
+ "euroshare_eu",
+ "exoshare",
+ "ge_tt",
+ "gfile_ru",
+ "go4up",
... | Adds more default anonymous hosts These have all been tested to work anonymously. | py |
diff --git a/satsearch/version.py b/satsearch/version.py
index <HASH>..<HASH> 100644
--- a/satsearch/version.py
+++ b/satsearch/version.py
@@ -1 +1 @@
-__version__ = '0.2.2'
+__version__ = '0.2.1' | Reverted the version to <I> | py |
diff --git a/spyder/plugins/ipythonconsole/plugin.py b/spyder/plugins/ipythonconsole/plugin.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/ipythonconsole/plugin.py
+++ b/spyder/plugins/ipythonconsole/plugin.py
@@ -1197,16 +1197,10 @@ class IPythonConsole(SpyderPluginWidget):
return (error_msg, None)
... | IPython console: Remove code that it's not necessary anymore. | py |
diff --git a/indra/sources/bel/processor.py b/indra/sources/bel/processor.py
index <HASH>..<HASH> 100644
--- a/indra/sources/bel/processor.py
+++ b/indra/sources/bel/processor.py
@@ -630,7 +630,7 @@ def get_db_refs_by_ident(ns, ident, node_data):
'MESHPP', 'MESHD', 'MESH', 'MGI', 'RGD', 'SFAM', 'EGID',
... | Add PubChem to BEL processing | py |
diff --git a/isso/db/comments.py b/isso/db/comments.py
index <HASH>..<HASH> 100644
--- a/isso/db/comments.py
+++ b/isso/db/comments.py
@@ -34,9 +34,9 @@ class Comments:
' created FLOAT NOT NULL, modified FLOAT, mode INTEGER, remote_addr VARCHAR,',
' text VARCHAR, author VARCHAR, email VA... | do not use `NOT NULL` with `DEFAULT` at the same time | py |
diff --git a/grimoire_elk/elk/mbox_study_kip.py b/grimoire_elk/elk/mbox_study_kip.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/elk/mbox_study_kip.py
+++ b/grimoire_elk/elk/mbox_study_kip.py
@@ -84,6 +84,9 @@ def kafka_kip(enrich):
kip = None
+ if not subject:
+ return kip
+
... | [mbox][kip] Return None if the subject is None when trying to extract the KIP from the subject | py |
diff --git a/funfactory/settings_base.py b/funfactory/settings_base.py
index <HASH>..<HASH> 100644
--- a/funfactory/settings_base.py
+++ b/funfactory/settings_base.py
@@ -91,7 +91,7 @@ LANGUAGE_URL_MAP = lazy(lazy_lang_url_map, dict)()
def lazy_langs():
from django.conf import settings
from product_details i... | We should reference PROD_LANGUAGES through settings to allow overriding fixes Bug#<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ setup(
scripts=['caravel/bin/caravel'],
install_requires=[
'celery==3.1.23',
- 'cryptography==1.4',
+ 'cryptography==1.5.3',
'flask-appbuilder==1.8.1',
'flask-c... | Bump cryptography dependency to <I> (#<I>) As the <I> release branch builds with OpenSSL <I>.x | py |
diff --git a/AlphaTwirl/Counter/GenericKeyComposerB.py b/AlphaTwirl/Counter/GenericKeyComposerB.py
index <HASH>..<HASH> 100755
--- a/AlphaTwirl/Counter/GenericKeyComposerB.py
+++ b/AlphaTwirl/Counter/GenericKeyComposerB.py
@@ -34,6 +34,11 @@ class GenericKeyComposerB(object):
bins = self._bins(binning, val... | use shorter path if back ref is not used in GenericKeyComposerB for speed | py |
diff --git a/holoviews/plotting/raster.py b/holoviews/plotting/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/raster.py
+++ b/holoviews/plotting/raster.py
@@ -175,7 +175,6 @@ class RasterGridPlot(GridPlot, OverlayPlot):
dimensions, keys = traversal.unique_dimkeys(layout)
Plot.__ini... | Fixed style on RasterGridPlot | py |
diff --git a/lib/molmod/io/gaussian03/fchk.py b/lib/molmod/io/gaussian03/fchk.py
index <HASH>..<HASH> 100644
--- a/lib/molmod/io/gaussian03/fchk.py
+++ b/lib/molmod/io/gaussian03/fchk.py
@@ -102,13 +102,13 @@ class FCHKFile(object):
self.fields[label] = value
return True
+ self.fields... | FCHK: make sure fields is always defined | py |
diff --git a/angr/manager.py b/angr/manager.py
index <HASH>..<HASH> 100644
--- a/angr/manager.py
+++ b/angr/manager.py
@@ -704,8 +704,8 @@ class SimulationManager(ana.Storable):
# compute constraints for each state starting from the common ancestor, and use them as merge conditions
constraints... | SimulationManager: Fix a bug in state merging. | py |
diff --git a/test/test_cursor.py b/test/test_cursor.py
index <HASH>..<HASH> 100644
--- a/test/test_cursor.py
+++ b/test/test_cursor.py
@@ -618,6 +618,7 @@ class TestCursor(unittest.TestCase):
manipulate=False,
compile_re=False,
... | Test Cursor.min and max in test_clone. | py |
diff --git a/Qt.py b/Qt.py
index <HASH>..<HASH> 100644
--- a/Qt.py
+++ b/Qt.py
@@ -26,13 +26,13 @@ __version__ = "0.2.4"
def _pyqt5():
import PyQt5.Qt
+ from PyQt5 import uic
# Remap
PyQt5.QtCore.Signal = PyQt5.QtCore.pyqtSignal
PyQt5.QtCore.Slot = PyQt5.QtCore.pyqtSlot
PyQt5.QtCore.Pro... | Moved imports to top of functions (2) | py |
diff --git a/montblanc/tests/test_biro_v5.py b/montblanc/tests/test_biro_v5.py
index <HASH>..<HASH> 100644
--- a/montblanc/tests/test_biro_v5.py
+++ b/montblanc/tests/test_biro_v5.py
@@ -121,8 +121,20 @@ class TestBiroV5(unittest.TestCase):
with solver(slvr_cfg) as slvr:
slvr.solve()
- ... | Add a medium budget test case. Small enough to fit in 8GB of RAM. | py |
diff --git a/test/test_livestatus_perf.py b/test/test_livestatus_perf.py
index <HASH>..<HASH> 100644
--- a/test/test_livestatus_perf.py
+++ b/test/test_livestatus_perf.py
@@ -1166,6 +1166,7 @@ def isprime(startnumber):
class PerfTest(ShinkenTest):
def tearDown(self):
print "comment me for performance tes... | Fix : comment the test_livestatus_perf, do not look functionnal and need some missing files. | py |
diff --git a/zvmsdk/dist.py b/zvmsdk/dist.py
index <HASH>..<HASH> 100755
--- a/zvmsdk/dist.py
+++ b/zvmsdk/dist.py
@@ -1101,7 +1101,7 @@ class sles12(sles):
'sleep 2',
'znetconf -A',
'cio_ignore -u',
- 'systemctl r... | Use wicked ifreload all for SLES<I> Fixes #<I> that causes zvmguestconfigure to hang when attempting systemctl restart network | py |
diff --git a/rest_framework_json_api/serializers.py b/rest_framework_json_api/serializers.py
index <HASH>..<HASH> 100644
--- a/rest_framework_json_api/serializers.py
+++ b/rest_framework_json_api/serializers.py
@@ -1,4 +1,5 @@
import inflection
+import six
from django.db.models.query import QuerySet
from django.util... | import missing six (#<I>) | py |
diff --git a/zipline/data/fx/base.py b/zipline/data/fx/base.py
index <HASH>..<HASH> 100644
--- a/zipline/data/fx/base.py
+++ b/zipline/data/fx/base.py
@@ -28,7 +28,7 @@ class FXRateReader(Interface):
may appear multiple times.
dts : pd.DatetimeIndex
Datetimes for which to load rates. ... | DOC: Clarify utc requirements on dts. | py |
diff --git a/cflib/crtp/radiodriver.py b/cflib/crtp/radiodriver.py
index <HASH>..<HASH> 100644
--- a/cflib/crtp/radiodriver.py
+++ b/cflib/crtp/radiodriver.py
@@ -156,6 +156,8 @@ class _SharedRadio(Thread):
self._lock = Semaphore(1)
+ self.setDaemon(True)
+
self.start()
def open_inst... | Launch radiodriver threads as deamon | py |
diff --git a/pycm/pycm_func.py b/pycm/pycm_func.py
index <HASH>..<HASH> 100644
--- a/pycm/pycm_func.py
+++ b/pycm/pycm_func.py
@@ -5,6 +5,12 @@ import sys
import numpy
def isfile(f):
+ '''
+ This function check file object in python 2.7 & 3.x
+ :param f: input object
+ :type f : file object
+ :return... | fix : is_file docstring added | py |
diff --git a/conftest.py b/conftest.py
index <HASH>..<HASH> 100644
--- a/conftest.py
+++ b/conftest.py
@@ -206,13 +206,14 @@ def get_testing_protocols(metafunc):
try:
sock = socket.socket(socket.AF_PACKET, socket.SOCK_RAW)
except socket.error as e:
- if e.errno in [1, 2]:
- ... | Raise unexpected exceptions during testing CAP_NET_RAW | py |
diff --git a/sos/archive.py b/sos/archive.py
index <HASH>..<HASH> 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -361,11 +361,11 @@ class FileCacheArchive(Archive):
return self._archive_root
def makedirs(self, path, mode=0o700):
- dest = self._check_path(path, P_DIR)
- if not dest:
- ... | [archive] simplify FileCacheArchive.makedirs() Simplify the makedirs() method of FileCacheArchive and have it bypass _check_path() and directly call os.makedirs(): a subsequent patch will restrict the use of the method to setting up the sos_* directories in the archive root. File, directory and other object type add_... | py |
diff --git a/tests/core/test_fields.py b/tests/core/test_fields.py
index <HASH>..<HASH> 100644
--- a/tests/core/test_fields.py
+++ b/tests/core/test_fields.py
@@ -51,6 +51,18 @@ def test_field_type():
assert f.internal_type(schema) == GraphQLString
+def test_field_name_automatic_camelcase():
+ f = Field(Gra... | Added two more tests on field naming | py |
diff --git a/honcho/export/base.py b/honcho/export/base.py
index <HASH>..<HASH> 100644
--- a/honcho/export/base.py
+++ b/honcho/export/base.py
@@ -64,6 +64,15 @@ class BaseExport(object):
.format(path))
def get_template(self, name, package, directory='data/export/'):
+ """G... | describe the get_template method of BaseExport. | py |
diff --git a/src/livestreamer/plugins/douyutv.py b/src/livestreamer/plugins/douyutv.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer/plugins/douyutv.py
+++ b/src/livestreamer/plugins/douyutv.py
@@ -102,6 +102,36 @@ class Douyutv(Plugin):
url = "{room[rtmp_url]}/{room[rtmp_live]}".format(room=room)
... | add middle and low quality best > middle > low | py |
diff --git a/octodns/provider/base.py b/octodns/provider/base.py
index <HASH>..<HASH> 100644
--- a/octodns/provider/base.py
+++ b/octodns/provider/base.py
@@ -57,10 +57,9 @@ class BaseProvider(BaseSource):
for record in desired.records:
if record._type == 'PTR' and len(record.values) > 1:
... | f-strings for BaseProvider | py |
diff --git a/mbuild/compound.py b/mbuild/compound.py
index <HASH>..<HASH> 100755
--- a/mbuild/compound.py
+++ b/mbuild/compound.py
@@ -547,9 +547,8 @@ class Compound(object):
except KeyError: # TODO: better reporting
saver = None
- if not hasattr(fname, 'write'):
- if os.path.... | Fix bug in #<I>c0 Error from copying from ParmEd | py |
diff --git a/mythril/mythril.py b/mythril/mythril.py
index <HASH>..<HASH> 100644
--- a/mythril/mythril.py
+++ b/mythril/mythril.py
@@ -335,9 +335,9 @@ class Mythril(object):
verbose_report=False, max_depth=12):
all_issues = []
+ if self.dynld and self.eth is None:
+ sel... | connect to infura with -l | py |
diff --git a/marrow/mailer/message.py b/marrow/mailer/message.py
index <HASH>..<HASH> 100644
--- a/marrow/mailer/message.py
+++ b/marrow/mailer/message.py
@@ -192,7 +192,7 @@ class Message(object):
headers.extend(self.headers)
if 'message-id' not in (header[0].lower() for header in headers):
- headers.append... | Need sleep. Work on #<I>. | py |
diff --git a/modules/__init__.py b/modules/__init__.py
index <HASH>..<HASH> 100644
--- a/modules/__init__.py
+++ b/modules/__init__.py
@@ -7,5 +7,5 @@ MODULES package
'''
APP_TITLE = "SubDownloader"
-APP_VERSION = "2.0.12"
+APP_VERSION = "2.0.13"
SHAREWARE = False | updated version to be same than windows package | py |
diff --git a/flask_praetorian/base.py b/flask_praetorian/base.py
index <HASH>..<HASH> 100644
--- a/flask_praetorian/base.py
+++ b/flask_praetorian/base.py
@@ -840,7 +840,6 @@ class Praetorian:
and that the user can be properly retrieved
"""
data = self.extract_jwt_token(token, access_type=Acc... | Removed left over debugging line | py |
diff --git a/tensorflow_datasets/core/features/__init__.py b/tensorflow_datasets/core/features/__init__.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/core/features/__init__.py
+++ b/tensorflow_datasets/core/features/__init__.py
@@ -15,9 +15,6 @@
"""`tfds.features.FeatureConnector` API defining feature typ... | Remove tfds.features.text.Xyz from the public API. Users should use `tfds.deprecated.text.Xyz` instead. PiperOrigin-RevId: <I> | py |
diff --git a/tests/test_trades.py b/tests/test_trades.py
index <HASH>..<HASH> 100644
--- a/tests/test_trades.py
+++ b/tests/test_trades.py
@@ -43,6 +43,14 @@ class TestTrades(unittest.TestCase):
print("%s" % e)
exit(0)
+ def test__trades_base_exception(self):
+ """test for the exce... | test added for exception when baseclass is used | py |
diff --git a/_pytest/python.py b/_pytest/python.py
index <HASH>..<HASH> 100644
--- a/_pytest/python.py
+++ b/_pytest/python.py
@@ -1308,16 +1308,14 @@ class FuncargManager:
obj = getattr(holderobj, name)
if not callable(obj):
continue
- # to avoid breaking on magic ... | exchange the rawcode factory marker check with a more robust and specific instance check as advised by holger | py |
diff --git a/faradayio_cli/faradayio_cli.py b/faradayio_cli/faradayio_cli.py
index <HASH>..<HASH> 100644
--- a/faradayio_cli/faradayio_cli.py
+++ b/faradayio_cli/faradayio_cli.py
@@ -11,11 +11,12 @@ def setupArgparse():
parser = argparse.ArgumentParser()
# Required arguments
- parser.add_argument("callsi... | Added serial port option and updated option names * Added -p and --port to allow specification of serial port. * Updated Callsign with uppercase C * Commented out new code preparing for setupSerialPort() | py |
diff --git a/test/test_peerassets.py b/test/test_peerassets.py
index <HASH>..<HASH> 100644
--- a/test/test_peerassets.py
+++ b/test/test_peerassets.py
@@ -42,7 +42,8 @@ def test_deck_spawn():
inputs = provider.select_inputs("mthKQHpr7zUbMvLcj8GHs33mVcf91DtN6L", 0.02)
change_address = "mthKQHpr7zUbMvLcj8GHs33m... | insert asset_specific_data into deck_spawn test | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -8,6 +8,7 @@ Integrates the ``webassets`` library with Flask, adding support for
merging, minifying and compiling CSS and Javascript files.
"""
+from __future__ import with_statement
from setuptools import setup
# Figu... | with statement requires future import in <I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ setup(name='v_vk_api',
packages=['v_vk_api'],
description='VK API wrapper',
long_description=readme,
- version='1.2',
+ version='1.3',
url='https://github.com/vadimk2016/v-vk-... | added permissions: status, notes, added some custom methods, new version | py |
diff --git a/source/rafcon/core/states/state.py b/source/rafcon/core/states/state.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/core/states/state.py
+++ b/source/rafcon/core/states/state.py
@@ -106,6 +106,8 @@ class State(Observable, YAMLObject, JSONObject, Hashable):
self._description = None
# d... | feat(state): add execution counter | py |
diff --git a/ayrton/execute.py b/ayrton/execute.py
index <HASH>..<HASH> 100644
--- a/ayrton/execute.py
+++ b/ayrton/execute.py
@@ -211,6 +211,10 @@ class Command:
def child (self):
# set the new log handler so we start our own pid based logs
if len (logging.root.handlers)>0:
+ # close ... | [*] suppress ResourceWarnings by closing handlers. | py |
diff --git a/raven/transport/threaded.py b/raven/transport/threaded.py
index <HASH>..<HASH> 100644
--- a/raven/transport/threaded.py
+++ b/raven/transport/threaded.py
@@ -109,7 +109,7 @@ class ThreadedHTTPTransport(AsyncTransport, HTTPTransport):
except Exception as e:
failure_cb(e)
else:... | Actually call success callback in threaded transport | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.