diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/py/selenium/webdriver/remote/webdriver.py b/py/selenium/webdriver/remote/webdriver.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/webdriver.py
+++ b/py/selenium/webdriver/remote/webdriver.py
@@ -1115,7 +1115,7 @@ class WebDriver(BaseWebDriver):
:Args:
- cookie_dict: ... | [py] add httpOnly to the list of optional keys for the cookie_dict | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -60,6 +60,7 @@ setup(
'requests==2.9.1',
'gevent==1.1.2',
'gevent-websocket==0.9.5',
+ 'pyzmq==17.1.2'
],
extras_require = { | GUI Issue #<I> - Adding pyzmq installation requirement | py |
diff --git a/salt/netapi/rest_cherrypy/app.py b/salt/netapi/rest_cherrypy/app.py
index <HASH>..<HASH> 100644
--- a/salt/netapi/rest_cherrypy/app.py
+++ b/salt/netapi/rest_cherrypy/app.py
@@ -820,9 +820,11 @@ def cors_tool():
resp_head['Connection'] = 'keep-alive'
resp_head['Access-Control-Max-... | Fix rest_cherrypy CORS OPTIONS request on Py3 resolves #<I> | py |
diff --git a/zhmcclient/_constants.py b/zhmcclient/_constants.py
index <HASH>..<HASH> 100644
--- a/zhmcclient/_constants.py
+++ b/zhmcclient/_constants.py
@@ -45,7 +45,7 @@ DEFAULT_CONNECT_RETRIES = 3
#: Default HTTP read timeout in seconds,
#: if not specified in the ``retry_timeout_config`` init argument to
#: :cl... | Change DEFAULT_READ_TIMEOUT to 5 min The DEFAULT_READ_TIMEOUT is the timeout on waiting to read data. It was increased from <I> seconds to 5 minutes because we ran into problems with operations like 'zhmc cpc show <LPAR name>'. | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -402,11 +402,6 @@ class TestValidate(ParameterizedTestCase, unittest.TestCase):
self.assertNotIn("'foo']", e.exception.message)
self.assertIn("'foo'", e.exception.message)
- dependencies_not_object = par... | This can just be a regular test. | py |
diff --git a/mpop/satin/h5_pps_l2.py b/mpop/satin/h5_pps_l2.py
index <HASH>..<HASH> 100644
--- a/mpop/satin/h5_pps_l2.py
+++ b/mpop/satin/h5_pps_l2.py
@@ -494,7 +494,7 @@ def get_lonlat(filename):
lats = lats * scale_factor + add_offset
# FIXME: this is to mask out the npp bowtie deleted pixels...
- if h... | Correct npp name in h5 files. | py |
diff --git a/openquake/logs.py b/openquake/logs.py
index <HASH>..<HASH> 100644
--- a/openquake/logs.py
+++ b/openquake/logs.py
@@ -58,6 +58,9 @@ def init_logs_amqp_send(level, job_id):
return
logging.getLogger("amqplib").propagate = False
+ # Add a null to amqplib logger to silence "No handlers could... | silence warnings due to lack of handlers for the amqplib logger | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,6 +20,7 @@ setup(
"Operating System :: OS Independent",
"Topic :: Software Development"
],
+ zip_safe=False,
packages=[
'userlog',
], | Sets zip_safe=False in the setup.py file. | py |
diff --git a/searx/webapp.py b/searx/webapp.py
index <HASH>..<HASH> 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -729,7 +729,8 @@ def run():
debug=settings['general']['debug'],
use_debugger=settings['general']['debug'],
port=settings['server']['port'],
- host=settings['server'... | [fix] use threading to recover after incomplete request crashes - closes #<I> #<I> | py |
diff --git a/gns3server/compute/iou/iou_vm.py b/gns3server/compute/iou/iou_vm.py
index <HASH>..<HASH> 100644
--- a/gns3server/compute/iou/iou_vm.py
+++ b/gns3server/compute/iou/iou_vm.py
@@ -169,6 +169,8 @@ class IOUVM(BaseNode):
Checks if IOUYAP executable is available and if image is accessible.
"""... | Raise error if IOU image is not configured Fix #<I> | py |
diff --git a/ca/django_ca/managers.py b/ca/django_ca/managers.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/managers.py
+++ b/ca/django_ca/managers.py
@@ -115,9 +115,9 @@ class CertificateAuthorityManager(CertificateManagerMixin, models.Manager):
builder = get_cert_builder(expires)
builder = build... | fix subject order and crl_urls | py |
diff --git a/src/pyshark/capture/capture.py b/src/pyshark/capture/capture.py
index <HASH>..<HASH> 100644
--- a/src/pyshark/capture/capture.py
+++ b/src/pyshark/capture/capture.py
@@ -351,6 +351,8 @@ class Capture(object):
self.encryption[0] + '"']
... | Adding skip in override_prefs, to ignore encryption related preferences, if already given as decryption_key and encryption_type to assure that duplicate preferences are not generated. | py |
diff --git a/sacred/utils.py b/sacred/utils.py
index <HASH>..<HASH> 100755
--- a/sacred/utils.py
+++ b/sacred/utils.py
@@ -9,6 +9,7 @@ import re
import subprocess
import sys
import traceback as tb
+from threading import Timer
from functools import partial
from contextlib import contextmanager
@@ -157,8 +158,20 @... | added a timeout to tee_stdout and tee_stderr processes to avoid deadlock | py |
diff --git a/pylon/ui/branch_view.py b/pylon/ui/branch_view.py
index <HASH>..<HASH> 100644
--- a/pylon/ui/branch_view.py
+++ b/pylon/ui/branch_view.py
@@ -117,6 +117,7 @@ transformer_view = View(
#------------------------------------------------------------------------------
branch_view = View(
+ HGroup(
VG... | Adding HGroup to branch view. | py |
diff --git a/axiom/item.py b/axiom/item.py
index <HASH>..<HASH> 100644
--- a/axiom/item.py
+++ b/axiom/item.py
@@ -974,7 +974,8 @@ def declareLegacyItem(typeName, schemaVersion, attributes, dummyBases=()):
@param typeName: a string, the Axiom TypeName to have attributes for.
@param schemaVersion: an int, the ... | merge draft-folder-<I>-3. makes 'drafts' an inbox view instead of a separate page/fragment. author: jml, reviewer: moe. closes #<I> | py |
diff --git a/git/cmd.py b/git/cmd.py
index <HASH>..<HASH> 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -106,8 +106,6 @@ class Git(LazyMixin):
:raise GitCommandError: if the return status is not 0"""
status = self.proc.wait()
- self.proc.stdout.close()
- self.... | Fixed premature closing of stdout/stderr streams, which caused plenty of errors. The lines were added in commit b<I>ae , and I might consider a patch release soon or get ready with <I>. Lets hope not too many installations will be affected. | py |
diff --git a/tests/unit/test_state.py b/tests/unit/test_state.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_state.py
+++ b/tests/unit/test_state.py
@@ -503,6 +503,16 @@ class StateReturnsTestCase(TestCase):
'changes': {},
}
+ def test_state_output_check_changes_is_dict(self):
+ ... | Add unit test for checking policy so the "changes" keyword contains a dictionary type | py |
diff --git a/ev3devcmd.py b/ev3devcmd.py
index <HASH>..<HASH> 100644
--- a/ev3devcmd.py
+++ b/ev3devcmd.py
@@ -339,7 +339,7 @@ def main(argv=None):
parser_clean.set_defaults(func=cleanup)
# create the parser for the "clean" command
- parser_patch = subparsers.add_parser('patch', help='install additions o... | also renamed patch subcommand to install_additions | py |
diff --git a/blockstack_cli_0.14.1/blockstack_client/keys.py b/blockstack_cli_0.14.1/blockstack_client/keys.py
index <HASH>..<HASH> 100644
--- a/blockstack_cli_0.14.1/blockstack_client/keys.py
+++ b/blockstack_cli_0.14.1/blockstack_client/keys.py
@@ -151,6 +151,7 @@ def decrypt_multisig_info( enc_multisig_info, passwor... | test that the private key is actually a private key when decrypted | py |
diff --git a/junction/dispatch.py b/junction/dispatch.py
index <HASH>..<HASH> 100644
--- a/junction/dispatch.py
+++ b/junction/dispatch.py
@@ -267,14 +267,7 @@ class Dispatcher(object):
if not isinstance(msg, tuple) or len(msg) != 5:
# drop malformed messages
return
- service, ... | send_publish is now checking local, we don't have to do it separately for proxied publishes | py |
diff --git a/deploy/vagrant/bin/spot_request.py b/deploy/vagrant/bin/spot_request.py
index <HASH>..<HASH> 100644
--- a/deploy/vagrant/bin/spot_request.py
+++ b/deploy/vagrant/bin/spot_request.py
@@ -204,10 +204,10 @@ def main(args):
for r in requests:
instance_id = r.instance_id
info(... | only start waiting after the first try failed to get IP. | py |
diff --git a/pymatgen/core/surface.py b/pymatgen/core/surface.py
index <HASH>..<HASH> 100644
--- a/pymatgen/core/surface.py
+++ b/pymatgen/core/surface.py
@@ -903,7 +903,7 @@ class SlabGenerator:
"""
h = self._proj_height
- p = h/self.parent.lattice.d_hkl(self.miller_index)
+ p = round... | round p (the number of unit planes) to the nearest int to avoid problems with floats | py |
diff --git a/examples/restore_alerts.py b/examples/restore_alerts.py
index <HASH>..<HASH> 100644
--- a/examples/restore_alerts.py
+++ b/examples/restore_alerts.py
@@ -28,6 +28,7 @@ sdclient = SdcClient(sdc_token)
with open(alerts_dump_file, 'r') as f:
j = json.load(f)
for a in j['alerts']:
+ a['descri... | Appent note to Description indicating the Alert was created programmatically | py |
diff --git a/tests/integration/states/file.py b/tests/integration/states/file.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/file.py
+++ b/tests/integration/states/file.py
@@ -16,6 +16,7 @@ class FileTest(integration.ModuleCase):
file.symlink
'''
name = os.path.join(integration... | Re-add wrongly removed line. | py |
diff --git a/sumy/summarizers/text_rank.py b/sumy/summarizers/text_rank.py
index <HASH>..<HASH> 100644
--- a/sumy/summarizers/text_rank.py
+++ b/sumy/summarizers/text_rank.py
@@ -84,11 +84,7 @@ class TextRankSummarizer(AbstractSummarizer):
@staticmethod
def _rate_sentences_edge(words1, words2):
- ran... | TextRank: use built-in functions to count common words | py |
diff --git a/pyes/es.py b/pyes/es.py
index <HASH>..<HASH> 100644
--- a/pyes/es.py
+++ b/pyes/es.py
@@ -1328,6 +1328,12 @@ class ES(object):
body = self._encode_query(query)
return self._send_request('GET', path, body)
+ def encode_json(self, serializable):
+ """
+ Serialize to json ... | Bring back encode_json() as an ES method instead of function | py |
diff --git a/pyeda/nfexpr.py b/pyeda/nfexpr.py
index <HASH>..<HASH> 100644
--- a/pyeda/nfexpr.py
+++ b/pyeda/nfexpr.py
@@ -228,6 +228,32 @@ class NormalForm(boolfunc.Function, sat.DPLLInterface):
"""
raise NotImplementedError()
+ def absorb(self):
+ """Return the OR/AND expression after ab... | Add absorb method to NormalForm expressions | py |
diff --git a/glove/glove.py b/glove/glove.py
index <HASH>..<HASH> 100644
--- a/glove/glove.py
+++ b/glove/glove.py
@@ -22,13 +22,18 @@ class Glove(object):
"""
def __init__(self, no_components=30, learning_rate=0.05,
- alpha=0.75, max_count=100, max_loss=1e12):
+ alpha=0.75, ... | Reduce default value of max_loss, update docstrings. | py |
diff --git a/pybar/scans/calibrate_plsr_dac_transient.py b/pybar/scans/calibrate_plsr_dac_transient.py
index <HASH>..<HASH> 100644
--- a/pybar/scans/calibrate_plsr_dac_transient.py
+++ b/pybar/scans/calibrate_plsr_dac_transient.py
@@ -186,7 +186,7 @@ class PlsrDacTransientCalibration(AnalogScan):
# get fin... | ENH: select channel also when reading out data | py |
diff --git a/pygubudesigner/main.py b/pygubudesigner/main.py
index <HASH>..<HASH> 100644
--- a/pygubudesigner/main.py
+++ b/pygubudesigner/main.py
@@ -353,6 +353,7 @@ class PygubuUI(pygubu.TkApplication):
"Adds a widget to the widget tree."""
self.tree_editor.add_widget(classname)
+ self.tree... | Update main.py set focus at widget tree after add widget. | py |
diff --git a/pyontutils/utils.py b/pyontutils/utils.py
index <HASH>..<HASH> 100644
--- a/pyontutils/utils.py
+++ b/pyontutils/utils.py
@@ -323,7 +323,10 @@ class makeGraph:
except IndexError: # no label
slab = sub.toPython()
- obj = self.g.namespace_manager.qname(... | utils.py bugfix for cases where can't qname an object | py |
diff --git a/openquake/utils/tasks.py b/openquake/utils/tasks.py
index <HASH>..<HASH> 100644
--- a/openquake/utils/tasks.py
+++ b/openquake/utils/tasks.py
@@ -48,7 +48,7 @@ def distribute(task_func, (name, data), tf_args=None, ath=None, ath_args=None):
:param dict tf_args: The remaining (keyword) parameters for `t... | more enhanced documentation Former-commit-id: <I>a0a4cf3c<I>e<I>bc<I>a<I>ac<I>a<I>f6 | py |
diff --git a/sos/plugins/sar.py b/sos/plugins/sar.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/sar.py
+++ b/sos/plugins/sar.py
@@ -18,7 +18,7 @@ class Sar(Plugin,):
profiles = ('system', 'performance')
packages = ('sysstat',)
- sa_path = '/var/log/sa'
+ sa_path = '/var/log/sa/*'
option_list =... | [sar] Fix the parameter specified in add_copy_spec() to wildcard "/var/log/sa" is specified in add_copy_spec() in sar.py. However, if a directory is specified in the parameter of add_copy_spec(), --log-size does not work properly. Therefore, fix "/var/log/sa" to wildcard so that --log-size works correctly. Resolves:... | py |
diff --git a/src/binwalk/core/magic.py b/src/binwalk/core/magic.py
index <HASH>..<HASH> 100644
--- a/src/binwalk/core/magic.py
+++ b/src/binwalk/core/magic.py
@@ -790,6 +790,8 @@ class Magic(object):
Returns None.
'''
+ # Open file as UTF-8 to prevent decoding issues for non-ASCII bytes
+ ... | Fixed bug introduced by opening magic files as UTF-8. | py |
diff --git a/werkzeug/local.py b/werkzeug/local.py
index <HASH>..<HASH> 100644
--- a/werkzeug/local.py
+++ b/werkzeug/local.py
@@ -149,9 +149,9 @@ class LocalManager(object):
if locals is None:
self.locals = []
else:
- try:
- self.locals = list(locals)
- ... | fixed `LocalManager`: If a `local.Local` object is applied as `locals` (what is officially supported) it calls `Local.__iter__` which returns an empty list of `Local.__storage__` :) | py |
diff --git a/pdvega/_utils.py b/pdvega/_utils.py
index <HASH>..<HASH> 100644
--- a/pdvega/_utils.py
+++ b/pdvega/_utils.py
@@ -1,5 +1,8 @@
+import warnings
+
import numpy as np
import pandas as pd
+
from ._pandas_internals import infer_dtype as pd_infer_dtype | BUG: missing import in utils | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -12,6 +12,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
+import sphinx_nameko_theme
import pkg_resources
# If extensions (or modules to docum... | don't rely on setuptools | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -369,7 +369,6 @@ rinoh_documents = [('index', 'rinohtype', 'rinohtype',
'Brecht Machiels', False)]
rinoh_template = 'rinohtype.rtt'
-rinoh_paper_size = None # determined by the template con... | docs: rinoh_paper_size is no longer supported | py |
diff --git a/bakery/tasks.py b/bakery/tasks.py
index <HASH>..<HASH> 100644
--- a/bakery/tasks.py
+++ b/bakery/tasks.py
@@ -293,7 +293,7 @@ def copy_ufo_files(project, build, log):
# Get the styleName
styleName = _in_ufoFontInfo['styleName']
# Always have a regular style
- if styleName ... | tasks: Roman as Regular rename | py |
diff --git a/fedmsg/meta/__init__.py b/fedmsg/meta/__init__.py
index <HASH>..<HASH> 100644
--- a/fedmsg/meta/__init__.py
+++ b/fedmsg/meta/__init__.py
@@ -100,7 +100,7 @@ def make_processors(**config):
processors.append(processor.load()(_, **config))
except Exception as e:
log.warn("F... | Be more explicit with warnings from processors. Should have done this a long time ago. | py |
diff --git a/src/feat/agencies/bootstrap.py b/src/feat/agencies/bootstrap.py
index <HASH>..<HASH> 100755
--- a/src/feat/agencies/bootstrap.py
+++ b/src/feat/agencies/bootstrap.py
@@ -16,10 +16,13 @@ def parse_config_file(option, opt_str, value, parser):
cfg = ConfigParser.ConfigParser()
cfg.readfp(ope... | Improve the option parsing from config file. Large option name used instead of dest var. | py |
diff --git a/pyspectral/rsr_reader.py b/pyspectral/rsr_reader.py
index <HASH>..<HASH> 100644
--- a/pyspectral/rsr_reader.py
+++ b/pyspectral/rsr_reader.py
@@ -95,7 +95,7 @@ class RelativeSpectralResponse(object):
def _check_instrument(self):
"""Check and try fix instrument name if needed"""
- ins... | Instrument names are lower case, variable upper/lower case can be used in API | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ setup(
"Programming Language :: Python :: 2.6",
],
install_requires = [
- 'simplejson >= 2.1',
+ 'simplejson >= 2.0.9',
],
zip_safe = True,
) | Decrease version dependency for simplejson to <I> for lucid support | py |
diff --git a/tests/test_http.py b/tests/test_http.py
index <HASH>..<HASH> 100644
--- a/tests/test_http.py
+++ b/tests/test_http.py
@@ -293,11 +293,12 @@ class TestHTTPUtility(object):
'b': u'\";'
}
)
- strict_eq(
- set(http.dump_cookie('foo', 'bar baz ... | Fix wrong testcase Quoted from the dump_cookie docs: >On Python 3 the return value of this function will be a unicode >string, on Python 2 it will be a native string. So in both cases it's a native string. Also related: <URL> | py |
diff --git a/src/python/dxpy/scripts/dx_build_app.py b/src/python/dxpy/scripts/dx_build_app.py
index <HASH>..<HASH> 100755
--- a/src/python/dxpy/scripts/dx_build_app.py
+++ b/src/python/dxpy/scripts/dx_build_app.py
@@ -485,8 +485,9 @@ def _build_app_remote(mode, src_dir, publish=False, destination_override=None,
... | Add xenial as a remote app tarball builder (#<I>) | py |
diff --git a/buildbot/status/web/builder.py b/buildbot/status/web/builder.py
index <HASH>..<HASH> 100644
--- a/buildbot/status/web/builder.py
+++ b/buildbot/status/web/builder.py
@@ -82,7 +82,7 @@ class StatusResourceBuilder(HtmlResource, OneLineMixin):
data += "<h2>Recent Builds:</h2>\n"
data += "<ul... | (refs #<I>) fix typo numbuilds should be num_builds | py |
diff --git a/proselint/checks/oxymorons/misc.py b/proselint/checks/oxymorons/misc.py
index <HASH>..<HASH> 100644
--- a/proselint/checks/oxymorons/misc.py
+++ b/proselint/checks/oxymorons/misc.py
@@ -36,7 +36,6 @@ def check(text):
"build down",
"conspicuous absence",
"exact estimate",
- ... | executive secretary is not necessarily an oxymoron (#<I>) See discussion at <URL> | py |
diff --git a/fixtureless/factory.py b/fixtureless/factory.py
index <HASH>..<HASH> 100644
--- a/fixtureless/factory.py
+++ b/fixtureless/factory.py
@@ -69,24 +69,16 @@ class Factory(object):
def create(self, *args):
objs = list()
if inspect.isclass(args[0]) and issubclass(args[0], Model):
- ... | Pass single model *arg cases to the main loop in Factory.build/create | py |
diff --git a/tests/plugins/core/test_auth.py b/tests/plugins/core/test_auth.py
index <HASH>..<HASH> 100644
--- a/tests/plugins/core/test_auth.py
+++ b/tests/plugins/core/test_auth.py
@@ -86,6 +86,7 @@ def test_start_session_online_failure():
assert event.emit.called
assert not auth.username
+
@mock.patch('... | Add newline to appease flake8 gods | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name = "django-user-accounts",
- version = "0.9b1.dev1",
+ version = "1.0b1.dev1",
author = "Brian Rosner",
author_email = "brosner@gmail.... | we've decided to go directly for a <I> once a beta proves stable amoungst our sites | py |
diff --git a/pyvista/utilities/errors.py b/pyvista/utilities/errors.py
index <HASH>..<HASH> 100644
--- a/pyvista/utilities/errors.py
+++ b/pyvista/utilities/errors.py
@@ -302,6 +302,8 @@ class Report(scooby.Report):
'itkwidgets',
'tqdm',
'meshio',
+ 'jupyterlab',
+ ... | Add jupyterlab to Scooby Report (#<I>) * Add jupyterlab to Scooby Report * Update pyvista/utilities/errors.py | py |
diff --git a/site/tests/unittests/HTMLTestRunner.py b/site/tests/unittests/HTMLTestRunner.py
index <HASH>..<HASH> 100644
--- a/site/tests/unittests/HTMLTestRunner.py
+++ b/site/tests/unittests/HTMLTestRunner.py
@@ -633,8 +633,8 @@ class HTMLTestRunner(Template_mixin):
test(result)
self.stopTime = date... | comment out lines that cause HTMLTestRunner to fail | py |
diff --git a/src/pyrocore/scripts/rtcontrol.py b/src/pyrocore/scripts/rtcontrol.py
index <HASH>..<HASH> 100644
--- a/src/pyrocore/scripts/rtcontrol.py
+++ b/src/pyrocore/scripts/rtcontrol.py
@@ -148,7 +148,7 @@ class RtorrentControl(ScriptBaseWithConfig):
if headers:
# For headers, ensure we only ... | FIX: field names can also contain 0-9 | py |
diff --git a/honeybadger/payload.py b/honeybadger/payload.py
index <HASH>..<HASH> 100644
--- a/honeybadger/payload.py
+++ b/honeybadger/payload.py
@@ -14,7 +14,20 @@ def error_payload(exception, exc_traceback, config):
def _filename(name):
return name.replace(config.project_root, '[PROJECT_ROOT]')
- ... | added backtrace support for honeybadger.notify (fixes #6) | py |
diff --git a/salt/modules/solarispkg.py b/salt/modules/solarispkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/solarispkg.py
+++ b/salt/modules/solarispkg.py
@@ -23,7 +23,7 @@ def __virtual__():
'''
Set the virtual pkg module if the os is Solaris
'''
- if __grains__['os'] == 'Solaris':
+ if __... | Update solarispkg.py - Change OS detection to prevent allocating to Solaris <I> by default (SVR4 packaging system is deprecated on Solaris <I>) | py |
diff --git a/tango_shared/tests.py b/tango_shared/tests.py
index <HASH>..<HASH> 100644
--- a/tango_shared/tests.py
+++ b/tango_shared/tests.py
@@ -1,8 +1,18 @@
+import unittest
+
from django.conf import settings
from django.core.urlresolvers import reverse
+from django.db import models
from django.template import Te... | using dummy model for test to get object | py |
diff --git a/test/test_vtk.py b/test/test_vtk.py
index <HASH>..<HASH> 100644
--- a/test/test_vtk.py
+++ b/test/test_vtk.py
@@ -27,6 +27,7 @@ test_set = [
helpers.add_cell_data(helpers.tri_mesh, 1),
helpers.add_cell_data(helpers.tri_mesh, 2),
helpers.add_cell_data(helpers.tri_mesh, 3),
+ helpers.add_ce... | added a test of 2d->3d vectors for VTK | py |
diff --git a/lazyarray.py b/lazyarray.py
index <HASH>..<HASH> 100644
--- a/lazyarray.py
+++ b/lazyarray.py
@@ -400,7 +400,7 @@ class larray(object):
__div__ = lazy_operation('div')
__rdiv__ = lazy_operation('div', reversed=True)
__truediv__ = lazy_operation('truediv')
- __truediv__ = lazy_operation('... | Fixed small but important bug due to a typo | py |
diff --git a/xibless/table.py b/xibless/table.py
index <HASH>..<HASH> 100644
--- a/xibless/table.py
+++ b/xibless/table.py
@@ -99,6 +99,7 @@ class ListView(TableView):
col = self.addColumn('', '', self.width)
col.userResizable = False
col.autoResizable = True
+ col.editable = False
... | By default, the ListView is not editable. | py |
diff --git a/pyxmpp2/test/resolver.py b/pyxmpp2/test/resolver.py
index <HASH>..<HASH> 100644
--- a/pyxmpp2/test/resolver.py
+++ b/pyxmpp2/test/resolver.py
@@ -182,10 +182,10 @@ class _TestResolver(unittest.TestCase):
self.assertEqual(len(self.address_result), len(addresses))
expected = [[]] * 20
... | win fix: test/resolver.py: hardcoded numbers fixed In two places hardcoded numbers where used instead of AF_INET and AF_INET6, which caused problems on Windows, where AF_INET6 has a different value | py |
diff --git a/featurex/extractors/image.py b/featurex/extractors/image.py
index <HASH>..<HASH> 100644
--- a/featurex/extractors/image.py
+++ b/featurex/extractors/image.py
@@ -170,7 +170,7 @@ class ClarifaiFeaturesExtractor(ImageExtractor):
If None, defaults to the general image tagger.
'''
- def... | added ability to select specififc classes | py |
diff --git a/fusesoc/core.py b/fusesoc/core.py
index <HASH>..<HASH> 100644
--- a/fusesoc/core.py
+++ b/fusesoc/core.py
@@ -90,6 +90,12 @@ class Core:
if self.provider:
self.files_root = self.provider.files_root
+ # We need the component file here, but it might not be
+ ... | Fetch core if IP-XACT component file is missing | py |
diff --git a/socketio/sgunicorn.py b/socketio/sgunicorn.py
index <HASH>..<HASH> 100644
--- a/socketio/sgunicorn.py
+++ b/socketio/sgunicorn.py
@@ -32,6 +32,9 @@ class GunicornWebSocketWSGIHandler(WebSocketHandler):
class GeventSocketIOBaseWorker(GeventPyWSGIWorker):
""" The base gunicorn worker class """
+
+ ... | added transports to gunicorn worker and nginx worker without websocket support | py |
diff --git a/flask_security/decorators.py b/flask_security/decorators.py
index <HASH>..<HASH> 100644
--- a/flask_security/decorators.py
+++ b/flask_security/decorators.py
@@ -48,6 +48,8 @@ def _check_token():
args_key = _security.token_authentication_key
header_token = request.headers.get(header_key, None)
... | Get auth token from JSON request. | py |
diff --git a/prom/interface/sqlite.py b/prom/interface/sqlite.py
index <HASH>..<HASH> 100644
--- a/prom/interface/sqlite.py
+++ b/prom/interface/sqlite.py
@@ -37,9 +37,12 @@ from .base import SQLInterface, SQLConnection
class SQLiteRowDict(sqlite3.Row):
+ def __getitem__(self, k):
+ return super(SQLiteRo... | <I>. A better approach on fixing the SQLite row byte string problem in __getitem__ | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,7 @@ def is_requirement(line):
setup(
name='edx-ecommerce-worker',
- version='1.1.2',
+ version='1.1.3',
description='Celery tasks supporting the operations of edX\'s ecommerce service',
long_... | Version bump up. (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup
setup(
name='apns2',
- version='0.5.0',
+ version='0.6.0',
packages=['apns2'],
install_requires=[
'hyper>=0.7', | version bump -> <I> | py |
diff --git a/openprovider/api.py b/openprovider/api.py
index <HASH>..<HASH> 100644
--- a/openprovider/api.py
+++ b/openprovider/api.py
@@ -11,6 +11,7 @@ import os
import requests
from openprovider.data.exception_map import from_code
+from openprovider.exceptions import ServiceUnavailable
from openprovider.modules ... | Raise ServiceUnavailable if the status code is not ok | py |
diff --git a/spec/utils.py b/spec/utils.py
index <HASH>..<HASH> 100644
--- a/spec/utils.py
+++ b/spec/utils.py
@@ -19,7 +19,8 @@ def class_members(obj):
def my_getattr(self, name):
if not self._parent_inst:
parent = self._parent()
- parent.setup()
+ if hasattr(parent, 'setup') and callable(... | Don't barf on outer class attr access when setup() not defined | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ requirements = (
setup(
name='combine',
- version='0.0.5.dev0',
+ version='0.0.5',
description='A helpful, simple static site generator.',
long_description=long_description,
long_des... | Preparing release <I> | py |
diff --git a/spyderlib/widgets/externalshell/pythonshell.py b/spyderlib/widgets/externalshell/pythonshell.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/externalshell/pythonshell.py
+++ b/spyderlib/widgets/externalshell/pythonshell.py
@@ -379,7 +379,8 @@ class ExternalPythonShell(ExternalShellBase):
... | External Console: Improve a signal connection (to make it more reliable) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ version = '6.0.0'
install_requires = (
- 'djangorestframework>=2.4.3,<3',
+ 'djangorestframework>=2.4.4,<3',
'incuna_mail>=2.0.0,<3',
) | Update `djangorestframework` from <I> to <I> | py |
diff --git a/aquarius/events/events_monitor.py b/aquarius/events/events_monitor.py
index <HASH>..<HASH> 100644
--- a/aquarius/events/events_monitor.py
+++ b/aquarius/events/events_monitor.py
@@ -350,7 +350,7 @@ class EventsMonitor:
'type': '',
'address': '',
'pools': [],
- ... | set isConsumable to undefined for new asset. | py |
diff --git a/tests/test_completion.py b/tests/test_completion.py
index <HASH>..<HASH> 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -13,6 +13,18 @@ def test_script_returns_zsh_script_when_zsh_shell_name(mocker):
assert line in text
+def test_script_returns_fish_script_when_fish_sh... | test(completion): cover missing lines regarding Fish completion | py |
diff --git a/tests/test_controlfile.py b/tests/test_controlfile.py
index <HASH>..<HASH> 100644
--- a/tests/test_controlfile.py
+++ b/tests/test_controlfile.py
@@ -95,5 +95,4 @@ class ControlTest(unittest.TestCase):
def test_controlfile_without_auth(self):
file_path = os.path.join(os.path.dirname(__file__)... | Removed debug output from test. | py |
diff --git a/pods/notebook.py b/pods/notebook.py
index <HASH>..<HASH> 100644
--- a/pods/notebook.py
+++ b/pods/notebook.py
@@ -205,7 +205,7 @@ def display_plots(filebase, directory=None, width=600, height=40, **kwargs):
if directory is not None:
filename = directory + '/' + filename
if ex... | Update image display functionality for compatability with google colab. | py |
diff --git a/porespy/visualization/__funcs__.py b/porespy/visualization/__funcs__.py
index <HASH>..<HASH> 100644
--- a/porespy/visualization/__funcs__.py
+++ b/porespy/visualization/__funcs__.py
@@ -7,6 +7,7 @@ def set_mpl_style(): # pragma: no cover
mfont = 14
lfont = 14
+ image_props = {'interpolation... | Add interpolation=None to settings for imshow to look sharper | py |
diff --git a/tests/test_api.py b/tests/test_api.py
index <HASH>..<HASH> 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -436,6 +436,7 @@ class TestOSBS(object):
'git_uri': TEST_GIT_URI,
'git_ref': TEST_GIT_REF,
'user': TEST_USER,
+ 'release': '1'
}
... | Test that release value can be used in OSBS api | py |
diff --git a/geneparse/__init__.py b/geneparse/__init__.py
index <HASH>..<HASH> 100644
--- a/geneparse/__init__.py
+++ b/geneparse/__init__.py
@@ -83,5 +83,6 @@ parsers = {
"chrom-split-impute2": _SplitChromosomeReaderFactory(
impute2.Impute2Reader
),
+ "chrom-split-bgen": _SplitChromosomeReaderFa... | Added a chrom-split-bgen reader using the _SplitChromosomeReaderFactory. It should work, but should be tested on real data before merging. | py |
diff --git a/pyshtools/make_docs.py b/pyshtools/make_docs.py
index <HASH>..<HASH> 100755
--- a/pyshtools/make_docs.py
+++ b/pyshtools/make_docs.py
@@ -101,19 +101,19 @@ def process_mddoc(fname_mddoc):
match = reh1.search(mdstring)
while match is not None:
mdstring = re.sub(match.group(0), match.group... | Remove extra line break after headers in shtools docstrings. | py |
diff --git a/datapackage_pipelines/manager/tasks.py b/datapackage_pipelines/manager/tasks.py
index <HASH>..<HASH> 100644
--- a/datapackage_pipelines/manager/tasks.py
+++ b/datapackage_pipelines/manager/tasks.py
@@ -46,7 +46,7 @@ async def collect_stats(infile):
try:
line = await reader.readline()
... | improve the logging of exception "Too large stats object!" - to provide some more details | py |
diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1166,7 +1166,7 @@ class DataFrame(NDFrame):
Missing data representation
float_format : string, default None
Format string for floating point n... | DOC: Use correct, non-deprecated arg name | py |
diff --git a/pysat/instruments/sw_kp.py b/pysat/instruments/sw_kp.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/sw_kp.py
+++ b/pysat/instruments/sw_kp.py
@@ -301,6 +301,12 @@ def download(date_array, tag, sat_id, data_path, user=None, password=None):
except ftplib.error_perm as exception:
... | STY: Provided more context for bare raise within download method | py |
diff --git a/cosmic_ray/cli.py b/cosmic_ray/cli.py
index <HASH>..<HASH> 100644
--- a/cosmic_ray/cli.py
+++ b/cosmic_ray/cli.py
@@ -302,7 +302,9 @@ def handle_worker(args):
work_item = cosmic_ray.worker.worker(
Path(args['<module-path>']),
config.python_version, args['<oper... | Correctly calculating the test command in the worker handler. | py |
diff --git a/sumy/evaluation/__main__.py b/sumy/evaluation/__main__.py
index <HASH>..<HASH> 100644
--- a/sumy/evaluation/__main__.py
+++ b/sumy/evaluation/__main__.py
@@ -83,7 +83,7 @@ def build_lsa(parser, language):
return summarizer
-dtext-rank build_text_rank(parser, language):
+def build_text_rank(parser,... | Fixed syntax error - I think nobody use this :) | py |
diff --git a/sqlite_framework/sql/statement/builder/update.py b/sqlite_framework/sql/statement/builder/update.py
index <HASH>..<HASH> 100644
--- a/sqlite_framework/sql/statement/builder/update.py
+++ b/sqlite_framework/sql/statement/builder/update.py
@@ -9,6 +9,11 @@ class Update(TableClause, WhereClause, StatementBuil... | Do not allow UPDATE statements without a where clause by default, and add an update_all_rows method to force them | py |
diff --git a/allauth/socialaccount/providers/kakao/provider.py b/allauth/socialaccount/providers/kakao/provider.py
index <HASH>..<HASH> 100644
--- a/allauth/socialaccount/providers/kakao/provider.py
+++ b/allauth/socialaccount/providers/kakao/provider.py
@@ -31,12 +31,13 @@ class KakaoProvider(OAuth2Provider):
def... | fix(kakao): Handle case where email is not present | py |
diff --git a/wpull/http/connection.py b/wpull/http/connection.py
index <HASH>..<HASH> 100644
--- a/wpull/http/connection.py
+++ b/wpull/http/connection.py
@@ -230,6 +230,9 @@ class Connection(object):
else:
error_class = (ConnectionError, StreamClosedError, ssl.SSLError)
+ if not self._ke... | connection.py: Sets connection close on request header if not keep-alive. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -241,6 +241,7 @@ setup(
'cffi >= 1.9.1', # to build the leptonica module
'pytest-runner', # to enable python setup.py test
'setuptools_scm', # so that version will work
+ '... | Try setuptools_scm_git_archive again | py |
diff --git a/code/macroeco/data.py b/code/macroeco/data.py
index <HASH>..<HASH> 100644
--- a/code/macroeco/data.py
+++ b/code/macroeco/data.py
@@ -14,6 +14,7 @@ Functions
from __future__ import division
import numpy as np
+import warnings
class XYTable():
@@ -111,7 +112,7 @@ class XYTable():
try:
... | Change print statement in IOError to warning | py |
diff --git a/u2flib_host/hid_transport.py b/u2flib_host/hid_transport.py
index <HASH>..<HASH> 100644
--- a/u2flib_host/hid_transport.py
+++ b/u2flib_host/hid_transport.py
@@ -68,7 +68,7 @@ def list_devices():
for d in hid.enumerate(0, 0):
usage_page = d['usage_page']
if usage_page == 0xf1d0 and d... | append instance of device, not class | py |
diff --git a/src/python/grpcio_tests/tests/_runner.py b/src/python/grpcio_tests/tests/_runner.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio_tests/tests/_runner.py
+++ b/src/python/grpcio_tests/tests/_runner.py
@@ -183,7 +183,6 @@ class Runner(object):
pass
try_set_handler('SIGINT', ... | Stop trying to handle SIGSEGV | py |
diff --git a/abilian/web/forms/validators.py b/abilian/web/forms/validators.py
index <HASH>..<HASH> 100644
--- a/abilian/web/forms/validators.py
+++ b/abilian/web/forms/validators.py
@@ -205,3 +205,11 @@ anyof = AnyOf
noneof = NoneOf
flaghidden = FlagHidden
renderempty = RenderEmpty
+
+VALIDATORS = {
+ 'email': e... | create a VALIDATORS list directly here instead of relying on this simple thing in core. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ def main():
namespace_packages=[b'box', b'box.test'],
test_suite='test',
zip_safe=False,
- keywords='genty tests generative',
+ keywords=('genty', 'tests', 'generative'),... | Fix keywords in setup.py. keywords expects an iterable and we passed in a string, so the keywords were g,e,n,t,y, ,t,e,s,t,s,... | 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
@@ -1068,7 +1068,7 @@ def install(name=None,
if pkg_params is None or len(pkg_params) == 0:
return {}
- version_num = version
+ version_num = Wildcard(... | Add wildcard support to Zypper | py |
diff --git a/sregistry/database/sqlite.py b/sregistry/database/sqlite.py
index <HASH>..<HASH> 100644
--- a/sregistry/database/sqlite.py
+++ b/sregistry/database/sqlite.py
@@ -202,6 +202,7 @@ def mv(self, image_name, path):
# Ensure directory exists
if not os.path.exists(filedir):
... | adding missing exit if path doesn't exist | py |
diff --git a/ballet/validation/alpha_investing.py b/ballet/validation/alpha_investing.py
index <HASH>..<HASH> 100644
--- a/ballet/validation/alpha_investing.py
+++ b/ballet/validation/alpha_investing.py
@@ -32,6 +32,7 @@ class AlphaInvestingAcceptanceEvaluator(FeatureAcceptanceEvaluator):
y = self.y
m... | fix issue where feature was double counted | py |
diff --git a/indra/tests/test_gnbr.py b/indra/tests/test_gnbr.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_gnbr.py
+++ b/indra/tests/test_gnbr.py
@@ -14,6 +14,16 @@ def test_standardize_agent():
assert agent[0].db_refs.get('HGNC') == '1097'
+def test_multiple_genes():
+ agents = get_std_gene('Erk1/... | Add one more test for gene normalization | py |
diff --git a/mechanicalsoup/__version__.py b/mechanicalsoup/__version__.py
index <HASH>..<HASH> 100644
--- a/mechanicalsoup/__version__.py
+++ b/mechanicalsoup/__version__.py
@@ -2,5 +2,5 @@ __title__ = 'MechanicalSoup'
__description__ = 'A Python library for automating interaction with websites'
__url__ = 'https://m... | Fix __version__ (mistake in conflicts resolution in previous commit) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ class DiscoverTest(Command):
setup(
name='isc_dhcp_leases',
- version='0.4.0',
+ version='0.4.1',
packages=['isc_dhcp_leases'],
url='https://github.com/MartijnBraam/python-isc-dhcp-leases... | Released <I> with IPv6 bugfixes | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.