diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/simuvex/s_procedure.py b/simuvex/s_procedure.py index <HASH>..<HASH> 100644 --- a/simuvex/s_procedure.py +++ b/simuvex/s_procedure.py @@ -253,7 +253,8 @@ class SimProcedure(SimRun): return else: ret_irsb = self.state.arch.get_ret_irsb(self.addr) - ret_state = S...
Fixed the issue when the state is unsat, SimProcedure class cannot generate the ret_state any more.
py
diff --git a/tests/tests/test_package_json.py b/tests/tests/test_package_json.py index <HASH>..<HASH> 100644 --- a/tests/tests/test_package_json.py +++ b/tests/tests/test_package_json.py @@ -101,3 +101,10 @@ class PackageJsonTests(SimpleTestCase): with self.assertRaises(ImproperlyConfigured): fi...
Make sure that an ImproperlyConfigured error is raised on invalid 'magic' settings
py
diff --git a/mordred.py b/mordred.py index <HASH>..<HASH> 100755 --- a/mordred.py +++ b/mordred.py @@ -468,7 +468,11 @@ class TaskPanels(Task): logger.debug("%s %s", alias_url, action) r = requests.post(alias_url, data=action) - r.raise_for_status() + try: + r.raise_for_stat...
[aliases] Log as an error when an aliases can not be created
py
diff --git a/scrubadub/scrubbers.py b/scrubadub/scrubbers.py index <HASH>..<HASH> 100644 --- a/scrubadub/scrubbers.py +++ b/scrubadub/scrubbers.py @@ -33,11 +33,11 @@ class Scrubber(object): raise exceptions.UnicodeRequired clean_chunks = [] - last_filth = Filth() - for filth in se...
fixed some bugs when there is no erroring text
py
diff --git a/multigtfs/models/base.py b/multigtfs/models/base.py index <HASH>..<HASH> 100644 --- a/multigtfs/models/base.py +++ b/multigtfs/models/base.py @@ -69,6 +69,11 @@ class BaseQuerySet(GeoQuerySet): return self.filter(**kwargs) +class BaseManager(models.GeoManager): + def get_query_set(self): + ...
Django <I> now actually works. Previously only django <I> worked.
py
diff --git a/dvc/analytics.py b/dvc/analytics.py index <HASH>..<HASH> 100644 --- a/dvc/analytics.py +++ b/dvc/analytics.py @@ -146,7 +146,7 @@ def _find_or_create_user_id(): lockfile = os.path.join(config_dir, "user_id.lock") # Since the `fname` and `lockfile` are under the global config, - # we need to ...
:nail_care: add dot to the end of the comment
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -108,7 +108,8 @@ setup( install_requires=["numpy>=1.14.3", "requests", "ruamel.yaml>=0.15.6", "monty>=3.0.2", "scipy>=1.0.1", "pydispatcher>=2.0.5", "tabulate", "spglib>=1.9.9...
add new reqs to setup.py
py
diff --git a/tests/test_examples.py b/tests/test_examples.py index <HASH>..<HASH> 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -21,15 +21,22 @@ import matplotlib matplotlib.use('Agg') -from os import path import os +from os import path + +try: + from path import walk +except ImportError: ...
MAINT: Make walk usage in example tests compatible with Python 3 The rename of walk is not provided by six, so check the import error via an exception. Also, callback behavior slightly changes between the two versions, so instead iterate over the walked files and call what was formerly a callback, directly as a funct...
py
diff --git a/pyeapi/client.py b/pyeapi/client.py index <HASH>..<HASH> 100644 --- a/pyeapi/client.py +++ b/pyeapi/client.py @@ -765,5 +765,6 @@ def connect_to(name): username=kwargs.get('username'), password=kwargs.get('password'), port=kwargs.get('port'), + ...
Update client.py Added line <I>, so a timeout value can also be specified in a conf file and be pulled into the node object.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ safemd – Safety first markdown rendering Author: Alexander Hultnér, 2018 """ -from setuptools import setup +from setuptools import setup, find_packages with open("README.md") as f: long_description = f...
Bumped version to <I>, minor fix in setuptools
py
diff --git a/jax/experimental/jax2tf/jax2tf.py b/jax/experimental/jax2tf/jax2tf.py index <HASH>..<HASH> 100644 --- a/jax/experimental/jax2tf/jax2tf.py +++ b/jax/experimental/jax2tf/jax2tf.py @@ -134,7 +134,7 @@ def _tfval_add_unit(vals: Sequence[TfValOrUnit], tf_impl: Dict[core.Primitive, Callable[..., ...
[jax2tf] Flip the with_gradient=True; was flipped back by mistake (#<I>)
py
diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py index <HASH>..<HASH> 100644 --- a/pandas/io/tests/test_pytables.py +++ b/pandas/io/tests/test_pytables.py @@ -11,6 +11,14 @@ import numpy as np import pandas from pandas import (Series, DataFrame, Panel, MultiIndex, Categorical, bdate_ra...
TST: skip tests on incompatible PyTables version (GH<I>, GH<I>)
py
diff --git a/cartoframes/utils/geom_utils.py b/cartoframes/utils/geom_utils.py index <HASH>..<HASH> 100644 --- a/cartoframes/utils/geom_utils.py +++ b/cartoframes/utils/geom_utils.py @@ -4,9 +4,6 @@ import shapely import binascii as ba from geopandas import GeoSeries, GeoDataFrame, points_from_xy -from shapely.geom...
String-based check for geom_type
py
diff --git a/mbuild/tests/test_tiled_compound.py b/mbuild/tests/test_tiled_compound.py index <HASH>..<HASH> 100755 --- a/mbuild/tests/test_tiled_compound.py +++ b/mbuild/tests/test_tiled_compound.py @@ -8,11 +8,11 @@ class TestTiledCompound(BaseTest): def test_2d_replication(self, betacristobalite): nx ...
replicate in 2 dimensions for test_tiled_compound
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from distutils.core import setup import unittest import sys -version = "0.6.2" +version = "0.6.3" with open("CHANGES.rst") as chlogf, open('README.rst', encoding='utf-8') as rdmef: long_description = c...
Preparing release <I>
py
diff --git a/benchexec/containerexecutor.py b/benchexec/containerexecutor.py index <HASH>..<HASH> 100644 --- a/benchexec/containerexecutor.py +++ b/benchexec/containerexecutor.py @@ -121,10 +121,13 @@ def handle_basic_container_args(options, parser=None): "host lookups will fail despite --network-acces...
Keep /run/systemd/resolve visible if it exists and --keep-system-config is used. On systems with systemd-resolved, /etc/resolv.conf is a symlink to a file in this directory, so if it is hidden, DNS lookups do not work.
py
diff --git a/aiotg/chat.py b/aiotg/chat.py index <HASH>..<HASH> 100644 --- a/aiotg/chat.py +++ b/aiotg/chat.py @@ -56,7 +56,7 @@ class Chat: parse_mode=parse_mode ) - def _send_to_chat(self, docstring, method, **options): + def _send_to_chat(self, method, **options): return self.b...
Remove little bit of experimentation that slipped through
py
diff --git a/timeside/analyzer/yaafe.py b/timeside/analyzer/yaafe.py index <HASH>..<HASH> 100644 --- a/timeside/analyzer/yaafe.py +++ b/timeside/analyzer/yaafe.py @@ -37,7 +37,6 @@ class Yaafe(Analyzer): def __init__(self, yaafeSpecification=None): # Check arguments if yaafeSpecification is None:...
Delete print log in Yaafe analyzer
py
diff --git a/scrapelib.py b/scrapelib.py index <HASH>..<HASH> 100644 --- a/scrapelib.py +++ b/scrapelib.py @@ -434,7 +434,7 @@ class Scraper(object): and not retry_on_404): return resp, content except socket.error, e: - ...
fix re-raise of error after retry
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3243,8 +3243,6 @@ class Choice(object): # See Kconfig._build_dep() self._dependents = set() - # The prompts and default values without any dependencies from - # enclosing ...
Remove left-over misleading property comment Versions of properties without parent dependencies propagated aren't saved anymore (though it'd be easy to add back if needed).
py
diff --git a/neopixel.py b/neopixel.py index <HASH>..<HASH> 100644 --- a/neopixel.py +++ b/neopixel.py @@ -83,6 +83,9 @@ class NeoPixel: self.n = n self.bpp = bpp self.buf = bytearray(n * bpp) + # Set auto_write to False temporarily so brightness setter does _not_ + # call show(...
Update to brightness `brightness` no longer requires `show()` when changed if `auto_write=True`.
py
diff --git a/werkzeug/wrappers.py b/werkzeug/wrappers.py index <HASH>..<HASH> 100644 --- a/werkzeug/wrappers.py +++ b/werkzeug/wrappers.py @@ -550,7 +550,7 @@ class BaseRequest(object): @cached_property def url(self): - """The reconstructed current URL""" + """The reconstructed current URL as ...
Documented URLs being IRIs in wrappers.
py
diff --git a/cleo/commands/command.py b/cleo/commands/command.py index <HASH>..<HASH> 100644 --- a/cleo/commands/command.py +++ b/cleo/commands/command.py @@ -336,7 +336,7 @@ class Command(BaseCommand): """ Automatically spin a progress indicator. """ - spinner = ProgressIndicator(self...
chore: fix failing lint
py
diff --git a/rows/cli.py b/rows/cli.py index <HASH>..<HASH> 100755 --- a/rows/cli.py +++ b/rows/cli.py @@ -272,7 +272,8 @@ def sum_(input_encoding, output_encoding, input_locale, output_locale, @click.option('--output-encoding') @click.option('--input-locale') @click.option('--output-locale') -@click.option('--frame...
Adds help text for frame-style
py
diff --git a/javasphinx/extdoc.py b/javasphinx/extdoc.py index <HASH>..<HASH> 100644 --- a/javasphinx/extdoc.py +++ b/javasphinx/extdoc.py @@ -7,7 +7,7 @@ from sphinx.util.nodes import split_explicit_title def get_javadoc_ref(app, rawtext, text): javadoc_url_map = app.config.javadoc_url_map - # Add default s...
ISSUE-<I>: Attempt to redirect package references to package summary URLs
py
diff --git a/loguru/__init__.py b/loguru/__init__.py index <HASH>..<HASH> 100644 --- a/loguru/__init__.py +++ b/loguru/__init__.py @@ -11,6 +11,8 @@ from ._logger import Logger as _Logger __version__ = "0.2.5" +__all__ = ["logger"] + logger = _Logger({}, None, None, False, False, False, False, 0) if _defaults....
Add '__all__' value to __init__.py file (PEP8 recommendation)
py
diff --git a/tests/test_backtest.py b/tests/test_backtest.py index <HASH>..<HASH> 100644 --- a/tests/test_backtest.py +++ b/tests/test_backtest.py @@ -2,7 +2,11 @@ from __future__ import division import bt import pandas as pd import numpy as np -import mock +import sys +if sys.version_info < (3, 3): + import mock...
Updated mock import for <I>
py
diff --git a/simpycity/model.py b/simpycity/model.py index <HASH>..<HASH> 100644 --- a/simpycity/model.py +++ b/simpycity/model.py @@ -251,9 +251,9 @@ class SimpleModel(Construct): raise FunctionError("This function can only take keyword arguments.") my_args = kwargs.copy() ...
Fix debugging line in model's getattribute.
py
diff --git a/fluo/forms/widgets.py b/fluo/forms/widgets.py index <HASH>..<HASH> 100644 --- a/fluo/forms/widgets.py +++ b/fluo/forms/widgets.py @@ -26,11 +26,10 @@ from __future__ import absolute_import, division, print_function, unicode_literals import datetime import re -from itertools import chain from django.con...
cleanup imports in fluo/forms/widgets.py
py
diff --git a/tests/lax_numpy_test.py b/tests/lax_numpy_test.py index <HASH>..<HASH> 100644 --- a/tests/lax_numpy_test.py +++ b/tests/lax_numpy_test.py @@ -20,6 +20,7 @@ import collections import functools from functools import partial import itertools +import unittest from unittest import skip from absl.testing ...
Skip some GPU reduction tests for complex<I> types since they don't work yet.
py
diff --git a/scapy/contrib/isotp.py b/scapy/contrib/isotp.py index <HASH>..<HASH> 100644 --- a/scapy/contrib/isotp.py +++ b/scapy/contrib/isotp.py @@ -318,8 +318,3 @@ class ISOTPSocket(SuperSocket): ts = get_last_packet_timestamp(self.ins) return self.basecls, pkt, ts - - def sr1(self, *args, **k...
Removed one more redundant method override
py
diff --git a/benchbuild/utils/settings.py b/benchbuild/utils/settings.py index <HASH>..<HASH> 100644 --- a/benchbuild/utils/settings.py +++ b/benchbuild/utils/settings.py @@ -532,7 +532,7 @@ def path_constructor(loader, node): return ConfigPath(value) -def __find_config__(test_file=None, defaults=None, root=os...
[utils] Generalize setup_config to enable use from other projects. Generalize setup_config by making the name of the environment variable a parameter. Fix visability of find_config function.
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -94,6 +94,15 @@ def test_load_ui_returntype(): assert isinstance(obj, QtCore.QObject) app.exit() +def test_load_ui_baseinstance(): + """Tests to see if the baseinstance loading loads widgets on properly""" + ...
Added test to test for loading of baseInstance
py
diff --git a/examples/demoproject/settings.py b/examples/demoproject/settings.py index <HASH>..<HASH> 100644 --- a/examples/demoproject/settings.py +++ b/examples/demoproject/settings.py @@ -62,7 +62,7 @@ TEMPLATE_LOADERS = ( # 'django.template.loaders.eggs.load_template_source', ) -CACHE_BACKEND = "memcached:/...
Comment out cache_backend from demoproject settings
py
diff --git a/tests/jenkins.py b/tests/jenkins.py index <HASH>..<HASH> 100644 --- a/tests/jenkins.py +++ b/tests/jenkins.py @@ -30,7 +30,7 @@ def run(platform, provider, commit, clean): vm_name, commit), print('Running CMD: {0}'.format(cmd)) - subprocess.call( + retcode = sub...
pass through the retcode from the state call
py
diff --git a/pyocd/gdbserver/gdbserver.py b/pyocd/gdbserver/gdbserver.py index <HASH>..<HASH> 100644 --- a/pyocd/gdbserver/gdbserver.py +++ b/pyocd/gdbserver/gdbserver.py @@ -267,6 +267,9 @@ class GDBServer(threading.Thread): def run(self): LOG.info('GDB server started on port %d (core %d)', self.port, ...
Ensuring the target is halted when gdb connects. If gdb connected to a running target, it gets confused and doesn't let you halt.
py
diff --git a/scapy/arch/pcapdnet.py b/scapy/arch/pcapdnet.py index <HASH>..<HASH> 100644 --- a/scapy/arch/pcapdnet.py +++ b/scapy/arch/pcapdnet.py @@ -43,11 +43,10 @@ if conf.use_pcap: if hasattr(pcap,"pcap"): # python-pypcap class _PcapWrapper_pypcap: def __init__(self, device, s...
Remove dependency on special 'scapy' string in pcap.__version__ Newer versions of the pypcap library now include our fixes and support the timeout_ms argument. So we should not depend on our customized, specially marked, pypcap version anymore.
py
diff --git a/peppy/project.py b/peppy/project.py index <HASH>..<HASH> 100644 --- a/peppy/project.py +++ b/peppy/project.py @@ -813,7 +813,7 @@ class Project(AttMap): _LOGGER.debug("Adding attributes for {}: {}".format( self.__class__.__name__, config.keys())) _LOGGER.debug("Config metadat...
make the config an AttMap to get merger
py
diff --git a/djangosaml2/tests/__init__.py b/djangosaml2/tests/__init__.py index <HASH>..<HASH> 100644 --- a/djangosaml2/tests/__init__.py +++ b/djangosaml2/tests/__init__.py @@ -318,7 +318,6 @@ class SAML2Tests(TestCase): self.assertSAMLRequestsEquals(decode_base64_and_inflate(saml_request).decode('utf-8'), ...
Re-enable test previously skipped due to pysaml2 bug
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup ( name='jinja2-highlight', - version='0.2.1', + version='0.2.2', description='Jinja2 extension to highlight source code using Pygments', keywords = 'synta...
update package version to <I>
py
diff --git a/fastimport/processor.py b/fastimport/processor.py index <HASH>..<HASH> 100644 --- a/fastimport/processor.py +++ b/fastimport/processor.py @@ -78,7 +78,7 @@ class ImportProcessor(object): self.pre_process() for cmd in command_iter(): try: - handler = self.__clas...
Get handlers from class object using getattr() for possible inheritance Issue #6: __dict__ stores only class' local variables and therefore it can't find the handlers defined in the inherited classes.
py
diff --git a/d1_client_cli/src/d1_client_cli/dataone.py b/d1_client_cli/src/d1_client_cli/dataone.py index <HASH>..<HASH> 100755 --- a/d1_client_cli/src/d1_client_cli/dataone.py +++ b/d1_client_cli/src/d1_client_cli/dataone.py @@ -758,6 +758,9 @@ class DataONECLI(): return self.session.set_with_implicit_section(na...
i#<I>: Make sure there is something to validate.
py
diff --git a/tests/test_bad_syntax.py b/tests/test_bad_syntax.py index <HASH>..<HASH> 100644 --- a/tests/test_bad_syntax.py +++ b/tests/test_bad_syntax.py @@ -14,6 +14,14 @@ def test_wrong_number_of_arguments(simple_content): @pytest.mark.django_db +def test_wrong_number_of_arguments_simple(simple_content): + t...
Get test coverage back up to <I>%
py
diff --git a/caniusepython3/test/test_pylint_checker.py b/caniusepython3/test/test_pylint_checker.py index <HASH>..<HASH> 100644 --- a/caniusepython3/test/test_pylint_checker.py +++ b/caniusepython3/test/test_pylint_checker.py @@ -38,7 +38,7 @@ def python2_only(test): return unittest.skipIf(sys.version_info[0] > 2...
Use a decorator as a decorator
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -60,6 +60,7 @@ setup( 'django-ipware==1.1.3', 'django-lazysignup==1.0.2', 'flake8==2.5.1', + 'ipython==4.0.3', 'jsonschema==2.5.1', 'mock==1.3.0', 'pandas==0.17.1',
add IPython to dependencies to make Django shell better
py
diff --git a/openpnm/algorithms/GenericTransport.py b/openpnm/algorithms/GenericTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/GenericTransport.py +++ b/openpnm/algorithms/GenericTransport.py @@ -788,17 +788,14 @@ class GenericTransport(GenericAlgorithm): import networkx as nx from ...
Move "short-circuit validity checks" in GenericTransport before other health checks
py
diff --git a/tests/test_pane.py b/tests/test_pane.py index <HASH>..<HASH> 100644 --- a/tests/test_pane.py +++ b/tests/test_pane.py @@ -31,9 +31,9 @@ def test_set_height(session): pane1 = window.attached_pane pane1_height = pane1['pane_height'] - pane1.set_height(2) + pane1.set_height(4) assert pa...
try to fix height test by making pane taller
py
diff --git a/djangocms_installer/__init__.py b/djangocms_installer/__init__.py index <HASH>..<HASH> 100644 --- a/djangocms_installer/__init__.py +++ b/djangocms_installer/__init__.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- __author__ = 'Iacopo Spalletti' __email__ = 'i.spalletti@nephila.it' -__version__ = '1.0.0.dev...
Release <I>rc1 [ci skip]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ setup( description='AWS Shell', long_description=open('README.rst').read(), author='James Saryerwinnie', - url='https://github.com/jamesls/aws-shell', + url='https://github.com/awslabs/aws-s...
fix: repo url (jamesls/aws-shell -> awslabs/)
py
diff --git a/ginga/rv/main.py b/ginga/rv/main.py index <HASH>..<HASH> 100644 --- a/ginga/rv/main.py +++ b/ginga/rv/main.py @@ -193,12 +193,13 @@ class ReferenceViewer(object): self.add_global_plugin(spec.module, spec.workspace, path=spec.get('path', None), ...
General PEP8 clean-up of main.py
py
diff --git a/tests/rules/test_sudo.py b/tests/rules/test_sudo.py index <HASH>..<HASH> 100644 --- a/tests/rules/test_sudo.py +++ b/tests/rules/test_sudo.py @@ -5,7 +5,8 @@ from tests.utils import Command @pytest.mark.parametrize('stderr', ['Permission denied', 'permission denied',...
Hoping this fixes the issue of it not working. Still new to this project. My problem of it not working (I admit to being at fault) was that I had not added the same rule to the test case.
py
diff --git a/Lib/fontMath/__init__.py b/Lib/fontMath/__init__.py index <HASH>..<HASH> 100644 --- a/Lib/fontMath/__init__.py +++ b/Lib/fontMath/__init__.py @@ -5,9 +5,15 @@ This was inspired, and is more or less a clone, of Erik van Blokland's brilliant glyph math in RoboFab. """ +try: + from ._version import __v...
Correct version info got mixed up in bumpversion yesterday. Fixed. (#<I>)
py
diff --git a/claripy/ast.py b/claripy/ast.py index <HASH>..<HASH> 100644 --- a/claripy/ast.py +++ b/claripy/ast.py @@ -374,9 +374,9 @@ class A(ana.Storable): self.__a_init__(claripy, f_op, f_args, **f_kwargs) self._hash = h cls._hash_cache[h] = self - else: - if ...
Disabled the hash-collision detection in ast.py
py
diff --git a/picotui/widgets.py b/picotui/widgets.py index <HASH>..<HASH> 100644 --- a/picotui/widgets.py +++ b/picotui/widgets.py @@ -194,28 +194,27 @@ class WFrame(Widget): self.wr(" %s " % self.t) -class WCheckbox(Widget): +class WCheckbox(ChoiceWidget): focusable = True - def __init__(s...
widgets: WCheckbox: Inherit from ChoiceWidget. Thus, value is now stored in self.choice.
py
diff --git a/utils/run.py b/utils/run.py index <HASH>..<HASH> 100755 --- a/utils/run.py +++ b/utils/run.py @@ -83,6 +83,7 @@ def formatFlow( s ): +import cdmcf from cdmcf import getControlFlowFromFile, VERSION if len( sys.argv ) != 2: @@ -90,6 +91,7 @@ if len( sys.argv ) != 2: sys.exit( 1 ) print "Run...
Print the path to the cdmcf module
py
diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py index <HASH>..<HASH> 100644 --- a/python/phonenumbers/__init__.py +++ b/python/phonenumbers/__init__.py @@ -146,7 +146,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency # Version number is taken from the ...
Prep for <I> release
py
diff --git a/src/pybel/manager/models.py b/src/pybel/manager/models.py index <HASH>..<HASH> 100644 --- a/src/pybel/manager/models.py +++ b/src/pybel/manager/models.py @@ -386,8 +386,8 @@ class Network(Base): created = Column(DateTime, default=datetime.datetime.utcnow) blob = Column(LargeBinary(LONGBLOB), doc...
Fix backrefs in network, edge, and node models
py
diff --git a/holoviews/core/data.py b/holoviews/core/data.py index <HASH>..<HASH> 100644 --- a/holoviews/core/data.py +++ b/holoviews/core/data.py @@ -546,6 +546,7 @@ class NdColumns(DataColumns): kdims = kdims if kdims else element_params['kdims'].default vdims = vdims if vdims else element_p...
Fixed missing variable declaration in NdColumns.reshape
py
diff --git a/ncclient/operations/retrieve.py b/ncclient/operations/retrieve.py index <HASH>..<HASH> 100644 --- a/ncclient/operations/retrieve.py +++ b/ncclient/operations/retrieve.py @@ -46,6 +46,15 @@ class GetReply(RPCReply): "Same as :attr:`data_ele`" +class GetSchemaReply(GetReply): + """Reply for GetSc...
Use specific reply class for GetSchema This correctly extracts the YANG model from the reply unlike the generic GetReply class which uses the wrong namespace.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ if sys.version_info < (3, 0): setup(name='picotui', - version='1.0', + version='1.0.1', description="""A simple text user interface (TUI) library.""", long_description=open('README.rst...
setup.py: Release <I>.
py
diff --git a/glue/ligolw/table.py b/glue/ligolw/table.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/table.py +++ b/glue/ligolw/table.py @@ -422,6 +422,8 @@ class RowBuilder(object): def __init__(self, rowtype, attributes): self.rowtype = rowtype self.attributes = tuple(attributes) + if len(self.attributes) ...
Check that rows get at least one attribute.
py
diff --git a/saferedisqueue.py b/saferedisqueue.py index <HASH>..<HASH> 100644 --- a/saferedisqueue.py +++ b/saferedisqueue.py @@ -93,7 +93,7 @@ class SafeRedisQueue(object): except redis.WatchError: pass - def push(self, item): + def put(self, item): """Adds an it...
Adds put/get terminology and returns uid for put.
py
diff --git a/tests/unit/test_identity.py b/tests/unit/test_identity.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_identity.py +++ b/tests/unit/test_identity.py @@ -292,7 +292,7 @@ class IdentityTest(unittest.TestCase): fake_resp.json = Mock(return_value={u'unauthorized': { u'message': u...
Fixed unit test broken by previous commit.
py
diff --git a/airflow/hooks/presto_hook.py b/airflow/hooks/presto_hook.py index <HASH>..<HASH> 100644 --- a/airflow/hooks/presto_hook.py +++ b/airflow/hooks/presto_hook.py @@ -1,10 +1,11 @@ from builtins import str +import logging + from pyhive import presto from pyhive.exc import DatabaseError from airflow.hooks....
[AIRFLOW-<I>] Do not eval user input in PrestoHook Running `eval` represent a security threat as the interpreter can be hijacked by the service returning the string getting "evaled", in this case Presto. It turns out the code I'm changing here was written a long time ago and misguided, casting a python object to a str...
py
diff --git a/atrcopy/__init__.py b/atrcopy/__init__.py index <HASH>..<HASH> 100644 --- a/atrcopy/__init__.py +++ b/atrcopy/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.2.0" +__version__ = "3.3.0" import logging
Updated version number to <I> so omnivore can require it
py
diff --git a/SECEdgar/crawler.py b/SECEdgar/crawler.py index <HASH>..<HASH> 100755 --- a/SECEdgar/crawler.py +++ b/SECEdgar/crawler.py @@ -70,7 +70,7 @@ class SecCrawler(object): if len(date) != 8: raise TypeError('Date must be of the form YYYYMMDD') elif isinstance(date, int): - ...
Change date sanitizing conditions
py
diff --git a/tests/test_wal_transfer.py b/tests/test_wal_transfer.py index <HASH>..<HASH> 100644 --- a/tests/test_wal_transfer.py +++ b/tests/test_wal_transfer.py @@ -69,6 +69,8 @@ def indeterminate(seg): assert seg._marked is False else: assert seg._marked is True + else: + ...
Strengthen consistency check in test Maciek Sakrejda accurately points out that un-uploaded segments ought to never be marked as done in his review.
py
diff --git a/pwkit/environments/casa/util.py b/pwkit/environments/casa/util.py index <HASH>..<HASH> 100644 --- a/pwkit/environments/casa/util.py +++ b/pwkit/environments/casa/util.py @@ -177,7 +177,12 @@ def logger (filter='WARN'): os.chdir (tempdir) sink = tools.logsink () sink.s...
pwkit/environments/casa/util.py: fix for CASA <I> Looks like they finally made it stop making a stupid file every time you create a logger.
py
diff --git a/tests/classes_test.py b/tests/classes_test.py index <HASH>..<HASH> 100755 --- a/tests/classes_test.py +++ b/tests/classes_test.py @@ -1230,8 +1230,8 @@ class GSNodeFromFileTest(GSObjectsTestCase): def test_makeNodeFirst(self): oldAmount = len(self.path.nodes) - oldSecondNode = self.p...
Changed test. Only on-curve points can become start points
py
diff --git a/payu/experiment.py b/payu/experiment.py index <HASH>..<HASH> 100644 --- a/payu/experiment.py +++ b/payu/experiment.py @@ -601,6 +601,7 @@ class Experiment(object): # Add extra information to save to jobinfo info.update( { + 'PAYU_CONTROL_DIR': self.control_path...
Added control path to job yaml dump
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -174,7 +174,7 @@ DEFAULT_MASTER_OPTS = { 'cluster_masters': [], 'cluster_mode': 'paranoid', 'range_server': 'range:80', - 'reactors': [], + 'reactor': [], 'serial': 'msgpack', ...
Fixed a typo with the default reactor config key
py
diff --git a/fedmsg_meta_fedora_infrastructure/tests/badges.py b/fedmsg_meta_fedora_infrastructure/tests/badges.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/tests/badges.py +++ b/fedmsg_meta_fedora_infrastructure/tests/badges.py @@ -86,7 +86,7 @@ class TestRankAdvance(Base): <https://badg...
Catch up to the latest from the develop branch.
py
diff --git a/tests/unit/utils/vt_test.py b/tests/unit/utils/vt_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/utils/vt_test.py +++ b/tests/unit/utils/vt_test.py @@ -16,7 +16,7 @@ import random import subprocess # Import Salt Testing libs -from salttesting import TestCase +from salttesting import TestCase, ski...
Add skipIf import to fix the <I> tests
py
diff --git a/test/test_credentials.py b/test/test_credentials.py index <HASH>..<HASH> 100644 --- a/test/test_credentials.py +++ b/test/test_credentials.py @@ -4,12 +4,16 @@ import json import os import time from cartoframes import Credentials -from cartoframes.credentials import _USER_CONFIG_DIR +from cartoframes.cr...
config file workflow removal on setup, etc.
py
diff --git a/elasticapm/conf/__init__.py b/elasticapm/conf/__init__.py index <HASH>..<HASH> 100644 --- a/elasticapm/conf/__init__.py +++ b/elasticapm/conf/__init__.py @@ -594,7 +594,7 @@ class Config(_ConfigBase): type=int, ) exit_span_min_duration = _ConfigValue( - "exit_span_min_duration", +...
fix casing of exit_span_min_duration setting (#<I>)
py
diff --git a/openquake/engine/calculators/hazard/general.py b/openquake/engine/calculators/hazard/general.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/hazard/general.py +++ b/openquake/engine/calculators/hazard/general.py @@ -622,7 +622,7 @@ enumeration mode, i.e. set number_of_logic_tree_samples=0...
Tried to save memory in the postprocessing phase
py
diff --git a/ocrd/ocrd/workspace.py b/ocrd/ocrd/workspace.py index <HASH>..<HASH> 100644 --- a/ocrd/ocrd/workspace.py +++ b/ocrd/ocrd/workspace.py @@ -278,6 +278,7 @@ class Workspace(): with pushd_popd(self.directory): pil_image = Image.open(image_filename) + pil_image.load() # alloc ...
workspace: ensure PIL.Image.open FD gets closed
py
diff --git a/galpy/potential_src/Potential.py b/galpy/potential_src/Potential.py index <HASH>..<HASH> 100644 --- a/galpy/potential_src/Potential.py +++ b/galpy/potential_src/Potential.py @@ -878,7 +878,7 @@ class Potential(object): phi= (None) azimuth to use for non-axisymmetric potentials - x...
Fix documentation for xy= in plot and plotPotentials
py
diff --git a/salt/modules/napalm_network.py b/salt/modules/napalm_network.py index <HASH>..<HASH> 100644 --- a/salt/modules/napalm_network.py +++ b/salt/modules/napalm_network.py @@ -1195,6 +1195,7 @@ def load_template(template_name, _loaded['comment'] = 'Error while rendering the template.' ...
Clean up temporary file in net.load_template
py
diff --git a/pandas/tests/io/excel/__init__.py b/pandas/tests/io/excel/__init__.py index <HASH>..<HASH> 100644 --- a/pandas/tests/io/excel/__init__.py +++ b/pandas/tests/io/excel/__init__.py @@ -0,0 +1,6 @@ +import pytest + +pytestmark = pytest.mark.filterwarnings( + # Looks like tree.getiterator is deprecated in fa...
TST: suppress <I> warnings issued by xml parser (#<I>)
py
diff --git a/slackbot/settings.py b/slackbot/settings.py index <HASH>..<HASH> 100644 --- a/slackbot/settings.py +++ b/slackbot/settings.py @@ -23,6 +23,9 @@ for key in os.environ: globals()[name] = os.environ[key] try: - from local_settings import * + from slackbot_settings import * except ImportErro...
Pull project settings from slackbot_settings.py When using slackbot as a library the current way to load project settings is by adding a local_settings.py to your projects, this is not that convenient when there are common settings between production and local development environments
py
diff --git a/pypot/server/ws.py b/pypot/server/ws.py index <HASH>..<HASH> 100644 --- a/pypot/server/ws.py +++ b/pypot/server/ws.py @@ -24,8 +24,8 @@ class RepeatedTimer(object): def _run(self): self.is_running = False - self.start() self.function(*self.args, **self.kwargs) + self....
Fix a reentrant issue in the ws. The publish_robot_state method could be called again before the previous one was over resulting in corrupt data.
py
diff --git a/janitor/resources/ec2.py b/janitor/resources/ec2.py index <HASH>..<HASH> 100644 --- a/janitor/resources/ec2.py +++ b/janitor/resources/ec2.py @@ -276,10 +276,12 @@ class Terminate(BaseAction, StateTransitionFilter): if self.data.get('force'): self.log.info("Disabling termination prote...
chunk/batch instances when terminating if there lots of them
py
diff --git a/buku.py b/buku.py index <HASH>..<HASH> 100755 --- a/buku.py +++ b/buku.py @@ -18,6 +18,7 @@ # along with Buku. If not, see <http://www.gnu.org/licenses/>. import argparse +import cgi import collections import html.parser as HTMLParser import json @@ -2948,9 +2949,14 @@ def get_page_title(resp): ...
Detect page charset from content-type field
py
diff --git a/dramatiq/message.py b/dramatiq/message.py index <HASH>..<HASH> 100644 --- a/dramatiq/message.py +++ b/dramatiq/message.py @@ -63,7 +63,7 @@ class Message(namedtuple("Message", ( """Encapsulates metadata about messages being sent to individual actors. Parameters: - queue_name(str): The name...
docs: fix typo (#<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 @@ -61,7 +61,11 @@ class ExtPythonShellWidget(PythonShellWidget): so...
External shell: handling error occuring when shell is closed and communication is lost between monitor and Spyder
py
diff --git a/optlang/cplex_interface.py b/optlang/cplex_interface.py index <HASH>..<HASH> 100644 --- a/optlang/cplex_interface.py +++ b/optlang/cplex_interface.py @@ -21,8 +21,6 @@ Wraps the GLPK solver by subclassing and extending :class:`Model`, from warnings import warn -warn("Be careful! The CPLEX interface is...
Removed the annoying CPLEX warning.
py
diff --git a/py/selenium/webdriver/firefox/firefox_profile.py b/py/selenium/webdriver/firefox/firefox_profile.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/firefox/firefox_profile.py +++ b/py/selenium/webdriver/firefox/firefox_profile.py @@ -279,7 +279,6 @@ class FirefoxProfile(object): "browser.d...
DavidBurns removed unused static decorator r<I>
py
diff --git a/pghoard/pghoard.py b/pghoard/pghoard.py index <HASH>..<HASH> 100644 --- a/pghoard/pghoard.py +++ b/pghoard/pghoard.py @@ -407,7 +407,7 @@ class PGHoard(object): else: self.log_level = logging._levelNames[self.config.get("log_level", "DEBUG")] # pylint: disable=no-member,protected-acc...
logging: set root level log level correctly on reload
py
diff --git a/rinoh/table.py b/rinoh/table.py index <HASH>..<HASH> 100644 --- a/rinoh/table.py +++ b/rinoh/table.py @@ -167,7 +167,7 @@ class Table(HorizontallyAlignedFlowable): relative_factor = min(auto_relative_width / width for width, auto_relative_width ...
Table: fix problem with all-None columns widths
py
diff --git a/salt/client/ssh/ssh_py_shim.py b/salt/client/ssh/ssh_py_shim.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/ssh_py_shim.py +++ b/salt/client/ssh/ssh_py_shim.py @@ -230,7 +230,7 @@ def main(argv): # pylint: disable=W0613 subprocess.call(salt_argv) shutil.rmtree(OPTIONS.saltdir) ...
Some environments refuse to return the command output This results in the output from salt-ssh being empty, this fix ensures that the output is always there
py
diff --git a/pnc_cli/utils.py b/pnc_cli/utils.py index <HASH>..<HASH> 100644 --- a/pnc_cli/utils.py +++ b/pnc_cli/utils.py @@ -63,8 +63,7 @@ def get_auth_token(config): r = requests.post(server, params, verify=False) if r.status_code == 200: reply = json.loads(r.content.decode('utf-8')) - glob...
fix hiccup with globals
py
diff --git a/timepiece/models.py b/timepiece/models.py index <HASH>..<HASH> 100644 --- a/timepiece/models.py +++ b/timepiece/models.py @@ -739,7 +739,7 @@ class AllocationManager(models.Manager): def during_this_week(self, user, day=None): week = utils.get_week_start(day=day) return self.get_quer...
added filter on contract current --HG-- branch : project-budgeting
py
diff --git a/generator/java.stoneg.py b/generator/java.stoneg.py index <HASH>..<HASH> 100644 --- a/generator/java.stoneg.py +++ b/generator/java.stoneg.py @@ -1717,7 +1717,7 @@ class JavaApi(object): def is_collapsible(self, data_type): assert isinstance(data_type, DataType), repr(data_type) - re...
fix the bug in deserializers in union when union member is a enumerate subtype
py
diff --git a/piazza_api/rpc.py b/piazza_api/rpc.py index <HASH>..<HASH> 100644 --- a/piazza_api/rpc.py +++ b/piazza_api/rpc.py @@ -146,6 +146,34 @@ class PiazzaRPC(object): return self._handle_error(r, "Could not create object {}.".format( repr(params))) + + def conte...
Add RPC method for updating existing student answers (#<I>) * Added RPC method for updating existing student answers * Renamed student answer update method
py
diff --git a/elasticsearch_dsl/query.py b/elasticsearch_dsl/query.py index <HASH>..<HASH> 100644 --- a/elasticsearch_dsl/query.py +++ b/elasticsearch_dsl/query.py @@ -86,5 +86,5 @@ class FunctionScore(Query): pass else: kwargs['functions'] = [{'FUNCTION': kwargs.pop('FUNCTION')}] - ...
PLay nice with Python 2.x
py
diff --git a/yabt/graph.py b/yabt/graph.py index <HASH>..<HASH> 100644 --- a/yabt/graph.py +++ b/yabt/graph.py @@ -334,7 +334,7 @@ def write_dot(build_context, conf: Config, out_f): """Write build graph in dot format to `out_f` file-like object.""" buildenvs = set(target.buildenv for target in ...
include buildenvs in buildenv targets
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -69,9 +69,9 @@ tests_require = [ 'nose', 'pep8', 'pytz', - 'pytest', + 'pytest>=2.7.0,<2.8.0', 'pytest-cov>=1.4', - 'pytest-django', + 'pytest-django>=2.8.0,<2.7.0', 'requests', 'torna...
Explicit test requirements for pytest
py
diff --git a/omego/artifacts.py b/omego/artifacts.py index <HASH>..<HASH> 100644 --- a/omego/artifacts.py +++ b/omego/artifacts.py @@ -56,7 +56,9 @@ class Artifacts(object): 'source': r'OMERO\.source.*\.zip', 'win': r'OMERO\.clients.*\.win\.zip', 'linux': r'OMERO\.clie...
Add OMERO.matlab to the list of downloadable artifacts
py
diff --git a/spyder/widgets/variableexplorer/tests/test_arrayeditor.py b/spyder/widgets/variableexplorer/tests/test_arrayeditor.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/variableexplorer/tests/test_arrayeditor.py +++ b/spyder/widgets/variableexplorer/tests/test_arrayeditor.py @@ -101,7 +101,7 @@ def test_arra...
Fix a pep8 to trigger CI tests after rebase
py