diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/astrocats/catalog/catalog.py b/astrocats/catalog/catalog.py index <HASH>..<HASH> 100644 --- a/astrocats/catalog/catalog.py +++ b/astrocats/catalog/catalog.py @@ -15,7 +15,6 @@ from astrocats.catalog.source import SOURCE from astrocats.catalog.task import Task from astrocats.catalog.utils import (compress...
BUG: removed reference to supernovae module in Catalog
py
diff --git a/pghoard/restore.py b/pghoard/restore.py index <HASH>..<HASH> 100644 --- a/pghoard/restore.py +++ b/pghoard/restore.py @@ -7,6 +7,7 @@ See LICENSE for details from __future__ import print_function from .common import lzma_decompressor, lzma_open_read, default_log_format_str from .errors import Error +fro...
create_recovery_conf: properly quote recovery.conf entries Use psycopg2.extensions.adapt to properly quote the primary_conninfo and trigger_file entries in the generated recovery.conf. Previously any callers had to make sure they passed in a quoted form (including enclosing quotes) of the connection string.
py
diff --git a/pvlib/pvsystem.py b/pvlib/pvsystem.py index <HASH>..<HASH> 100644 --- a/pvlib/pvsystem.py +++ b/pvlib/pvsystem.py @@ -90,9 +90,9 @@ class PVSystem(object): See also -------- - :py:class:`~pvlib.location.Location` - :py:class:`~pvlib.tracking.SingleAxisTracker` - :py:class:`~pvlib.p...
remove sphinx markup from see also numpy doc section
py
diff --git a/bokeh/tests/test_main_module.py b/bokeh/tests/test_main_module.py index <HASH>..<HASH> 100644 --- a/bokeh/tests/test_main_module.py +++ b/bokeh/tests/test_main_module.py @@ -2,9 +2,10 @@ import sys import subprocess import bokeh + def test_main_module(): """ Test the __main__.py that allow doing ...
maybe this makes the __main__ test pass?
py
diff --git a/djangodblog/admin.py b/djangodblog/admin.py index <HASH>..<HASH> 100644 --- a/djangodblog/admin.py +++ b/djangodblog/admin.py @@ -3,9 +3,9 @@ from django.contrib import admin from models import ErrorBatch, Error class ErrorBatchAdmin(admin.ModelAdmin): - list_display = ('server_name', 'logger', '...
Some more tweaks for the admin display
py
diff --git a/dragonpy/core/gui.py b/dragonpy/core/gui.py index <HASH>..<HASH> 100644 --- a/dragonpy/core/gui.py +++ b/dragonpy/core/gui.py @@ -360,11 +360,7 @@ class DragonTkinterGUI(BaseTkinterGUI): self.editor_content = None self._editor_window = None - editmenu = tkinter.Menu(self.menubar,...
make "BASIC editor" menu entry to a clickable command
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -506,7 +506,7 @@ class MultiMinion(MinionBase): while True: for minion in minions.values(): if isinstance(minion, dict): - continue + ...
Allow schedules to work in multimaster. This change allows schedules to work in multimaster. I've had to revert to a single master config for now since <I> (the latest EPEL version) contains this bug. I did try this with a single master setup. It does appear to work. The code in the develop version looks very simila...
py
diff --git a/pages/__init__.py b/pages/__init__.py index <HASH>..<HASH> 100644 --- a/pages/__init__.py +++ b/pages/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 2, 3, 'stable') +VERSION = (0, 2, 4, 'dev') def get_release():
running on <I>-dev
py
diff --git a/registry/quilt_server/analytics.py b/registry/quilt_server/analytics.py index <HASH>..<HASH> 100644 --- a/registry/quilt_server/analytics.py +++ b/registry/quilt_server/analytics.py @@ -38,7 +38,12 @@ class NoopConsumer(object): def send(self, endpoint, json_message): pass -mp_token = app.c...
Fix MixPanel logging in teams setups (#<I>) Subtle bug: MixPanel was enabled if the token wasn't set, but not if it was set to None.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( packages=['table'], include_package_data=True, license='BSD License', # example license - description='A simple Django app to conduct Web-based polls.', + description='A simple Djang...
update app desc in setup.py
py
diff --git a/imagemounter/disk.py b/imagemounter/disk.py index <HASH>..<HASH> 100644 --- a/imagemounter/disk.py +++ b/imagemounter/disk.py @@ -664,6 +664,18 @@ class Disk(object): def _mount_parted_volumes(self): """Finds and mounts all volumes based on parted.""" + # for some reason, parted does...
Give parted also basic detection of meta volumes.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -90,7 +90,7 @@ setup( 'scipy >= 0.16.1', 'future >= 0.16', 'statsmodels >= 0.6.1', - 'tqdm >= 4.19.5'], + 'tqdm >= ...
Changed tqdm requirements for conda compatibility.
py
diff --git a/plenum/server/view_change/view_changer.py b/plenum/server/view_change/view_changer.py index <HASH>..<HASH> 100644 --- a/plenum/server/view_change/view_changer.py +++ b/plenum/server/view_change/view_changer.py @@ -703,7 +703,9 @@ class ViewChanger(HasActionQueue, MessageProcessor): def propose_view_...
INDY-<I>: Fix failing tests
py
diff --git a/flask_appbuilder/filemanager.py b/flask_appbuilder/filemanager.py index <HASH>..<HASH> 100644 --- a/flask_appbuilder/filemanager.py +++ b/flask_appbuilder/filemanager.py @@ -31,7 +31,7 @@ class FileManager(object): relative_path="", namegen=None, allowed_extensions=None, - ...
[filemanager] Fix, use a sane mode for directories (#<I>) Set the executable bit so processes can read the directory. Only make the directory writeable by its owner.
py
diff --git a/mmcv/runner/runner.py b/mmcv/runner/runner.py index <HASH>..<HASH> 100644 --- a/mmcv/runner/runner.py +++ b/mmcv/runner/runner.py @@ -27,6 +27,7 @@ class Runner(object): work_dir (str, optional): The working directory to save checkpoints and logs. log_level (int): Logging lev...
allow passing custom logger to runner
py
diff --git a/osbs/build/build_request.py b/osbs/build/build_request.py index <HASH>..<HASH> 100644 --- a/osbs/build/build_request.py +++ b/osbs/build/build_request.py @@ -151,6 +151,8 @@ class BuildRequest(object): return False def set_label(self, name, value): + if not value: + value ...
build_request: don't let set_label set a None tag
py
diff --git a/charmhelpers/contrib/charmsupport/nrpe.py b/charmhelpers/contrib/charmsupport/nrpe.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/charmsupport/nrpe.py +++ b/charmhelpers/contrib/charmsupport/nrpe.py @@ -384,9 +384,8 @@ def add_init_service_checks(nrpe, services, unit_name, immediate_check=True):...
Updated comments to reflect the new logic of the check
py
diff --git a/pymc3/step_methods/hmc/quadpotential.py b/pymc3/step_methods/hmc/quadpotential.py index <HASH>..<HASH> 100644 --- a/pymc3/step_methods/hmc/quadpotential.py +++ b/pymc3/step_methods/hmc/quadpotential.py @@ -196,7 +196,7 @@ class QuadPotentialDiagAdapt(QuadPotential): index = np.where(self._stds...
improve wording the index is after .ravel()
py
diff --git a/odl/operator/oputils.py b/odl/operator/oputils.py index <HASH>..<HASH> 100644 --- a/odl/operator/oputils.py +++ b/odl/operator/oputils.py @@ -154,7 +154,7 @@ def power_method_opnorm(op, xstart=None, maxiter=100, rtol=1e-05, atol=1e-08, Examples -------- - Verify that the identity operator ha...
DOC: Avoid "overly specific" comment in doctest.
py
diff --git a/src/ofxstatement/statement.py b/src/ofxstatement/statement.py index <HASH>..<HASH> 100644 --- a/src/ofxstatement/statement.py +++ b/src/ofxstatement/statement.py @@ -4,6 +4,7 @@ from datetime import datetime from decimal import Decimal as D from hashlib import sha1 from pprint import pformat +from math ...
Fixed naive float comparison that would make ending balance check fail often
py
diff --git a/pysat/tests/test_orbits.py b/pysat/tests/test_orbits.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_orbits.py +++ b/pysat/tests/test_orbits.py @@ -144,11 +144,11 @@ class TestGeneralOrbitsMLT(): """Runs after every method to clean up previous testing.""" del self.testInst + @r...
added StopIteration to test empty data
py
diff --git a/src/Exscript/Connection.py b/src/Exscript/Connection.py index <HASH>..<HASH> 100644 --- a/src/Exscript/Connection.py +++ b/src/Exscript/Connection.py @@ -147,6 +147,14 @@ class Connection(object): """ return self.action.get_host() + def add_monitor(self, pattern, callback): + ...
fix: Connection.add_monitor() should pass the Connection, not the underlying Protocol.
py
diff --git a/usb/backend/libusb1.py b/usb/backend/libusb1.py index <HASH>..<HASH> 100644 --- a/usb/backend/libusb1.py +++ b/usb/backend/libusb1.py @@ -553,6 +553,10 @@ def _setup_prototypes(lib): lib.libusb_get_device_address.argtypes = [c_void_p] lib.libusb_get_device_address.restype = c_uint8 + # uint8...
libusb1: fix seg fault when get_device_speed is called
py
diff --git a/safe/impact_functions/inundation/flood_OSM_building_impact.py b/safe/impact_functions/inundation/flood_OSM_building_impact.py index <HASH>..<HASH> 100644 --- a/safe/impact_functions/inundation/flood_OSM_building_impact.py +++ b/safe/impact_functions/inundation/flood_OSM_building_impact.py @@ -20,20 +20,6 @...
removed wrongly commited testing stuff
py
diff --git a/git/test/test_diff.py b/git/test/test_diff.py index <HASH>..<HASH> 100644 --- a/git/test/test_diff.py +++ b/git/test/test_diff.py @@ -121,6 +121,8 @@ class TestDiff(TestBase): diff = diffs[0] assert_true(diff.copied_file) + assert_true(diff.a_path, u'test1.txt') + assert_t...
Expanded new test for copied file
py
diff --git a/pygtail/core.py b/pygtail/core.py index <HASH>..<HASH> 100755 --- a/pygtail/core.py +++ b/pygtail/core.py @@ -168,6 +168,12 @@ class Pygtail(object): candidates.sort() return candidates[-1] # return most recent + # for TimedRotatingFileHandler + candidates = glob....
add parsing support of TimedRotatingFileHandler
py
diff --git a/compiler/lang.py b/compiler/lang.py index <HASH>..<HASH> 100644 --- a/compiler/lang.py +++ b/compiler/lang.py @@ -18,7 +18,7 @@ def value_is_trivial(value): if value[0] == '(' and value[-1] == ')': value = value[1:-1] - if value == 'true' or value == 'false' or value == 'null': + if value == 'true' ...
handle undefined/null as trivial values
py
diff --git a/src/collectors/diskusage/diskusage.py b/src/collectors/diskusage/diskusage.py index <HASH>..<HASH> 100644 --- a/src/collectors/diskusage/diskusage.py +++ b/src/collectors/diskusage/diskusage.py @@ -63,7 +63,7 @@ class DiskUsageCollector(diamond.collector.Collector): '|sd[a-z]+[0-9...
diskusage: Add support for NVMe partitions
py
diff --git a/python/ray/tune/suggest/optuna.py b/python/ray/tune/suggest/optuna.py index <HASH>..<HASH> 100644 --- a/python/ray/tune/suggest/optuna.py +++ b/python/ray/tune/suggest/optuna.py @@ -12,9 +12,11 @@ from ray.tune.utils.util import flatten_dict, unflatten_dict try: import optuna as ot + from optuna...
[tune] Set correct Optuna TrialState on trial complete (#<I>)
py
diff --git a/subconvert/utils/SubFile.py b/subconvert/utils/SubFile.py index <HASH>..<HASH> 100644 --- a/subconvert/utils/SubFile.py +++ b/subconvert/utils/SubFile.py @@ -121,6 +121,9 @@ class File: (which should be atomic operation according to POSIX but who knows how Ext4 really works. @see: http://...
Respect symbolic links on file write. When user asks to write a subtitles to a symbolic link, a safe write on a real path of this link is performed (i.e. a path that link points to). This commit fixes issue #<I>.
py
diff --git a/bookshelf/api_v1.py b/bookshelf/api_v1.py index <HASH>..<HASH> 100644 --- a/bookshelf/api_v1.py +++ b/bookshelf/api_v1.py @@ -1,4 +1,4 @@ -# vim: ai ts=4 sts=4 et sw=4 ft=python fdm=indent et foldlevel=0 +# vim: ai ts=4 sts=4 et sw=4 ft=python fdm=indent et import boto.ec2 import json
don't autofold on vim
py
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py index <HASH>..<HASH> 100644 --- a/tools/interop_matrix/client_matrix.py +++ b/tools/interop_matrix/client_matrix.py @@ -213,6 +213,7 @@ LANG_RELEASE_MATRIX = { ('v1.24.0', ReleaseInfo()), ('v1.25.0', Rel...
Update interop matrix with Java <I>
py
diff --git a/test/regression/issue_133.py b/test/regression/issue_133.py index <HASH>..<HASH> 100755 --- a/test/regression/issue_133.py +++ b/test/regression/issue_133.py @@ -19,7 +19,7 @@ def test_function(opts, port, test_dir): s.close() - time.sleep(2) + time.sleep(20) s = socket.socket(socket....
Increses timout to stop issue_<I> from failing.
py
diff --git a/pysat/instruments/timed_saber.py b/pysat/instruments/timed_saber.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/timed_saber.py +++ b/pysat/instruments/timed_saber.py @@ -134,7 +134,7 @@ load = cdw.load # a dictionary needs to be created for each sat_id and tag # combination along with the file fo...
fix remote directory for saber
py
diff --git a/tests/workers.py b/tests/workers.py index <HASH>..<HASH> 100644 --- a/tests/workers.py +++ b/tests/workers.py @@ -17,8 +17,15 @@ from limpyd_jobs import STATUSES, LimpydJobsException, ConfigurationException from .base import LimpydBaseTest +try: + from logging import NullHandler +except ImportError...
Add NullHandler compatibility for tests in python <I>
py
diff --git a/www/src/Lib/turtle.py b/www/src/Lib/turtle.py index <HASH>..<HASH> 100644 --- a/www/src/Lib/turtle.py +++ b/www/src/Lib/turtle.py @@ -3017,7 +3017,8 @@ def restart(): _Screen._root = None _Screen._canvas = None Turtle._screen = None - if document[_CFG["turtle_canvas_id"]] is not None: + ...
Fixing missing key problem; sub-issue 1 of issue <I>
py
diff --git a/tests/test_readme.py b/tests/test_readme.py index <HASH>..<HASH> 100644 --- a/tests/test_readme.py +++ b/tests/test_readme.py @@ -2,7 +2,10 @@ from __future__ import unicode_literals import doctest +import os import re +import shutil +import tempfile from conllu.compat import MyDocTestParser @@ -...
Make sure file system is cleaned after running doctests that write to file.
py
diff --git a/exchangelib/transport.py b/exchangelib/transport.py index <HASH>..<HASH> 100644 --- a/exchangelib/transport.py +++ b/exchangelib/transport.py @@ -194,26 +194,26 @@ def _get_auth_method_from_response(response): def _tokenize(val): # Splits cookie auth values - tokens = [] - token = '' + aut...
Silence linters that think 'token' is a password
py
diff --git a/jwcrypto/jwt.py b/jwcrypto/jwt.py index <HASH>..<HASH> 100644 --- a/jwcrypto/jwt.py +++ b/jwcrypto/jwt.py @@ -191,15 +191,15 @@ class JWT(object): if header: self.header = header - if claims: - self.claims = claims - if default_claims is not None: ...
Set claims after reg_claims (or _add_default_claims will never be called).
py
diff --git a/src/synapse/azext_synapse/_validators.py b/src/synapse/azext_synapse/_validators.py index <HASH>..<HASH> 100644 --- a/src/synapse/azext_synapse/_validators.py +++ b/src/synapse/azext_synapse/_validators.py @@ -20,7 +20,7 @@ def validate_statement_language(namespace): statement_language = { 's...
Fixed a typo in validator (#<I>)
py
diff --git a/perfplot/main.py b/perfplot/main.py index <HASH>..<HASH> 100644 --- a/perfplot/main.py +++ b/perfplot/main.py @@ -25,8 +25,8 @@ def _plot( equality_check=numpy.allclose ): # Estimate the timer granularity by measuring a no-op. - noop_time = timeit.repeat(stmt='pass', repeat=10, nu...
even better timer granularity measurement
py
diff --git a/astrobase/checkplot.py b/astrobase/checkplot.py index <HASH>..<HASH> 100644 --- a/astrobase/checkplot.py +++ b/astrobase/checkplot.py @@ -1443,10 +1443,11 @@ def _pkl_finder_objectinfo(objectinfo, plt.annotate('N%s' % nbrind, (annotatex...
lcproc: add neighbor stuff to parallel_cp workers and driver
py
diff --git a/tests/test_serializable.py b/tests/test_serializable.py index <HASH>..<HASH> 100644 --- a/tests/test_serializable.py +++ b/tests/test_serializable.py @@ -40,6 +40,10 @@ class RLPType4(RLPType3): pass +class RLPEmptyFieldsType(Serializable): + fields = () + + _type_1_a = RLPType1(5, b'a', (0, b...
Add test for Serializable class with empty fields
py
diff --git a/synapse/lib/ingest.py b/synapse/lib/ingest.py index <HASH>..<HASH> 100644 --- a/synapse/lib/ingest.py +++ b/synapse/lib/ingest.py @@ -218,7 +218,8 @@ class Ingest(EventBus): if not os.path.isabs(path): basedir = self.get('basedir') - path = os.path.join(basedir,path) + ...
fix for basedir == None in Ingest
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( 'vent.core.rq-worker', 'vent.core.rq-dashboard', 'vent.core.rmq-es-connector', 'vent.helpers', 'vent.api'], data_files=[('vent', ['vent/help'])], - install_requires=['d...
don't lock on version 2 for docker
py
diff --git a/lenstronomy/Sampling/likelihood.py b/lenstronomy/Sampling/likelihood.py index <HASH>..<HASH> 100644 --- a/lenstronomy/Sampling/likelihood.py +++ b/lenstronomy/Sampling/likelihood.py @@ -249,11 +249,3 @@ class LikelihoodModule(object): def likelihood(self, a): return self.logL(a) - - def ...
Remove unnecessary `likelihood_derivative()` from `LikelihoodModule`
py
diff --git a/test_flask_avatars.py b/test_flask_avatars.py index <HASH>..<HASH> 100644 --- a/test_flask_avatars.py +++ b/test_flask_avatars.py @@ -107,6 +107,16 @@ class AvatarsTestCase(unittest.TestCase): self.assertIn('/avatars/static/jcrop/js/Jcrop.min.js', rv) self.assertNotIn('<script src="https:...
Add unit test for local resouces in dev
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( long_description=long_description, packages=find_packages('.'), install_requires = [ - 'prompt_toolkit==0.56', + 'prompt_toolkit==0.57', 'pyte>=0.4.10', 'six...
Upgrade to prompt_toolkit <I>. (Should give much better performance.)
py
diff --git a/project_generator/project.py b/project_generator/project.py index <HASH>..<HASH> 100644 --- a/project_generator/project.py +++ b/project_generator/project.py @@ -84,7 +84,7 @@ class ProjectWorkspace: # Merge all dics, copy sources if required, correct output dir. This happens here ...
Project - workspace calls merge for tool
py
diff --git a/django_q/tasks.py b/django_q/tasks.py index <HASH>..<HASH> 100644 --- a/django_q/tasks.py +++ b/django_q/tasks.py @@ -9,7 +9,6 @@ from multiprocessing import Value from django_q.brokers import get_broker # local -from django_q.cluster import worker, monitor from django_q.conf import Conf, logger from...
Inline import to prevent circular imports under some toolchain combinations. (Closes: #<I>)
py
diff --git a/torchtext/vocab.py b/torchtext/vocab.py index <HASH>..<HASH> 100644 --- a/torchtext/vocab.py +++ b/torchtext/vocab.py @@ -270,7 +270,7 @@ class Vectors(object): Thus, in situations where the entire set doesn't fit in memory, or is not needed for another reason, passing `max_...
Fix document (#<I>) Fix broken documentation of inherited class because of existence of white space.
py
diff --git a/barcode/__init__.py b/barcode/__init__.py index <HASH>..<HASH> 100755 --- a/barcode/__init__.py +++ b/barcode/__init__.py @@ -19,7 +19,7 @@ __author_email__ = 'thorsten.weimann@gmx.net' __description__ = ('Create standard barcodes with Python. No external ' 'modules needed (optional PI...
Changed version to <I>b2.
py
diff --git a/telethon/extensions/tcp_client.py b/telethon/extensions/tcp_client.py index <HASH>..<HASH> 100644 --- a/telethon/extensions/tcp_client.py +++ b/telethon/extensions/tcp_client.py @@ -8,6 +8,11 @@ from datetime import timedelta from io import BytesIO, BufferedWriter from threading import Lock +try: + ...
Raise ProxyConnectionError instead looping forever (#<I>) We shouldn't try reconnecting when using a proxy if what's unavailable is the proxy server (and not Telegram servers).
py
diff --git a/pylint/pyreverse/writer.py b/pylint/pyreverse/writer.py index <HASH>..<HASH> 100644 --- a/pylint/pyreverse/writer.py +++ b/pylint/pyreverse/writer.py @@ -131,10 +131,7 @@ class DotWriter(DiagramWriter): if not self.config.only_classnames: label = r"%s|%s\l|" % (label, r"\l".join(obj.a...
Replaced args loop with comprehension
py
diff --git a/PeptideBuilder.py b/PeptideBuilder.py index <HASH>..<HASH> 100644 --- a/PeptideBuilder.py +++ b/PeptideBuilder.py @@ -1052,13 +1052,15 @@ def getReferenceResidue(structure): This function is a helper function that should not normally be called directly.''' - resRef=Residue((' ', 0, 'F'),...
Better code to select the last residue in a chain.
py
diff --git a/tests/test_levels.py b/tests/test_levels.py index <HASH>..<HASH> 100644 --- a/tests/test_levels.py +++ b/tests/test_levels.py @@ -165,6 +165,21 @@ def test_updating_min_level(writer): logger.debug("Early exit -> no {error}", nope=None) +def test_assign_custom_level_method(writer): + logger.leve...
Add unit test for custom level logging method
py
diff --git a/craftai/client.py b/craftai/client.py index <HASH>..<HASH> 100644 --- a/craftai/client.py +++ b/craftai/client.py @@ -167,7 +167,21 @@ class CraftAIClient(object): ######################### def get_decision_tree(self, agent_id, timestamp): - pass + # Raises an error when agent_id ...
Implemented get_decision_tree client's method
py
diff --git a/csvpandas/__init__.py b/csvpandas/__init__.py index <HASH>..<HASH> 100644 --- a/csvpandas/__init__.py +++ b/csvpandas/__init__.py @@ -31,8 +31,6 @@ log = logging.getLogger(__name__) _data = os.path.join(os.path.dirname(__file__), 'data') -__version__ = utils.version() - def main(argv=sys.argv[1:]):...
do versioning after logging has been setup
py
diff --git a/tensorflow_probability/python/distributions/generalized_pareto.py b/tensorflow_probability/python/distributions/generalized_pareto.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/generalized_pareto.py +++ b/tensorflow_probability/python/distributions/generalized_pareto.py @...
GeneralizedPareto is not constrained to positive concentration. PiperOrigin-RevId: <I>
py
diff --git a/deployutils/__init__.py b/deployutils/__init__.py index <HASH>..<HASH> 100644 --- a/deployutils/__init__.py +++ b/deployutils/__init__.py @@ -22,4 +22,4 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -__version__ = '0.6.3' +__ver...
bumps version number to <I>-dev
py
diff --git a/tests/sharded_jit_test.py b/tests/sharded_jit_test.py index <HASH>..<HASH> 100644 --- a/tests/sharded_jit_test.py +++ b/tests/sharded_jit_test.py @@ -24,7 +24,7 @@ from absl.testing import absltest from absl.testing import parameterized import jax -from jax import pmap, vjp +from jax import jit, pmap, ...
Fix missing sharded_jit_test import
py
diff --git a/ndio/ramon/__init__.py b/ndio/ramon/__init__.py index <HASH>..<HASH> 100644 --- a/ndio/ramon/__init__.py +++ b/ndio/ramon/__init__.py @@ -152,6 +152,8 @@ def hdf5_to_ramon(hdf5, anno_id=None): for i in kvs: k, v = str(i).split(',') r.kvpairs[str(k)] = str(v) +...
resolve weird overflow of old data in kvpairs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ import numpy as np from Cython.Build import cythonize -here = os.path.join(path.abspath(path.dirname(__file__)), 'pydem') +here = os.path.join(path.dirname(__file__), 'pydem') compile_args = [] compile_...
Small edit to setup.py so that absolute paths are not listed in the SOURCES.txt when bundling with sbdist.
py
diff --git a/fedmsg/meta/__init__.py b/fedmsg/meta/__init__.py index <HASH>..<HASH> 100644 --- a/fedmsg/meta/__init__.py +++ b/fedmsg/meta/__init__.py @@ -302,7 +302,7 @@ def msg2avatars(msg, processor, **config): @legacy_condition(six.text_type) @with_processor() -def msg2subjective(msg, processor, subject="", **c...
we don't need a default for this, since there's no point in a subjective message without a subject
py
diff --git a/py/test/selenium/webdriver/common/interactions_tests.py b/py/test/selenium/webdriver/common/interactions_tests.py index <HASH>..<HASH> 100644 --- a/py/test/selenium/webdriver/common/interactions_tests.py +++ b/py/test/selenium/webdriver/common/interactions_tests.py @@ -154,7 +154,6 @@ def testClickingOnFor...
[py] Fixing a test for shift-click
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -144,7 +144,6 @@ except ImportError: return '.'.join([part.join(quotes) for part in path]) -PY26 = sys.version_info[:2] == (2, 6) if sys.version_info[0] == 2: text_type = unicode bytes_type = str @@...
Remove python <I> bits.
py
diff --git a/pykechain/models/property_attachment.py b/pykechain/models/property_attachment.py index <HASH>..<HASH> 100644 --- a/pykechain/models/property_attachment.py +++ b/pykechain/models/property_attachment.py @@ -21,6 +21,18 @@ class AttachmentProperty(Property): raise RuntimeError("Cannot set the value ...
Updating the docstring of json_load
py
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/parallel.py +++ b/openquake/baselib/parallel.py @@ -489,9 +489,10 @@ class IterResult(object): if self.received: tot = sum(self.received) max_per_output = max...
Better logging [skip CI]
py
diff --git a/plumbing/common.py b/plumbing/common.py index <HASH>..<HASH> 100644 --- a/plumbing/common.py +++ b/plumbing/common.py @@ -11,6 +11,27 @@ import sh, numpy, dateutil flatter = lambda x: [item for sublist in x for item in sublist] ###########################################################################...
Added a method to group strings by pairs
py
diff --git a/salt/modules/kvm_hyper.py b/salt/modules/kvm_hyper.py index <HASH>..<HASH> 100644 --- a/salt/modules/kvm_hyper.py +++ b/salt/modules/kvm_hyper.py @@ -46,6 +46,8 @@ def __virtual__(): return False if __grains__['virtual'] != 'physical': return False + if __grains__['kernel'] != 'Li...
adding check to bypass kvm on FreeBSD
py
diff --git a/nodeconductor/cost_tracking/models.py b/nodeconductor/cost_tracking/models.py index <HASH>..<HASH> 100644 --- a/nodeconductor/cost_tracking/models.py +++ b/nodeconductor/cost_tracking/models.py @@ -122,6 +122,9 @@ class PriceEstimate(LoggableMixin, AlertThresholdMixin, core_models.UuidMixin, c } ...
Store service and project name as resource details. - nc-<I>
py
diff --git a/salt/version.py b/salt/version.py index <HASH>..<HASH> 100644 --- a/salt/version.py +++ b/salt/version.py @@ -444,8 +444,7 @@ def __get_version(saltstack_version): kwargs = dict( stdout=subprocess.PIPE, stderr=subprocess.PIPE, - cwd=cwd, - shell=True...
Use a 2nd call to revert to the old command. This is more generic and should work on any platform.
py
diff --git a/src/rabird/core/distutils/command/install.py b/src/rabird/core/distutils/command/install.py index <HASH>..<HASH> 100644 --- a/src/rabird/core/distutils/command/install.py +++ b/src/rabird/core/distutils/command/install.py @@ -152,9 +152,9 @@ class install(distutils_install): print("Downloaded ...
Only support UWBPEP for windows
py
diff --git a/umbra/globals/uiConstants.py b/umbra/globals/uiConstants.py index <HASH>..<HASH> 100644 --- a/umbra/globals/uiConstants.py +++ b/umbra/globals/uiConstants.py @@ -124,5 +124,5 @@ class UiConstants(): textGrammarFile = "grammars/Text/Text.grc" """Text language grammar file: '**grammars/Text/Text.grc**' (...
Update "Crittercism" Id.
py
diff --git a/osuapi/model.py b/osuapi/model.py index <HASH>..<HASH> 100644 --- a/osuapi/model.py +++ b/osuapi/model.py @@ -172,10 +172,10 @@ class UserEvent(AttributeModel): ----------- display_html : str HTML for the event. - beatmap_id : int - Beatmap this event occured on. - beatmapse...
Make event beatmap attributes nullable
py
diff --git a/greenwich/geometry.py b/greenwich/geometry.py index <HASH>..<HASH> 100644 --- a/greenwich/geometry.py +++ b/greenwich/geometry.py @@ -1,4 +1,8 @@ from osgeo import ogr +try: + import simplejson as json +except ImportError: + import json class Envelope(object): @@ -122,3 +126,14 @@ class Envelop...
Make OGR Geometry from geojson dict or str
py
diff --git a/bundles.py b/bundles.py index <HASH>..<HASH> 100644 --- a/bundles.py +++ b/bundles.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2014 CERN. +# Copyright (C) 2014, 2015 CERN. # # Invenio is free software; you can redistribute it and/or # modify it under ...
global: unicode literals for bundles * Forces unicode literals on all bundles. (addresses #<I>) * PEP8/<I> code style improvements.
py
diff --git a/windpowerlib/data.py b/windpowerlib/data.py index <HASH>..<HASH> 100644 --- a/windpowerlib/data.py +++ b/windpowerlib/data.py @@ -136,17 +136,17 @@ def fetch_turbine_data_from_oedb( """ # url of OpenEnergy Platform that contains the oedb oep_url = "http://oep.iks.cs.ovgu.de/" + url = oep_...
Improve error message if db connection does not work
py
diff --git a/pgmpy/tests/test_BayesianModel.py b/pgmpy/tests/test_BayesianModel.py index <HASH>..<HASH> 100644 --- a/pgmpy/tests/test_BayesianModel.py +++ b/pgmpy/tests/test_BayesianModel.py @@ -326,6 +326,7 @@ class TestBayesianModelCPD(unittest.TestCase): def test_set_observations_single_state_reset_true(self)...
TODO for set_observation_test added
py
diff --git a/test/test_ssl.py b/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/test/test_ssl.py +++ b/test/test_ssl.py @@ -41,7 +41,7 @@ def socket_pair(): port.listen(1) client = socket() client.setblocking(False) - client.connect_ex(port.getsockname()) + client.connect_ex(("127.0.0.1", port.g...
Windows is a poor sport; getsockname is not guaranteed to return the correct result until someone has connected to you; joy
py
diff --git a/holoviews/core/spaces.py b/holoviews/core/spaces.py index <HASH>..<HASH> 100644 --- a/holoviews/core/spaces.py +++ b/holoviews/core/spaces.py @@ -11,7 +11,7 @@ import param from . import traversal, util from .dimension import OrderedDict, Dimension, ViewableElement, redim -from .layout import Layout, A...
Fix to allow use of Empty in AdjointLayouts (#<I>)
py
diff --git a/rqalpha/mod/rqalpha_mod_sys_stock_realtime/__init__.py b/rqalpha/mod/rqalpha_mod_sys_stock_realtime/__init__.py index <HASH>..<HASH> 100644 --- a/rqalpha/mod/rqalpha_mod_sys_stock_realtime/__init__.py +++ b/rqalpha/mod/rqalpha_mod_sys_stock_realtime/__init__.py @@ -76,15 +76,19 @@ def quotation_server(redi...
refactor sys_stock_realtime
py
diff --git a/pymatgen/core/surface.py b/pymatgen/core/surface.py index <HASH>..<HASH> 100644 --- a/pymatgen/core/surface.py +++ b/pymatgen/core/surface.py @@ -942,10 +942,14 @@ class SlabGenerator: # Reorient the lattice to get the correct reduced cell ouc = self.oriented_unit_cell.copy() - i...
addd option to reduce ouc while maintaining orthogonalized cell
py
diff --git a/jupyterthemes/__init__.py b/jupyterthemes/__init__.py index <HASH>..<HASH> 100644 --- a/jupyterthemes/__init__.py +++ b/jupyterthemes/__init__.py @@ -13,7 +13,7 @@ INSTALL_PATH = '~/.ipython/{profile}/static/custom' INSTALL_JPATH = '~/.jupyter/custom' THEMES_PATH = os.path.expanduser('~/.jupyter-themes...
fix inf loop during install on ipython4
py
diff --git a/blanc_basic_events/events/listeners.py b/blanc_basic_events/events/listeners.py index <HASH>..<HASH> 100644 --- a/blanc_basic_events/events/listeners.py +++ b/blanc_basic_events/events/listeners.py @@ -1,10 +1,13 @@ from django.db.models.signals import post_save, post_delete -from .models import Recurring...
Fix for when the event gets deleted before the recurring event or recurring event exclusion
py
diff --git a/volatile/__init__.py b/volatile/__init__.py index <HASH>..<HASH> 100644 --- a/volatile/__init__.py +++ b/volatile/__init__.py @@ -7,8 +7,8 @@ import tempfile @contextmanager -def dir(*args, **kwargs): - name = tempfile.mkdtemp(*args, **kwargs) +def dir(suffix='', prefix='tmp', dir=None): + name ...
Changed file and dir signatures, no longer use *args/**kwargs.
py
diff --git a/tests/integ/test_tf_cifar.py b/tests/integ/test_tf_cifar.py index <HASH>..<HASH> 100644 --- a/tests/integ/test_tf_cifar.py +++ b/tests/integ/test_tf_cifar.py @@ -43,7 +43,7 @@ def test_cifar(sagemaker_session, tf_full_version): estimator = TensorFlow(entry_point='resnet_cifar_10.py', source_dir=sc...
Increase max_runtime for tf cifar (#<I>)
py
diff --git a/flask_rest_jsonapi/decorators.py b/flask_rest_jsonapi/decorators.py index <HASH>..<HASH> 100644 --- a/flask_rest_jsonapi/decorators.py +++ b/flask_rest_jsonapi/decorators.py @@ -57,7 +57,8 @@ def check_method_requirements(func): @wraps(func) def wrapper(*args, **kwargs): error_message = ...
better stack traces in debug mode
py
diff --git a/salt/pillar/pillar_ldap.py b/salt/pillar/pillar_ldap.py index <HASH>..<HASH> 100644 --- a/salt/pillar/pillar_ldap.py +++ b/salt/pillar/pillar_ldap.py @@ -135,12 +135,12 @@ def _do_search(conf): try: result = __salt__['ldap.search'](_filter, _dn, scope, attrs, ...
Move the log message in case no results were returned into the right block
py
diff --git a/pymacaron_core/models.py b/pymacaron_core/models.py index <HASH>..<HASH> 100644 --- a/pymacaron_core/models.py +++ b/pymacaron_core/models.py @@ -1,11 +1,9 @@ import logging -import types from copy import deepcopy -from bravado_core.marshal import marshal_model +from bravado_core.marshal import marshal_s...
Use marshal_schema_object instead of the soon deprecated marshal_object
py
diff --git a/cart/cart.py b/cart/cart.py index <HASH>..<HASH> 100644 --- a/cart/cart.py +++ b/cart/cart.py @@ -113,7 +113,7 @@ class Cart: def merge(self, cart_id, user): try: - delete_old_cart(user) + self.delete_old_cart(user) cart = models.Cart.objects.get(pk=cart_i...
Fixing merge between old cart and new cart
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -285,8 +285,10 @@ class PSHACalculator(base.HazardCalculator): ses_per_logic_tree_path=oq.ses_per_logic_tree_...
Fixed saving_sources_by_task
py
diff --git a/asteval/astutils.py b/asteval/astutils.py index <HASH>..<HASH> 100644 --- a/asteval/astutils.py +++ b/asteval/astutils.py @@ -136,7 +136,8 @@ FROM_NUMPY = ('Inf', 'NAN', 'abs', 'add', 'alen', 'all', 'amax', 'amin', 'uint64', 'uint8', 'uintc', 'uintp', 'ulonglong', 'union1d', '...
add back some very useful numpy imports
py
diff --git a/pdc_client/runner.py b/pdc_client/runner.py index <HASH>..<HASH> 100644 --- a/pdc_client/runner.py +++ b/pdc_client/runner.py @@ -148,7 +148,7 @@ class Runner(object): self.parser.add_argument('--json', action='store_true', help='display output as JSON') ...
Add discription of page_size=-1 in help doc Add discription of page_size=-1 in help doc JIRA: PDC-<I>
py
diff --git a/edisgo/network/topology.py b/edisgo/network/topology.py index <HASH>..<HASH> 100755 --- a/edisgo/network/topology.py +++ b/edisgo/network/topology.py @@ -742,6 +742,33 @@ class Topology: self.lines_df.loc[self.lines_df.bus1 == bus_name] ) + def get_line_connecting_buses(self, bus...
Add function to get the name of the line connecting two given buses
py
diff --git a/graphite_api/app.py b/graphite_api/app.py index <HASH>..<HASH> 100644 --- a/graphite_api/app.py +++ b/graphite_api/app.py @@ -405,7 +405,7 @@ def render(): for series in context['data']: response.write(u"%s,%d,%d,%d|" % ( series.name, series.start, series....
Use repr instead of str for a more consistent output
py
diff --git a/pymysql/cursors.py b/pymysql/cursors.py index <HASH>..<HASH> 100644 --- a/pymysql/cursors.py +++ b/pymysql/cursors.py @@ -12,7 +12,7 @@ from . import err #: Regular expression for :meth:`Cursor.executemany`. #: executemany only suports simple bulk insert. #: You can use it to load large dataset. -RE_INS...
bug with parameters view as %(name)s
py
diff --git a/user_agents/parsers.py b/user_agents/parsers.py index <HASH>..<HASH> 100644 --- a/user_agents/parsers.py +++ b/user_agents/parsers.py @@ -125,8 +125,6 @@ class UserAgent(object): if ('Mobile Safari' not in self.ua_string and self.browser.family != "Firefox Mobile"): r...
The SCH- check was erroneously setting Galaxy S phones to tablets.
py
diff --git a/django_deployer/helpers.py b/django_deployer/helpers.py index <HASH>..<HASH> 100644 --- a/django_deployer/helpers.py +++ b/django_deployer/helpers.py @@ -51,6 +51,28 @@ def _validate_project_name(project_name): return project_name +# TODO: Finish this up +# Needs to check whether there's a require...
Add work-in-progress requirements.txt validation
py
diff --git a/suds/bindings/literal/rpc.py b/suds/bindings/literal/rpc.py index <HASH>..<HASH> 100644 --- a/suds/bindings/literal/rpc.py +++ b/suds/bindings/literal/rpc.py @@ -21,7 +21,7 @@ from suds.bindings.literal.base import Literal class RPC(Literal): """ - RPC/literal binding style. + RPC/Literal...
ops, forgot to change @element to @type on the <part/>
py