diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/salt/runner.py b/salt/runner.py
index <HASH>..<HASH> 100644
--- a/salt/runner.py
+++ b/salt/runner.py
@@ -9,6 +9,7 @@ import inspect
import salt.loader
import salt.exceptions
import salt.utils
+import salt.minion
class RunnerClient(object):
@@ -44,11 +45,11 @@ class RunnerClient(object):
i... | Use detect_kwargs in runner, fix #<I> | py |
diff --git a/flask_transfer/validators.py b/flask_transfer/validators.py
index <HASH>..<HASH> 100644
--- a/flask_transfer/validators.py
+++ b/flask_transfer/validators.py
@@ -225,7 +225,7 @@ class ExtValidator(BaseValidator):
class AllowedExts(ExtValidator):
- """Filename extension validator that whitelights ce... | Type in validators.AllowedExts docstring. | py |
diff --git a/python_modules/libraries/dagster-postgres/dagster_postgres/event_log/event_watcher.py b/python_modules/libraries/dagster-postgres/dagster_postgres/event_log/event_watcher.py
index <HASH>..<HASH> 100644
--- a/python_modules/libraries/dagster-postgres/dagster_postgres/event_log/event_watcher.py
+++ b/python_... | event watcher thread only join if alive (#<I>) In some rare cases (in tests) we may quickly shutdown before the thread has had a chance to start - only join if its alive. ### How I Tested These Changes ran test that sporadically failed <I> times | py |
diff --git a/openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py b/openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py
+++ b/openstack_das... | Make the form _clean_rule_custom method full-fledged errors in the hidden fields will block form submit, drop all the other hidden fields. Not only the icmp_code and icmp_type, all the other fields not show in the custom rule should be excluded. Change-Id: Ibce7c<I>cb6ddb<I>d2d<I>dec<I>cb6b0b<I>bfc<I> Clo... | py |
diff --git a/samples/getinfo.py b/samples/getinfo.py
index <HASH>..<HASH> 100755
--- a/samples/getinfo.py
+++ b/samples/getinfo.py
@@ -49,7 +49,7 @@ for o, a in opts:
pin_available = True
open_session = True
if o in ("-s", "--slot"):
- slot = a
+ slot = int(a)
if o in ("-d", "-... | convert the slot number from text to integer | py |
diff --git a/PyFunceble.py b/PyFunceble.py
index <HASH>..<HASH> 100755
--- a/PyFunceble.py
+++ b/PyFunceble.py
@@ -642,7 +642,7 @@ class AutoSave(object):
time_of_start = int(Settings.start) + \
(int(Settings.travis_autosave_minutes) * 60)
- if current_time >= time_of_start or self.last:
... | Fix PyFunceble.bypass() not working as it should be | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,6 @@ tests_require = [
install_requires = [
'click>=3.3',
- 'six>=1.9.0',
'appdirs>=1.4.0',
] | Remove dependency on the `six` package | py |
diff --git a/pynfft/_version.py b/pynfft/_version.py
index <HASH>..<HASH> 100644
--- a/pynfft/_version.py
+++ b/pynfft/_version.py
@@ -1,2 +1,6 @@
# -*- coding: utf-8 -*-
-VERSION = '1.0.1'
+version = '1.0.1'
+release = False
+
+if not release:
+ version += '.dev'
\ No newline at end of file | fix version string to comply with PEP <I> | py |
diff --git a/holoviews/interface/seaborn.py b/holoviews/interface/seaborn.py
index <HASH>..<HASH> 100644
--- a/holoviews/interface/seaborn.py
+++ b/holoviews/interface/seaborn.py
@@ -101,16 +101,18 @@ class Distribution(Chart):
def range(self, dimension):
dim_idx = self.get_dimension_index(dimension)
- ... | Fix for Distribution Element after Columns changes | py |
diff --git a/grimoire_elk/elk/utils.py b/grimoire_elk/elk/utils.py
index <HASH>..<HASH> 100755
--- a/grimoire_elk/elk/utils.py
+++ b/grimoire_elk/elk/utils.py
@@ -37,9 +37,9 @@ def get_repository_filter(perceval_backend, perceval_backend_name,
field = 'origin'
value = perceval_backend.origin
- if perceva... | [raw][enrich] Add meetup to the data sources that use "tag" for repository filtering | py |
diff --git a/multilingual_model/forms.py b/multilingual_model/forms.py
index <HASH>..<HASH> 100644
--- a/multilingual_model/forms.py
+++ b/multilingual_model/forms.py
@@ -23,6 +23,9 @@ class TranslationFormSet(BaseInlineFormSet):
translations.
"""
+ # First make sure the super's clean method ... | Validate superclass as well woei woei | py |
diff --git a/alerta/models/heartbeat.py b/alerta/models/heartbeat.py
index <HASH>..<HASH> 100644
--- a/alerta/models/heartbeat.py
+++ b/alerta/models/heartbeat.py
@@ -50,10 +50,10 @@ class Heartbeat:
@property
def status(self) -> str:
- if self.latency > MAX_LATENCY:
- return 'slow'
- ... | Changing order of hearbeat status evaluation to prioritize stales over slows (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ with open(path.join(path.dirname(__file__), 'README.rst')) as readme_file:
setup(
name='cmudict',
version=VERSION,
- description='',
+ description='A versioned python wrapper package for The CMU... | Filled in blank description in setup.py. | py |
diff --git a/spyderlib/plugins/ipythonconsole.py b/spyderlib/plugins/ipythonconsole.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/ipythonconsole.py
+++ b/spyderlib/plugins/ipythonconsole.py
@@ -853,7 +853,8 @@ class IPythonConsole(SpyderPluginWidget):
def kernel_and_frontend_match(self, connection_... | IPython Console: Fix error while checking if frontend and kernel versions match - This one was introduced after updating with tip on revision <I>c<I>cb<I> | py |
diff --git a/parler/admin.py b/parler/admin.py
index <HASH>..<HASH> 100644
--- a/parler/admin.py
+++ b/parler/admin.py
@@ -6,7 +6,12 @@ from django.conf import settings
from django.conf.urls import patterns, url
from django.contrib import admin
from django.contrib.admin.options import csrf_protect_m, BaseModelAdmin,... | Fix support for Django <<I> | py |
diff --git a/test/common/test_common.py b/test/common/test_common.py
index <HASH>..<HASH> 100755
--- a/test/common/test_common.py
+++ b/test/common/test_common.py
@@ -46,7 +46,7 @@ def make_option_parser():
o["duration"] = IntFlag("--duration", 10)
o["serve-flags"] = StringFlag("--serve-flags", "")
o["st... | Made the shutdown timeout <I> seconds again. | py |
diff --git a/python_modules/libraries/dagster-postgres/dagster_postgres/event_log/event_log.py b/python_modules/libraries/dagster-postgres/dagster_postgres/event_log/event_log.py
index <HASH>..<HASH> 100644
--- a/python_modules/libraries/dagster-postgres/dagster_postgres/event_log/event_log.py
+++ b/python_modules/libr... | extract step key data into column for postgres event log table Summary: same as D<I>, but postgres overrides the default `SqlEventLogStorage::store_event` method Test Plan: bk Reviewers: sashank Reviewed By: sashank Differential Revision: <URL> | py |
diff --git a/salt/cloud/clouds/ec2.py b/salt/cloud/clouds/ec2.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/ec2.py
+++ b/salt/cloud/clouds/ec2.py
@@ -4887,6 +4887,8 @@ def get_password_data(
ret[next(six.iterkeys(item))] = next(six.itervalues(item))
if not HAS_M2 and not HAS_PYCRYPTO:
+ ... | Warn when password decrypton requested but not possible | py |
diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/private/session.py
+++ b/pyghmi/ipmi/private/session.py
@@ -660,7 +660,10 @@ class Session:
rdata = cls.socket.recvfrom(3000)
pktqueue.append(rdata... | Enhance filehandle registration Previously, pyghmi only could have file objects registered. Accept and adjust as appropriate to accomodate plain int filedescriptors. This allows, for example, os.pipe() construct to be hooked. Change-Id: Ie5e<I>a<I>c<I>e<I>d<I>d4a<I>f7b1aef<I>f5 | py |
diff --git a/nianalysis/testing.py b/nianalysis/testing.py
index <HASH>..<HASH> 100644
--- a/nianalysis/testing.py
+++ b/nianalysis/testing.py
@@ -364,8 +364,8 @@ class BaseMultiSubjectTestCase(BaseTestCase):
else:
assert False
if FIELDS_FNAME in fnames:
- field... | debugging multi-subject test case | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,8 +7,8 @@ f.close()
setup(
name='fancy_tag',
- version='0.1.5',
- description="A replacement for Django's simple_tag decorator.",
+ version='0.2.0',
+ description="A powerful replacement for Django's sim... | Updated version number, tweaked description. | py |
diff --git a/librosa/effects.py b/librosa/effects.py
index <HASH>..<HASH> 100644
--- a/librosa/effects.py
+++ b/librosa/effects.py
@@ -235,8 +235,12 @@ def time_stretch(y, rate, **kwargs):
# Stretch by phase vocoding
stft_stretch = core.phase_vocoder(stft, rate)
- # Invert the stft
- y_stretch = core.... | trim ISTFT to (len(y)/rate) coefficients | py |
diff --git a/pymc3/tests/test_distributions_random.py b/pymc3/tests/test_distributions_random.py
index <HASH>..<HASH> 100644
--- a/pymc3/tests/test_distributions_random.py
+++ b/pymc3/tests/test_distributions_random.py
@@ -1632,8 +1632,10 @@ class TestInterpolated(BaseTestDistribution):
for mu in R.vals:
... | Seeded the interpolated testing to prevent flaky failures (#<I>) * Seeded the interpolated testing to prevent flaky failures | py |
diff --git a/knack/log.py b/knack/log.py
index <HASH>..<HASH> 100644
--- a/knack/log.py
+++ b/knack/log.py
@@ -126,11 +126,16 @@ class CLILogging: # pylint: disable=too-many-instance-attributes
:param args: The arguments from the command line
:type args: list
"""
+ root_logger = loggi... | [Log] CLILogging.configure returns as early as possible (#<I>) | py |
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/_version.py
+++ b/grimoire_elk/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.30.19"
+__version__ = "0.30.20" | Update version number to <I> | py |
diff --git a/pandas/tests/test_daterange.py b/pandas/tests/test_daterange.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/test_daterange.py
+++ b/pandas/tests/test_daterange.py
@@ -214,7 +214,6 @@ class TestDateRange(unittest.TestCase):
self.assert_(the_union.equals(expected))
def test_intersection(se... | BUG: removed stray import pdb | py |
diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py
index <HASH>..<HASH> 100644
--- a/pyzotero/zotero.py
+++ b/pyzotero/zotero.py
@@ -298,11 +298,12 @@ class Zotero(object):
u=self.library_id,
t=self.library_type,
**payload)
- headers = {
+ heade... | WIP: Moving to pure JSON responses by default | py |
diff --git a/autotest/plot_tests.py b/autotest/plot_tests.py
index <HASH>..<HASH> 100644
--- a/autotest/plot_tests.py
+++ b/autotest/plot_tests.py
@@ -42,8 +42,7 @@ def pst_plot_test():
pst = pyemu.Pst(os.path.join("pst", "pest.pst"))
pst.parameter_data.loc[:, "partrans"] = "none"
pst.plot()
- plt.sho... | fixed dumbass plt.show() in pst plot test | py |
diff --git a/pypuppetdb/api/__init__.py b/pypuppetdb/api/__init__.py
index <HASH>..<HASH> 100644
--- a/pypuppetdb/api/__init__.py
+++ b/pypuppetdb/api/__init__.py
@@ -318,6 +318,4 @@ class BaseAPI(object):
:returns: The return of :meth:`~pypuppetdb.api.BaseAPI._query`.
"""
- endpoint = 'mbean... | api: Reduce metric() to a single line. | py |
diff --git a/icrawler/builtin/flickr.py b/icrawler/builtin/flickr.py
index <HASH>..<HASH> 100644
--- a/icrawler/builtin/flickr.py
+++ b/icrawler/builtin/flickr.py
@@ -55,7 +55,7 @@ class FlickrFeeder(Feeder):
complete_url = '{}&page={}'.format(url, i)
while True:
try:
- ... | fix bug that limits the number of flickr result urls | py |
diff --git a/tests/report_test.py b/tests/report_test.py
index <HASH>..<HASH> 100644
--- a/tests/report_test.py
+++ b/tests/report_test.py
@@ -23,7 +23,7 @@ def _fix_debug_data(json_str):
def _generate_report(input_file):
- contract = ETHContract(input_file.read_text())
+ contract = ETHContract(input_file.re... | Disable online signature lookup for report test cases | py |
diff --git a/ceph_deploy/hosts/__init__.py b/ceph_deploy/hosts/__init__.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/hosts/__init__.py
+++ b/ceph_deploy/hosts/__init__.py
@@ -4,11 +4,16 @@ commands (e.g. using `yum` as opposed to `apt`) we can make a one time call to
that remote host and set all the special cases ... | patch pushy to allow us to do sudo | py |
diff --git a/isc.py b/isc.py
index <HASH>..<HASH> 100644
--- a/isc.py
+++ b/isc.py
@@ -26,13 +26,13 @@ def _strip_and_reformat(data):
except (KeyError, ValueError):
return data_copy
-def _get(function, output=None):
+def _get(function, output_format=None):
"""Get and return data from the API.
... | Refactored _get's output param to output_format. Improves readability. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,6 +45,6 @@ setup(
]
},
install_requires=[
- 'sqlparse==0.3.1',
+ 'sqlparse==0.2.4',
]
) | Downgrade sqlparse dependency | py |
diff --git a/c7n/mu.py b/c7n/mu.py
index <HASH>..<HASH> 100644
--- a/c7n/mu.py
+++ b/c7n/mu.py
@@ -26,6 +26,7 @@ import json
import logging
import os
import sys
+import platform
import tempfile
import zipfile
@@ -84,7 +85,7 @@ class PythonPackageArchive(object):
def create(self):
assert not self.... | Add windows compatability - use platform.uname and manually delete named tempfiles (#<I>) | py |
diff --git a/svgpathtools/path.py b/svgpathtools/path.py
index <HASH>..<HASH> 100644
--- a/svgpathtools/path.py
+++ b/svgpathtools/path.py
@@ -202,7 +202,7 @@ def rotate(curve, degs, origin=None):
(a complex number). By default origin is either `curve.point(0.5)`, or in
the case that curve is an Arc object, ... | rename as name already used by outside function | py |
diff --git a/acos_client/v30/axapi_http.py b/acos_client/v30/axapi_http.py
index <HASH>..<HASH> 100644
--- a/acos_client/v30/axapi_http.py
+++ b/acos_client/v30/axapi_http.py
@@ -68,7 +68,7 @@ class HttpClient(object):
if axapi_args is not None:
formatted_axapi_args = dict([(k.replace('_', '-'), v... | Fix a bug where axapi_args would overwrite all args passed in normal kwargs | py |
diff --git a/cumulusci/robotframework/CumulusCI.py b/cumulusci/robotframework/CumulusCI.py
index <HASH>..<HASH> 100644
--- a/cumulusci/robotframework/CumulusCI.py
+++ b/cumulusci/robotframework/CumulusCI.py
@@ -3,6 +3,7 @@ import logging
from robot.api import logger
from robot.libraries.BuiltIn import BuiltIn
from s... | Add session hooks and also rename SF object. | py |
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index <HASH>..<HASH> 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1840,7 +1840,8 @@ class Cmd(cmd.Cmd):
# REDIRECTION_APPEND or REDIRECTION_OUTPUT
if statement.output == constants.REDIRECTION_APPEND:
mode = 'a'
- ... | Attempt at fixing unit test failures on Windows | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name = "PsiTurk",
- version = "0.1",
+ version = "1.0a1",
packages = ["psiturk"],
include_package_data = True,
zip_safe = False, | Bumped version to <I>a1 | py |
diff --git a/pyinfra/facts/server.py b/pyinfra/facts/server.py
index <HASH>..<HASH> 100644
--- a/pyinfra/facts/server.py
+++ b/pyinfra/facts/server.py
@@ -384,7 +384,7 @@ class Crontab(FactBase):
continue
if line.startswith('@'):
- special_time, command = line.split(' ', 1... | Fix second bug in crontab parsing (#<I>) | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -48,7 +48,7 @@ configs_file_path = os.path.abspath(
export_config_help(configs_file_path)
project = "Modin"
-copyright = "2018-2022, Modin"
+copyright = "2018-2022, Modin Developers."
author = "Modin contr... | FIX-#<I>: Change docs copyright statement to 'Modin Developers.' (#<I>) | py |
diff --git a/galpy/potential_src/DehnenSmoothWrapperPotential.py b/galpy/potential_src/DehnenSmoothWrapperPotential.py
index <HASH>..<HASH> 100644
--- a/galpy/potential_src/DehnenSmoothWrapperPotential.py
+++ b/galpy/potential_src/DehnenSmoothWrapperPotential.py
@@ -3,6 +3,7 @@
########################################... | Don't allow normalization for DehnenSmooth | py |
diff --git a/tests/util.py b/tests/util.py
index <HASH>..<HASH> 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -12,13 +12,13 @@ from cwltool.factory import Factory
def get_windows_safe_factory(**execkwargs):
if onWindows():
- opts = {'find_default_container': functools.partial(
+ makekwargs = {... | move use_container into execkwargs | py |
diff --git a/salt/modules/locate.py b/salt/modules/locate.py
index <HASH>..<HASH> 100644
--- a/salt/modules/locate.py
+++ b/salt/modules/locate.py
@@ -118,5 +118,5 @@ def locate(pattern, database='', limit=0, **kwargs):
if 'regex' in kwargs and bool(kwargs['regex']) is True:
options += ' --regex'
cmd... | update locate to new shellisms | py |
diff --git a/plugins/postgres/dbt/adapters/postgres/connections.py b/plugins/postgres/dbt/adapters/postgres/connections.py
index <HASH>..<HASH> 100644
--- a/plugins/postgres/dbt/adapters/postgres/connections.py
+++ b/plugins/postgres/dbt/adapters/postgres/connections.py
@@ -23,6 +23,7 @@ class PostgresCredentials(Crede... | Set application_name for Postgres connections | py |
diff --git a/sentry/client/base.py b/sentry/client/base.py
index <HASH>..<HASH> 100644
--- a/sentry/client/base.py
+++ b/sentry/client/base.py
@@ -363,9 +363,11 @@ class SentryClient(object):
data['__sentry__']['frames'] = frames
data['__sentry__']['exception'] = [exc_module, exc_value.args]
... | Support django_template_source which was added to Django in r<I> (fixes GH-<I>) | py |
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -666,9 +666,9 @@ class Single(object):
else:
if self.opts.get('wipe_ssh'):
salt.utils.warn_until(
- ... | Extend deprecation warning until Nitrogen Show the wipe_ssh deprecation warning until Nitrogen is released. | py |
diff --git a/topydo/lib/EditCommand.py b/topydo/lib/EditCommand.py
index <HASH>..<HASH> 100644
--- a/topydo/lib/EditCommand.py
+++ b/topydo/lib/EditCommand.py
@@ -29,7 +29,10 @@ class EditCommand(Command):
if not super(EditCommand, self).execute():
return False
- editor = os.environ['EDIT... | Try to edit todo file even if $EDITOR is unset. On some systems EDITOR is unset by default, so in such situation topydo would throw KeyError exception instead of opening todo.txt in vi. | py |
diff --git a/tests/test_cli.py b/tests/test_cli.py
index <HASH>..<HASH> 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -57,6 +57,7 @@ class TestEsriDumpCommandlineMain(unittest.TestCase):
self.parse_return = mock.MagicMock()
self.parse_return.url = 'http://example.com'
self.parse_r... | fixes test broken by #<I> | py |
diff --git a/src/livestreamer/stream/hds.py b/src/livestreamer/stream/hds.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer/stream/hds.py
+++ b/src/livestreamer/stream/hds.py
@@ -285,7 +285,7 @@ class HDSStreamIO(IOBase):
def fragment_url(self, segment, fragment):
url = absolute_url(self.baseurl, self... | stream.hds: Don't use the movie identifier. | py |
diff --git a/src/foremast/exceptions.py b/src/foremast/exceptions.py
index <HASH>..<HASH> 100644
--- a/src/foremast/exceptions.py
+++ b/src/foremast/exceptions.py
@@ -54,7 +54,8 @@ class SpinnakerTaskError(SpinnakerError):
except KeyError:
for task in context['kato.tasks']:
... | fix: Pass errors to super See also: PSOBAT-<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -174,7 +174,7 @@ def do_setup():
'autosemver',
'jsonschema',
'idutils',
- 'inspire-utils',
+ 'inspire-utils~=1.0,>=1.0.0',
'isodate',
'pyya... | setup: bump inspire-utils to version ~<I> Sem-ver: breaks compatibility | py |
diff --git a/splunklib/client.py b/splunklib/client.py
index <HASH>..<HASH> 100644
--- a/splunklib/client.py
+++ b/splunklib/client.py
@@ -3148,7 +3148,6 @@ class Role(Entity):
for capability in capabilities_to_grant:
if capability not in possible_capabilities:
raise NoSuchCapabil... | Remove refresh calls and throws from grant and revoke on Role. | py |
diff --git a/bang/providers/rs.py b/bang/providers/rs.py
index <HASH>..<HASH> 100644
--- a/bang/providers/rs.py
+++ b/bang/providers/rs.py
@@ -21,8 +21,8 @@ def server_to_dict(server):
soul = server.soul
return {
A.server.ID: server.href,
- A.server.PUBLIC_IPS: soul.get('public_ip_addr... | RightScale: Switch to using public_dns_names. This means that in the inventory provided to ansible, hosts will be defined by their public DNS name instead of their public IP address. For RightScale hosts in AWS, this gives you names like ``ec2-<I>-<I>-<I>-<I>.compute-1.amazonaws.com`` which gets the magic EC2 DNS reso... | py |
diff --git a/appconfigpy/_config.py b/appconfigpy/_config.py
index <HASH>..<HASH> 100644
--- a/appconfigpy/_config.py
+++ b/appconfigpy/_config.py
@@ -94,18 +94,19 @@ class ConfigManager(object):
)
self.__config_items = config_item_list
- def load(self):
- if not os.path.isfile(self.config... | Add an interface to pass a config file path | py |
diff --git a/documenteer/stackdocs/doxygen.py b/documenteer/stackdocs/doxygen.py
index <HASH>..<HASH> 100644
--- a/documenteer/stackdocs/doxygen.py
+++ b/documenteer/stackdocs/doxygen.py
@@ -449,8 +449,8 @@ class DoxygenConfiguration:
# Filter out comment lines
conf_text = '\n'.join(
- [l... | Fix ambiguous variable name Use "_" as a temp variable. | py |
diff --git a/tools/run_tests/xds_k8s_test_driver/tests/url_map/retry_test.py b/tools/run_tests/xds_k8s_test_driver/tests/url_map/retry_test.py
index <HASH>..<HASH> 100644
--- a/tools/run_tests/xds_k8s_test_driver/tests/url_map/retry_test.py
+++ b/tools/run_tests/xds_k8s_test_driver/tests/url_map/retry_test.py
@@ -104,7... | xDS interop: fix the order of rpc-behavior operations (#<I>) To account for the API change made in <URL> | py |
diff --git a/pyimgur/request.py b/pyimgur/request.py
index <HASH>..<HASH> 100644
--- a/pyimgur/request.py
+++ b/pyimgur/request.py
@@ -77,14 +77,13 @@ def send_request(url, params=None, method='GET', data_field='data',
tries = 0
while not is_succesful_request and tries <= MAX_RETRIES:
if method == 'G... | Verify SSL Certificate During the beta of Imgurs API version <I>, the SSL certificate was not valid. It is now. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,12 +2,12 @@ from distutils.core import setup
setup(
name = 'apiary2postman',
packages = ['apiary2postman'], # this must be the same as the name above
- version = '0.4.1',
+ version = '0.4.4',
description = 'A to... | Added tag for <I> | py |
diff --git a/blanc_basic_events/models.py b/blanc_basic_events/models.py
index <HASH>..<HASH> 100644
--- a/blanc_basic_events/models.py
+++ b/blanc_basic_events/models.py
@@ -45,7 +45,7 @@ class SpecialEvent(models.Model):
})
def clean(self):
- if self.start > self.end:
+ if self.start and... | Only check start date if both start/end datetimes are given | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ def read(*parts):
return codecs.open(os.path.join(os.path.abspath(os.path.dirname(__file__)), *parts), 'r').read()
setup(name="hitchserve",
- version="0.4.4",
+ version="0.4.5",
descript... | RELEASE : Bumped version. | py |
diff --git a/peri/viz/interaction.py b/peri/viz/interaction.py
index <HASH>..<HASH> 100644
--- a/peri/viz/interaction.py
+++ b/peri/viz/interaction.py
@@ -582,7 +582,9 @@ class OrthoPrefeature(OrthoViewer):
wid = self.viewrad
for p in poses:
#1. get tile
- t = Tile(p-2*wid, p+2... | Clipping tile manually in OrthoPrefeature to avoid Tile.r < mins | py |
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/editor.py
+++ b/spyderlib/plugins/editor.py
@@ -1186,7 +1186,6 @@ class Editor(SpyderPluginWidget):
editorstack.save_breakpoints.connect(self.save_breakpoints)
editorstack.text_c... | Editor: Fix error with PyQt <I> because of wrong slot signature | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -52,5 +52,6 @@ setup(
packages=setuptools.find_packages(),
install_requires=[
+ 'subprocess32;python_version<"3.5"',
]
) | closes #1 subprocess<I> declared as an optional dependency on python < <I> | py |
diff --git a/py/tests/unittests.py b/py/tests/unittests.py
index <HASH>..<HASH> 100644
--- a/py/tests/unittests.py
+++ b/py/tests/unittests.py
@@ -54,6 +54,10 @@ def test_len_toks_equals_len_tags_nltk():
x = pm.get_stdeng_nltk_tagger().tag_text(text)
assert len(x['tokens']) == len(x['pos'])
+def test_bad_co... | adding in unit test for weird multicount bug | py |
diff --git a/benchexec/tools/aprove.py b/benchexec/tools/aprove.py
index <HASH>..<HASH> 100755
--- a/benchexec/tools/aprove.py
+++ b/benchexec/tools/aprove.py
@@ -25,7 +25,9 @@ class Tool(benchexec.tools.template.BaseTool):
REQUIRED_PATHS = [
"aprove.jar",
- "AProVE.sh"
+ ... | Collect required files for AProVE | py |
diff --git a/addok/utils.py b/addok/utils.py
index <HASH>..<HASH> 100644
--- a/addok/utils.py
+++ b/addok/utils.py
@@ -54,4 +54,4 @@ def haversine_distance(point1, point2):
def km_to_score(km):
# Score between 0 and 0.1 (close to 0 km will be close to 0.1, and 100 and
# above will be 0).
- return .1 - (1 ... | Cleaner km_to_score function (thanks to Leo :) ) | py |
diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -1275,9 +1275,14 @@ def _validate_file_roots(opts):
' using defaults')
return {'base': _expand_glob_path([salt.syspaths.BASE_FILE_ROOTS_DIR])}
for saltenv, dirs in six... | Force file_roots environments to be strings | py |
diff --git a/salt/modules/napalm_probes.py b/salt/modules/napalm_probes.py
index <HASH>..<HASH> 100644
--- a/salt/modules/napalm_probes.py
+++ b/salt/modules/napalm_probes.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
"""
NAPALM Probes
=============
@@ -22,12 +21,8 @@ Dependencies
.. versionadded:: 2016.11.0
"""
-... | Drop Py2 and six on salt/modules/napalm_probes.py | py |
diff --git a/easy_thumbnails/files.py b/easy_thumbnails/files.py
index <HASH>..<HASH> 100644
--- a/easy_thumbnails/files.py
+++ b/easy_thumbnails/files.py
@@ -206,22 +206,6 @@ class ThumbnailFile(ImageFieldFile):
file = property(_get_file, _set_file, _del_file)
- def _get_url(self):
- """
- Re... | The overridden url property is no longer necessary. The issue which the property was circumventing was fixed in django revision <I>aa<I>ed<I>d<I>fc<I>dfa<I>f<I>a<I>cceb1 | py |
diff --git a/scripts/make-release.py b/scripts/make-release.py
index <HASH>..<HASH> 100644
--- a/scripts/make-release.py
+++ b/scripts/make-release.py
@@ -88,7 +88,8 @@ def set_setup_version(version):
def build_and_upload():
# Work around setuptools packaging stray .pyc files
- shutil.rmtree('werkzeug/testsu... | Don't package that stuff, for real | py |
diff --git a/ara/plugins/callback/ara_default.py b/ara/plugins/callback/ara_default.py
index <HASH>..<HASH> 100644
--- a/ara/plugins/callback/ara_default.py
+++ b/ara/plugins/callback/ara_default.py
@@ -161,9 +161,8 @@ class CallbackModule(CallbackBase):
# Load variables to verify if there is anything releva... | Don't iterate through the play vars if we don't need to Change-Id: I<I>f<I>ff<I>d2d<I>f<I>f<I>bb6dcf<I> | py |
diff --git a/bcbio/cwl/create.py b/bcbio/cwl/create.py
index <HASH>..<HASH> 100644
--- a/bcbio/cwl/create.py
+++ b/bcbio/cwl/create.py
@@ -323,9 +323,11 @@ def _flatten_samples(samples, base_file, integrations=None):
flat_data.append(cur_flat)
out = {}
for key in sorted(list(set(reduce(operator.add, ... | CWL: avoid dots ('.') in input keys These cause issues with some CWL runners like bunny and also WDL, so convert to underscores during preparation. | py |
diff --git a/synapse/axon.py b/synapse/axon.py
index <HASH>..<HASH> 100644
--- a/synapse/axon.py
+++ b/synapse/axon.py
@@ -90,6 +90,9 @@ class AxonHttpDownloadV1(s_httpapi.Handler):
sha256b = s_common.uhex(sha256)
+ self.set_header('Content-Type', 'application/octet-stream')
+ self.set_header... | Add file related headers to the axon file download http api (#<I>) | py |
diff --git a/clients/python/pycellbase/commons.py b/clients/python/pycellbase/commons.py
index <HASH>..<HASH> 100644
--- a/clients/python/pycellbase/commons.py
+++ b/clients/python/pycellbase/commons.py
@@ -6,7 +6,7 @@ try:
except ImportError:
from queue import Queue
-_CALL_BATCH_SIZE = 2000
+_CALL_BATCH_SIZE =... | Fixed bug where calling batch size was much bigger than expected | py |
diff --git a/danceschool/financial/admin.py b/danceschool/financial/admin.py
index <HASH>..<HASH> 100644
--- a/danceschool/financial/admin.py
+++ b/danceschool/financial/admin.py
@@ -140,7 +140,7 @@ class ExpenseItemAdmin(EventLinkMixin, admin.ModelAdmin):
def payToName(self,obj):
''' Avoids widget issu... | Fixed issue with ExpenseItems in admin with no associated TransactionParty | py |
diff --git a/vr/common/utils.py b/vr/common/utils.py
index <HASH>..<HASH> 100644
--- a/vr/common/utils.py
+++ b/vr/common/utils.py
@@ -85,7 +85,9 @@ class CommandException(Exception):
class CommandResult(object):
def __init__(self, command, output, status_code):
self.command = command
- self.outpu... | In CommandResult, now only decode the output if necessary. | py |
diff --git a/samcli/commands/package/package_context.py b/samcli/commands/package/package_context.py
index <HASH>..<HASH> 100644
--- a/samcli/commands/package/package_context.py
+++ b/samcli/commands/package/package_context.py
@@ -80,7 +80,7 @@ class PackageContext:
def run(self):
s3_client = boto3.clie... | fix: linting on ubuntu (#<I>) | py |
diff --git a/Algorithmia/datafile.py b/Algorithmia/datafile.py
index <HASH>..<HASH> 100644
--- a/Algorithmia/datafile.py
+++ b/Algorithmia/datafile.py
@@ -266,6 +266,7 @@ class AdvancedDataFile(DataFile, RawIOBase):
def read(self, __size=None):
if not self.local_file:
self.local_file = self.g... | realized that we were missing an output write for the read() function | py |
diff --git a/pypodio2/transport.py b/pypodio2/transport.py
index <HASH>..<HASH> 100644
--- a/pypodio2/transport.py
+++ b/pypodio2/transport.py
@@ -122,8 +122,9 @@ class HttpTransport(object):
if (self._method == "POST" or self._method == "PUT") and 'type' not in kwargs:
headers.update(
- ... | Fixed problem with calls to webhook validation, where Podio server didn't accept POST request because the body was not properly encoded and content-type header not set to application/json. | py |
diff --git a/_pytest/config.py b/_pytest/config.py
index <HASH>..<HASH> 100644
--- a/_pytest/config.py
+++ b/_pytest/config.py
@@ -415,7 +415,8 @@ class PytestPluginManager(PluginManager):
# "terminal" or "capture". Those plugins are registered under their
# basename for historic purposes but must be... | added option to unicode plugin name | py |
diff --git a/sh.py b/sh.py
index <HASH>..<HASH> 100644
--- a/sh.py
+++ b/sh.py
@@ -1337,7 +1337,7 @@ class OProc(object):
self._stdin_process = stdin
elif self.call_args["tty_in"]:
- self._slave_stdin_fd, self._stdin_fd = pty.openpty()
+ self._stdin_fd, self... | switch stdin pty endpoints so ctty prop is correct | py |
diff --git a/motor/__init__.py b/motor/__init__.py
index <HASH>..<HASH> 100644
--- a/motor/__init__.py
+++ b/motor/__init__.py
@@ -982,9 +982,8 @@ class MotorReplicaSetClient(MotorClientBase):
def _get_pools(self):
# TODO: expose the PyMongo RSC members, or otherwise avoid this
- return [
- ... | PyMongo >= <I> compatibility: Get MongoReplicaSetClient's ___rs_state, not its __members. | py |
diff --git a/symfit/core/support.py b/symfit/core/support.py
index <HASH>..<HASH> 100644
--- a/symfit/core/support.py
+++ b/symfit/core/support.py
@@ -115,7 +115,7 @@ def sympy_to_scipy(func, vars, params):
def variables(names, **kwargs):
"""
Convenience function for the creation of multiple variables. For m... | Fixed sphynx warning. | py |
diff --git a/aiosocks/protocols.py b/aiosocks/protocols.py
index <HASH>..<HASH> 100644
--- a/aiosocks/protocols.py
+++ b/aiosocks/protocols.py
@@ -62,9 +62,11 @@ class BaseSocksProtocol(asyncio.StreamReaderProtocol):
except SocksError as exc:
exc = SocksError('Can not connect to %s:%s. %s' %
... | Close waiter only if it is not closed | py |
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py
index <HASH>..<HASH> 100644
--- a/aiohttp/__init__.py
+++ b/aiohttp/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '3.6.3'
+__version__ = '3.7.0b0'
from typing import Tuple | Bump to <I>b0 | py |
diff --git a/pyflex/window_selector.py b/pyflex/window_selector.py
index <HASH>..<HASH> 100644
--- a/pyflex/window_selector.py
+++ b/pyflex/window_selector.py
@@ -421,7 +421,13 @@ class WindowSelector(object):
noise = self.observed.data[self.config.noise_start_index:
self.co... | [bug fix] added a catch for when noise signals are of length 0, which happens with very short (<<I>km) source receiver distances that have no zero padding, the noise section of the waveform is basically the same as the first arrival | py |
diff --git a/synapse/cores/sqlite.py b/synapse/cores/sqlite.py
index <HASH>..<HASH> 100644
--- a/synapse/cores/sqlite.py
+++ b/synapse/cores/sqlite.py
@@ -516,10 +516,11 @@ class Cortex(common.Cortex):
ret = []
for valu in valus:
- ret.extend(self.getTufosByProp(prop, valu=valu, limit=lim... | fix bug where limit is not updated properly resulting incorrect result size | py |
diff --git a/esgfpid/connector.py b/esgfpid/connector.py
index <HASH>..<HASH> 100644
--- a/esgfpid/connector.py
+++ b/esgfpid/connector.py
@@ -54,7 +54,7 @@ class Connector(object):
# Check if solr has access:
if self.__coupler.is_solr_switched_off():
- raise esgfpid.exceptions.ArgumentEr... | No more exception if solr is not used during publication. | py |
diff --git a/tests/test_event.py b/tests/test_event.py
index <HASH>..<HASH> 100644
--- a/tests/test_event.py
+++ b/tests/test_event.py
@@ -466,6 +466,28 @@ class TestEvent(TestCase):
)
self.assertEqual(occurrences[-1].end, end_recurring)
+ def test_recurring_event_get_occurrence_accross_dst(self)... | Added test for getting occurrences in recurrence across a DST change | py |
diff --git a/nbtlib/tag.py b/nbtlib/tag.py
index <HASH>..<HASH> 100644
--- a/nbtlib/tag.py
+++ b/nbtlib/tag.py
@@ -39,11 +39,6 @@ from struct import Struct, error as StructError
import numpy as np
-# Regex to detect if a string can be represented unquoted
-
-UNQUOTED_STRING = re.compile(r'^[a-zA-Z0-9._+-]+$')... | Move the unquoted string regex with the escape_string() function | py |
diff --git a/vyattaconfparser/parser.py b/vyattaconfparser/parser.py
index <HASH>..<HASH> 100644
--- a/vyattaconfparser/parser.py
+++ b/vyattaconfparser/parser.py
@@ -13,9 +13,9 @@ else:
rxh = re.compile(r'^([\w\-]+) \{$', re.UNICODE)
rxl = re.compile(r'^([\w\-]+) ([\w\-\"\./@]+) \{$', re.UNICODE)
-rxv = re.compile... | Fixed rxv regex to allow successful parsing of 'password ""' and similar lines, added rxz regex check to match comment lines found if directly reading /config/config.boot | py |
diff --git a/lib/stsci/tools/fileutil.py b/lib/stsci/tools/fileutil.py
index <HASH>..<HASH> 100644
--- a/lib/stsci/tools/fileutil.py
+++ b/lib/stsci/tools/fileutil.py
@@ -807,7 +807,7 @@ def getExtn(fimg,extn=None):
"""
# If no extension is provided, search for first extension
# in FITS file with data as... | Clean up logic problem in fileutil.getExtn() so that extn=0 is not treated as extn=None. This will restore proper behavior to drizzlepac.imageObject indexing which relies on this function to get the correct extension. git-svn-id: <URL> | py |
diff --git a/src/sos/targets.py b/src/sos/targets.py
index <HASH>..<HASH> 100644
--- a/src/sos/targets.py
+++ b/src/sos/targets.py
@@ -617,6 +617,8 @@ class file_target(path, BaseTarget):
class paths(Sequence, os.PathLike):
'''A collection of targets'''
+ # check if string contains wildcard character
+ wi... | Automatically expand wildcard characters for paths #<I> | py |
diff --git a/flanders/__init__.py b/flanders/__init__.py
index <HASH>..<HASH> 100644
--- a/flanders/__init__.py
+++ b/flanders/__init__.py
@@ -25,7 +25,7 @@ _lib = get_lib_handle(
# outward facing API
-def new_context(*, num_points, points):
+def new_context(num_points, points):
x_coordinates, y_coordinates... | do not require named parameters since it fails on python 2 | py |
diff --git a/django_enumfield/db/fields.py b/django_enumfield/db/fields.py
index <HASH>..<HASH> 100644
--- a/django_enumfield/db/fields.py
+++ b/django_enumfield/db/fields.py
@@ -1,6 +1,6 @@
from django.db import models
from django import forms
-import six
+from django.utils import six
from django_enumfield import... | Use Django's six. | py |
diff --git a/src/com/dtmilano/android/viewclient.py b/src/com/dtmilano/android/viewclient.py
index <HASH>..<HASH> 100644
--- a/src/com/dtmilano/android/viewclient.py
+++ b/src/com/dtmilano/android/viewclient.py
@@ -951,8 +951,7 @@ class View:
self.device.touch(x, y, eventType=eventType)
def esca... | Escape special chars in selector | py |
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/SSL.py
+++ b/OpenSSL/SSL.py
@@ -487,7 +487,9 @@ class Context(object):
"""
Load a certificate chain from a file
- :param certfile: The name of the certificate chain file
+ :param certfile: The name o... | Some missing type information in the documentation. | py |
diff --git a/django_extensions/management/commands/sqldiff.py b/django_extensions/management/commands/sqldiff.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/sqldiff.py
+++ b/django_extensions/management/commands/sqldiff.py
@@ -193,7 +193,7 @@ class SQLDiff(object):
if reverse_type... | fix #<I>, sqlite3 doesn't preserve precision for decimal fields | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.