diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/src/interface/cli.py b/src/interface/cli.py
index <HASH>..<HASH> 100644
--- a/src/interface/cli.py
+++ b/src/interface/cli.py
@@ -38,8 +38,7 @@
TODO: None
"""
-import sys
-import getopt
+import sys, copy, getopt
DEFAULT_TYPE = str | fixed missing include for copy module in cli.py | py |
diff --git a/geoplot/geoplot.py b/geoplot/geoplot.py
index <HASH>..<HASH> 100644
--- a/geoplot/geoplot.py
+++ b/geoplot/geoplot.py
@@ -1317,14 +1317,14 @@ def kdeplot(
if self.projection:
sns.kdeplot(
- pd.Series([p.x for p in self.df.geometry]),
- p... | Set explicit x/y params in KDEPlot (#<I>) | py |
diff --git a/nanoplot/NanoPlot.py b/nanoplot/NanoPlot.py
index <HASH>..<HASH> 100755
--- a/nanoplot/NanoPlot.py
+++ b/nanoplot/NanoPlot.py
@@ -26,7 +26,7 @@ import pysam
import nanoget
import nanoplotter
import nanomath
-__version__="0.9.2"
+__version__="0.9.3"
def main():
@@ -156,10 +156,12 @@ def filterData(d... | fixed mistake in log plot readlengthPointer | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ setup(
requirements=[
'pygooglechart',
'django-paging',
- 'django-indexer',
+ 'django-indexer==0.2',
],
include_package_data=True,
classifiers=[ | Update version for indexer in reqs | py |
diff --git a/tests/test_pfs_client.py b/tests/test_pfs_client.py
index <HASH>..<HASH> 100644
--- a/tests/test_pfs_client.py
+++ b/tests/test_pfs_client.py
@@ -462,7 +462,8 @@ def test_flush_commit(pfs_client):
with pfs_client.commit('test-repo-1', 'master') as c:
pfs_client.put_file_bytes(c, 'input.json',... | Updated test to use new generator-based `flush_commit` | py |
diff --git a/test/test_dedupe.py b/test/test_dedupe.py
index <HASH>..<HASH> 100644
--- a/test/test_dedupe.py
+++ b/test/test_dedupe.py
@@ -156,7 +156,8 @@ class PredicatesTest(unittest.TestCase):
assert dedupe.predicates.nearIntegersPredicate(field) == (15, 16, 17, 122, 123, 124)
assert dedupe.predicates.comm... | Add test for 'initials' predicate | py |
diff --git a/phoebe/algorithms/marching.py b/phoebe/algorithms/marching.py
index <HASH>..<HASH> 100644
--- a/phoebe/algorithms/marching.py
+++ b/phoebe/algorithms/marching.py
@@ -887,7 +887,7 @@ def discretize(delta=0.1, max_triangles=None, potential='BinaryRoche', *args):
omega[i] = (atan2(zeta2, eta2)-a... | Half-fixed! The primary star mesh is now identical, but the secondary isn't. I suspect it's np.allclose() tolerance. Trying 1e-5. | py |
diff --git a/indra/assemblers/html/assembler.py b/indra/assemblers/html/assembler.py
index <HASH>..<HASH> 100644
--- a/indra/assemblers/html/assembler.py
+++ b/indra/assemblers/html/assembler.py
@@ -74,7 +74,8 @@ class HtmlAssembler(object):
rest_api_results=self.rest_api_results)
... | Make format_evidence_text into staticmethod | py |
diff --git a/lambda_decorators.py b/lambda_decorators.py
index <HASH>..<HASH> 100644
--- a/lambda_decorators.py
+++ b/lambda_decorators.py
@@ -265,14 +265,14 @@ def after(func):
>>> # to create a reusable decorator
>>> @after
- ... def teapot(retval):
- ... retval['statusCode'] = 4... | gnu terry pratchet, why not | py |
diff --git a/safe/utilities/i18n.py b/safe/utilities/i18n.py
index <HASH>..<HASH> 100644
--- a/safe/utilities/i18n.py
+++ b/safe/utilities/i18n.py
@@ -8,6 +8,7 @@ __author__ = 'timlinux'
def tr(text):
"""We define a tr() alias here since the utilities implementation below
is not a class and does not inherit ... | Ensure that the text input to our tr is a string. | py |
diff --git a/demcoreg/dem_align.py b/demcoreg/dem_align.py
index <HASH>..<HASH> 100755
--- a/demcoreg/dem_align.py
+++ b/demcoreg/dem_align.py
@@ -181,9 +181,9 @@ def getparser():
parser.add_argument('-mask_list', nargs='+', type=str, default=['glaciers',], choices=dem_mask.mask_choices, \
help='Defin... | dem_align: update usage for polynomial fits | py |
diff --git a/traces/timeseries.py b/traces/timeseries.py
index <HASH>..<HASH> 100644
--- a/traces/timeseries.py
+++ b/traces/timeseries.py
@@ -505,6 +505,7 @@ class TimeSeries(object):
period_time = sampling_period
temp = deepcopy(self)
+ temp.default = EXTEND_BACK
temp.domain = ... | setting default of temp timeseries in moving average | py |
diff --git a/tests/test_jobs.py b/tests/test_jobs.py
index <HASH>..<HASH> 100644
--- a/tests/test_jobs.py
+++ b/tests/test_jobs.py
@@ -131,7 +131,7 @@ def test_long_error_stack():
# create long error stack
STACK_SIZE = 89942 # Does not fit into small blob (should be 64k, but found to be higher)
long_err... | Update tests/test_jobs.py | py |
diff --git a/pymemcache/test/test_client_hash.py b/pymemcache/test/test_client_hash.py
index <HASH>..<HASH> 100644
--- a/pymemcache/test/test_client_hash.py
+++ b/pymemcache/test/test_client_hash.py
@@ -137,10 +137,11 @@ class TestHashClient(ClientTestMixin, unittest.TestCase):
client._get_client = get_clien... | Introduce some missing .set() assertions Also wrap a line that exceeds <I> characters. | py |
diff --git a/stash.py b/stash.py
index <HASH>..<HASH> 100755
--- a/stash.py
+++ b/stash.py
@@ -51,17 +51,19 @@ class StashException(Exception):
class Stash(object):
+ PATCHES_PATH = os.path.expanduser('~/.patches')
+
def __init__(self):
# Check if the patches path exists, and in case it does not, ... | Make a class constant out of the patches path. Storing the patches path in a class constant allows us to easily override the location where patches are stored in unit tests. | py |
diff --git a/test/test_zotero.py b/test/test_zotero.py
index <HASH>..<HASH> 100644
--- a/test/test_zotero.py
+++ b/test/test_zotero.py
@@ -35,7 +35,10 @@ import time
import httpretty
from dateutil import parser
from httpretty import HTTPretty
-from pyzotero.pyzotero import zotero as z
+try:
+ from pyzotero.pyzote... | Don't throw an import error if tests are being run in "test" dir | py |
diff --git a/test/test_types_values.py b/test/test_types_values.py
index <HASH>..<HASH> 100644
--- a/test/test_types_values.py
+++ b/test/test_types_values.py
@@ -352,9 +352,9 @@ class ConstantsTest(ClangTest):
#define B 1.0
#define C 0.8249
""")
- self.failUnlessAlmostEqual(self.nam... | remove Deprecated assertEquals | py |
diff --git a/realtime/shake_event.py b/realtime/shake_event.py
index <HASH>..<HASH> 100644
--- a/realtime/shake_event.py
+++ b/realtime/shake_event.py
@@ -813,7 +813,8 @@ class ShakeEvent(QObject):
None
"""
- myRGBList = ['#FFFFFF', '#209fff', '#00cfff', '#55ffff', '#aaffff',
+ myR... | Fix off by one issue in cities table colouring | py |
diff --git a/unleash/plugin.py b/unleash/plugin.py
index <HASH>..<HASH> 100644
--- a/unleash/plugin.py
+++ b/unleash/plugin.py
@@ -4,6 +4,7 @@ from pluginbase import PluginBase
from . import plugins
from .depgraph import DependencyGraph
+from .exc import InvocationError
plugin_base = PluginBase(package='unleash.... | If a plugin dependency is missing, raise an InvocationError. | py |
diff --git a/tests/test_backend.py b/tests/test_backend.py
index <HASH>..<HASH> 100644
--- a/tests/test_backend.py
+++ b/tests/test_backend.py
@@ -33,11 +33,11 @@ def test_render_missing_file(quiet, engine='dot', format_='pdf'):
@pytest.exe
def test_render(capsys, tmpdir, engine='dot', format_='pdf',
... | use lpath for LocalPath | py |
diff --git a/json5/lib.py b/json5/lib.py
index <HASH>..<HASH> 100644
--- a/json5/lib.py
+++ b/json5/lib.py
@@ -231,27 +231,38 @@ def _is_reserved_word(k):
global _reserved_word_re
if _reserved_word_re is None:
+ # List taken from section 7.6.1 of ECMA-262.
_reserved_word_re = re.compile('|'.... | add future reserved words and null/false/true to reserved words for idenitifiers | py |
diff --git a/lastmatch.py b/lastmatch.py
index <HASH>..<HASH> 100755
--- a/lastmatch.py
+++ b/lastmatch.py
@@ -11,6 +11,14 @@ either Gstreamer (and its Python bindings) or pymad installed.
"""
import sys
import os
+
+# Just a little trickery to avoid importing the "lastfp" package that's
+# in the source distributio... | trick to prevent importing of wrong lastfp package | py |
diff --git a/saltcloud/cloud.py b/saltcloud/cloud.py
index <HASH>..<HASH> 100644
--- a/saltcloud/cloud.py
+++ b/saltcloud/cloud.py
@@ -223,6 +223,20 @@ class Cloud(object):
)
return
+ deploy = vm_.get(
+ 'deploy', self.opts.get(
+ '{0}.deploy'.format(self.pro... | Fail as soon as we realize we're deploying and master was not specified anywhere in the configuration. | py |
diff --git a/x10_any/_version.py b/x10_any/_version.py
index <HASH>..<HASH> 100644
--- a/x10_any/_version.py
+++ b/x10_any/_version.py
@@ -1,2 +1,2 @@
-version_tuple = __version_info__ = (0, 0, 9)
+version_tuple = __version_info__ = (0, 0, 9, 'git')
version = version_string = __version__ = '.'.join(map(str, __version_... | Set version string to indicate its from git checkout | py |
diff --git a/lwr/manager_factory.py b/lwr/manager_factory.py
index <HASH>..<HASH> 100644
--- a/lwr/manager_factory.py
+++ b/lwr/manager_factory.py
@@ -28,7 +28,7 @@ def build_managers(app, conf):
managers = {}
if not job_managers_config:
- managers[DEFAULT_MANAGER_NAME] = _build_manager(QueueManager,... | Fix for applying assign_ids property to default job manager. | py |
diff --git a/src/front-door/azext_front_door/custom.py b/src/front-door/azext_front_door/custom.py
index <HASH>..<HASH> 100644
--- a/src/front-door/azext_front_door/custom.py
+++ b/src/front-door/azext_front_door/custom.py
@@ -285,7 +285,7 @@ def configure_fd_frontend_endpoint_disable_https(cmd, resource_group_name, fr... | Making 'FrontDoor' Default for certificate source (#<I>) | py |
diff --git a/djangocms_page_meta/__init__.py b/djangocms_page_meta/__init__.py
index <HASH>..<HASH> 100644
--- a/djangocms_page_meta/__init__.py
+++ b/djangocms_page_meta/__init__.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
-__version__ = '0.8.... | Bump develop version [ci skip] | py |
diff --git a/ocrd/ocrd/resource_manager.py b/ocrd/ocrd/resource_manager.py
index <HASH>..<HASH> 100644
--- a/ocrd/ocrd/resource_manager.py
+++ b/ocrd/ocrd/resource_manager.py
@@ -137,7 +137,7 @@ class OcrdResourceManager():
def location_to_resource_dir(self, location):
return '/usr/local/share/ocrd-resour... | :bug: resmgr: --location cwd should still include "ocrd-resources" | py |
diff --git a/falafel/config/specs.py b/falafel/config/specs.py
index <HASH>..<HASH> 100644
--- a/falafel/config/specs.py
+++ b/falafel/config/specs.py
@@ -121,6 +121,7 @@ static_specs = {
"ntpq_pn" : CommandSpec("/usr/sbin/ntpq -pn"),
"ovirt_engine_confd" : PatternSpec(r"etc/ovirt-eng... | Add "parted_-l" to the spec | py |
diff --git a/glue/pipeline.py b/glue/pipeline.py
index <HASH>..<HASH> 100644
--- a/glue/pipeline.py
+++ b/glue/pipeline.py
@@ -1229,7 +1229,8 @@ class CondorDAG:
if not self.__dag_file_path:
raise CondorDAGError, "No path for DAG file"
try:
- outfilename = self.__dag_file_path.replace(".dag", ".sh... | Fixed the write_script() method for dax | py |
diff --git a/squad/http.py b/squad/http.py
index <HASH>..<HASH> 100644
--- a/squad/http.py
+++ b/squad/http.py
@@ -53,7 +53,7 @@ def auth(func, mode=AuthMode.READ):
group = get_object_or_404(models.Group, slug=group_slug)
request.group = group
- user = request.user
+ user = auth_user_f... | http: authenticate users before checking permissions Authentication with tokens is now performed before checking group and project permissions. Since auth_user_from_request passes AnonymousUser back if no authentication can be done this pattch will not change the way we deal with anonoymous requests. It fixes issues w... | py |
diff --git a/ariadne/asgi.py b/ariadne/asgi.py
index <HASH>..<HASH> 100644
--- a/ariadne/asgi.py
+++ b/ariadne/asgi.py
@@ -58,9 +58,9 @@ class GraphQL:
async def handle_http(self, receive: Receive, send: Send, *, scope: Scope):
request = Request(scope=scope, receive=receive)
- if request.method =... | Temporarily disable query execution over GET | py |
diff --git a/sendgrid/helpers/mail/open_tracking.py b/sendgrid/helpers/mail/open_tracking.py
index <HASH>..<HASH> 100644
--- a/sendgrid/helpers/mail/open_tracking.py
+++ b/sendgrid/helpers/mail/open_tracking.py
@@ -11,7 +11,7 @@ class OpenTracking(object):
:param enable: If open tracking is enabled.
:... | Update substitution_tag requirements The notes state that type text is required for substition_tag, but it requires a type OpenTrackingSubstitutionTag | py |
diff --git a/scout/server/blueprints/variants/controllers.py b/scout/server/blueprints/variants/controllers.py
index <HASH>..<HASH> 100644
--- a/scout/server/blueprints/variants/controllers.py
+++ b/scout/server/blueprints/variants/controllers.py
@@ -471,17 +471,18 @@ def hide_compounds_query(store, variant_obj, query_... | relax the cadd check a tad | py |
diff --git a/python/lowdim.py b/python/lowdim.py
index <HASH>..<HASH> 100644
--- a/python/lowdim.py
+++ b/python/lowdim.py
@@ -112,7 +112,7 @@ if len(argsIn) > 10 :
if analMode == 'mean' :
resp = X.map(lambda x : dot(y,x))
-if analMode == 'standardize' :
+if analMode == 'corr' :
resp = X.map(lambda x : dot(y,(x-... | Changed name of correlation based analysis | py |
diff --git a/pypresence/baseclient.py b/pypresence/baseclient.py
index <HASH>..<HASH> 100644
--- a/pypresence/baseclient.py
+++ b/pypresence/baseclient.py
@@ -16,6 +16,7 @@ class BaseClient:
pipe = kwargs.get('pipe', 0)
loop = kwargs.get('loop', None)
handler = kwargs.get('handler', None)
+ ... | Prep for async support Prepare for full async support? | py |
diff --git a/salt/modules/ps.py b/salt/modules/ps.py
index <HASH>..<HASH> 100644
--- a/salt/modules/ps.py
+++ b/salt/modules/ps.py
@@ -4,8 +4,23 @@ See http://code.google.com/p/psutil.
'''
import time
-import psutil
-
+try:
+ import psutil
+ has_psutil = True
+except ImportError:
+ has_psutil = False
+
+de... | Disable the ps salt module on python <I> There are too many issues with it. Fixes #<I> | py |
diff --git a/sos/plugins/devicemapper.py b/sos/plugins/devicemapper.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/devicemapper.py
+++ b/sos/plugins/devicemapper.py
@@ -21,6 +21,8 @@ class DeviceMapper(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
plugin_name = 'devicemapper'
profiles = ('storage',)
... | [devicemapper] add missing files and packages lists | py |
diff --git a/pdf/gui/_version.py b/pdf/gui/_version.py
index <HASH>..<HASH> 100644
--- a/pdf/gui/_version.py
+++ b/pdf/gui/_version.py
@@ -1 +1 @@
-__version__ = '1.0.0'
+__version__ = '1.1.0' | Updated to version <I> Added MergeGUI | py |
diff --git a/tests/smoketest.py b/tests/smoketest.py
index <HASH>..<HASH> 100755
--- a/tests/smoketest.py
+++ b/tests/smoketest.py
@@ -47,7 +47,7 @@ run("pip install -r data-store-cli/requirements.txt")
run("python -c 'import sys, hca.regenerate_api as r; r.generate_python_bindings(sys.argv[1])' swagger.json",
cw... | Smoketest: Don't auto-upgrade unpinned deps for data-store-cli This can interfere with other tests. | py |
diff --git a/law/contrib/glite/__init__.py b/law/contrib/glite/__init__.py
index <HASH>..<HASH> 100644
--- a/law/contrib/glite/__init__.py
+++ b/law/contrib/glite/__init__.py
@@ -95,7 +95,7 @@ class GLiteWorkflowProxy(WorkflowProxy):
self.delegation_ids = None
self.submission_data = self.submission_da... | Improve glite worklflow status line. | py |
diff --git a/opentrons/instruments/pipette.py b/opentrons/instruments/pipette.py
index <HASH>..<HASH> 100644
--- a/opentrons/instruments/pipette.py
+++ b/opentrons/instruments/pipette.py
@@ -288,12 +288,12 @@ class Pipette(Instrument):
# TODO: raise warning/exception if looped back to first tip
... | 3 bugs found in Pipette when running on physical robot | py |
diff --git a/parsl/executors/high_throughput/probe.py b/parsl/executors/high_throughput/probe.py
index <HASH>..<HASH> 100644
--- a/parsl/executors/high_throughput/probe.py
+++ b/parsl/executors/high_throughput/probe.py
@@ -39,7 +39,7 @@ def probe_addresses(addresses, task_port, timeout=2):
start_t = time.time()
... | Exit htex probe loop with first working address (#<I>) Prior to this commit, the probe will run for the entire timeout period. This results in slow worker startup if the timeout is manually changed to something much longer. | py |
diff --git a/vies/fields.py b/vies/fields.py
index <HASH>..<HASH> 100644
--- a/vies/fields.py
+++ b/vies/fields.py
@@ -16,8 +16,8 @@ class VATINField(forms.MultiValueField):
forms.ChoiceField(required=False, choices=choices),
forms.CharField(required=False, max_length=max_length)
)
- ... | Fix VATINField in django.contrib.admin | py |
diff --git a/tests/test_80_p11_backend.py b/tests/test_80_p11_backend.py
index <HASH>..<HASH> 100644
--- a/tests/test_80_p11_backend.py
+++ b/tests/test_80_p11_backend.py
@@ -59,6 +59,10 @@ class FakeConfig():
self.debug = False
self.cert_handler_extra_class = None
self.generate_cert_info = F... | Fix for EncryptedAssertion | py |
diff --git a/eli5/sklearn/permutation_importance.py b/eli5/sklearn/permutation_importance.py
index <HASH>..<HASH> 100644
--- a/eli5/sklearn/permutation_importance.py
+++ b/eli5/sklearn/permutation_importance.py
@@ -18,7 +18,7 @@ from eli5.permutation_importance import get_score_importances
from eli5.sklearn.utils impo... | Update eli5/sklearn/permutation_importance.py | py |
diff --git a/starbound/sbbf02.py b/starbound/sbbf02.py
index <HASH>..<HASH> 100644
--- a/starbound/sbbf02.py
+++ b/starbound/sbbf02.py
@@ -70,6 +70,7 @@ class FileSBBF02(filebase.File):
self.header_size = None
self.free_block_is_dirty = None
self.free_block = None
+ self.num_blocks = N... | Add property for total number of blocks in SBBF<I> | py |
diff --git a/websocket.py b/websocket.py
index <HASH>..<HASH> 100644
--- a/websocket.py
+++ b/websocket.py
@@ -14,9 +14,8 @@ WS_VERSION = '13'
class WebSocket(object):
- def __init__(self, sock, address, encoding=None):
+ def __init__(self, sock, encoding=None):
self.sock = sock
- self.addres... | Websocket constructor does not need an address anymore | py |
diff --git a/zone_file/zone_file.py b/zone_file/zone_file.py
index <HASH>..<HASH> 100644
--- a/zone_file/zone_file.py
+++ b/zone_file/zone_file.py
@@ -117,11 +117,14 @@ def processSOA( data, template ):
soadat.append("IN")
soadat.append("SOA")
+ soadat.append("(")
for key in fiel... | Include () in SOA serialization | py |
diff --git a/salt/log.py b/salt/log.py
index <HASH>..<HASH> 100644
--- a/salt/log.py
+++ b/salt/log.py
@@ -149,7 +149,7 @@ class Logging(LoggingLoggerClass):
msg.decode('utf-8', 'replace'),
args, exc_info, func, extra
)
- except UnicodeEncodeError:
+... | We're decoding Unicode, not Encoding. Refs #<I>. | py |
diff --git a/bin/dbs3DASAccess.py b/bin/dbs3DASAccess.py
index <HASH>..<HASH> 100755
--- a/bin/dbs3DASAccess.py
+++ b/bin/dbs3DASAccess.py
@@ -8,6 +8,7 @@ from LifeCycleTests.LifeCycleTools.StatsClient import StatsPipeClient
import os
import sys
import tempfile
+import urllib
options = get_command_line_options(__... | Urlencode query for sqlite | py |
diff --git a/firefox/src/py/firefoxlauncher.py b/firefox/src/py/firefoxlauncher.py
index <HASH>..<HASH> 100644
--- a/firefox/src/py/firefoxlauncher.py
+++ b/firefox/src/py/firefoxlauncher.py
@@ -29,7 +29,7 @@ from webdriver_firefox.extensionconnection import ExtensionConnection
from webdriver_firefox.firefox_profile i... | JiayaoYu:Minor fix on the firefox python driver for browsers that take longer than usual to start r<I> | py |
diff --git a/djcelery/__init__.py b/djcelery/__init__.py
index <HASH>..<HASH> 100644
--- a/djcelery/__init__.py
+++ b/djcelery/__init__.py
@@ -2,7 +2,7 @@
import os
-VERSION = (2, 2, 0, "a3")
+VERSION = (2, 2, 0, "a5")
__version__ = ".".join(map(str, VERSION[0:3])) + "".join(VERSION[3:])
__author__ = "Ask Sole... | Bumped version to <I>a5 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -62,7 +62,7 @@ install_requires = [
'pycrypto==2.6.1',
'pytz==2017.2',
'redis==2.10.5',
- 'requests==2.14.1',
+ 'requests==2.14.2',
'SQLAlchemy==1.1.9',
'tornado==4.5.... | requests, up-to-date. | py |
diff --git a/satpy/tests/writer_tests/test_ninjotiff.py b/satpy/tests/writer_tests/test_ninjotiff.py
index <HASH>..<HASH> 100644
--- a/satpy/tests/writer_tests/test_ninjotiff.py
+++ b/satpy/tests/writer_tests/test_ninjotiff.py
@@ -74,7 +74,7 @@ class TestNinjoTIFFWriter(unittest.TestCase):
img = FakeImage(data... | Fix ninjotiff writer test | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -63,7 +63,7 @@ install_requires = [
# 'pyparsing==2.0.3',
# 'scipy==0.15.1',
'pybrain==0.3',
- 'pug-nlp>=0.0.15',
+ #'pug-nlp>=0.0.15',
# .{}'.format(version),
]
dependency_links = ['http://githu... | install pug-nlp from master and print packages to be installed and add self to that packages list | py |
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/source.py
+++ b/openquake/commonlib/source.py
@@ -413,15 +413,19 @@ class CompositeSourceModel(collections.Sequence):
logging.info('Creating %d realization(s) for model '
... | Added weight rescaling | py |
diff --git a/notario/tests/validators/test_recursive.py b/notario/tests/validators/test_recursive.py
index <HASH>..<HASH> 100644
--- a/notario/tests/validators/test_recursive.py
+++ b/notario/tests/validators/test_recursive.py
@@ -64,6 +64,10 @@ class TestMultiSchema(object):
multi = recursive.MultiSchema(*sch... | a test for typeErrors in MultiSchema | py |
diff --git a/test/unit/test_context.py b/test/unit/test_context.py
index <HASH>..<HASH> 100644
--- a/test/unit/test_context.py
+++ b/test/unit/test_context.py
@@ -4,7 +4,7 @@ import unittest
from dbt.contracts.graph.parsed import ParsedNode
from dbt.context import parser, runtime
import dbt.exceptions
-from test.uni... | update test_context.py to use a local import of mock_adapter This is consistent with the way that unit tests import utils.py and also fixes an import issue with our test environment. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@ requirements = [
# Protocol and data packages
"pytmpdir >= 0.2.3", # A temporary directory, useful for extracting archives to
"txhttputil >= 0.3.0", # Utility class for http requests
- "vorte... | Updated to vortexpy <I> PEEK-<I> | py |
diff --git a/src/flapjack/authentication.py b/src/flapjack/authentication.py
index <HASH>..<HASH> 100644
--- a/src/flapjack/authentication.py
+++ b/src/flapjack/authentication.py
@@ -16,14 +16,17 @@ class Authentication(object):
"""Describes the base authentication protocol.
"""
- def __init__(self, requ... | Added `allow_anonymous` flag. | py |
diff --git a/versions_tests/tests/test_models.py b/versions_tests/tests/test_models.py
index <HASH>..<HASH> 100644
--- a/versions_tests/tests/test_models.py
+++ b/versions_tests/tests/test_models.py
@@ -2167,9 +2167,9 @@ class FilterOnForeignKeyRelationTest(TestCase):
michael.save()
baseball_hat.save(... | Checking on primary key instead of object | py |
diff --git a/src/canmatrix/formats/sym.py b/src/canmatrix/formats/sym.py
index <HASH>..<HASH> 100644
--- a/src/canmatrix/formats/sym.py
+++ b/src/canmatrix/formats/sym.py
@@ -256,9 +256,13 @@ Title=\"{}\"
if signal.multiplex == 'Multiplexor':
mux_signal = signal
- ... | better mux export hanling in sym | py |
diff --git a/seed/commands/release.py b/seed/commands/release.py
index <HASH>..<HASH> 100644
--- a/seed/commands/release.py
+++ b/seed/commands/release.py
@@ -102,6 +102,14 @@ class ReleaseCommand(Command):
print "Checks on setup.py failed. Messages were:\n%s" % "\n".join(warnings)
sys.exit(1)... | Checking that a user's .pypirc file exists | py |
diff --git a/script/upload-node-headers.py b/script/upload-node-headers.py
index <HASH>..<HASH> 100755
--- a/script/upload-node-headers.py
+++ b/script/upload-node-headers.py
@@ -40,11 +40,15 @@ def main():
args = parse_args()
node_headers_dir = os.path.join(DIST_DIR, 'node-{0}'.format(args.version))
iojs_head... | Upload headers with new filenames | py |
diff --git a/glymur/test/fixtures.py b/glymur/test/fixtures.py
index <HASH>..<HASH> 100644
--- a/glymur/test/fixtures.py
+++ b/glymur/test/fixtures.py
@@ -10,10 +10,12 @@ import numpy as np
import glymur
-# Need to know the openjpeg version. If openjpeg is not installed, we use
-# '0.0.0'
+# Need to know the vers... | OPENJPEG_VERSION is now the version of the software, not the library. For #<I> | py |
diff --git a/test_deploy_stack.py b/test_deploy_stack.py
index <HASH>..<HASH> 100644
--- a/test_deploy_stack.py
+++ b/test_deploy_stack.py
@@ -389,10 +389,24 @@ class DumpEnvLogsTestCase(TestCase):
"""))
with patch.object(client, 'get_status', autospec=True,
return_value... | Added test for get_machines_for_log with bootstrap_host | py |
diff --git a/skl_groups/tests/test_divs_knn.py b/skl_groups/tests/test_divs_knn.py
index <HASH>..<HASH> 100644
--- a/skl_groups/tests/test_divs_knn.py
+++ b/skl_groups/tests/test_divs_knn.py
@@ -20,7 +20,6 @@ if __name__ == '__main__':
_this_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, ... | tests: only import KNNDivergencenceEstimator if it's going to work | py |
diff --git a/cuttlepool/cuttlepool.py b/cuttlepool/cuttlepool.py
index <HASH>..<HASH> 100644
--- a/cuttlepool/cuttlepool.py
+++ b/cuttlepool/cuttlepool.py
@@ -169,7 +169,8 @@ class PoolConnection(object):
"""
Gets attributes of connection object.
"""
- return getattr(self._connection, ... | prevent return of close method attribute of connection | py |
diff --git a/airflow/models.py b/airflow/models.py
index <HASH>..<HASH> 100644
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -467,14 +467,12 @@ class TaskInstance(Base):
TI.state == State.SUCCESS,
).first()
if not previous_ti:
- logging.info('depends_on_pas... | Reverting overlogging on dependencies, was printing more than intended | py |
diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -56,7 +56,7 @@ def start_consul_instance(acl_master_token=None):
['http', 'rpc', 'serf_lan', 'serf_wan', 'server', 'dns'],
get_free_ports(5) + [-1]))
- config = {'port... | Make test config use raft_multpilier. In an attempt to make the performance of the tests more reliable, use the performance.raft_multiplier key to return the test instance back to pre <I> performance levels. Locally this seems to improve the odds of the various async tests failing from about <I>% down to sub <I>%. s... | py |
diff --git a/bids/layout/layout.py b/bids/layout/layout.py
index <HASH>..<HASH> 100644
--- a/bids/layout/layout.py
+++ b/bids/layout/layout.py
@@ -744,7 +744,6 @@ class BIDSLayout(object):
# Entity filtering
if filters:
- # query = query.join(BIDSFile.tags)
regex = kwargs.get... | Remove unnecessary code comment - Code that should have been deleted was only commented out for debugging purposes - The comment was not deleted prior to my last commit | py |
diff --git a/peyotl/test/test_phylesystem_api.py b/peyotl/test/test_phylesystem_api.py
index <HASH>..<HASH> 100644
--- a/peyotl/test/test_phylesystem_api.py
+++ b/peyotl/test/test_phylesystem_api.py
@@ -33,9 +33,15 @@ class TestPhylesystemAPI(unittest.TestCase):
@unittest.skipIf(not HAS_LOCAL_PHYLESYSTEM_REPOS,
... | New and modified tests of local vs. remote APIs | py |
diff --git a/tools/scenario-player/scenario_player/tasks/channels.py b/tools/scenario-player/scenario_player/tasks/channels.py
index <HASH>..<HASH> 100644
--- a/tools/scenario-player/scenario_player/tasks/channels.py
+++ b/tools/scenario-player/scenario_player/tasks/channels.py
@@ -125,10 +125,10 @@ class AssertAllTask... | Remove overeager trailing commas | py |
diff --git a/flask_permissions/models.py b/flask_permissions/models.py
index <HASH>..<HASH> 100644
--- a/flask_permissions/models.py
+++ b/flask_permissions/models.py
@@ -10,7 +10,7 @@ from .utils import is_sequence
user_role_table = db.Table('fp_user_role',
db.Column(
- ... | Changes uid to id | py |
diff --git a/twython/twython.py b/twython/twython.py
index <HASH>..<HASH> 100644
--- a/twython/twython.py
+++ b/twython/twython.py
@@ -258,10 +258,10 @@ class Twython(object):
This will return None if the header is not present
Most useful for the following header information:
- ... | Small correction in comments Headers have changed and a - is now needed between rate and limit. | py |
diff --git a/ddmrp/models/stock_move.py b/ddmrp/models/stock_move.py
index <HASH>..<HASH> 100644
--- a/ddmrp/models/stock_move.py
+++ b/ddmrp/models/stock_move.py
@@ -24,10 +24,16 @@ class StockMove(models.Model):
def write(self, vals):
res = super(StockMove, self).write(vals)
- if "state" in val... | ddmrp: when ddmrp_auto_update_nfp option is enabled, buffers should also be updated when move location src/dest is changed. This fixes compatibility with modules like stock_dynamic_routing in OCA/wms that rewrites the location on pull/push rules. | py |
diff --git a/tests/test_lp.py b/tests/test_lp.py
index <HASH>..<HASH> 100644
--- a/tests/test_lp.py
+++ b/tests/test_lp.py
@@ -26,7 +26,6 @@ def test_lp():
badsolution = s.createSol()
s.setSolVal(badsolution, x, 2.0)
s.setSolVal(badsolution, y, 2.0)
- s.addSol(badsolution, free = False)
assert s.... | don't add solution in test_lp | py |
diff --git a/selectable/forms/widgets.py b/selectable/forms/widgets.py
index <HASH>..<HASH> 100644
--- a/selectable/forms/widgets.py
+++ b/selectable/forms/widgets.py
@@ -150,6 +150,8 @@ class AutoCompleteSelectMultipleWidget(forms.MultiWidget, SelectableMediaMixin):
self.widgets[0].update_query_parameters(qs_... | Quick fix to decompress to recognize data coming from value_from_datadict and not decompress again. Better may be to standardize to a list format at a higher level, but that requires a bit more thought. This works for now. | py |
diff --git a/gophish/models.py b/gophish/models.py
index <HASH>..<HASH> 100644
--- a/gophish/models.py
+++ b/gophish/models.py
@@ -87,6 +87,7 @@ class Result(Model):
for key, val in json.items():
if key in cls._valid_properties:
setattr(result, key, val)
+ return result
... | Fixed TimelineEntry and Result parsing | py |
diff --git a/ceph_deploy/tests/unit/hosts/test_suse.py b/ceph_deploy/tests/unit/hosts/test_suse.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/tests/unit/hosts/test_suse.py
+++ b/ceph_deploy/tests/unit/hosts/test_suse.py
@@ -8,7 +8,7 @@ class TestSuseInit(object):
def test_choose_init_default(self):
sel... | ceph_deploy.tests.unit.hosts.test_suse: Fix default init The default init system for SUSE should be systemd, as all future releases of SUSE are expected to be based upon systemd | py |
diff --git a/vprof/profile_wrappers.py b/vprof/profile_wrappers.py
index <HASH>..<HASH> 100644
--- a/vprof/profile_wrappers.py
+++ b/vprof/profile_wrappers.py
@@ -238,3 +238,12 @@ class MemoryProfile(BaseProfile):
(i + 1, lineno, mem, e, fname)
for i, (lineno, mem, e, fname) in enumerate(prof.... | Run memory stats collection in current process to avoid copy-on-write. | py |
diff --git a/pyensembl/gtf.py b/pyensembl/gtf.py
index <HASH>..<HASH> 100644
--- a/pyensembl/gtf.py
+++ b/pyensembl/gtf.py
@@ -168,7 +168,8 @@ class GTF(object):
"gene_name",
"gene_biotype",
"transcript_name",
- "transcrip... | added protein_id to inferred columns for transcript in GTF missing that feature | py |
diff --git a/lib/auxly/_modu.py b/lib/auxly/_modu.py
index <HASH>..<HASH> 100644
--- a/lib/auxly/_modu.py
+++ b/lib/auxly/_modu.py
@@ -8,6 +8,9 @@ import os.path as op
import subprocess
import sys
+if sys.version_info < (3, 0):
+ from __future__ import print_function
+
##========================================... | Attempt to fix Py2 issue. | py |
diff --git a/host/scan/scan.py b/host/scan/scan.py
index <HASH>..<HASH> 100644
--- a/host/scan/scan.py
+++ b/host/scan/scan.py
@@ -90,8 +90,9 @@ class ScanBase(object):
# self.readout.reset_sram_fifo()
if not any(self.readout.print_readout_status()):
- logging.error('Stopping sc... | ENH: throw exception when there is no sync | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
__author__ = 'Naor Livne'
__author_email__ = 'naorlivne@gmail.com'
-__version__ = '2.0.0a'
+__version__ = '2.0.0a1'
from setuptools import setup, find_packages | changed version of package setup.py to <I>a1 | py |
diff --git a/denovonear/gene_plot/consequences.py b/denovonear/gene_plot/consequences.py
index <HASH>..<HASH> 100644
--- a/denovonear/gene_plot/consequences.py
+++ b/denovonear/gene_plot/consequences.py
@@ -138,11 +138,11 @@ class Consequences(object):
# the frameshift variants are ones where the difference in... | fixed typo to use entry from codon dictionary | py |
diff --git a/autopep8.py b/autopep8.py
index <HASH>..<HASH> 100755
--- a/autopep8.py
+++ b/autopep8.py
@@ -422,15 +422,19 @@ class FixPEP8(object):
original_line = self.source[line_index]
is_logical_fix = len(inspect.getargspec(fix).args) > 2
- if is_logical_fix and lo... | Handle cases where there is no logical fix support | py |
diff --git a/caniusepython3/test/test_dependencies.py b/caniusepython3/test/test_dependencies.py
index <HASH>..<HASH> 100644
--- a/caniusepython3/test/test_dependencies.py
+++ b/caniusepython3/test/test_dependencies.py
@@ -73,6 +73,8 @@ class NetworkTests(unittest.TestCase):
py3 = {'py3_project': ''}
... | Added a comment to test case. | py |
diff --git a/tensor2tensor/insights/transformer_model.py b/tensor2tensor/insights/transformer_model.py
index <HASH>..<HASH> 100644
--- a/tensor2tensor/insights/transformer_model.py
+++ b/tensor2tensor/insights/transformer_model.py
@@ -15,6 +15,10 @@
"""A QueryProcessor using the Transformer framework."""
+from __f... | Automated refactoring to make code Python 3 compatible. PiperOrigin-RevId: <I> | py |
diff --git a/pycoin/tx/Tx.py b/pycoin/tx/Tx.py
index <HASH>..<HASH> 100644
--- a/pycoin/tx/Tx.py
+++ b/pycoin/tx/Tx.py
@@ -343,9 +343,7 @@ class Tx(object):
if not self.txs_out:
raise ValidationFailureError("txs_out = []")
# Size limits
- f = io.BytesIO()
- self.stream(f)
- ... | Simplify Tx.check slightly. | py |
diff --git a/openquake/server/urls.py b/openquake/server/urls.py
index <HASH>..<HASH> 100644
--- a/openquake/server/urls.py
+++ b/openquake/server/urls.py
@@ -48,7 +48,7 @@ if settings.LOCKDOWN:
admin.autodiscover()
urlpatterns += [
- url(r'^admin/', include(admin.site.urls)),
+ url(r'^admin/'... | Fix error with Django admin urls | py |
diff --git a/salt/runners/manage.py b/salt/runners/manage.py
index <HASH>..<HASH> 100644
--- a/salt/runners/manage.py
+++ b/salt/runners/manage.py
@@ -678,7 +678,7 @@ def bootstrap(version='develop',
.. versionchanged:: 2016.11.0
- .. deprecated:: 2016.11.0
+ .. deprecated:: Oxygen
scr... | Update deprecated version info in manage.bootstrap fucn for root_user The warnings are for this argument to be removed in Oxygen. The documentation tag should match. Fixes #<I> | py |
diff --git a/py/conftest.py b/py/conftest.py
index <HASH>..<HASH> 100644
--- a/py/conftest.py
+++ b/py/conftest.py
@@ -1,6 +1,6 @@
dist_rsync_roots = ['.'] # XXX
-pytest_plugins = 'pytest_doctest', 'pytest_pytester', 'pytest_restdoc', 'pytest_apigen'
+pytest_plugins = 'pytest_doctest', 'pytest_pytester', 'pytest_res... | [svn r<I>] Oops, accidentally checked in a change, now rolling back (added 'apigen' to enabled plugins, which fails if the apigen package is not on the PYTHONPATH). --HG-- branch : trunk | py |
diff --git a/launch_control/tests/sw_profile.py b/launch_control/tests/sw_profile.py
index <HASH>..<HASH> 100644
--- a/launch_control/tests/sw_profile.py
+++ b/launch_control/tests/sw_profile.py
@@ -75,10 +75,8 @@ class PackagesWithDifferentVersions(SoftwarePackageTestCase):
self.assertNotEqual(self.pkg1, self... | Rework the comment next to code testing debian version comparator | py |
diff --git a/kerncraft/incore_model.py b/kerncraft/incore_model.py
index <HASH>..<HASH> 100755
--- a/kerncraft/incore_model.py
+++ b/kerncraft/incore_model.py
@@ -625,6 +625,7 @@ def osaca_analyse_instrumented_assembly(instrumented_assembly_file, micro_archit
sum([instr_form['latency_lcd'] for instr_form i... | including parsed kernel with osaca output | py |
diff --git a/mwtab/mwrest.py b/mwtab/mwrest.py
index <HASH>..<HASH> 100755
--- a/mwtab/mwrest.py
+++ b/mwtab/mwrest.py
@@ -479,7 +479,7 @@ class MWRESTFile(object):
"""
input_str = filehandle.read().decode("utf-8")
self.text = input_str
- self.text = re.sub(r"<.*?>", "", self.text) # ... | Refactors MWRESTFile class to specifically remove only '</br>' html tags which are left in files. | py |
diff --git a/core.py b/core.py
index <HASH>..<HASH> 100644
--- a/core.py
+++ b/core.py
@@ -12,8 +12,12 @@ __revision__ = "$Id$"
import sys, os
from types import *
from distutils.errors import *
+
+# Mainly import these so setup scripts can "from distutils.core import" them.
from distutils.dist import Distribution
... | Import the new Extension class, so setup scripts can "from distutils.core import" it. | py |
diff --git a/djangocms_text_ckeditor/cms_plugins.py b/djangocms_text_ckeditor/cms_plugins.py
index <HASH>..<HASH> 100644
--- a/djangocms_text_ckeditor/cms_plugins.py
+++ b/djangocms_text_ckeditor/cms_plugins.py
@@ -195,10 +195,9 @@ class TextPlugin(CMSPluginBase):
# to avoid non-auth users from triggering ... | one more shot at db error | py |
diff --git a/crashreporter/__init__.py b/crashreporter/__init__.py
index <HASH>..<HASH> 100644
--- a/crashreporter/__init__.py
+++ b/crashreporter/__init__.py
@@ -1,3 +1,6 @@
__version__ = '1.02'
-from crashreporter import CrashReporter
\ No newline at end of file
+try:
+ from crashreporter import CrashReporter
+... | wrap import of CrashReporter in __init__.py in a try/except | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.