diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/blockstack/lib/nameset/namedb.py b/blockstack/lib/nameset/namedb.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/nameset/namedb.py +++ b/blockstack/lib/nameset/namedb.py @@ -112,7 +112,7 @@ class BlockstackDB( virtualchain.StateEngine ): # each NAME_IMPORT...
some things don't have to be considered p2pkh scripts any longer :D
py
diff --git a/libsubmit/version.py b/libsubmit/version.py index <HASH>..<HASH> 100644 --- a/libsubmit/version.py +++ b/libsubmit/version.py @@ -1,4 +1,4 @@ ''' Set module version <Major>.<Minor>.<maintenance>[-alpha/beta/..] ''' -VERSION = '0.1.0' +VERSION = '0.1.1'
Updating version to <I> with bug fixes and minor enhancements.
py
diff --git a/xmantissa/webapp.py b/xmantissa/webapp.py index <HASH>..<HASH> 100644 --- a/xmantissa/webapp.py +++ b/xmantissa/webapp.py @@ -637,7 +637,7 @@ class PrivateApplication(Item, PrefixURLMixin): -declareLegacyItem(PrivateApplication.typeName, 2, dict( +PrivateApplicationV2 = declareLegacyItem(PrivateAppli...
Merge faster-store-open-<I>-2 Author: exarkun Reviewer: washort Fixes: #<I> Significantly reduce the runtime cost of opening an Axiom Store by reducing the amount of work spent to verify schema correctness.
py
diff --git a/tensor2tensor/layers/modalities.py b/tensor2tensor/layers/modalities.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/layers/modalities.py +++ b/tensor2tensor/layers/modalities.py @@ -797,6 +797,18 @@ class IdentityModality(modality.Modality): return body_output +@registry.register_generic_modal...
Add a generic L2 modality. PiperOrigin-RevId: <I>
py
diff --git a/trakt/objects/season.py b/trakt/objects/season.py index <HASH>..<HASH> 100644 --- a/trakt/objects/season.py +++ b/trakt/objects/season.py @@ -74,4 +74,7 @@ class Season(Media): return season def __repr__(self): + if self.show: + return '<Season %r - S%02d>' % (self.show.ti...
Updated the `__repr__()` method for the `Season` object
py
diff --git a/phy/cluster/manual/gui_component.py b/phy/cluster/manual/gui_component.py index <HASH>..<HASH> 100644 --- a/phy/cluster/manual/gui_component.py +++ b/phy/cluster/manual/gui_component.py @@ -265,8 +265,11 @@ class ManualClustering(object): # TODO: second time for desc # Select ...
WIP: making tests pass in cluster/manual
py
diff --git a/explorer/utils.py b/explorer/utils.py index <HASH>..<HASH> 100644 --- a/explorer/utils.py +++ b/explorer/utils.py @@ -157,7 +157,7 @@ def s3_upload(key, data): bucket = get_s3_bucket() k = Key(bucket) k.key = key - k.set_contents_from_file(data) + k.set_contents_from_file(data, rewind=...
rewinding file handler before uploading
py
diff --git a/s_tui/Sources/TemperatureSource.py b/s_tui/Sources/TemperatureSource.py index <HASH>..<HASH> 100644 --- a/s_tui/Sources/TemperatureSource.py +++ b/s_tui/Sources/TemperatureSource.py @@ -47,7 +47,13 @@ class TemperatureSource(Source): last_value = psutil.sensors_temperatures()['coretemp...
Copy fix for Ryzen <I> from GraphData.py
py
diff --git a/tools/enumGen.py b/tools/enumGen.py index <HASH>..<HASH> 100755 --- a/tools/enumGen.py +++ b/tools/enumGen.py @@ -95,7 +95,8 @@ import java.util.Set; import java.util.stream.Collectors; /** - * @author David B. Bracewell + * Auto generated using enumGen.py + * The type {{CLASS_NAME}}. */ public fina...
Fixes / rework
py
diff --git a/wanikani/core.py b/wanikani/core.py index <HASH>..<HASH> 100644 --- a/wanikani/core.py +++ b/wanikani/core.py @@ -118,6 +118,8 @@ class WaniKani(object): def critical_items(self, percentage=75): url = WANIKANI_BASE.format(self.api_key, 'critical-items') + if percentage: + ...
Add support for querying percentage for critical items
py
diff --git a/zipline/data/benchmarks.py b/zipline/data/benchmarks.py index <HASH>..<HASH> 100644 --- a/zipline/data/benchmarks.py +++ b/zipline/data/benchmarks.py @@ -21,6 +21,7 @@ import csv from functools import partial import requests +import pandas as pd from . loader_utils import ( date_conversion, @@ ...
BUG: Fix mismatch of stored benchmark timestamps. Normalize the date, so that there is not an EST/EDT and UTC mismatch.
py
diff --git a/pygfl/solver.py b/pygfl/solver.py index <HASH>..<HASH> 100644 --- a/pygfl/solver.py +++ b/pygfl/solver.py @@ -122,7 +122,7 @@ class TrailSolver: beta2 = np.copy(self.beta) while cur_converge > self.converge and step < self.maxsteps: # Weight each edge differently - ...
Added graph-fused double pareto
py
diff --git a/test/context_test.py b/test/context_test.py index <HASH>..<HASH> 100644 --- a/test/context_test.py +++ b/test/context_test.py @@ -125,8 +125,6 @@ class ContextTest(unittest.TestCase): } ctx = Context(**obj) ctx2 = ctx.as_version() - print ctx2 - print check_obj ...
finished the punishing (removed print statements)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ dev_require = [ setup( name='BigchainDB', - version='0.1.2', + version='0.1.3', description='BigchainDB: A Scalable Blockchain Database', long_description=__doc__, url='https://githu...
Update requirements, ready for <I>
py
diff --git a/ggplot/geoms/chart_components.py b/ggplot/geoms/chart_components.py index <HASH>..<HASH> 100644 --- a/ggplot/geoms/chart_components.py +++ b/ggplot/geoms/chart_components.py @@ -46,14 +46,17 @@ class ylab(object): return gg class labs(object): - def __init__(self, xlab=None, ylab=None): - ...
updated labs to be more consistent with ggplot2
py
diff --git a/balebot/models/base_models/fat_seq_update.py b/balebot/models/base_models/fat_seq_update.py index <HASH>..<HASH> 100644 --- a/balebot/models/base_models/fat_seq_update.py +++ b/balebot/models/base_models/fat_seq_update.py @@ -58,3 +58,17 @@ class FatSeqUpdate: if self.is_message_update(): ...
feat: add get_quoted_message and get_quoted_sender_peer_id for getting replied and forwarded messages
py
diff --git a/sanic/testing.py b/sanic/testing.py index <HASH>..<HASH> 100644 --- a/sanic/testing.py +++ b/sanic/testing.py @@ -1,4 +1,5 @@ import traceback +from json import JSONDecodeError from sanic.log import log @@ -26,9 +27,14 @@ class SanicTestClient: session, method.lower())(url, *args...
wrap call to json in try-except to make tests pass
py
diff --git a/spyderlib/plugins/ipythonconsole.py b/spyderlib/plugins/ipythonconsole.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/ipythonconsole.py +++ b/spyderlib/plugins/ipythonconsole.py @@ -42,6 +42,12 @@ except ImportError: from zmq.ssh import tunnel as zmqtunnel import pexpect +# Replacing...
Raising an exception rather than answering yes on behalf of the user.
py
diff --git a/tests/test_consts.py b/tests/test_consts.py index <HASH>..<HASH> 100644 --- a/tests/test_consts.py +++ b/tests/test_consts.py @@ -17,7 +17,8 @@ from configparser import ConfigParser from unittest.mock import patch -from foremast.consts import ALLOWED_TYPES, DEFAULT_SECURITYGROUP_RULES, _generate_securi...
test: Validate EC2 Pipeline Type configuration
py
diff --git a/simple_history/models.py b/simple_history/models.py index <HASH>..<HASH> 100644 --- a/simple_history/models.py +++ b/simple_history/models.py @@ -233,9 +233,11 @@ class HistoricalRecords(object): return instance._history_user except AttributeError: try: - r...
Update models.py When using the request middleware, if the user is anonymous an error is raised stating that the 'history_user' attribute must be an instance of User. As this field can be null, get_history_user has been updated to return None if the user is not authenticated. Also made the returning of None explicit.
py
diff --git a/src/hamster/widgets/activityentry.py b/src/hamster/widgets/activityentry.py index <HASH>..<HASH> 100644 --- a/src/hamster/widgets/activityentry.py +++ b/src/hamster/widgets/activityentry.py @@ -485,13 +485,14 @@ class ActivityEntry(): self.completion = gtk.EntryCompletion() self.w...
use first column for text/filter This will make future additions cleaner.
py
diff --git a/slackbot/dispatcher.py b/slackbot/dispatcher.py index <HASH>..<HASH> 100644 --- a/slackbot/dispatcher.py +++ b/slackbot/dispatcher.py @@ -98,8 +98,9 @@ class MessageDispatcher(object): default_reply = [ u'Bad command "%s", You can ask me one of the following questions:\n' % msg['text'...
Dispatcher uses doc strings as well as pattern Instead of just reporting the pattern used for help messages, also reply with docstrings.
py
diff --git a/figment/zone.py b/figment/zone.py index <HASH>..<HASH> 100644 --- a/figment/zone.py +++ b/figment/zone.py @@ -121,7 +121,7 @@ class Zone(object): if not os.path.exists(self.snapshot_path): return False - log.info('Loading entities from snapshot.') + log.info('Loading s...
Explicitly display which snapshot is being loaded
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ setup( "Topic :: Software Development :: Libraries :: Python Modules"], install_requires=[ "cryptojwt>=0.4.4", - 'oidcmsg>=0.6.1', + 'oidcmsg>=0.6.2', ], tests_requ...
Updated to work with oidcmsg <I>
py
diff --git a/bids/variables/tests/test_io.py b/bids/variables/tests/test_io.py index <HASH>..<HASH> 100644 --- a/bids/variables/tests/test_io.py +++ b/bids/variables/tests/test_io.py @@ -94,7 +94,7 @@ def test_load_synthetic_dataset(synthetic): # Sessions sessions = index.get_nodes('session') assert len(...
Update test_load_synthetic_dataset to reflect changes to dataset.
py
diff --git a/montblanc/impl/biro/v5/CompositeBiroSolver.py b/montblanc/impl/biro/v5/CompositeBiroSolver.py index <HASH>..<HASH> 100644 --- a/montblanc/impl/biro/v5/CompositeBiroSolver.py +++ b/montblanc/impl/biro/v5/CompositeBiroSolver.py @@ -632,7 +632,7 @@ class CompositeBiroSolver(BaseSolver): # If this is ...
Fixed nsolver reference in thread local storage.
py
diff --git a/src/calmjs/utils.py b/src/calmjs/utils.py index <HASH>..<HASH> 100644 --- a/src/calmjs/utils.py +++ b/src/calmjs/utils.py @@ -4,7 +4,6 @@ Assortment of utility functions. """ from __future__ import absolute_import -from __future__ import unicode_literals import logging import os @@ -52,7 +51,7 @@ d...
Don't use unicode_literals for utils module - Conflicts with how the system environment variable assignment on Python <I> platforms that need that assignment.
py
diff --git a/fulfil_client/oauth.py b/fulfil_client/oauth.py index <HASH>..<HASH> 100644 --- a/fulfil_client/oauth.py +++ b/fulfil_client/oauth.py @@ -28,10 +28,11 @@ class Session(OAuth2Session): else: return 'https://%s.fulfil.io/' % self.fulfil_subdomain - def create_authorization_url(self...
Add provision to pass extra args in auth url
py
diff --git a/flask_crud/tree.py b/flask_crud/tree.py index <HASH>..<HASH> 100644 --- a/flask_crud/tree.py +++ b/flask_crud/tree.py @@ -17,9 +17,14 @@ class Tree: def __init__(self, name, url=None, items=None): self.items = [] + if items is not None: + self.register_items(items) + + ...
register_items should not test if None
py
diff --git a/cassandra/datastax/cloud/__init__.py b/cassandra/datastax/cloud/__init__.py index <HASH>..<HASH> 100644 --- a/cassandra/datastax/cloud/__init__.py +++ b/cassandra/datastax/cloud/__init__.py @@ -23,7 +23,7 @@ from six.moves.urllib.request import urlopen _HAS_SSL = True try: - from ssl import SSLConte...
Use PROTOCOL_TLS to select the higher protocol version
py
diff --git a/treenode/version.py b/treenode/version.py index <HASH>..<HASH> 100644 --- a/treenode/version.py +++ b/treenode/version.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -__version__ = '0.8.0' +__version__ = '0.8.1'
Updated version [ci skip]
py
diff --git a/grimoire_elk/enriched/study_ceres_aoc.py b/grimoire_elk/enriched/study_ceres_aoc.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/enriched/study_ceres_aoc.py +++ b/grimoire_elk/enriched/study_ceres_aoc.py @@ -201,6 +201,8 @@ class AreasOfCode(CeresBase): logger.info(self.__log_prefix + " Ne...
[enriched-aoc] Include origin in AOC items This code includes the `origin` in the items generated by the AOC study. This change is needed to make the incrementality work in ceres, since it relies on this attribute (grimoire_elk/enriched/ceres_base.py#L<I>)
py
diff --git a/mappyfile/pprint.py b/mappyfile/pprint.py index <HASH>..<HASH> 100644 --- a/mappyfile/pprint.py +++ b/mappyfile/pprint.py @@ -487,7 +487,7 @@ class PrettyPrinter(object): elif attr == "projection": lines += self.process_projection(attr, value, level) - elif attr i...
Correct pprint REPEATED_KEYS
py
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py index <HASH>..<HASH> 100644 --- a/python/ccxt/base/exchange.py +++ b/python/ccxt/base/exchange.py @@ -876,8 +876,8 @@ class Exchange(object): return _urlencode.unquote(Exchange.urlencode(params)) @staticmethod - def encode_uri_c...
exchange.py encode_uri_component safe symbols made configurable #<I>
py
diff --git a/cherrypy/lib/sessions.py b/cherrypy/lib/sessions.py index <HASH>..<HASH> 100644 --- a/cherrypy/lib/sessions.py +++ b/cherrypy/lib/sessions.py @@ -476,7 +476,7 @@ class FileSession(Session): if path is None: path = self._get_file_path() path += self.LOCK_SUFFIX - checke...
Added session id to LockChecker construction
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,8 @@ from setuptools import setup, find_packages import os import sys import ceph_deploy - +import pkg_resources +import setuptools def read(fname): path = os.path.join(os.path.dirname(__file__), fname) @@ -...
setup.py: be compatible w/ setuptools <<I> environment markers are not supported until <I>. on centos7, the build fails like: + python setup.py sdist --formats=bztar error in ceph-deploy setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
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='rocketchat_API', - version='0.4', + version='0.4.1', packages=['rocketchat_API', 'rocketchat_API.APIExceptions'], url='https://github.com/jadolg/ro...
bugfix: im_messages_others was using POST instead of GET
py
diff --git a/ELiDE/ELiDE/charmenu.py b/ELiDE/ELiDE/charmenu.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/charmenu.py +++ b/ELiDE/ELiDE/charmenu.py @@ -18,13 +18,24 @@ from .util import try_load, dummynum class CharMenu(BoxLayout): screen = ObjectProperty() - engine = ObjectProperty() reciprocal_port...
Make CharMenu get its ``app`` and ``engine`` only when needed
py
diff --git a/src/arpa/models/base.py b/src/arpa/models/base.py index <HASH>..<HASH> 100644 --- a/src/arpa/models/base.py +++ b/src/arpa/models/base.py @@ -53,7 +53,7 @@ class ARPAModel(metaclass=ABCMeta): pass def write(self, fp): - fp.write("\\data\\\n") + fp.write("\n\\data\\\n") ...
add a leading emtpy line to ARPA files (this seems to be common)
py
diff --git a/soco/plugins/spotify.py b/soco/plugins/spotify.py index <HASH>..<HASH> 100644 --- a/soco/plugins/spotify.py +++ b/soco/plugins/spotify.py @@ -80,7 +80,6 @@ class Spotify(SoCoPlugin): sid = '9' api_lookup_url = 'http://ws.spotify.com/lookup/1/.json' - api_search_track_url = 'http://ws.spotify.com/sear...
Removed function to retrieve top tracks, better to use existing libraries
py
diff --git a/canmatrix/importsym.py b/canmatrix/importsym.py index <HASH>..<HASH> 100755 --- a/canmatrix/importsym.py +++ b/canmatrix/importsym.py @@ -141,6 +141,7 @@ def importSym(filename, **options): factor = 1 max = 1 min = 0 + longName = None ...
Add long name support to importsym
py
diff --git a/src/rinoh/image.py b/src/rinoh/image.py index <HASH>..<HASH> 100644 --- a/src/rinoh/image.py +++ b/src/rinoh/image.py @@ -300,12 +300,12 @@ class Caption(NumberedParagraph): document = flowable_target.document get_style = partial(self.get_style, flowable_target=flowable_target) c...
Caption: small refactoring
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name='yola.configurator', description='Configuration Mangling Module for Configs', author='Stefano Rivera', - author_email='stefanor@yola.com', + author_email='stefano.rivera@yola.com...
That's not my e-mail address
py
diff --git a/warehouse/forklift/__init__.py b/warehouse/forklift/__init__.py index <HASH>..<HASH> 100644 --- a/warehouse/forklift/__init__.py +++ b/warehouse/forklift/__init__.py @@ -53,3 +53,13 @@ def includeme(config): "upload.html", route_kw={"domain": forklift}, ) + + # Any...
Show “API Endpoint” error page for invalid requests to upload.pypi.org/legacy/ (#<I>)
py
diff --git a/src/discoursegraphs/__init__.py b/src/discoursegraphs/__init__.py index <HASH>..<HASH> 100644 --- a/src/discoursegraphs/__init__.py +++ b/src/discoursegraphs/__init__.py @@ -6,11 +6,6 @@ __author__ = 'Arne Neumann' __email__ = 'discoursegraphs.programming@arne.cl' __version__ = '0.1.2' -__all__ = [ - ...
minor: removed __all__ from __init__
py
diff --git a/test/test_r_targets.py b/test/test_r_targets.py index <HASH>..<HASH> 100644 --- a/test/test_r_targets.py +++ b/test/test_r_targets.py @@ -59,7 +59,7 @@ R: '''Test re-execution of steps with R_library''' script = SoS_Script(''' [1] -depends: R_library("ggplot2>=2.2", autoinstall=True) +de...
fix a failure due to inability to install ggplot2 in travis
py
diff --git a/i3pystatus/mpd.py b/i3pystatus/mpd.py index <HASH>..<HASH> 100644 --- a/i3pystatus/mpd.py +++ b/i3pystatus/mpd.py @@ -99,8 +99,8 @@ class MPD(IntervalModule): def on_leftclick(self): try: - self._mpd_command(self.s, "pause %i" % - (0 if self._...
Play song on left click even if stopped
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -1934,8 +1934,8 @@ class TelegramClient(TelegramBareClient): return entity try: # Nobody with t...
Fix infinite recursion on .get_entity by exact name
py
diff --git a/openquake/calculators/disaggregation.py b/openquake/calculators/disaggregation.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/disaggregation.py +++ b/openquake/calculators/disaggregation.py @@ -231,6 +231,8 @@ producing too small PoEs.''' self.bin_edges[sm_id, sid] = ( ...
Added a comment [skip CI]
py
diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py index <HASH>..<HASH> 100644 --- a/holoviews/element/raster.py +++ b/holoviews/element/raster.py @@ -3,7 +3,7 @@ import numpy as np import colorsys import param -from ..core import OrderedDict, Dimension, NdMapping, Element2D +from ..core import ...
RGB and subclasses now accept Image overlays in the constructor
py
diff --git a/luma/lcd/__init__.py b/luma/lcd/__init__.py index <HASH>..<HASH> 100644 --- a/luma/lcd/__init__.py +++ b/luma/lcd/__init__.py @@ -3,5 +3,5 @@ # See LICENSE.rst for details. """ -LCD display driver for PCD8544 devices. +LCD display drivers. """
update docstring. (#<I>) fixes #<I>
py
diff --git a/binaryornot/helpers.py b/binaryornot/helpers.py index <HASH>..<HASH> 100644 --- a/binaryornot/helpers.py +++ b/binaryornot/helpers.py @@ -81,8 +81,7 @@ def is_binary_string(bytes_to_check): logger.debug('nontext_ratio2: %(nontext_ratio2)r', locals()) is_likely_binary = ( - (nontext_ratio...
Fix style issues identified by pep8.
py
diff --git a/openquake/commands/restore.py b/openquake/commands/restore.py index <HASH>..<HASH> 100644 --- a/openquake/commands/restore.py +++ b/openquake/commands/restore.py @@ -19,6 +19,7 @@ import re import sys import time +import getpass import os.path import zipfile import sqlite3 @@ -57,7 +58,8 @@ def resto...
Update the user during the oq restore phase Former-commit-id: <I>c0c1f<I>f<I>f2cc<I>b4cb<I>a<I>a<I>bde8
py
diff --git a/indra/sources/sofia/processor.py b/indra/sources/sofia/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/sofia/processor.py +++ b/indra/sources/sofia/processor.py @@ -253,7 +253,7 @@ class SofiaExcelProcessor(SofiaProcessor): def _in_rels(value, rels): for rel in rels: - if rel is...
Refer to cell value instead of just cell
py
diff --git a/pybasex/basex_client.py b/pybasex/basex_client.py index <HASH>..<HASH> 100644 --- a/pybasex/basex_client.py +++ b/pybasex/basex_client.py @@ -107,6 +107,9 @@ class BaseXClient(object): res_text = '<results>{0}</results>'.format(res_text) return pbx_xml_utils.str_to_xml(res_text) + de...
moved document ID creation to a dedicated method
py
diff --git a/intranet/settings/base.py b/intranet/settings/base.py index <HASH>..<HASH> 100644 --- a/intranet/settings/base.py +++ b/intranet/settings/base.py @@ -12,7 +12,7 @@ LOGIN_REDIRECT_URL = "/" APPEND_SLASH = False ADMINS = ( - # ("Your Name", "your_email@example.com"), + ("Ethan Lowman", "ethan+ion@e...
Add email to admins for error reports
py
diff --git a/test/style_test.py b/test/style_test.py index <HASH>..<HASH> 100644 --- a/test/style_test.py +++ b/test/style_test.py @@ -6,8 +6,8 @@ import pep8 class TestCodeFormat: def test_pep8(self): def match(*p): - s = ['theanets'] + list(p) + ['*.py'] + s = ['downhill'] + list(...
Update style test to work with this package.
py
diff --git a/neo/VM/ExecutionEngine.py b/neo/VM/ExecutionEngine.py index <HASH>..<HASH> 100644 --- a/neo/VM/ExecutionEngine.py +++ b/neo/VM/ExecutionEngine.py @@ -36,6 +36,9 @@ class ExecutionEngine(): # file descriptor log_file = None + def is_write_log(self): + return settings.log_vm_instruction...
VM Engine Log Perf Fix * Added a performance fix for the VM Engine log to avoid creating unnecessary strings when logging isn't enabled. Will significantly reduce VM execution load.
py
diff --git a/bigquery/google/cloud/bigquery/client.py b/bigquery/google/cloud/bigquery/client.py index <HASH>..<HASH> 100644 --- a/bigquery/google/cloud/bigquery/client.py +++ b/bigquery/google/cloud/bigquery/client.py @@ -1232,7 +1232,7 @@ class Client(ClientWithProject): table's rows. ...
BigQuery: minor typo (#<I>)
py
diff --git a/aioresponses/core.py b/aioresponses/core.py index <HASH>..<HASH> 100644 --- a/aioresponses/core.py +++ b/aioresponses/core.py @@ -66,7 +66,7 @@ class RequestMatch(object): if self.reason is None: try: self.reason = http.RESPONSES[self.status][0] - except Ex...
catch exceptions more narrowly on http.RESPONSES
py
diff --git a/gandi/cli/modules/disk.py b/gandi/cli/modules/disk.py index <HASH>..<HASH> 100644 --- a/gandi/cli/modules/disk.py +++ b/gandi/cli/modules/disk.py @@ -54,6 +54,9 @@ class Disk(GandiModule): if snapshot_profile: disk_params['snapshot_profile'] = snapshot_profile + if size: + ...
It is better if we pass size when we have it...
py
diff --git a/holoviews/plotting/bokeh/renderer.py b/holoviews/plotting/bokeh/renderer.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/renderer.py +++ b/holoviews/plotting/bokeh/renderer.py @@ -5,7 +5,8 @@ from .widgets import BokehScrubberWidget, BokehSelectionWidget from param.parameterized import bothm...
Update only Figure and DataSource for each bokeh frame Avoid updating all PlotObjects
py
diff --git a/pycbc/filter/zpk.py b/pycbc/filter/zpk.py index <HASH>..<HASH> 100644 --- a/pycbc/filter/zpk.py +++ b/pycbc/filter/zpk.py @@ -97,7 +97,7 @@ def filter_zpk(timeseries, z, p, k): p *= -2 * np.pi # get denominator of bilinear transform - fs = 2.0 * timseries.sample_rate + fs = 2.0 * timeseri...
Fix typo in zpk.
py
diff --git a/ppb/systems/renderer.py b/ppb/systems/renderer.py index <HASH>..<HASH> 100644 --- a/ppb/systems/renderer.py +++ b/ppb/systems/renderer.py @@ -2,6 +2,7 @@ import ctypes import io import logging import random +from time import time import sdl2 import sdl2.ext @@ -135,9 +136,10 @@ class Renderer(SdlSub...
Calculate target framerate based on clock times, not an accumulator, to avoid floating point precision problems.
py
diff --git a/reana_db/models.py b/reana_db/models.py index <HASH>..<HASH> 100644 --- a/reana_db/models.py +++ b/reana_db/models.py @@ -53,7 +53,7 @@ class User(Base, Timestamp): full_name = Column(String(length=255)) username = Column(String(length=255)) tokens = relationship("UserToken", backref="user_"...
models: make User.workflows lazy dynamic closes reanahub/reana-server#<I>
py
diff --git a/samples/storage_sample/storage/__init__.py b/samples/storage_sample/storage/__init__.py index <HASH>..<HASH> 100644 --- a/samples/storage_sample/storage/__init__.py +++ b/samples/storage_sample/storage/__init__.py @@ -4,7 +4,6 @@ import pkgutil from apitools.base.py import * -from storage_v1 import * ...
Drop the CLI from the sample storage client imports.
py
diff --git a/phono3py/phonon3/interaction.py b/phono3py/phonon3/interaction.py index <HASH>..<HASH> 100644 --- a/phono3py/phonon3/interaction.py +++ b/phono3py/phonon3/interaction.py @@ -446,7 +446,7 @@ class Interaction(object): self._g_zero = None def _set_fc3(self, fc3): - if fc3 is None and s...
Bug fix: constant_averaged_interaction could not be used when fc3 is not given
py
diff --git a/pycm/pycm_obj.py b/pycm/pycm_obj.py index <HASH>..<HASH> 100644 --- a/pycm/pycm_obj.py +++ b/pycm/pycm_obj.py @@ -174,6 +174,7 @@ class ConfusionMatrix(): self.F05 = statistic_result["F0.5"] self.ERR = statistic_result["ERR"] self.J = statistic_result["J"] + self.IS = stat...
fix : IS added to CM object
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ setup( 'python-dateutil>=2.6.0,<3.0a', 'requests>=2.0.0,<3.0a', 'six>=1.5.0,<2.0a', - 'tabulator<=1.4.1', + 'tabulator<=1.19.3', 'urllib3>=1.15,<2.0a', ...
Upgrading tabulator to <I> (#<I>)
py
diff --git a/charmhelpers/contrib/hardening/audits/__init__.py b/charmhelpers/contrib/hardening/audits/__init__.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/hardening/audits/__init__.py +++ b/charmhelpers/contrib/hardening/audits/__init__.py @@ -49,13 +49,6 @@ class BaseAudit(object): # NO-QA #...
Simpified conditions of _take_actions
py
diff --git a/claripy/backend.py b/claripy/backend.py index <HASH>..<HASH> 100644 --- a/claripy/backend.py +++ b/claripy/backend.py @@ -131,7 +131,31 @@ class Backend(object): @returns a backend object ''' if isinstance(expr, A): + # if we have a result, and it's cached there, use i...
try to cross-convert objects between different backends to avoid long (and possibly buggy) AST resolutions
py
diff --git a/openquake/nrmllib/hazard/writers.py b/openquake/nrmllib/hazard/writers.py index <HASH>..<HASH> 100644 --- a/openquake/nrmllib/hazard/writers.py +++ b/openquake/nrmllib/hazard/writers.py @@ -452,10 +452,10 @@ class SESXMLWriter(object): # * bottom right # * bottom left for el_name...
hazard/writers: Fixed a PEP8 indentation issue.
py
diff --git a/pandas/tests/tslibs/test_parsing.py b/pandas/tests/tslibs/test_parsing.py index <HASH>..<HASH> 100644 --- a/pandas/tests/tslibs/test_parsing.py +++ b/pandas/tests/tslibs/test_parsing.py @@ -2,6 +2,7 @@ Tests for Timestamp parsing, aimed at pandas/_libs/tslibs/parsing.pyx """ from datetime import datetim...
TST: Fix bare pytest.raises in test_parsing.py (#<I>)
py
diff --git a/txtorcon/test/test_stream.py b/txtorcon/test/test_stream.py index <HASH>..<HASH> 100644 --- a/txtorcon/test/test_stream.py +++ b/txtorcon/test/test_stream.py @@ -256,10 +256,11 @@ class StreamTests(unittest.TestCase): self.circuits[1] = FakeCircuit(1) stream = Stream(self) - ...
make test including .exit URIs
py
diff --git a/exchange/adapters/__init__.py b/exchange/adapters/__init__.py index <HASH>..<HASH> 100644 --- a/exchange/adapters/__init__.py +++ b/exchange/adapters/__init__.py @@ -15,9 +15,6 @@ class BaseAdapter(object): """ - # If is true, delete currencies which not coming from API - DELETE_NONEXISTED_C...
revert auto remove currencies from exchange table for protect user from cascade deletion on DB
py
diff --git a/pyad2usb/ad2usb.py b/pyad2usb/ad2usb.py index <HASH>..<HASH> 100644 --- a/pyad2usb/ad2usb.py +++ b/pyad2usb/ad2usb.py @@ -190,6 +190,10 @@ class AD2USB(object): self.emulate_lrr = False self.deduplicate = False + @property + def id(self): + return self._device.id + def...
Added support for clearing and faulting zones.
py
diff --git a/src/pylexibank/util.py b/src/pylexibank/util.py index <HASH>..<HASH> 100644 --- a/src/pylexibank/util.py +++ b/src/pylexibank/util.py @@ -168,6 +168,9 @@ class DataDir(type(Path())): xml = '<r>{0}</r>'.format(xml) return et.fromstring(xml.encode('utf8')) + def read_json(self, fna...
Adding read_json utility to DataDir This would be a really useful thing to have (e.g. I'm working on a dataset that provides json via an API). Only concern
py
diff --git a/ospd/ospd.py b/ospd/ospd.py index <HASH>..<HASH> 100644 --- a/ospd/ospd.py +++ b/ospd/ospd.py @@ -299,13 +299,6 @@ class OSPDaemon: for param in xml_params: params[param.tag] = param.text or '' - # Set default values. - for key in self.scanner_params: - if k...
Only add params from <scanner_params> Do not add all params which are in the OSPD_PARAMS dict to the params which are set as preferences.
py
diff --git a/test_project/test_project/urls.py b/test_project/test_project/urls.py index <HASH>..<HASH> 100644 --- a/test_project/test_project/urls.py +++ b/test_project/test_project/urls.py @@ -17,6 +17,7 @@ from django.conf import settings from django.conf.urls import include from django.contrib import admin + t...
I said, make linter happy. This is the last warning
py
diff --git a/canvasapi/communication_channel.py b/canvasapi/communication_channel.py index <HASH>..<HASH> 100644 --- a/canvasapi/communication_channel.py +++ b/canvasapi/communication_channel.py @@ -55,7 +55,8 @@ class CommunicationChannel(CanvasObject): 'users/{}/communication_channels/{}/notification_pre...
Added kwargs to get_ methods
py
diff --git a/surfinBH/_loadFits.py b/surfinBH/_loadFits.py index <HASH>..<HASH> 100644 --- a/surfinBH/_loadFits.py +++ b/surfinBH/_loadFits.py @@ -21,6 +21,9 @@ def LoadFits(name): if name not in fits_collection.keys(): raise Exception('Invalid fit name : %s'%name) else: + testPath = DataPath(...
Test if data_url has been downloaded before loading, auto-download
py
diff --git a/ford/__init__.py b/ford/__init__.py index <HASH>..<HASH> 100644 --- a/ford/__init__.py +++ b/ford/__init__.py @@ -44,7 +44,7 @@ import ford.utils import ford.pagetree __appname__ = "FORD" -__author__ = "Chris MacMackin, Jacob Williams, Marco Restelli, Iain Barrass, Jérémie Burgalat, Stephen J. T...
Add Aradi to list of contributers
py
diff --git a/bugwarrior/services/trello.py b/bugwarrior/services/trello.py index <HASH>..<HASH> 100644 --- a/bugwarrior/services/trello.py +++ b/bugwarrior/services/trello.py @@ -4,7 +4,7 @@ from ConfigParser import NoOptionError from jinja2 import Template import requests -from bugwarrior.services import IssueServ...
Use ServiceClient in trello service
py
diff --git a/pyca/ca.py b/pyca/ca.py index <HASH>..<HASH> 100644 --- a/pyca/ca.py +++ b/pyca/ca.py @@ -24,7 +24,6 @@ if sys.version_info[0] == 2: else: from io import BytesIO as bio import traceback -import logging # Set up logging
double import of 'logging' module. Found with pylint. -- lk: Rebased to current master
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def read(fname): setup( name = "CLAM", - version = "0.99.11", + version = "0.99.12", author = "Maarten van Gompel", author_email = "proycon@anaproy.nl", description = ("Computational...
version bump after adding non-minified JS sources
py
diff --git a/src/chisel/__init__.py b/src/chisel/__init__.py index <HASH>..<HASH> 100644 --- a/src/chisel/__init__.py +++ b/src/chisel/__init__.py @@ -5,7 +5,7 @@ TODO """ -__version__ = '0.9.90' +__version__ = '0.9.91' from .action import \ Action, \
chisel <I>
py
diff --git a/vendor/visualmetrics.py b/vendor/visualmetrics.py index <HASH>..<HASH> 100755 --- a/vendor/visualmetrics.py +++ b/vendor/visualmetrics.py @@ -594,12 +594,12 @@ def eliminate_duplicate_frames(directory): client_viewport = None # Figure out the region of the image that we ...
Visual Metrics upstream fixes (#<I>)
py
diff --git a/salt/modules/win_network.py b/salt/modules/win_network.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_network.py +++ b/salt/modules/win_network.py @@ -210,7 +210,7 @@ def interfaces(): salt '*' network.interfaces ''' - return salt.utils.network.interfaces() + return salt.utils....
Call the windows specific function not the general one This will make the `unit.modules.win_network_test.WinNetworkTestCase.test_interfaces` test fail, as it should fail given that it worked because it was being "fed" the linux interfaces when executed from linux.
py
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/manifest.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/manifest.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/meta/manifest.py +++ b/datadog_checks_dev/datadog_checks/dev/tooling/com...
Add app_uuid to manifest migrator (#<I>)
py
diff --git a/lib/emir/recipes/aiv/mask.py b/lib/emir/recipes/aiv/mask.py index <HASH>..<HASH> 100644 --- a/lib/emir/recipes/aiv/mask.py +++ b/lib/emir/recipes/aiv/mask.py @@ -315,7 +315,7 @@ class TestPinholeRecipe(BaseRecipe): bias_corrector = BiasCorrector(mbias) #bias_corrector = IdNode() ...
Use "mean" instead of "median"
py
diff --git a/jhhalchemy/migrate.py b/jhhalchemy/migrate.py index <HASH>..<HASH> 100644 --- a/jhhalchemy/migrate.py +++ b/jhhalchemy/migrate.py @@ -73,6 +73,9 @@ def upgrade(dbname, connect_str, alembic_conf): try: sqlalchemy_utils.create_database(connect_str) except sqlalchemy.exc.Program...
JPW-<I> Add TODO to migrate
py
diff --git a/plenum/common/util.py b/plenum/common/util.py index <HASH>..<HASH> 100644 --- a/plenum/common/util.py +++ b/plenum/common/util.py @@ -435,7 +435,7 @@ def isHexKey(key): def getCryptonym(identifier): isHex = isHexKey(identifier) - return base64.b64encode(unhexlify(identifier.encode())).decode() i...
changing method to use base<I> encoding
py
diff --git a/cloudshell/networking/devices/autoload/autoload_migration_helper.py b/cloudshell/networking/devices/autoload/autoload_migration_helper.py index <HASH>..<HASH> 100644 --- a/cloudshell/networking/devices/autoload/autoload_migration_helper.py +++ b/cloudshell/networking/devices/autoload/autoload_migration_hel...
Small fix in migration method according new attribute namespaces
py
diff --git a/flask_socketio/__init__.py b/flask_socketio/__init__.py index <HASH>..<HASH> 100644 --- a/flask_socketio/__init__.py +++ b/flask_socketio/__init__.py @@ -180,7 +180,10 @@ class SocketIO(object): self.server_options['json'] = FlaskSafeJSON - resource = kwargs.pop('path', kwargs.pop('...
Fix 'path' or 'resource' doesn't work. In this case, it works well: > socketio = SockeIO(app, path='/path/socket.io') While this case, it doesn't worked before the change: > socketio = SockeIO(path='/path/socket.io') > socketio.init_app(app) So that this change can fix it.
py
diff --git a/owslib/feature/wfs100.py b/owslib/feature/wfs100.py index <HASH>..<HASH> 100644 --- a/owslib/feature/wfs100.py +++ b/owslib/feature/wfs100.py @@ -181,7 +181,8 @@ class WebFeatureService_1_0_0(object): assert len(typename) > 0 request['typename'] = ','.join(typename) - req...
Added check to getfeature(.) to allow for NoneType to be passed as the propertyname. This mirrors the behavior of wfs<I>.py and allows queries to USGS Soil Data Mart to succeed (<URL>)
py
diff --git a/frog/views/gallery.py b/frog/views/gallery.py index <HASH>..<HASH> 100644 --- a/frog/views/gallery.py +++ b/frog/views/gallery.py @@ -225,7 +225,7 @@ def _filter(request, object_, tags=None, models=(Image, Video), more=False, orde idDict = {} objDict = {} data = {} - length = 300 + len...
Reducing the append request to <I> items from <I>
py
diff --git a/munigeo/importer/finland.py b/munigeo/importer/finland.py index <HASH>..<HASH> 100644 --- a/munigeo/importer/finland.py +++ b/munigeo/importer/finland.py @@ -113,7 +113,12 @@ class FinlandImporter(Importer): xml_dir = p base_path = os.path.join(base_path, xml_dir) pat...
Work around the .gfs problem
py
diff --git a/nodeconductor/structure/serializers.py b/nodeconductor/structure/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/serializers.py +++ b/nodeconductor/structure/serializers.py @@ -904,7 +904,7 @@ class BaseServiceSerializer(six.with_metaclass(ServiceSerializerMetaclass, field...
Add missing fields [WAL-<I>] Service and service type have been removed by accident.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ install_requires = [ setup( name='nodeconductor', - version='0.16.1', + version='0.17.0.dev0', author='OpenNode Team', author_email='info@opennodecloud.com', url='https://github.com/...
Starting new development cycle: <I>
py
diff --git a/neomodel/match.py b/neomodel/match.py index <HASH>..<HASH> 100644 --- a/neomodel/match.py +++ b/neomodel/match.py @@ -652,7 +652,7 @@ class Traversal(BaseSet): :param kwargs: see `NodeSet.filter()` for syntax :return: self """ - if 'model' not in self.definition: + ...
Test for model is None in Traversal.match() Since `RelationshipTo` and `RelationshipFrom` both set model to None in their constructors, the test needs to be for `model is None` not just for the `'model'` key being missing.
py