diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/masonite/commands/ServeCommand.py b/masonite/commands/ServeCommand.py
index <HASH>..<HASH> 100644
--- a/masonite/commands/ServeCommand.py
+++ b/masonite/commands/ServeCommand.py
@@ -18,15 +18,26 @@ class ServeCommand(Command):
self._check_patch()
if self.option('reload'):
- #... | Rework the reloader so that it might pick up changes in .env ; | py |
diff --git a/pycm/pycm_obj.py b/pycm/pycm_obj.py
index <HASH>..<HASH> 100644
--- a/pycm/pycm_obj.py
+++ b/pycm/pycm_obj.py
@@ -178,6 +178,7 @@ class ConfusionMatrix():
self.ERR = statistic_result["ERR"]
self.J = statistic_result["J"]
self.IS = statistic_result["IS"]
+ self.CEN = statis... | fix : #<I> and #<I> added to object | py |
diff --git a/django_mailgun/__init__.py b/django_mailgun/__init__.py
index <HASH>..<HASH> 100644
--- a/django_mailgun/__init__.py
+++ b/django_mailgun/__init__.py
@@ -54,7 +54,7 @@ class MailgunBackend(BaseEmailBackend):
post(self._api_url + "messages.mime",
auth=("api", self._acc... | Join and comma separate multiple recipients, otherwise only first in list is mailed | py |
diff --git a/src/sos/signatures.py b/src/sos/signatures.py
index <HASH>..<HASH> 100644
--- a/src/sos/signatures.py
+++ b/src/sos/signatures.py
@@ -35,9 +35,8 @@ class SignatureDB:
def _write(self, record):
self._cache.append(record)
if len(self._cache) > 1000:
- self._conn.executemany(... | Fix clearing database when database is not created yet. #<I> | py |
diff --git a/tests/testoptions.py b/tests/testoptions.py
index <HASH>..<HASH> 100644
--- a/tests/testoptions.py
+++ b/tests/testoptions.py
@@ -9,6 +9,18 @@ from unittest import SkipTest
Options.skip_invalid = False
+try:
+ # Needed a backend to register backend and options
+ from holoviews.plotting import mp... | Added backend imports needed to run testoptions.py in isolation | py |
diff --git a/master/buildbot/steps/worker.py b/master/buildbot/steps/worker.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/steps/worker.py
+++ b/master/buildbot/steps/worker.py
@@ -89,25 +89,24 @@ class FileExists(WorkerBuildStep):
super().__init__(**kwargs)
self.file = file
- def start(sel... | steps: Convert FileExists to new style | py |
diff --git a/empirical.py b/empirical.py
index <HASH>..<HASH> 100644
--- a/empirical.py
+++ b/empirical.py
@@ -515,7 +515,7 @@ class Patch:
# Get similarity indices
spp_a = len(sad_dict[plota])
- spp_b = len(sad_dict[plota])
+ spp_b = len(sad_dict[plotb])
... | Fix bug in counting spp in plot b in comm_sep | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,8 @@ cythonize_dir = "build"
kwds = dict(libraries=libraries,
include_dirs=[os.path.join("src", "cysignals"),
- os.path.join(cythonize_dir, "src", "cysignals")])
+ ... | Cython extensions should depend on header files | py |
diff --git a/glances/outputs/glances_curses.py b/glances/outputs/glances_curses.py
index <HASH>..<HASH> 100644
--- a/glances/outputs/glances_curses.py
+++ b/glances/outputs/glances_curses.py
@@ -633,9 +633,10 @@ class _GlancesCurses(object):
# First line
self.new_line()
self.space_between_col... | Glances fails without network interface #<I> | py |
diff --git a/eventsourcing/infrastructure/eventstore.py b/eventsourcing/infrastructure/eventstore.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/infrastructure/eventstore.py
+++ b/eventsourcing/infrastructure/eventstore.py
@@ -1,5 +1,5 @@
# coding=utf-8
-from typing import Generic, Iterable, List, Optional, Sequen... | Avoid recursion. Added missing import. | py |
diff --git a/rst/source/conf.py b/rst/source/conf.py
index <HASH>..<HASH> 100644
--- a/rst/source/conf.py
+++ b/rst/source/conf.py
@@ -92,7 +92,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
-html_style = '... | default theme on readthedocs (2nd try) | py |
diff --git a/ReText/editor.py b/ReText/editor.py
index <HASH>..<HASH> 100644
--- a/ReText/editor.py
+++ b/ReText/editor.py
@@ -20,7 +20,7 @@ import os
import re
import weakref
-from markups import MarkdownMarkup, ReStructuredTextMarkup
+from markups import MarkdownMarkup, ReStructuredTextMarkup, TextileMarkup
from... | editor: Support pasting images to Textile | py |
diff --git a/src/hunter/__init__.py b/src/hunter/__init__.py
index <HASH>..<HASH> 100644
--- a/src/hunter/__init__.py
+++ b/src/hunter/__init__.py
@@ -76,6 +76,9 @@ def Q(*predicates, **query):
if any(isinstance(p, CodePrinter) for p in predicates):
if CodePrinter in optional_actions:
... | Also do check for CallPrinter. | py |
diff --git a/tests/integration/modules/test_sysmod.py b/tests/integration/modules/test_sysmod.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/test_sysmod.py
+++ b/tests/integration/modules/test_sysmod.py
@@ -100,7 +100,7 @@ class SysModuleTest(integration.ModuleCase):
continue
... | Correct small bug with docs test. | py |
diff --git a/pyemma/coordinates/util/patches.py b/pyemma/coordinates/util/patches.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/util/patches.py
+++ b/pyemma/coordinates/util/patches.py
@@ -156,6 +156,7 @@ def iterload(filename, chunk=100, **kwargs):
unitcell_angles=box_an... | [mdtraj-patch] log critical message if traj is being loaded completly | py |
diff --git a/mintapi/api.py b/mintapi/api.py
index <HASH>..<HASH> 100644
--- a/mintapi/api.py
+++ b/mintapi/api.py
@@ -343,14 +343,14 @@ class Mint(requests.Session):
expected_content_type='text/json|application/json')
data = json.loads(result.text)
txns = data['set'][0].get('... | Fix get_transactions_json when start_date predates all transactions If start_date is before the earliest/first transaction the if start_date block errors out, since txns is empty. To handle this, simply re-order the blocks. | py |
diff --git a/gtdoit/logbook.py b/gtdoit/logbook.py
index <HASH>..<HASH> 100644
--- a/gtdoit/logbook.py
+++ b/gtdoit/logbook.py
@@ -16,10 +16,15 @@ logger = logging.getLogger(__name__)
class LogBookKeyError(KeyError):
+ """Exception thrown if a requested key did not exist."""
pass
class LogBookEventOrd... | Documenting two exception classes in logbook Using pydoc for this. | py |
diff --git a/examples/django_chat/chat/views.py b/examples/django_chat/chat/views.py
index <HASH>..<HASH> 100644
--- a/examples/django_chat/chat/views.py
+++ b/examples/django_chat/chat/views.py
@@ -5,7 +5,7 @@ from django.contrib.auth.decorators import user_passes_test
from django.shortcuts import get_object_or_404, ... | Fixed typo when importing sockets file in views | py |
diff --git a/pronouncing/__init__.py b/pronouncing/__init__.py
index <HASH>..<HASH> 100755
--- a/pronouncing/__init__.py
+++ b/pronouncing/__init__.py
@@ -1,12 +1,14 @@
from __future__ import print_function
import re
from pkg_resources import resource_stream
+import collections
__author__ = 'Allison Parrish'
__e... | finally gave in and made a dictionary lookup | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,13 +7,13 @@ from setuptools import setup
v = sys.version_info
if v[:2] < (3, 6):
- error = "ERROR: rubin-kubespawner requires Python version 3.6 or above."
+ error = "ERROR: kubespawner requires Python version 3.6... | Rename back to 'kubespawner' and bump major version | py |
diff --git a/tests/runtests.py b/tests/runtests.py
index <HASH>..<HASH> 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -40,7 +40,6 @@ except OSError as err:
print 'Failed to change directory to salt-cloud\'s source: {0}'.format(err)
-
class SaltCloudTestingParser(SaltCoverageTestingParser):
de... | Use the defined `SALTCLOUD_ROOT` as the source parameter for the coverage call. | py |
diff --git a/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py b/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py
+++ b/telemetry/telemetry/core/... | Webdriver does not support extensions. BUG=None TEST=trybot NOTRY=True Review URL: <URL> | py |
diff --git a/hamper/plugins/channel_utils.py b/hamper/plugins/channel_utils.py
index <HASH>..<HASH> 100644
--- a/hamper/plugins/channel_utils.py
+++ b/hamper/plugins/channel_utils.py
@@ -33,7 +33,7 @@ class ChannelUtils(ChatCommandPlugin):
long_desc = 'If channel is ommited, leave the current channel.'
... | Fix docstring in channel_utils.leave | py |
diff --git a/loam/manager.py b/loam/manager.py
index <HASH>..<HASH> 100644
--- a/loam/manager.py
+++ b/loam/manager.py
@@ -171,11 +171,8 @@ class ConfigurationManager:
a configuration file option (config file only).
- help (str): help message describing the option.
confi... | ConfigurationManager.def_ can't be reassigned | py |
diff --git a/djangocms_page_sitemap/__init__.py b/djangocms_page_sitemap/__init__.py
index <HASH>..<HASH> 100644
--- a/djangocms_page_sitemap/__init__.py
+++ b/djangocms_page_sitemap/__init__.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
-__versi... | Bump develop version [ci skip] | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ setup(
'Programming Language :: Python',
],
install_requires=[
- 'Django >= 1.2.0',
+ 'Django >= 1.6.0',
'psycopg2',
],
zip_safe=False, | Raised minimum supported django version to <I>. | py |
diff --git a/quantecon/models/solow/model.py b/quantecon/models/solow/model.py
index <HASH>..<HASH> 100644
--- a/quantecon/models/solow/model.py
+++ b/quantecon/models/solow/model.py
@@ -285,6 +285,10 @@ class Model(ivp.IVP):
else:
return params
+ def calibrate_model(self, *args, **kwargs):
+... | Added an unimplmented method for calibrating the model given some data. | py |
diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/__init__.py
+++ b/python/phonenumbers/__init__.py
@@ -147,7 +147,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency
# Version number is taken from the ... | Prep for <I> release | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,7 @@ setup(
platforms=["any"],
description="Fixes some problems with Unicode text after the fact",
packages=['ftfy'],
+ package_data={'ftfy': ['char_classes.dat']},
classifiers=[
"Prog... | include char_classes.dat in package_data | py |
diff --git a/datapackage_validate/compat.py b/datapackage_validate/compat.py
index <HASH>..<HASH> 100644
--- a/datapackage_validate/compat.py
+++ b/datapackage_validate/compat.py
@@ -5,7 +5,6 @@ from __future__ import print_function
from __future__ import unicode_literals
import sys
-import csv
_ver = sys.vers... | Remove unnecessary csv code from compat.py | 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
@@ -1945,13 +1945,12 @@ class Dock(QtGui.QDockWidget, Ui_DockBase):
self.displayHtml(myReport)
myStatus = self.tr('Your PDF was created....opening using '
- ... | Use qt style string interpolation for prnt status message. String still does not get picked up for translation though | py |
diff --git a/src/zsl/interface/web/performers/resource.py b/src/zsl/interface/web/performers/resource.py
index <HASH>..<HASH> 100644
--- a/src/zsl/interface/web/performers/resource.py
+++ b/src/zsl/interface/web/performers/resource.py
@@ -11,6 +11,7 @@ import json
import logging
from flask import request, Response
... | Add context for resource performing The error_handler decorator requires this | py |
diff --git a/flask_login.py b/flask_login.py
index <HASH>..<HASH> 100644
--- a/flask_login.py
+++ b/flask_login.py
@@ -79,7 +79,7 @@ AUTH_HEADER_NAME = 'Authorization'
# A set of session keys that are populated by Flask-Login. Use this set to
# purge keys safely and accurately.
-SESSION_KEYS = {'user_id', '_id', '_... | fix Python <I>.x builds | py |
diff --git a/ansible_runner/display_callback/module.py b/ansible_runner/display_callback/module.py
index <HASH>..<HASH> 100644
--- a/ansible_runner/display_callback/module.py
+++ b/ansible_runner/display_callback/module.py
@@ -271,15 +271,14 @@ class BaseCallbackModule(CallbackBase):
with self.capture_event_da... | correct handle ansible >= <I> notify event * function signature and object names changed a bit. Account for that change. | py |
diff --git a/ethereum/abi.py b/ethereum/abi.py
index <HASH>..<HASH> 100644
--- a/ethereum/abi.py
+++ b/ethereum/abi.py
@@ -338,6 +338,8 @@ def encode_single(typ, arg): # pylint: disable=too-many-return-statements,too-m
if not is_string(arg):
raise EncodingError('Expecting string: %r' % arg)
+ ... | abi: the unicode value needs to be converted to str | py |
diff --git a/tests/fake_webapp.py b/tests/fake_webapp.py
index <HASH>..<HASH> 100644
--- a/tests/fake_webapp.py
+++ b/tests/fake_webapp.py
@@ -68,12 +68,12 @@ EXAMPLE_HTML = """\
<input type="file" name="file">
<input type="submit" name="upload" />
</form>
- <a href="http://example.com">Link f... | Changed links on fake webapp (for last changes on Selenium Firefox webdriver) | py |
diff --git a/yaz/main.py b/yaz/main.py
index <HASH>..<HASH> 100644
--- a/yaz/main.py
+++ b/yaz/main.py
@@ -55,4 +55,4 @@ def main(argv=None, white_list=None, load_yaz_extension=True):
if output is not None:
print(output)
- exit(code)
+ sys.exit(code) | Fixed: unsafe exit in main.py Fixes #1 | 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,18 +1,25 @@
"""
This module counts the available updates using yaourt.
-You should not use it together with the pacman backend otherwise
-som... | Added aur_only mode for yaourt backend | py |
diff --git a/tests/test_alarm_manager.py b/tests/test_alarm_manager.py
index <HASH>..<HASH> 100644
--- a/tests/test_alarm_manager.py
+++ b/tests/test_alarm_manager.py
@@ -1,6 +1,7 @@
from __future__ import unicode_literals
import datetime
+import os
import threading
import time
import unittest
@@ -101,6 +... | Tests: fixed test<I>_set_alarm__empty_playlist | py |
diff --git a/registrasion/reporting/views.py b/registrasion/reporting/views.py
index <HASH>..<HASH> 100644
--- a/registrasion/reporting/views.py
+++ b/registrasion/reporting/views.py
@@ -227,23 +227,11 @@ def credit_notes(request, form):
"invoice__user__attendee__attendeeprofilebase",
)
- headings = ... | Replaces a bunch of reports with QuerysetReports | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ def read(name):
setup(
name='python_dxf',
- version='1.4.0',
+ version='1.5.0',
description="Package for accessing a Docker v2 registry",
long_description=read('README.rst'),
keywords=... | Contentless release due to <I> error from pypi | py |
diff --git a/hwd/udev.py b/hwd/udev.py
index <HASH>..<HASH> 100644
--- a/hwd/udev.py
+++ b/hwd/udev.py
@@ -1,7 +1,7 @@
import pyudev
-def devices_by_subsystem(subsys):
+def devices_by_subsystem(subsys, only=lambda x: x):
""" Iterator that yields devices that belong to specified subsystem
This iterator ... | Added only arg to facilitate filtering | py |
diff --git a/Qt.py b/Qt.py
index <HASH>..<HASH> 100644
--- a/Qt.py
+++ b/Qt.py
@@ -783,7 +783,7 @@ def _pyqt4():
except ValueError as e:
# API version already set to a different version
if QT_SIP_API_HINT:
- _log("Warning: API '%s' has already been set to %s" % (api_nam... | Changed QT_SIP_API_HINT _log warning to print statement | py |
diff --git a/astrobase/varclass/periodicfeatures.py b/astrobase/varclass/periodicfeatures.py
index <HASH>..<HASH> 100644
--- a/astrobase/varclass/periodicfeatures.py
+++ b/astrobase/varclass/periodicfeatures.py
@@ -160,7 +160,8 @@ def lcfit_features(times, mags, errs, period,
None,
... | periodicfeatures: add in missing last param for ebfit | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ with open('path.py') as path_mod:
pattern = re.compile(r'''__version__ = ['"](?P<version>[\d.]+)['"]''')
version = pattern.search(source).group('version')
-kw = dict(
+setup_params = dict(
name=... | Use 'setup_params' which is what jaraco.packaging.release expects | py |
diff --git a/kytos/utils/napps.py b/kytos/utils/napps.py
index <HASH>..<HASH> 100644
--- a/kytos/utils/napps.py
+++ b/kytos/utils/napps.py
@@ -130,7 +130,12 @@ class NAppsManager:
uri = self._kytos_api + self._NAPPS_INSTALLED
try:
- content = json.loads(urllib.request.urlopen(uri).read())... | Fix call to list enabled NApps to catch response errors | py |
diff --git a/tests/test_using.py b/tests/test_using.py
index <HASH>..<HASH> 100644
--- a/tests/test_using.py
+++ b/tests/test_using.py
@@ -2513,7 +2513,7 @@ class CircularTestCase(unittest.TestCase):
class RepeatableRandomSeedFakerTests(unittest.TestCase):
def test_same_seed_is_used_between_fuzzy_and_faker_genera... | Fix own UserWarning in test suite The following message was printed to stderr: tests/test_using.py:<I>: UserWarning: Setting a specific random seed for FuzzyDate can still have varying results unless you also set a specific end date. For details and potential solutions see <URL> | py |
diff --git a/signalfx/ingest.py b/signalfx/ingest.py
index <HASH>..<HASH> 100644
--- a/signalfx/ingest.py
+++ b/signalfx/ingest.py
@@ -302,6 +302,12 @@ class ProtoBufSignalFxIngestClient(_BaseSignalFxIngestClient):
'Content-Type': 'application/x-protobuf'
})
+ def _reconnect(self):
+ s... | Reconnection creates a new session, and thus, should set these headers again | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ import subprocess
from setuptools import setup, find_packages
#####################################
-VERSION = "0.5.0"
+VERSION = "0.5.1"
ISRELEASED = True
if ISRELEASED:
__version__ = VERSION | Bump to version <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ setup(
zip_safe=False,
keywords='nap rest requests http',
classifiers=[
- 'Development Status :: 2 - Pre-Alpha',
+ 'Development Status :: 5 - Production/Stable',
'Intended A... | Change pre-alpha status to stable | py |
diff --git a/tests/python/test_basic.py b/tests/python/test_basic.py
index <HASH>..<HASH> 100644
--- a/tests/python/test_basic.py
+++ b/tests/python/test_basic.py
@@ -184,10 +184,10 @@ class TestBasic(unittest.TestCase):
def test_load_file_invalid(self):
- self.assertRaises(ValueError, xgb.Booster,
+ ... | Fix testcase after update and allow hdfs load | py |
diff --git a/plenum/test/eventually.py b/plenum/test/eventually.py
index <HASH>..<HASH> 100644
--- a/plenum/test/eventually.py
+++ b/plenum/test/eventually.py
@@ -129,7 +129,8 @@ async def eventually(coroFunc: FlexFunc,
remain = remaining()
if remain < 0:
# this provides a con... | avoiding eventually log to be printed on cli | py |
diff --git a/examples/py/basic-chart.py b/examples/py/basic-chart.py
index <HASH>..<HASH> 100644
--- a/examples/py/basic-chart.py
+++ b/examples/py/basic-chart.py
@@ -20,13 +20,13 @@ import ccxt # noqa: E402
kraken = ccxt.kraken()
# get a list of ohlcv candles
-ohlcv = kraken.fetch_ohlcv('BTC/USD', 60)
+ohlcv = kra... | minor edit to examples/py/basic-chart.py | py |
diff --git a/lenstronomy/ImSim/MultiBand/multi_data_base.py b/lenstronomy/ImSim/MultiBand/multi_data_base.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/ImSim/MultiBand/multi_data_base.py
+++ b/lenstronomy/ImSim/MultiBand/multi_data_base.py
@@ -61,4 +61,17 @@ class MultiDataBase(object):
for i in range(self.... | reduced_residuals for multi-frame | py |
diff --git a/indra/explanation/model_checker/pysb.py b/indra/explanation/model_checker/pysb.py
index <HASH>..<HASH> 100644
--- a/indra/explanation/model_checker/pysb.py
+++ b/indra/explanation/model_checker/pysb.py
@@ -379,6 +379,9 @@ class PysbModelChecker(ModelChecker):
# rule in the model activating the obj... | Fix observables not found case | py |
diff --git a/yangson/xpathast.py b/yangson/xpathast.py
index <HASH>..<HASH> 100644
--- a/yangson/xpathast.py
+++ b/yangson/xpathast.py
@@ -212,8 +212,7 @@ class OrExpr(BinaryExpr):
return self._as_str("or")
def _eval(self: "OrExpr", xctx: XPathContext) -> bool:
- lres, rres = self._eval_ops(xctx)... | Don't evaluate right operand of and/or if the left one is false/true | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,7 +50,6 @@ version = ''
release = '0.19.6'
# -- General configuration ---------------------------------------------------
-
# If your documentation needs a minimal Sphinx version, state it here.
#
# ... | Trigger build for updating tutorials (#<I>) The docs look good. Latex all fixed and new finance added. It seems there is still an unknown formatting issue in the finance docs causing bold font in the menu, but since that is minor, pushing through. | py |
diff --git a/src/bandersnatch/package.py b/src/bandersnatch/package.py
index <HASH>..<HASH> 100644
--- a/src/bandersnatch/package.py
+++ b/src/bandersnatch/package.py
@@ -98,6 +98,10 @@ class Package(object):
# The trailing slash is important: there are packages that have a
# trailing '?' that will ge... | Marker about edge case that we might want to tackle. | py |
diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/filesys.py
+++ b/sos/plugins/filesys.py
@@ -58,7 +58,7 @@ class Filesys(Plugin, DebianPlugin, UbuntuPlugin):
def postproc(self):
self.do_file_sub(
"/etc/fstab",
- r"(password=... | [filesys] fix postprocessing for /etc/fstab passwords. The current regex will replace the entire string after password= with * including the mount options. This patch fixes this issue by stopping the replacement when "," (mount option separator)is detected. Before | py |
diff --git a/install_venv.py b/install_venv.py
index <HASH>..<HASH> 100644
--- a/install_venv.py
+++ b/install_venv.py
@@ -97,14 +97,19 @@ def create_virtualenv(venv=VENV):
print 'done.'
+def pip_install(*args):
+ run_command(['tools/with_venv.sh', 'pip', 'install'] + list(args),
+ redirect_o... | install_venv: refactor out pip_install helper We don't need to pass the -E argument since we're already running inside the virtualenv. Change-Id: Idd<I>b9bdc<I>e<I>d0fa<I>a2bb<I>cf | py |
diff --git a/ariba/assembly_compare.py b/ariba/assembly_compare.py
index <HASH>..<HASH> 100644
--- a/ariba/assembly_compare.py
+++ b/ariba/assembly_compare.py
@@ -35,6 +35,7 @@ class AssemblyCompare:
self.unique_threhsold = unique_threhsold
self.nucmer_coords_file = self.outprefix + '.nucmer.coords'... | Store self.nucmer_snps_file | py |
diff --git a/scarlet/assets/fields.py b/scarlet/assets/fields.py
index <HASH>..<HASH> 100644
--- a/scarlet/assets/fields.py
+++ b/scarlet/assets/fields.py
@@ -145,6 +145,14 @@ class AssetsFileField(TaggedRelationField):
def get_denormalized_field_name(self, name):
return u"{0}_cache".format(name)
+ d... | Don't denormalize migration serialized fields | py |
diff --git a/tests/layers/test_layers_recurrent.py b/tests/layers/test_layers_recurrent.py
index <HASH>..<HASH> 100644
--- a/tests/layers/test_layers_recurrent.py
+++ b/tests/layers/test_layers_recurrent.py
@@ -905,6 +905,9 @@ class Layer_RNN_Test(CustomTestCase):
if (epoch + 1) % 10 == 0:
... | test dynamic rnn with fake data | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -65,7 +65,10 @@ def patch_spyder():
content = src.read()
with open(src_file, 'w', encoding='utf-8') as src:
src.write(content.replace("'Python': ('py', 'pyw', 'python', 'ipy')",
- ... | Patch spyder to accept SOS %cell preprocessor | py |
diff --git a/salt/cloud/clouds/saltify.py b/salt/cloud/clouds/saltify.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/saltify.py
+++ b/salt/cloud/clouds/saltify.py
@@ -7,8 +7,8 @@ bare metal, using SSH. This module is useful for provisioning machines which
are already installed, but not Salted.
Use of this m... | Updated saltify docs with cross-reference to core config docs | py |
diff --git a/django_libs/models_mixins.py b/django_libs/models_mixins.py
index <HASH>..<HASH> 100644
--- a/django_libs/models_mixins.py
+++ b/django_libs/models_mixins.py
@@ -1,7 +1,10 @@
"""Useful mixins for models."""
from django.conf import settings
from django.core.exceptions import ObjectDoesNotExist
-from djan... | models_mixins: Fallback to six for Django 3 | py |
diff --git a/suds/__init__.py b/suds/__init__.py
index <HASH>..<HASH> 100644
--- a/suds/__init__.py
+++ b/suds/__init__.py
@@ -29,7 +29,7 @@ import socket
# Project properties
#
-properties = dict(version='0.3.2', build="beta (R329-20081024)")
+properties = dict(version='0.3.2', build="beta (R347-20081027)")
#
... | bump build to beta (R<I>-<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -206,6 +206,7 @@ setup(
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
+ "Programming Language :: Python :: 3.4",
... | mark the project as compatible with Python <I> | py |
diff --git a/tools/profiling/ios_bin/binary_size.py b/tools/profiling/ios_bin/binary_size.py
index <HASH>..<HASH> 100755
--- a/tools/profiling/ios_bin/binary_size.py
+++ b/tools/profiling/ios_bin/binary_size.py
@@ -86,7 +86,7 @@ def build(where, frameworks):
'src/objective-c/examples/Sample/Build-%s' % w... | Clarify it's Objective-C sizes in comment | py |
diff --git a/swiftly/client/standardclient.py b/swiftly/client/standardclient.py
index <HASH>..<HASH> 100644
--- a/swiftly/client/standardclient.py
+++ b/swiftly/client/standardclient.py
@@ -617,4 +617,6 @@ class StandardClient(Client):
"""
See :py:func:`swiftly.client.client.Client.get_account_hash`
... | populate storage_url if not there | py |
diff --git a/firetv/__main__.py b/firetv/__main__.py
index <HASH>..<HASH> 100644
--- a/firetv/__main__.py
+++ b/firetv/__main__.py
@@ -29,7 +29,7 @@ app = Flask(__name__)
devices = {}
config_data = None
valid_device_id = re.compile('^[-\w]+$')
-valid_app_id = re.compile('^[a-zA-Z][a-z\.A-Z]+$')
+valid_app_id = re.co... | update valid_app_id regex Update to allow app/package names with numbers. | py |
diff --git a/dask_kubernetes/core.py b/dask_kubernetes/core.py
index <HASH>..<HASH> 100644
--- a/dask_kubernetes/core.py
+++ b/dask_kubernetes/core.py
@@ -328,6 +328,10 @@ class KubeCluster(Cluster):
return self.cluster.scheduler
@property
+ def loop(self):
+ return self.cluster.loop
+
+ @p... | Support compatibility with Dask <I> (#<I>) | py |
diff --git a/cartoframes/context.py b/cartoframes/context.py
index <HASH>..<HASH> 100644
--- a/cartoframes/context.py
+++ b/cartoframes/context.py
@@ -434,7 +434,7 @@ class CartoContext:
# Reverse layers to put torque's Map first
for idx, layer in enumerate(nb_layers):
self._check_query(l... | uses named arg instead of positional | py |
diff --git a/holoviews/plotting/element.py b/holoviews/plotting/element.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/element.py
+++ b/holoviews/plotting/element.py
@@ -688,7 +688,7 @@ class DrawPlot(ElementPlot):
_abstract = True
- def draw(self, axis, element):
+ def draw(self, axis, element,... | DrawPlot now passes ranges to draw method | py |
diff --git a/teamcity/unittestpy.py b/teamcity/unittestpy.py
index <HASH>..<HASH> 100644
--- a/teamcity/unittestpy.py
+++ b/teamcity/unittestpy.py
@@ -58,8 +58,6 @@ class TeamcityTestResult(TestResult):
def addSuccess(self, test, *k):
TestResult.addSuccess(self, test)
- self.output.write("ok\n")
... | unittest: do not print "ok" | py |
diff --git a/timepiece/views.py b/timepiece/views.py
index <HASH>..<HASH> 100644
--- a/timepiece/views.py
+++ b/timepiece/views.py
@@ -341,7 +341,7 @@ def summary(request, username=None):
)['hours']
people_totals = timepiece.Entry.objects.values('user', 'user__first_name',
... | [#<I>] Sort hours by people by last name on general ledger | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ setup(
install_requires=[
'click==7.0',
'cssselect==1.0.3',
- 'lxml==4.3.0',
+ 'lxml==4.3.4',
'requests==2.21.0',
], | Upgrade lxml package from <I> -> <I> | py |
diff --git a/suds/bindings/document.py b/suds/bindings/document.py
index <HASH>..<HASH> 100644
--- a/suds/bindings/document.py
+++ b/suds/bindings/document.py
@@ -67,6 +67,9 @@ class Document(Binding):
Called by our argument parser for every input parameter, in order.
+ A parameter's type is... | better comment a potentially confusing local variable A SOAP WS method invocation parameter's type is identified by its corresponding XSD schema element. | py |
diff --git a/stl/stl.py b/stl/stl.py
index <HASH>..<HASH> 100644
--- a/stl/stl.py
+++ b/stl/stl.py
@@ -287,7 +287,13 @@ class BaseStl(base.BaseMesh):
pass
def _write_ascii(self, fh, name):
- if _speedups and self.speedups: # pragma: no cover
+ try:
+ fh.fileno()
+ ... | disabled speedups for BytesIO | py |
diff --git a/salt/modules/win_pkg.py b/salt/modules/win_pkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_pkg.py
+++ b/salt/modules/win_pkg.py
@@ -376,7 +376,7 @@ def upgrade(refresh=True):
return {}
-def remove(name, version=None, msiexec=False, **kwargs):
+def remove(name, version=None, **kwargs):
... | check for msiexec in correct location | py |
diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/board/board.py
+++ b/ELiDE/ELiDE/board/board.py
@@ -811,7 +811,9 @@ class Board(RelativeLayout):
int(y * self.height)
)
self.engine.handle(
- 'update_nodes... | Make Board.nx_layout call update_nodes with the new keyword calling convention | py |
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/zypper.py
+++ b/salt/modules/zypper.py
@@ -940,6 +940,53 @@ def file_dict(*packages):
return __salt__['lowpkg.file_dict'](*packages)
+def modified(*packages, **flags):
+ """
+ List the modified fil... | Support inspection of modified files in Zypper | py |
diff --git a/tweepy/streaming.py b/tweepy/streaming.py
index <HASH>..<HASH> 100644
--- a/tweepy/streaming.py
+++ b/tweepy/streaming.py
@@ -137,6 +137,8 @@ class Stream(object):
self.snooze_time_cap = options.get("snooze_time_cap", 16)
self.buffer_size = options.get("buffer_size", 1500)
+ sel... | Allow specifying your own ssl certificates. | py |
diff --git a/pyswagger/primitives/render.py b/pyswagger/primitives/render.py
index <HASH>..<HASH> 100644
--- a/pyswagger/primitives/render.py
+++ b/pyswagger/primitives/render.py
@@ -95,14 +95,14 @@ def _byte_(obj, opt, val=None):
six.b(''.join([random.choice(string.ascii_letters) for _ in range(random.randint... | on windows, mktime would raise exception - <URL> | py |
diff --git a/conftest.py b/conftest.py
index <HASH>..<HASH> 100644
--- a/conftest.py
+++ b/conftest.py
@@ -27,6 +27,7 @@ import os
from pytest import yield_fixture
import yabt
+from yabt.cli import init_and_get_conf
def yabt_project_fixture(project):
@@ -50,6 +51,6 @@ def in_dag_project():
@yield_fixture
d... | fix conftest when running some handpicked test modules | py |
diff --git a/backlash/tracing/reporters/mail.py b/backlash/tracing/reporters/mail.py
index <HASH>..<HASH> 100644
--- a/backlash/tracing/reporters/mail.py
+++ b/backlash/tracing/reporters/mail.py
@@ -56,7 +56,7 @@ class EmailReporter(object):
def _repr_value(self, value):
try:
value = repr(val... | Ignore the reason why it failed to get repr, just report it failed. This way developers receive the crash report in any case | py |
diff --git a/rets/utils/search.py b/rets/utils/search.py
index <HASH>..<HASH> 100644
--- a/rets/utils/search.py
+++ b/rets/utils/search.py
@@ -23,6 +23,9 @@ class DMQLHelper(object):
def filter_to_dmql(filter_dict):
"""Converts the filter dictionary into DMQL"""
+ if type(filter_dict) is not dict... | verifying that filter_dict is a dict type | py |
diff --git a/command/build_scripts.py b/command/build_scripts.py
index <HASH>..<HASH> 100644
--- a/command/build_scripts.py
+++ b/command/build_scripts.py
@@ -15,7 +15,7 @@ from distutils.util import convert_path
from distutils import log
# check if Python is called on the first line with this expression
-first_lin... | Do not add extra "\n" after bang line. | py |
diff --git a/genmodel/manager.py b/genmodel/manager.py
index <HASH>..<HASH> 100644
--- a/genmodel/manager.py
+++ b/genmodel/manager.py
@@ -420,7 +420,7 @@ def cast_spell(job_id):
# install dependencies
subprocess.call(shlex.split('pip install -r requirements.txt'))
# cast spell (non blocking,... | set envar step shouldn't be done w subprocess foo | py |
diff --git a/mpldatacursor/datacursor.py b/mpldatacursor/datacursor.py
index <HASH>..<HASH> 100644
--- a/mpldatacursor/datacursor.py
+++ b/mpldatacursor/datacursor.py
@@ -234,6 +234,10 @@ class DataCursor(object):
def _event_ignored(self, event):
"""Decide whether or not to ignore a click/hover event.""... | Don't fire when zooming or panning is active. | py |
diff --git a/subliminal/providers/subscenter.py b/subliminal/providers/subscenter.py
index <HASH>..<HASH> 100644
--- a/subliminal/providers/subscenter.py
+++ b/subliminal/providers/subscenter.py
@@ -44,7 +44,7 @@ class SubsCenterSubtitle(Subtitle):
# episode
if isinstance(video, Episode):
... | Fix pep8 in subscenter | py |
diff --git a/tenant_schemas/tests/schemas.py b/tenant_schemas/tests/schemas.py
index <HASH>..<HASH> 100644
--- a/tenant_schemas/tests/schemas.py
+++ b/tenant_schemas/tests/schemas.py
@@ -10,6 +10,7 @@ class SchemataTestCase(TransactionTestCase):
Delete all tenant schemas. Tenant schema are not deleted
... | fix test teardown Teardown of db (destroy_test_db) may fail when our custom cursor wrapper tries to set the search_path to a possibly already-deleted schema. | py |
diff --git a/formly/models.py b/formly/models.py
index <HASH>..<HASH> 100644
--- a/formly/models.py
+++ b/formly/models.py
@@ -209,8 +209,8 @@ class Field(models.Model):
(BOOLEAN_FIELD, "boolean field")
]
- page = models.ForeignKey(Page, related_name="fields")
survey = models.ForeignKey(Surv... | Page is now optional for a Field but only when it's the target of a FieldChoice | py |
diff --git a/indra/tools/incremental_model.py b/indra/tools/incremental_model.py
index <HASH>..<HASH> 100644
--- a/indra/tools/incremental_model.py
+++ b/indra/tools/incremental_model.py
@@ -102,6 +102,9 @@ class IncrementalModel(object):
"""
stmts = self.get_statements()
+ # Filter out hypot... | Filter out hypotheses in RAS Machine | py |
diff --git a/runcommands/runner.py b/runcommands/runner.py
index <HASH>..<HASH> 100644
--- a/runcommands/runner.py
+++ b/runcommands/runner.py
@@ -76,7 +76,7 @@ def run(args,
if list_commands:
runner.print_usage()
elif not argv and not info:
- printer.warning('\nNo commands spe... | Tweak message printed when no commands are specified | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -63,6 +63,7 @@ setup(
include_package_data=True,
zip_safe=False,
install_requires=[
+ 'Django',
'djangorestframework<3'
],
test_suite='tests', | Add Django to install_requires in setup.py (Fixes #<I>) | py |
diff --git a/codenerix/__init__.py b/codenerix/__init__.py
index <HASH>..<HASH> 100644
--- a/codenerix/__init__.py
+++ b/codenerix/__init__.py
@@ -1,4 +1,4 @@
-__version__ = "1.1.23"
+__version__ = "1.1.24"
__authors__ = [
'Juan Miguel Taboada Godoy <juanmi@juanmitaboada.com>', | New version with round_decimal() helper | py |
diff --git a/openquake/logs.py b/openquake/logs.py
index <HASH>..<HASH> 100644
--- a/openquake/logs.py
+++ b/openquake/logs.py
@@ -96,7 +96,6 @@ def init_logs_stdout(level):
amqp_log = logging.getLogger("amqplib")
amqp_log.setLevel(logging.ERROR)
- amqp_log.propagate = False
LOG.setLevel(logging_l... | Apply <I>cdb<I> to the correct function. | py |
diff --git a/src/transformers/training_args.py b/src/transformers/training_args.py
index <HASH>..<HASH> 100644
--- a/src/transformers/training_args.py
+++ b/src/transformers/training_args.py
@@ -434,7 +434,7 @@ class TrainingArguments:
"help": "When doing a multinode distributed training, whether to log on... | Fix default to logging_dir lost in merge conflict | py |
diff --git a/jupyterhub_config.py b/jupyterhub_config.py
index <HASH>..<HASH> 100644
--- a/jupyterhub_config.py
+++ b/jupyterhub_config.py
@@ -14,10 +14,6 @@ c.JupyterHub.cleanup_servers = False
# First pulls can be really slow, so let's give it a big timeout
c.KubeSpawner.start_timeout = 60 * 5
-# Used only for th... | Don't explicitly set request_timeout in jupyterhub_config.py The defaults are decent, I think | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.