diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pwkit/environments/casa/tasks.py b/pwkit/environments/casa/tasks.py index <HASH>..<HASH> 100644 --- a/pwkit/environments/casa/tasks.py +++ b/pwkit/environments/casa/tasks.py @@ -772,7 +772,7 @@ def elplot (cfg): md = ms.metadata () field_names = md.namesforfields () obs = md.observatoryposit...
pwkit/environments/casa/tasks.py: another Unicode fix in "elplot"
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,13 +17,13 @@ setup( 'hyml': ['*.hy'] }, - version = 'v0.2.1', + version = 'v0.2.2', description = 'HyML - XML / (X)HTML generator for Hy', author = 'Marko Manninen', author_email = 'elonmedia@gmail.c...
force update to next version <I>
py
diff --git a/can/interfaces/kvaser/canlib.py b/can/interfaces/kvaser/canlib.py index <HASH>..<HASH> 100644 --- a/can/interfaces/kvaser/canlib.py +++ b/can/interfaces/kvaser/canlib.py @@ -504,6 +504,9 @@ class KvaserBus(BusABC): def shutdown(self): self.__threads_running = False + if not self.sing...
Kvaser bus shutdown close the read handle too. #<I>
py
diff --git a/engine/plugin/ui_methods.py b/engine/plugin/ui_methods.py index <HASH>..<HASH> 100644 --- a/engine/plugin/ui_methods.py +++ b/engine/plugin/ui_methods.py @@ -51,4 +51,13 @@ def i18n(c): def c(c): - return c \ No newline at end of file + return c + + +def get(c, arg): + uri = c.helper.url.pars...
Add ui_methods.
py
diff --git a/certipy/command_line.py b/certipy/command_line.py index <HASH>..<HASH> 100644 --- a/certipy/command_line.py +++ b/certipy/command_line.py @@ -52,7 +52,7 @@ def main(): args = parser.parse_args() certipy = Certipy(store_dir=args.store_dir) - cert_type = crypto.TYPE_RSA if args.cert_type is "r...
Fix syntax warning over comparison of literals using is.
py
diff --git a/spyderlib/widgets/ipython.py b/spyderlib/widgets/ipython.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/ipython.py +++ b/spyderlib/widgets/ipython.py @@ -132,11 +132,9 @@ class IPythonControlWidget(TracebackLinksMixin, InspectObjectMixin, QTextEdit, """Reimplement Qt Method - Basic keypres...
IPython Console: Remove wrong checks when deciding what to do when pressing "?" or "("
py
diff --git a/test/test_replica_set_client.py b/test/test_replica_set_client.py index <HASH>..<HASH> 100644 --- a/test/test_replica_set_client.py +++ b/test/test_replica_set_client.py @@ -577,7 +577,7 @@ class TestReplicaSetClient(TestReplicaSetClientBase, TestRequestMixin): def test_timeout_does_not_mark_member_...
Make test more reliable on slow machines PYTHON-<I>
py
diff --git a/pyhomematic/devicetypes/generic.py b/pyhomematic/devicetypes/generic.py index <HASH>..<HASH> 100644 --- a/pyhomematic/devicetypes/generic.py +++ b/pyhomematic/devicetypes/generic.py @@ -206,7 +206,7 @@ class HMChannel(HMGeneric): self._VALUES[key] = returnvalue return returnvalue ...
Change loglevel for getValue to warning
py
diff --git a/sqlalchemy_hana/dialect.py b/sqlalchemy_hana/dialect.py index <HASH>..<HASH> 100644 --- a/sqlalchemy_hana/dialect.py +++ b/sqlalchemy_hana/dialect.py @@ -277,10 +277,12 @@ class HANABaseDialect(default.DefaultDialect): result = connection.execute( sql.text( - "SELECT ...
Use own UNION instead of PUBLIC.COLUMNS
py
diff --git a/sentinelsat/sentinel.py b/sentinelsat/sentinel.py index <HASH>..<HASH> 100644 --- a/sentinelsat/sentinel.py +++ b/sentinelsat/sentinel.py @@ -146,14 +146,11 @@ class SentinelAPI(object): query = self.format_query(area, initial_date, end_date, **keywords) return self.load_query(query) - ...
prods is not an empty list so no check is needed
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 @@ -1509,7 +1509,12 @@ class Webhook(object): def __init__(self): self.opts = cherrypy.config['saltopts'] - se...
Start fixing the salt api events to be raet aware correctly
py
diff --git a/pyrogram/client/types/messages_and_media/message.py b/pyrogram/client/types/messages_and_media/message.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/types/messages_and_media/message.py +++ b/pyrogram/client/types/messages_and_media/message.py @@ -447,6 +447,7 @@ class Message(PyrogramType): ...
Don't treat messages containing web page previews as media
py
diff --git a/kytos/utils/metadata.py b/kytos/utils/metadata.py index <HASH>..<HASH> 100644 --- a/kytos/utils/metadata.py +++ b/kytos/utils/metadata.py @@ -2,7 +2,7 @@ The present metadata is intended to be used mainly on the setup. """ -__version__ = '2020.2' +__version__ = '2021.1rc1' __author__ = 'Kytos Team' _...
Version bump to <I>rc1 (#<I>)
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -1055,11 +1055,11 @@ class AESFuncs(object): if func.startswith('__'): return self.crypticle.dumps({}) # Run the func - try: + if hasattr(self, func): ...
Don't use a try/except block to check for functions which are unavailable on the master. The try/except block here can hide attribute exceptions further down the call chain. Instead, explicitly check for the function using hasattr so that attribute exceptions further down will trigger tracebacks.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -90,7 +90,7 @@ setup(name='python-casacore', description='A wrapper around CASACORE, the radio astronomy library', author='Gijs Molenaar', author_email='gijs@pythonic.nl', - url='https://github.com/sk...
Put new repo name in setup.py
py
diff --git a/pycbc/workflow/core.py b/pycbc/workflow/core.py index <HASH>..<HASH> 100644 --- a/pycbc/workflow/core.py +++ b/pycbc/workflow/core.py @@ -690,7 +690,10 @@ class File(pegasus_workflow.File): """ Returns a CacheEntry instance for File. """ - + if self.storage_path is None: +...
only make cache entries for files that have a storage path, will be ignored in cache file creation from file list
py
diff --git a/yowsup/common/tools.py b/yowsup/common/tools.py index <HASH>..<HASH> 100644 --- a/yowsup/common/tools.py +++ b/yowsup/common/tools.py @@ -1,6 +1,3 @@ -import time,datetime,re -import calendar -from dateutil import tz import os from .constants import YowConstants import codecs, sys
[chore] cleanup unused imports
py
diff --git a/octodns/provider/rackspace.py b/octodns/provider/rackspace.py index <HASH>..<HASH> 100644 --- a/octodns/provider/rackspace.py +++ b/octodns/provider/rackspace.py @@ -72,7 +72,7 @@ class RackspaceProvider(BaseProvider): auth_token, dns_endpoint = self._get_auth_token(username, api_key) sel...
Environment variables are strings, so convert to a float first.
py
diff --git a/datacache/download.py b/datacache/download.py index <HASH>..<HASH> 100644 --- a/datacache/download.py +++ b/datacache/download.py @@ -73,7 +73,7 @@ def _download(filename, full_path, download_url): if filename in names: chosen_filename = filename else: - ...
Open file with mode 'wb' instead of 'w' in download.py Fixes #<I>. Also fix a small formatting issue.
py
diff --git a/iopipe/agent.py b/iopipe/agent.py index <HASH>..<HASH> 100644 --- a/iopipe/agent.py +++ b/iopipe/agent.py @@ -33,6 +33,8 @@ class IOpipeCore(object): The stock IOpipe agent, without any plugins loaded. """ + pool = None + def __init__(self, token=None, url=None, debug=None, plugins=None...
Add thread pool check to destructor (#<I>) Closes #<I>
py
diff --git a/gitlab/cli.py b/gitlab/cli.py index <HASH>..<HASH> 100644 --- a/gitlab/cli.py +++ b/gitlab/cli.py @@ -21,6 +21,7 @@ from __future__ import division from __future__ import absolute_import import argparse import inspect +import operator import re import sys @@ -256,7 +257,7 @@ def main(): ...
Use name as sort key to fix Python 3 TypeError Sort types explicitly by name to fix unorderable types TypeError in Python 3. The call to sort() on cli.py line <I> produced the error: TypeError: unorderable types: type() < type()
py
diff --git a/src/umbra/components/factory/scriptEditor/scriptEditor.py b/src/umbra/components/factory/scriptEditor/scriptEditor.py index <HASH>..<HASH> 100644 --- a/src/umbra/components/factory/scriptEditor/scriptEditor.py +++ b/src/umbra/components/factory/scriptEditor/scriptEditor.py @@ -2191,6 +2191,7 @@ class Scrip...
Add "LOGGER" attribute to "scriptEditor" component locals.
py
diff --git a/src/REST/keywords.py b/src/REST/keywords.py index <HASH>..<HASH> 100644 --- a/src/REST/keywords.py +++ b/src/REST/keywords.py @@ -267,8 +267,8 @@ class Keywords(object): "Error opening file '{}': {}".format(what, e)) try: return loads(what) - except JSONDec...
Make input to not read from instance fields
py
diff --git a/rest_assured/contrib/drf_fsm_transitions.py b/rest_assured/contrib/drf_fsm_transitions.py index <HASH>..<HASH> 100644 --- a/rest_assured/contrib/drf_fsm_transitions.py +++ b/rest_assured/contrib/drf_fsm_transitions.py @@ -9,16 +9,20 @@ class TransitionAPITestCaseMixin(object): the DRF-FSM-Transition l...
Added the from_state argument to transition()
py
diff --git a/JapaneseTokenizer/mecab_wrapper/mecab_wrapper_python3.py b/JapaneseTokenizer/mecab_wrapper/mecab_wrapper_python3.py index <HASH>..<HASH> 100644 --- a/JapaneseTokenizer/mecab_wrapper/mecab_wrapper_python3.py +++ b/JapaneseTokenizer/mecab_wrapper/mecab_wrapper_python3.py @@ -196,7 +196,7 @@ class MecabWrappe...
Set maxsplit to 1 when splitting tab
py
diff --git a/pymc3/model.py b/pymc3/model.py index <HASH>..<HASH> 100644 --- a/pymc3/model.py +++ b/pymc3/model.py @@ -2,6 +2,7 @@ import numpy as np import theano import theano.tensor as tt from theano.tensor.var import TensorVariable +import warnings from .memoize import memoize from .theanof import gradient, ...
Added warning for FreeRV objects named ending in underscore
py
diff --git a/nodeconductor/core/views.py b/nodeconductor/core/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/core/views.py +++ b/nodeconductor/core/views.py @@ -31,7 +31,7 @@ class RefreshTokenMixin(object): Token is refreshed if it has not expired yet. """ def refresh_token(self, user): - ...
Refresh creation date only if token is updated [WAL-<I>]
py
diff --git a/openid/tools/oiddiag.py b/openid/tools/oiddiag.py index <HASH>..<HASH> 100644 --- a/openid/tools/oiddiag.py +++ b/openid/tools/oiddiag.py @@ -668,7 +668,7 @@ class TestCheckid(ResultRow): consu = self.getConsumer() auth_request = self.identity_info.newAuthRequest(consu) attempt.a...
[project @ oiddiag: & not ;]
py
diff --git a/dwave/system/package_info.py b/dwave/system/package_info.py index <HASH>..<HASH> 100644 --- a/dwave/system/package_info.py +++ b/dwave/system/package_info.py @@ -15,7 +15,7 @@ # ============================================================================= __all__ = ['__version__', '__author__', '__author...
Update version <I> -> <I> New Features ------------ * New `LeapHybridDQMSampler` Fixes ----- * `embed_bqm` now always returns a BQM rather than sometimes returning a view
py
diff --git a/python/mxnet/metric.py b/python/mxnet/metric.py index <HASH>..<HASH> 100644 --- a/python/mxnet/metric.py +++ b/python/mxnet/metric.py @@ -53,8 +53,10 @@ class Accuracy(EvalMetric): pred = preds[i].asnumpy() label = labels[i].asnumpy().astype('int32') pred_label = nump...
Temporary fix to validation accuracy when train batch_size < val batch_size
py
diff --git a/test/test_reshape.py b/test/test_reshape.py index <HASH>..<HASH> 100644 --- a/test/test_reshape.py +++ b/test/test_reshape.py @@ -102,6 +102,8 @@ def test_separate(): 'a2':['a','b','c','d',np.nan], 'a3':['3',np.nan,'3-4','1',np.nan] }) + print test1 + print true1 assert tr...
attempting to resolve failure on tests in python 3
py
diff --git a/source/rafcon/gui/mygaphas/view.py b/source/rafcon/gui/mygaphas/view.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/mygaphas/view.py +++ b/source/rafcon/gui/mygaphas/view.py @@ -199,4 +199,8 @@ class ExtendedGtkView(GtkView, Observer): """ Return an Item (e.g. StateView) for each model (e....
Gaphas Selection: Add interface method The gaphas view class now provides an interface method to the selection method handle_new_selection.
py
diff --git a/desdeo/utils/tui.py b/desdeo/utils/tui.py index <HASH>..<HASH> 100644 --- a/desdeo/utils/tui.py +++ b/desdeo/utils/tui.py @@ -176,7 +176,9 @@ def select_iter(method, default=1, no_print=False): if text in COMMANDS: return text print("Selected iteration point: %s" % method.zhs[int(text) -...
Only a-priori E-NAUTILUS has reachable points
py
diff --git a/explauto/experiment/pool.py b/explauto/experiment/pool.py index <HASH>..<HASH> 100644 --- a/explauto/experiment/pool.py +++ b/explauto/experiment/pool.py @@ -66,7 +66,7 @@ class ExperimentPool(object): settings = [Settings(env, env_conf, bab, im, im_conf, sm, sm_conf) for ((en...
bug in ExperimentPool due to a missing named argument (error when executing notebook <I>)
py
diff --git a/aegean.py b/aegean.py index <HASH>..<HASH> 100755 --- a/aegean.py +++ b/aegean.py @@ -1831,7 +1831,7 @@ def fit_island(island_data): mp, info = multi_gauss(isle.pixels, rms, parinfo) # This scales the errors to be 1sigma. # see the .perror documentation in mpfit.mpfit - er...
error scaling a-la mpfit suggestion is once again done.
py
diff --git a/fedmsg_meta_fedora_infrastructure/mailman3.py b/fedmsg_meta_fedora_infrastructure/mailman3.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/mailman3.py +++ b/fedmsg_meta_fedora_infrastructure/mailman3.py @@ -83,11 +83,12 @@ class MailmanProcessor(BaseProcessor): def link(self, ms...
Careful for x-archived-at being None.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ setup( classifiers=[ "Programming Language :: Python", "Development Status :: 1 - Planning", - "License :: MIT Licence", + "License :: OSI Approved :: MIT License", ...
Switch to OSI license for Pypi
py
diff --git a/cqlengine/tests/query/test_batch_query.py b/cqlengine/tests/query/test_batch_query.py index <HASH>..<HASH> 100644 --- a/cqlengine/tests/query/test_batch_query.py +++ b/cqlengine/tests/query/test_batch_query.py @@ -145,6 +145,7 @@ class BatchQueryTests(BaseCassEngTestCase): pass obj ...
added inline explanation of why the 2 new batch exception tests should pass
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,8 +8,6 @@ except ImportError: print 'TRYING: from distutils.core import setup' from distutils.core import setup from distutils.extension import Extension -# -import numpy # If we're building from Git (no PKG...
Allow pip to discover it needs numpy.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -129,7 +129,7 @@ if 'bdist_wheel' in sys.argv and '--plat-name' not in sys.argv: # https://www.python.org/dev/peps/pep-0425/ sys.argv.append(name.replace('.', '_').replace('-', '_')) -_UNICORN = "unicorn>=1...
Pin to unicorn>=<I>rc4.
py
diff --git a/pyang/translators/dsdl.py b/pyang/translators/dsdl.py index <HASH>..<HASH> 100644 --- a/pyang/translators/dsdl.py +++ b/pyang/translators/dsdl.py @@ -51,7 +51,7 @@ try: except ImportError: pass -from pyang import plugin, statements +from pyang import plugin, statements, error def pyang_plugin_in...
DSDL: now checking for parsing errors. Code copied from xsd.py.
py
diff --git a/visidata/loaders/frictionless.py b/visidata/loaders/frictionless.py index <HASH>..<HASH> 100644 --- a/visidata/loaders/frictionless.py +++ b/visidata/loaders/frictionless.py @@ -8,4 +8,4 @@ class FrictionlessIndexSheet(IndexSheet): import datapackage self.dp = datapackage.Package(self.sou...
[frictionless] assume JSON if no format #<I> From <URL>): > a consumer of resource object MAY assume if no format or mediatype property is provided that the data is JSON and attempt to process it as such.
py
diff --git a/pyout/elements.py b/pyout/elements.py index <HASH>..<HASH> 100644 --- a/pyout/elements.py +++ b/pyout/elements.py @@ -63,8 +63,8 @@ schema = { "enum": ["auto"]}, {"type": "object", "properties": { - "max": {"ty...
elements: Drop unnecessary "null" from width spec I can't explain why we'd need it and tests pass without it, so let's drop it.
py
diff --git a/devpi_metawheel/main.py b/devpi_metawheel/main.py index <HASH>..<HASH> 100644 --- a/devpi_metawheel/main.py +++ b/devpi_metawheel/main.py @@ -1,4 +1,5 @@ import json +import os import zipfile from packaging.version import parse as parse_version @@ -33,7 +34,19 @@ def devpiserver_on_upload(stage, proje...
Create and keep metadata for every package uploaded
py
diff --git a/kronos/utils.py b/kronos/utils.py index <HASH>..<HASH> 100644 --- a/kronos/utils.py +++ b/kronos/utils.py @@ -31,7 +31,7 @@ def write_crontab(string): Write the given string to the crontab. """ command = run( - args = 'printf \'%s\' | crontab' % string, + args = 'printf \'%s\' ...
Fix a bug that caused unclosed single quotes in the crontab to raise a ValueError
py
diff --git a/umap/models.py b/umap/models.py index <HASH>..<HASH> 100644 --- a/umap/models.py +++ b/umap/models.py @@ -25,6 +25,9 @@ class MapIndex(IndexBase): def get_start_publish(self): return self.obj.modified_at + def get_publish(self): + return self.obj.share_status == Map.PUBLIC + ...
Index only searchable map This was broken on the sesql to pgindex switch Unittests needed.
py
diff --git a/clients/python/girder_client/cli.py b/clients/python/girder_client/cli.py index <HASH>..<HASH> 100755 --- a/clients/python/girder_client/cli.py +++ b/clients/python/girder_client/cli.py @@ -55,7 +55,7 @@ class GirderCli(GirderClient): def formatPos(_self): pos = formatSize(_...
Check if length attribute is none instead of accessing length_known.
py
diff --git a/google-cloud-dialogflow/synth.py b/google-cloud-dialogflow/synth.py index <HASH>..<HASH> 100644 --- a/google-cloud-dialogflow/synth.py +++ b/google-cloud-dialogflow/synth.py @@ -27,7 +27,7 @@ library = gapic.ruby_library( generator_args={ "ruby-cloud-gem-name": "google-cloud-dialogflow", ...
chore(dialogflow): Update synth file to add a note about ES to the gem description (#<I>)
py
diff --git a/aiosparql/syntax.py b/aiosparql/syntax.py index <HASH>..<HASH> 100644 --- a/aiosparql/syntax.py +++ b/aiosparql/syntax.py @@ -55,7 +55,7 @@ class Triples(list): """ A magical list of tuples (s, p, o) that be printed to a SPARQL query. """ - def __init__(self, value): + def __init__(sel...
Added: Triples() can be initialized without argument
py
diff --git a/doctr/__main__.py b/doctr/__main__.py index <HASH>..<HASH> 100644 --- a/doctr/__main__.py +++ b/doctr/__main__.py @@ -130,12 +130,14 @@ def configure(args, parser): "doctr configure --force to run anyway.") build_repo = input("What repo do you want to build the docs for (org/reponame, l...
Check both that the build and deploy repos exist
py
diff --git a/documenteer/conf/pipelines.py b/documenteer/conf/pipelines.py index <HASH>..<HASH> 100644 --- a/documenteer/conf/pipelines.py +++ b/documenteer/conf/pipelines.py @@ -160,6 +160,8 @@ exclude_patterns = [ 'README.rst', # Build products '_build', + # Doxygen build products + '_doxygen', ...
Ignore the doxygen build at _doxygen/
py
diff --git a/pypet/tests/test_helpers.py b/pypet/tests/test_helpers.py index <HASH>..<HASH> 100644 --- a/pypet/tests/test_helpers.py +++ b/pypet/tests/test_helpers.py @@ -34,7 +34,7 @@ import tempfile TEMPDIR = 'temp_folder_for_pypet_tests/' ''' Temporary directory for the hdf5 files''' -REMOVE=False +REMOVE=True ...
fixed non-removal of data after tests
py
diff --git a/psiturk/experiment.py b/psiturk/experiment.py index <HASH>..<HASH> 100644 --- a/psiturk/experiment.py +++ b/psiturk/experiment.py @@ -56,7 +56,7 @@ app.config.update(SEND_FILE_MAX_AGE_DEFAULT=10) # set cache timeout to 10ms for try: sys.path.append(os.getcwd()) - from custom import custom_code,...
fixes bug in importing custom models in previous commit
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -71,7 +71,7 @@ else: install_requires.append("networkx>=2.1") # Extra dependencies for remote integrations -gs = ["google-cloud-storage==1.13.0"] +gs = ["google-resumable-media==0.3.2", "google-cloud-storage==1.13.0"] ...
workaround for google-resumable-media==<I> build problem
py
diff --git a/glue/ligolw/utils/process.py b/glue/ligolw/utils/process.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/utils/process.py +++ b/glue/ligolw/utils/process.py @@ -172,7 +172,15 @@ def register_to_xmldoc(xmldoc, program, paramdict, **kwargs): the process table. """ process = append_process(xmldoc, prog...
Fix for glue-ligolw/<I>: special handling for boolean process_params
py
diff --git a/taxii2client/__init__.py b/taxii2client/__init__.py index <HASH>..<HASH> 100644 --- a/taxii2client/__init__.py +++ b/taxii2client/__init__.py @@ -615,6 +615,7 @@ class Server(_TAXIIEndpoint): self._user = user self._password = password + self._verify = verify self._loade...
Make sure we pass Server params into ApiRoot when calling refresh()
py
diff --git a/pluginmanager/tests/compat.py b/pluginmanager/tests/compat.py index <HASH>..<HASH> 100644 --- a/pluginmanager/tests/compat.py +++ b/pluginmanager/tests/compat.py @@ -27,7 +27,7 @@ if is_py2: @classmethod def _cleanup(cls, name, warn_message): _shutil.rmtree(name) - ...
removed resource warning for python2
py
diff --git a/tests/test_treewalkers.py b/tests/test_treewalkers.py index <HASH>..<HASH> 100644 --- a/tests/test_treewalkers.py +++ b/tests/test_treewalkers.py @@ -184,7 +184,7 @@ class TestCase(unittest.TestCase): document = p.parse(StringIO.StringIO(input)) document = treeClass.get("adapter", lam...
Update test_treewalker now that TreeWalker are iterable objects --HG-- extra : convert_revision : svn%3Aacbfec<I>-<I>-<I>-a<I>-<I>a<I>e<I>e0/trunk%<I>
py
diff --git a/rcontrol/core.py b/rcontrol/core.py index <HASH>..<HASH> 100644 --- a/rcontrol/core.py +++ b/rcontrol/core.py @@ -263,12 +263,15 @@ class CommandTask(Task): :param command: the command to execute (a string) :param expected_exit_code: the expected exit code of the command. If None, there ...
document the CommandTask combine_stderr arg
py
diff --git a/spikeinterface/extractors/mdaextractors/mdaextractors.py b/spikeinterface/extractors/mdaextractors/mdaextractors.py index <HASH>..<HASH> 100644 --- a/spikeinterface/extractors/mdaextractors/mdaextractors.py +++ b/spikeinterface/extractors/mdaextractors/mdaextractors.py @@ -74,7 +74,7 @@ class MdaRecordingE...
fix problem with writeRecording for Mda extractor
py
diff --git a/pymyq/__version__.py b/pymyq/__version__.py index <HASH>..<HASH> 100644 --- a/pymyq/__version__.py +++ b/pymyq/__version__.py @@ -1,2 +1,2 @@ """Define a version constant.""" -__version__ = "3.1.0b5" +__version__ = "3.1.0b6"
Update to <I>b6
py
diff --git a/visidata/modify.py b/visidata/modify.py index <HASH>..<HASH> 100644 --- a/visidata/modify.py +++ b/visidata/modify.py @@ -72,6 +72,8 @@ def cellChanged(col, row, val): def rowDeleted(self, row): 'Mark row as a deferred delete-row' self._deferredDels[self.rowid(row)] = row + self.addUndoSelect...
[delete-row] clear deleted rows from selectedRows for deferred Sheets Closes #<I>
py
diff --git a/test/test_add_command.py b/test/test_add_command.py index <HASH>..<HASH> 100644 --- a/test/test_add_command.py +++ b/test/test_add_command.py @@ -340,6 +340,7 @@ class AddCommandTest(CommandTest): self.todolist, self.out, self.error) command.execute() + self.assertTrue(self.t...
Also check that the todo item is marked complete internally This assertion was missing in commit 6bb<I>d.
py
diff --git a/keepkeylib/eth/ethereum_tokens.py b/keepkeylib/eth/ethereum_tokens.py index <HASH>..<HASH> 100644 --- a/keepkeylib/eth/ethereum_tokens.py +++ b/keepkeylib/eth/ethereum_tokens.py @@ -73,11 +73,11 @@ def main(): table = ETHTokenTable() table.build() table.serialize_c(outf) - print(unicode('...
play nice with python<I>
py
diff --git a/sphinxcontrib/needs/directives/needpie.py b/sphinxcontrib/needs/directives/needpie.py index <HASH>..<HASH> 100644 --- a/sphinxcontrib/needs/directives/needpie.py +++ b/sphinxcontrib/needs/directives/needpie.py @@ -118,6 +118,7 @@ def process_needpie(app, doctree, fromdocname): current_needpie = en...
close the figures, to free memory (#<I>) close the figures, to free memory Fixes #<I>
py
diff --git a/src/Exscript/protocols/drivers/junos_erx.py b/src/Exscript/protocols/drivers/junos_erx.py index <HASH>..<HASH> 100644 --- a/src/Exscript/protocols/drivers/junos_erx.py +++ b/src/Exscript/protocols/drivers/junos_erx.py @@ -40,5 +40,5 @@ class JunOSERXDriver(Driver): conn.execute('terminal width 512...
Exscript/drivers: Changed priviliged level for Junos ERX driver to <I>.
py
diff --git a/tests/unit/models/physics/GenericSourceTermTest.py b/tests/unit/models/physics/GenericSourceTermTest.py index <HASH>..<HASH> 100644 --- a/tests/unit/models/physics/GenericSourceTermTest.py +++ b/tests/unit/models/physics/GenericSourceTermTest.py @@ -320,7 +320,7 @@ class GenericSourceTermTest: ass...
Rename Butler-Volmer test, ci min
py
diff --git a/djongo/models/fields.py b/djongo/models/fields.py index <HASH>..<HASH> 100644 --- a/djongo/models/fields.py +++ b/djongo/models/fields.py @@ -117,7 +117,7 @@ class DictField(FormlessField): def get_db_prep_value(self, value, connection, prepared=False): if not isinstance(value, dict): ...
Update djongo/models/fields.py For me ok!
py
diff --git a/GPy/testing/plotting_tests.py b/GPy/testing/plotting_tests.py index <HASH>..<HASH> 100644 --- a/GPy/testing/plotting_tests.py +++ b/GPy/testing/plotting_tests.py @@ -68,10 +68,8 @@ if config.get('plotting', 'library') != 'matplotlib': try: from matplotlib import cbook, pyplot as plt from matplot...
Removed ImageComparisonFailure #<I> ImageComparisonFailure no longer exists which causes issues with travis testing using the most recent matplotlib
py
diff --git a/tests/clients/test_local.py b/tests/clients/test_local.py index <HASH>..<HASH> 100644 --- a/tests/clients/test_local.py +++ b/tests/clients/test_local.py @@ -54,6 +54,13 @@ class TestTraverse(object): class TestLocalSyncClient(object): + def test_get_client_name(self, local_client): + assert...
Some minor LocalSyncClient tests
py
diff --git a/astrocats/scripts/hammertime.py b/astrocats/scripts/hammertime.py index <HASH>..<HASH> 100755 --- a/astrocats/scripts/hammertime.py +++ b/astrocats/scripts/hammertime.py @@ -77,8 +77,8 @@ with open('astrocats/' + moduledir + '/input/non-' + modulename + '-types.json', for fcnt, eventfile in enumerate(tq...
MAINT: commented out hammertime limit
py
diff --git a/ccmlib/node.py b/ccmlib/node.py index <HASH>..<HASH> 100644 --- a/ccmlib/node.py +++ b/ccmlib/node.py @@ -689,7 +689,10 @@ class Node(): def run_sstable2json(self, keyspace=None, datafile=None, column_families=None, enumerate_keys=False): cdir = self.get_cassandra_dir() - sstable2jso...
changed sstable2json bin directory to tools/bin for cassandra ver >= <I>
py
diff --git a/kubernetes/utils/HttpRequest.py b/kubernetes/utils/HttpRequest.py index <HASH>..<HASH> 100644 --- a/kubernetes/utils/HttpRequest.py +++ b/kubernetes/utils/HttpRequest.py @@ -59,26 +59,16 @@ class HttpRequest: verify = temp.name try: - if self.data is None: - ...
Prevent 2 different types of requests being created by checking for `self.data` inline
py
diff --git a/test/integration/bin_pipeline.py b/test/integration/bin_pipeline.py index <HASH>..<HASH> 100755 --- a/test/integration/bin_pipeline.py +++ b/test/integration/bin_pipeline.py @@ -75,9 +75,9 @@ def test_against_server_at(port): print "Done" -from test_common import RethinkDBTester -retest_releas...
Remove bin_pipeline.py from retest since it needs to be compiled with a specific flag in order to pass and thus always fails.
py
diff --git a/test/test.py b/test/test.py index <HASH>..<HASH> 100755 --- a/test/test.py +++ b/test/test.py @@ -612,6 +612,25 @@ class TestArgcomplete(unittest.TestCase): for cmd, output in expected_outputs: self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) + def test_...
Add test case to verify #<I> is fixed (#<I>)
py
diff --git a/hadoopy/freeze.py b/hadoopy/freeze.py index <HASH>..<HASH> 100644 --- a/hadoopy/freeze.py +++ b/hadoopy/freeze.py @@ -96,10 +96,9 @@ def freeze(script_path, shared_libs=(), modules=(), remove_dir=False, if not pretend: if verbose: print('HadooPY: Running[%s]' % (freeze_cmd)) - ...
Made the default freeze output to use the silent switch. Verbose turns the switch off.
py
diff --git a/nptdms/tdms.py b/nptdms/tdms.py index <HASH>..<HASH> 100644 --- a/nptdms/tdms.py +++ b/nptdms/tdms.py @@ -52,7 +52,7 @@ tdsDataTypes = dict(enumerate(( tdsDataTypes.update({ 0x19: DataType('tdsTypeSingleFloatWithUnit', None, 4, None), 0x20: DataType('tdsTypeString', None, None, None), - 0x21:...
Booleans are 1 byte long Fixes #4
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,7 @@ setup(name='egoio', 'geoalchemy2 >= 0.3.0, <= 0.4.1', 'sqlalchemy >= 1.0.11, <= 1.2.0', 'keyring >= 4.0', + 'keyrings.alt', 'psycopg2'], extras_require...
Add keyrings.alt Required to use keyring on Xubuntu <I>
py
diff --git a/lib/svtplay/service/tv4play.py b/lib/svtplay/service/tv4play.py index <HASH>..<HASH> 100644 --- a/lib/svtplay/service/tv4play.py +++ b/lib/svtplay/service/tv4play.py @@ -32,8 +32,13 @@ class Tv4play(): if match: vid = match.group(1) else: - log.erro...
tv4play: some fixes for tv4.se In some cases we dont have vid in the url
py
diff --git a/zipline/finance/trading.py b/zipline/finance/trading.py index <HASH>..<HASH> 100644 --- a/zipline/finance/trading.py +++ b/zipline/finance/trading.py @@ -19,6 +19,7 @@ import datetime import pandas as pd import numpy as np +from six import string_types from sqlalchemy import create_engine from zipl...
ENH: Allow passing an existing engine to TradingEnvironment Specifically to allow the use case of creating an in-memory SQLite database and populating it with assets before creating the trading environment.
py
diff --git a/output/sqlite_4n6.py b/output/sqlite_4n6.py index <HASH>..<HASH> 100644 --- a/output/sqlite_4n6.py +++ b/output/sqlite_4n6.py @@ -122,8 +122,9 @@ class Sql4n6(output.LogOutputFormatter): def _GetDistinctValues(self, field_name): """Query database for unique field types""" - self.curs.execute(u...
Code review: <I>: These files are missing unit tes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( author = 'Grzegorz Dzięgielewski', author_email = 'jabbas@jabbas.eu', url = "https://github.com/jabbas/pynapi", - version = '0.5', + version = '0.5.1', description = 'subtitles dow...
bumped to <I>
py
diff --git a/spacy/lang/mk/lemmatizer.py b/spacy/lang/mk/lemmatizer.py index <HASH>..<HASH> 100644 --- a/spacy/lang/mk/lemmatizer.py +++ b/spacy/lang/mk/lemmatizer.py @@ -18,8 +18,6 @@ class MacedonianLemmatizer(Lemmatizer): string = string[:-3] univ_pos = "verb" - if callable(self.is...
Remove unused is_base_form for mk lemmatizer (#<I>) Remove unimplemented/incorrect is_base_form for Macedonian lemmatizer.
py
diff --git a/validator/sawtooth_validator/ffi.py b/validator/sawtooth_validator/ffi.py index <HASH>..<HASH> 100644 --- a/validator/sawtooth_validator/ffi.py +++ b/validator/sawtooth_validator/ffi.py @@ -82,7 +82,7 @@ def prepare_string_result(): def from_rust_string(string_ptr, string_len, string_cap): # pylint: ...
Hold GIL during ffi_reclaim_string and ffi_reclaim_vec methods Uses a py libexec instead of a c-style libexec for these methods. Average and max timings from performance runs show these calls consistently complete sub-millisecond (<I>-<I> microseconds). Releasing the GIL during these short executions likely causes unn...
py
diff --git a/alot/ui.py b/alot/ui.py index <HASH>..<HASH> 100644 --- a/alot/ui.py +++ b/alot/ui.py @@ -86,7 +86,6 @@ class UI(object): :type colourmode: int in [1,16,256] """ self.dbman = dbman - self.dbman.ui = self # register ui with dbman self.logger = log self.ac...
Don't register UI with DBMan The DBMan doesn't use it (anymore). It was potentially used to send notifications to the user. Closes #<I>.
py
diff --git a/openquake/server/tests/functional_test.py b/openquake/server/tests/functional_test.py index <HASH>..<HASH> 100644 --- a/openquake/server/tests/functional_test.py +++ b/openquake/server/tests/functional_test.py @@ -28,6 +28,7 @@ import time import unittest import subprocess import tempfile +import django...
Reskipped tests with old Django
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -160,6 +160,18 @@ class custom_build_ext(build_ext): build_temp=self.build_temp, target_lang=language) + def run(self): + # Setuptools `develop` command (used by `pip install -e .`) only c...
[setup.py] call build_clib before build_ext This allows to call 'pip install -e .' without needing to first manually call 'python setup.py build_clib'.
py
diff --git a/bin_info.py b/bin_info.py index <HASH>..<HASH> 100644 --- a/bin_info.py +++ b/bin_info.py @@ -21,6 +21,7 @@ class BinInfo: def __init__(self, ida): self.__names = {} self.__raddr = [] + self.__addr = {} # just for utility self.__ida = ida self.__filename = id...
restored addr shortcut in bin_info
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -241,7 +241,7 @@ class ConstantsTest(TestCase): ) def test_json_format(self): - """Does format of reporters.json match json.dumps(json.loads(), sort_keys=True)? """ + """Does format of rep...
Update tests for new version of black on CI
py
diff --git a/hdbscan/hdbscan_.py b/hdbscan/hdbscan_.py index <HASH>..<HASH> 100644 --- a/hdbscan/hdbscan_.py +++ b/hdbscan/hdbscan_.py @@ -224,14 +224,11 @@ def hdbscan(X, min_cluster_size=5, min_samples=None, metric='minkowski', p=2, else: raise TypeError('Unknown algorithm type %s specified' % a...
Handle metrics that don't support kdtrees
py
diff --git a/gwpy/timeseries/core.py b/gwpy/timeseries/core.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/core.py +++ b/gwpy/timeseries/core.py @@ -522,6 +522,8 @@ class ArrayTimeSeries(TimeSeriesBase, Array2D): sample_rate=None, name=None, **kwargs): """Generate a new ArrayTimeSeries. ...
ArrayTimeSeries: deprecated this object
py
diff --git a/src/toil/test/__init__.py b/src/toil/test/__init__.py index <HASH>..<HASH> 100644 --- a/src/toil/test/__init__.py +++ b/src/toil/test/__init__.py @@ -161,7 +161,8 @@ def needs_gridengine(test_item): Use as a decorator before test classes or methods to only run them if GridEngine is installed. """...
Prevent parasol and gridengine detection from spilling to terminal
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( packages=['jsonrpcclient'], package_data={'jsonrpcclient': ['response-schema.json']}, include_package_data=True, - install_requires=['jsonschema', 'future'], + install_requires=['futu...
Reorder the install_requires in setup.py
py
diff --git a/sphinx_pyreverse/uml_generate_directive.py b/sphinx_pyreverse/uml_generate_directive.py index <HASH>..<HASH> 100644 --- a/sphinx_pyreverse/uml_generate_directive.py +++ b/sphinx_pyreverse/uml_generate_directive.py @@ -111,7 +111,7 @@ class UMLGenerateDirective(Directive): ) # En...
Gets coverage back to <I>% by cheating - PYTHONPATH setup needs a test
py
diff --git a/ops.py b/ops.py index <HASH>..<HASH> 100644 --- a/ops.py +++ b/ops.py @@ -358,7 +358,7 @@ class find(object): for root_path, dir_list, file_list in os.walk(self.path, topdown=self.top_down): if self.no_peek and not self.top_down: for d in dir_list: - ...
Fix path creation issue in find with no_peek
py
diff --git a/zinnia/tests/test_templatetags.py b/zinnia/tests/test_templatetags.py index <HASH>..<HASH> 100644 --- a/zinnia/tests/test_templatetags.py +++ b/zinnia/tests/test_templatetags.py @@ -47,6 +47,7 @@ from zinnia.templatetags.zinnia_tags import get_featured_entries from zinnia.templatetags.zinnia_tags import g...
Testing the comment_admin_urlname template filter
py
diff --git a/simpl/__about__.py b/simpl/__about__.py index <HASH>..<HASH> 100644 --- a/simpl/__about__.py +++ b/simpl/__about__.py @@ -29,7 +29,7 @@ __summary__ = ('simpl is a collection of useful, ' 'common python libraries, primarily ' 'for building web services and APIs') __url__ = '...
Version bump for release <I>
py
diff --git a/openfisca_core/taxbenefitsystems.py b/openfisca_core/taxbenefitsystems.py index <HASH>..<HASH> 100644 --- a/openfisca_core/taxbenefitsystems.py +++ b/openfisca_core/taxbenefitsystems.py @@ -49,10 +49,7 @@ class OutNode(object): self.typevar = typevar self._vals = vals self._taill...
Simplify OutNode iteration.
py
diff --git a/astroid/node_classes.py b/astroid/node_classes.py index <HASH>..<HASH> 100644 --- a/astroid/node_classes.py +++ b/astroid/node_classes.py @@ -312,7 +312,10 @@ class NodeNG(object): :returns: The nice name. :rtype: str """ - return getattr(self, 'name', getattr(self, 'attrn...
Verify that the names exists in _other_fields before accessing them Some nodes such as the ExceptHandler has a name object but that is an AST node, not a string. This fix prevents a crash when trying to repr() an ExceptHandler.
py
diff --git a/resync/mapper.py b/resync/mapper.py index <HASH>..<HASH> 100644 --- a/resync/mapper.py +++ b/resync/mapper.py @@ -157,7 +157,6 @@ class Map: def src_to_dst(self,src_uri): """Return the dst filepath from the src URI - FIXME -- look at whether urlparse can be used here? ...
Remove fixme as current implementation seems fine
py