diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/visidata/loaders/fixed_width.py b/visidata/loaders/fixed_width.py index <HASH>..<HASH> 100644 --- a/visidata/loaders/fixed_width.py +++ b/visidata/loaders/fixed_width.py @@ -74,7 +74,7 @@ class FixedWidthColumnsSheet(SequenceSheet): @VisiData.api def save_fixed(vd, p, *vsheets): - with p.open_text(m...
[fixed-] fix fixed-filetype saver - also fixes sys-copying to fixed format - Closes #<I> - vsheets is a tuple, grab options from first sheet in tuple
py
diff --git a/openquake/calculators/hazard/classical/core.py b/openquake/calculators/hazard/classical/core.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/classical/core.py +++ b/openquake/calculators/hazard/classical/core.py @@ -224,6 +224,11 @@ class ClassicalHazardCalculator(haz_general.BaseHazardCa...
calcs/hazard/classical/core: Classical calculator now caches the site collection during pre-execute.
py
diff --git a/salt/modules/win_lgpo.py b/salt/modules/win_lgpo.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_lgpo.py +++ b/salt/modules/win_lgpo.py @@ -4036,8 +4036,7 @@ def _write_regpol_data(data_to_write, version_nums = (version_nums[0], version_nums[1] + 1) elif ...
backport <I> to <I>, properly pack version numbers into single number
py
diff --git a/scout/ext/backend/mongo.py b/scout/ext/backend/mongo.py index <HASH>..<HASH> 100755 --- a/scout/ext/backend/mongo.py +++ b/scout/ext/backend/mongo.py @@ -24,8 +24,7 @@ from mongoengine import connect, DoesNotExist, Q from . import BaseAdapter from .config_parser import ConfigParser -from scoutmodels im...
Fixed import statement in mongo.py
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -636,6 +636,9 @@ def _virtual(osdata): grains['virtual'] = 'Parallels' elif 'Manufacturer: Google' in output: grains['virtual'] = 'kvm'...
Detect KVM on Proxmox KVM boxes at Proxmox have Vendor: SeaBIOS in dmidecode output.
py
diff --git a/environ/test.py b/environ/test.py index <HASH>..<HASH> 100644 --- a/environ/test.py +++ b/environ/test.py @@ -358,6 +358,12 @@ class DatabaseTestSuite(unittest.TestCase): url = Env.db_url_config(url) self.assertEqual(url['CONN_MAX_AGE'], 600) + url = 'postgres://user:pass@host:12...
Add test for additional db settings
py
diff --git a/master/buildbot/data/buildsets.py b/master/buildbot/data/buildsets.py index <HASH>..<HASH> 100644 --- a/master/buildbot/data/buildsets.py +++ b/master/buildbot/data/buildsets.py @@ -61,7 +61,7 @@ class Db2DataMixin(object): defer.returnValue(buildset) fieldMapping = { - 'buildsetid':...
fix buildset fieldMapping sorting by bsid did not map to an optimized sql query
py
diff --git a/apacheconfig/lexer.py b/apacheconfig/lexer.py index <HASH>..<HASH> 100644 --- a/apacheconfig/lexer.py +++ b/apacheconfig/lexer.py @@ -351,7 +351,7 @@ class BaseApacheConfigLexer(object): class OptionLexer(BaseApacheConfigLexer): def t_OPTION_AND_VALUE(self, t): - r'[^ \n\r\t=#]+([ \t=]+(?:\\...
Escape hashes in regexes (#<I>)
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100755 --- a/tests.py +++ b/tests.py @@ -180,9 +180,9 @@ class TestBoardMessages(BoardBaseTest): def test_send_sysex_string(self): self.board.send_sysex(0x79, bytearray("test", 'ascii')) - sysex = [chr(0xF0), chr(0x79)] + sysex = [0xF0,...
Fix earlier failing test also in py3
py
diff --git a/src/chemcoord/internal_coordinates/_zmat_class_give_cartesian.py b/src/chemcoord/internal_coordinates/_zmat_class_give_cartesian.py index <HASH>..<HASH> 100644 --- a/src/chemcoord/internal_coordinates/_zmat_class_give_cartesian.py +++ b/src/chemcoord/internal_coordinates/_zmat_class_give_cartesian.py @@ -9...
BUG: 1 indexed properly changed to 0 indexed
py
diff --git a/tests/test_diff.py b/tests/test_diff.py index <HASH>..<HASH> 100644 --- a/tests/test_diff.py +++ b/tests/test_diff.py @@ -185,3 +185,22 @@ def test_real_example(): assert (158, ' public ChangeSet getHead2() {') in added assert (323, ' newline') in added assert 3 == len(added) + +...
added test for 'no newline' bug
py
diff --git a/toml.py b/toml.py index <HASH>..<HASH> 100644 --- a/toml.py +++ b/toml.py @@ -119,7 +119,7 @@ def load_value(v): if i == '': backslash = not backslash else: - if i[0] not in escapes and i[0] != 'x' and not backslash: + if i[0] not in ...
Use \u instead of \x in load_value
py
diff --git a/marathon_acme/tests/test_sse_protocol.py b/marathon_acme/tests/test_sse_protocol.py index <HASH>..<HASH> 100644 --- a/marathon_acme/tests/test_sse_protocol.py +++ b/marathon_acme/tests/test_sse_protocol.py @@ -264,6 +264,14 @@ class TestSseProtocol(object): """ protocol.connectionLost() ...
test_sse_protocol: make sure we work with a transport without abortConnection()
py
diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/editor.py +++ b/spyderlib/widgets/editor.py @@ -394,7 +394,7 @@ class FileInfo(QObject): elif source_code[position] == '(' and close_parens: close_parens -= 1...
Add support for OSX line endings
py
diff --git a/nion/swift/Inspector.py b/nion/swift/Inspector.py index <HASH>..<HASH> 100755 --- a/nion/swift/Inspector.py +++ b/nion/swift/Inspector.py @@ -730,7 +730,8 @@ class LinePlotDisplayLayersInspectorSection(InspectorSection): self.content_widget.add(fill_color_row) self.content...
Fix issue with data index (revealead by having 2x<I> data).
py
diff --git a/db_tests/output_writers_unittest.py b/db_tests/output_writers_unittest.py index <HASH>..<HASH> 100644 --- a/db_tests/output_writers_unittest.py +++ b/db_tests/output_writers_unittest.py @@ -24,10 +24,36 @@ Database related unit tests for hazard computations with the hazard engine. import unittest from ...
Added test for compose writers Former-commit-id: 0fc<I>fb<I>eab1bf<I>c<I>ee1e5f1ca<I>cf2
py
diff --git a/tests/config/pylint_config/test_run_pylint_config.py b/tests/config/pylint_config/test_run_pylint_config.py index <HASH>..<HASH> 100644 --- a/tests/config/pylint_config/test_run_pylint_config.py +++ b/tests/config/pylint_config/test_run_pylint_config.py @@ -18,7 +18,7 @@ def test_invocation_of_pylint_confi...
test_run_pylint_config: ignore pytest args (#<I>) This test fails if run through pytest with any args, because `_run_pylint_config` passes through args from the command line without checking if the args are actually intended for pylint-config. We have to pass it some fake args that evaluate truth-y but don't break any...
py
diff --git a/gui/controls/gridview.py b/gui/controls/gridview.py index <HASH>..<HASH> 100644 --- a/gui/controls/gridview.py +++ b/gui/controls/gridview.py @@ -71,7 +71,7 @@ class GridView(Control): def _set_row_label(self, value): "Set the row label format string (empty to hide)" if not value: ...
changed to grid method to hide labels compatible with wx<I>
py
diff --git a/pydoop/test_support.py b/pydoop/test_support.py index <HASH>..<HASH> 100644 --- a/pydoop/test_support.py +++ b/pydoop/test_support.py @@ -25,16 +25,17 @@ import hdfs def inject_code(new_code, target_code): + """ + Inject new_code into target_code, before the first import. + + NOTE: this is just a h...
test_support: fixed inject_code
py
diff --git a/parsl/providers/kubernetes/kube.py b/parsl/providers/kubernetes/kube.py index <HASH>..<HASH> 100644 --- a/parsl/providers/kubernetes/kube.py +++ b/parsl/providers/kubernetes/kube.py @@ -8,8 +8,8 @@ from parsl.providers.error import OptionalModuleMissing try: - from kubernetes import client, config ...
Applying the same kube fix in this branch.
py
diff --git a/satpy/tests/writer_tests/test_simple_image.py b/satpy/tests/writer_tests/test_simple_image.py index <HASH>..<HASH> 100644 --- a/satpy/tests/writer_tests/test_simple_image.py +++ b/satpy/tests/writer_tests/test_simple_image.py @@ -15,7 +15,7 @@ # # You should have received a copy of the GNU General Public...
Fix typo in satpy/tests/writer_tests/test_simple_image.py docstring
py
diff --git a/src/sentry_plugins/sessionstack/plugin.py b/src/sentry_plugins/sessionstack/plugin.py index <HASH>..<HASH> 100644 --- a/src/sentry_plugins/sessionstack/plugin.py +++ b/src/sentry_plugins/sessionstack/plugin.py @@ -139,10 +139,6 @@ class SessionStackPlugin(CorePluginMixin, Plugin2): if data.get('pl...
[sessionstack] Check last if the plugin is enabled for the project
py
diff --git a/tests/test_validation.py b/tests/test_validation.py index <HASH>..<HASH> 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -87,27 +87,8 @@ class TestValidation(object): ] - class SubSubRootController(object): - @expose('json') - de...
reverting tests for validation in sub controllers since the bug is non-existent
py
diff --git a/kik_unofficial/datatypes/xmpp/account.py b/kik_unofficial/datatypes/xmpp/account.py index <HASH>..<HASH> 100644 --- a/kik_unofficial/datatypes/xmpp/account.py +++ b/kik_unofficial/datatypes/xmpp/account.py @@ -48,12 +48,16 @@ class GetMyProfileResponse(XMPPResponse): else: self.pic_ur...
Added error handling for GetMyProfileRequest
py
diff --git a/tests/test_page.py b/tests/test_page.py index <HASH>..<HASH> 100644 --- a/tests/test_page.py +++ b/tests/test_page.py @@ -218,7 +218,7 @@ def _correct_file_type(entry, file_types): return any(ft in header['value'] for ft in file_types) -def validate_duplicate_urls_count(har_data): +def tes...
Gowtham: renamed method with test
py
diff --git a/asammdf/gui/widgets/tabular.py b/asammdf/gui/widgets/tabular.py index <HASH>..<HASH> 100644 --- a/asammdf/gui/widgets/tabular.py +++ b/asammdf/gui/widgets/tabular.py @@ -313,7 +313,10 @@ class Tabular(Ui_TabularDisplay, QtWidgets.QWidget): except: items.append(...
fix Tabular window in case of string channels
py
diff --git a/raven/processors.py b/raven/processors.py index <HASH>..<HASH> 100644 --- a/raven/processors.py +++ b/raven/processors.py @@ -55,13 +55,13 @@ class SanitizePasswordsProcessor(Processor): """ MASK = '*' * 8 FIELDS = frozenset(['password', 'secret', 'passwd']) - VALUES_RE = re.compile('^\d{...
Dont force password sanitizer to cast values as string (fixes GH-<I>)
py
diff --git a/O365/tasks.py b/O365/tasks.py index <HASH>..<HASH> 100644 --- a/O365/tasks.py +++ b/O365/tasks.py @@ -225,16 +225,21 @@ class Task(ApiComponent): @completed.setter def completed(self, value): - if not isinstance(value, dt.date): - raise ValueError("'end' must be a valid dateti...
Automatically mark task as completed when setting completed time
py
diff --git a/mongoctl/objects/server.py b/mongoctl/objects/server.py index <HASH>..<HASH> 100644 --- a/mongoctl/objects/server.py +++ b/mongoctl/objects/server.py @@ -296,8 +296,8 @@ class Server(DocumentWrapper): ("subscription" in server_info["gitVersion"] or "enterprise" in...
deal with changes in <I> for determining edition
py
diff --git a/climlab/radiation/insolation.py b/climlab/radiation/insolation.py index <HASH>..<HASH> 100644 --- a/climlab/radiation/insolation.py +++ b/climlab/radiation/insolation.py @@ -114,6 +114,10 @@ class AnnualMeanInsolation(_Insolation): class DailyInsolation(AnnualMeanInsolation): + def __init__(self, S...
DailyInsolation process now properly initializes the insolation diagnostic, avoiding some startup complications when coupling to radiation processes.
py
diff --git a/mama_cas/models.py b/mama_cas/models.py index <HASH>..<HASH> 100644 --- a/mama_cas/models.py +++ b/mama_cas/models.py @@ -124,14 +124,13 @@ class TicketManager(models.Manager): def consume_tickets(self, user): """ - Iterate over all ``Ticket``s for a specified user and consume all - ...
Use additional filters for consume_tickets()
py
diff --git a/tests/test_metadata.py b/tests/test_metadata.py index <HASH>..<HASH> 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -81,6 +81,22 @@ def compareDict(dict1, dict2): 'required': False, 'default': None }), + (serializers.DecimalField(max_digits=10, decimal_places=...
Tests for DecimalField/FloatField added
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 @@ -155,7 +155,7 @@ class ProjectSerializer(PermissionFieldFilteringMixin, resource_quota = serializers....
Fix project serializer (NC-<I>)
py
diff --git a/profiling/viewer.py b/profiling/viewer.py index <HASH>..<HASH> 100644 --- a/profiling/viewer.py +++ b/profiling/viewer.py @@ -201,9 +201,9 @@ class Formatter(object): return '{:.1f}sec'.format(sec) elif sec < 600: # 1min0s ~ 9min59s - return '{:.0f}min{:.0f}s'....
Fix formatting of timings that can get cut off in width
py
diff --git a/sdcclient/ibm_auth_helper.py b/sdcclient/ibm_auth_helper.py index <HASH>..<HASH> 100644 --- a/sdcclient/ibm_auth_helper.py +++ b/sdcclient/ibm_auth_helper.py @@ -1,4 +1,7 @@ -class IbmAuthHelper(): +import requests + + +class IbmAuthHelper: '''Authenticate with IBM Cloud IAM. **Arguments** @@ -...
fix: Referenced self on static method on IBM Auth Helper (#<I>)
py
diff --git a/bcbio/qc/fastqc.py b/bcbio/qc/fastqc.py index <HASH>..<HASH> 100644 --- a/bcbio/qc/fastqc.py +++ b/bcbio/qc/fastqc.py @@ -11,7 +11,7 @@ try: except ImportError: Fadapa = None -from bcbio import bam, utils +from bcbio import utils from bcbio.distributed.transaction import tx_tmpdir from bcbio.prov...
fastqc: skip downsampling before running QC Downsampling can take as long as full FastQC and is no longer re-used in multiple places in the QC pipeline.
py
diff --git a/data_types.py b/data_types.py index <HASH>..<HASH> 100644 --- a/data_types.py +++ b/data_types.py @@ -71,7 +71,7 @@ class TierSet(): """ def __init__(self, tiers=None, max_items_per_set = 0): - self._max_items_per_set = 0 + self._max_items_per_set = max_items_per_set self...
Fixed a bug where the set_limit was always unbounded
py
diff --git a/tests/tests_mixed/test_objects.py b/tests/tests_mixed/test_objects.py index <HASH>..<HASH> 100644 --- a/tests/tests_mixed/test_objects.py +++ b/tests/tests_mixed/test_objects.py @@ -66,7 +66,8 @@ class ObjectTest(unittest.TestCase): def test_obj_repr(self): w = Gtk.Window() r = repr(...
tests: fix repr check the repr format of recent pygobject includes the namespace
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ setup( install_requires = [ 'click', 'future>0.14.0', + 'networkx<2', 'lzstring', 'jinja2>=2.9', 'matplotlib', @@ -59,7 +60,6 @@ setup( 'requests...
Move networkx dependency up in file to try to get it installed before spectra on AppVeyor
py
diff --git a/safe/test/utilities.py b/safe/test/utilities.py index <HASH>..<HASH> 100644 --- a/safe/test/utilities.py +++ b/safe/test/utilities.py @@ -13,14 +13,14 @@ import shutil from os.path import join from itertools import izip -# noinspection PyPackageRequirements -from PyQt4 import QtGui # pylint: disable=W...
Import modules from QGIS first before importing from PyQT.
py
diff --git a/pandas/tests/indexing/test_iloc.py b/pandas/tests/indexing/test_iloc.py index <HASH>..<HASH> 100644 --- a/pandas/tests/indexing/test_iloc.py +++ b/pandas/tests/indexing/test_iloc.py @@ -21,11 +21,13 @@ from pandas import ( Interval, NaT, Series, + Timestamp, array, concat, ...
TST: Assign back multiple column to datetime (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,8 @@ install_requirements = [ test_requirements = [ + 'tox', + 'tox-pyenv', 'pytest==2.8.0', 'pytest-cache==1.0', 'pytest-cov==2.1.0',
add tox and tox-pyenv to test requiremnts
py
diff --git a/salt/modules/rh_service.py b/salt/modules/rh_service.py index <HASH>..<HASH> 100644 --- a/salt/modules/rh_service.py +++ b/salt/modules/rh_service.py @@ -129,8 +129,6 @@ def restart(name, **kwargs): salt '*' service.restart <service name> ''' - if name == 'salt-minion': - salt.uti...
Remove daemonize from rh_service
py
diff --git a/sprinter/formula/package.py b/sprinter/formula/package.py index <HASH>..<HASH> 100644 --- a/sprinter/formula/package.py +++ b/sprinter/formula/package.py @@ -64,8 +64,8 @@ class PackageFormula(FormulaBase): elif self.system.isFedoraBased(): package_manager = "yum" if lib.whic...
Fixing bug with package manager formula not being installed * Now a soft failure * Fixing bug
py
diff --git a/tofu/tests/tests01_geom/earclipping.py b/tofu/tests/tests01_geom/earclipping.py index <HASH>..<HASH> 100644 --- a/tofu/tests/tests01_geom/earclipping.py +++ b/tofu/tests/tests01_geom/earclipping.py @@ -98,6 +98,7 @@ def get_one_ears(lpts, lref): return def get_all_ears(llpts): + # https://www.ge...
[vignetting] added refs in source
py
diff --git a/anom/adapters/datastore_adapter.py b/anom/adapters/datastore_adapter.py index <HASH>..<HASH> 100644 --- a/anom/adapters/datastore_adapter.py +++ b/anom/adapters/datastore_adapter.py @@ -7,10 +7,24 @@ from ..adapter import QueryResponse class DatastoreAdapter(Adapter): """A Google Cloud Datastore ad...
refactor: add credentials param to DatastoreAdapter
py
diff --git a/www/tests/test_file.py b/www/tests/test_file.py index <HASH>..<HASH> 100644 --- a/www/tests/test_file.py +++ b/www/tests/test_file.py @@ -7,7 +7,7 @@ with open('files/text-utf8.txt') as f: f.read() with open('compression/du cote de chez swann.txt', 'rb') as f: - assert len(f.read()) == 1_056_294...
Change test on length of result of file.read() to handle different length of line feed (1 or 2 characters). Related to issue #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -147,7 +147,7 @@ def main(modules, is_pypy): MOD_NAMES = ['spacy.parts_of_speech', 'spacy.strings', 'spacy.lexeme', 'spacy.vocab', 'spacy.tokens', 'spacy.spans', - 'spacy.morphology', 'spacy.munge....
* Don't use alignment.pyx file, move functionality to spacy.gold
py
diff --git a/dimod/sampleset.py b/dimod/sampleset.py index <HASH>..<HASH> 100644 --- a/dimod/sampleset.py +++ b/dimod/sampleset.py @@ -807,10 +807,10 @@ class SampleSet(abc.Iterable, abc.Sized): reverse (bool, optional, default=False): If True, yield in reverse order. - sample...
Workaround for Issue #<I>
py
diff --git a/master/buildbot/db/model.py b/master/buildbot/db/model.py index <HASH>..<HASH> 100644 --- a/master/buildbot/db/model.py +++ b/master/buildbot/db/model.py @@ -16,6 +16,7 @@ import migrate import migrate.versioning.repository import migrate.versioning.schema +from migrate import exceptions import sqlalch...
drop backward compatibilty import for migrate < <I> We don't suport sqlalchemy-migrate older then <I>. All exceptions where moved to migrate.exception in <I> release. So no need trying to import exceptions by the old name. This fixes pylint 'no-name-in-module' error for the removed code.
py
diff --git a/tensorflow_probability/python/distributions/generalized_pareto_test.py b/tensorflow_probability/python/distributions/generalized_pareto_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/generalized_pareto_test.py +++ b/tensorflow_probability/python/distributions/generali...
Avoid testing Pareto mean when the concentration is close to 0. Hypothesis testing suggests that our Pareto mean can underflow to 0 in that case. PiperOrigin-RevId: <I>
py
diff --git a/sentry/helpers.py b/sentry/helpers.py index <HASH>..<HASH> 100644 --- a/sentry/helpers.py +++ b/sentry/helpers.py @@ -142,5 +142,8 @@ class cached_property(object): def urlread(url, get={}, post={}, headers={}, timeout=None): req = urllib2.Request(url, urllib.urlencode(get), headers=headers) - r...
Fix compatibility with Python < <I>
py
diff --git a/discord/abc.py b/discord/abc.py index <HASH>..<HASH> 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -895,9 +895,9 @@ class Messageable(metaclass=abc.ABCMeta): .. note:: - Due to a limitation with the Discord API, the :class:`Message` + Due to a limitation with the Di...
Ensure message links resolve in the Messageable.pins note.
py
diff --git a/engine.py b/engine.py index <HASH>..<HASH> 100644 --- a/engine.py +++ b/engine.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2012, 2013, 2014 CERN. +# Copyright (C) 2012, 2013, 2014, 2015 CERN. # # Invenio is free software; you can redistribute it and/or...
global: import change of Flask extensions * Changes all Flask extension import style from `flask.ext.*` to `flask_*`. (addresses mitsuhiko/flask#<I>) (closes #<I>)
py
diff --git a/pysparkling/sql/casts.py b/pysparkling/sql/casts.py index <HASH>..<HASH> 100644 --- a/pysparkling/sql/casts.py +++ b/pysparkling/sql/casts.py @@ -51,6 +51,8 @@ def cast_to_string(value, from_type, options): return date_format(value) if isinstance(from_type, TimestampType): return tim...
Implement the cast of nested type to string
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100644 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -513,8 +513,9 @@ class SearchBackend(BaseSearchBackend): `text` -- The text to be highlighted """ for term in [term.replace('*', '') for term in text.split()]:...
Added ignore of 'select' operators in highlighting code. Should be replaced with a proper stopwords.txt file that can be optionally added as a settings.py constant.
py
diff --git a/folium/map.py b/folium/map.py index <HASH>..<HASH> 100644 --- a/folium/map.py +++ b/folium/map.py @@ -255,7 +255,6 @@ class Marker(MacroElement): draggable=False): super(Marker, self).__init__() self._name = 'Marker' - self.tooltip = tooltip self.location...
Remove defunct Marker class attribute
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -18,8 +18,8 @@ setup( description='A choice field for Django using native Python Enums', long_description=readme, author='Tim Heap', - author_email='tim@takeflight.com.au', - url='https://github.com/takefl...
Update repository location in setup.py
py
diff --git a/scs_core/data/linear_regression.py b/scs_core/data/linear_regression.py index <HASH>..<HASH> 100644 --- a/scs_core/data/linear_regression.py +++ b/scs_core/data/linear_regression.py @@ -43,8 +43,8 @@ class LinearRegression(object): # x domain... x_data = self.__x_data() - min_x =...
Fixed a bug in MultiChart.
py
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index <HASH>..<HASH> 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -944,7 +944,8 @@ class Mastodon: as of Mastodon 2.1.0, this only works properly for instance-local users. If `exclude_replies` is set, filter out all statuses t...
Fix docs for account_statuses (closes #<I>)
py
diff --git a/cltk/corpus/chinese/corpora.py b/cltk/corpus/chinese/corpora.py index <HASH>..<HASH> 100644 --- a/cltk/corpus/chinese/corpora.py +++ b/cltk/corpus/chinese/corpora.py @@ -28,5 +28,8 @@ CHINESE_CORPORA = [ 'markup': 'xml', 'location': 'remote', 'type': 'text', - 'name': 'chinese_text_cb...
Added the cbeta txt corpora
py
diff --git a/psiturk/dashboard.py b/psiturk/dashboard.py index <HASH>..<HASH> 100644 --- a/psiturk/dashboard.py +++ b/psiturk/dashboard.py @@ -121,13 +121,13 @@ class MTurkServices: self.paramdict = dict( hit_type = None, question = mturkQuestion, - lifetime = datetime.time...
using self.config.get() for floating point numbers was generating errors for me
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,4 +18,5 @@ setup( author_email="micktwomey+iso8601@gmail.com", url="http://code.google.com/p/pyiso8601/", packages=["iso8601"], + license="MIT", )
Added MIT license to package metadata.
py
diff --git a/pycast/errors/meansigneddifferenceerror.py b/pycast/errors/meansigneddifferenceerror.py index <HASH>..<HASH> 100644 --- a/pycast/errors/meansigneddifferenceerror.py +++ b/pycast/errors/meansigneddifferenceerror.py @@ -59,10 +59,8 @@ class MeanSignedDifferenceError(BaseErrorMeasure): :return: Re...
Removed unnecessary test in MeanSignedDifferenceError for Lists
py
diff --git a/raiden_contracts/contract_source_manager.py b/raiden_contracts/contract_source_manager.py index <HASH>..<HASH> 100644 --- a/raiden_contracts/contract_source_manager.py +++ b/raiden_contracts/contract_source_manager.py @@ -56,21 +56,11 @@ class ContractSourceManager: for contracts_dir in self.c...
Remove hack to remove ast from contract data This seems to be fixed in `py-solc-x`.
py
diff --git a/pyeda/test/test_expr.py b/pyeda/test/test_expr.py index <HASH>..<HASH> 100644 --- a/pyeda/test/test_expr.py +++ b/pyeda/test/test_expr.py @@ -27,8 +27,8 @@ def test_ops(): def test_simplify(): f1 = And(a, And(b, And(c, 0, simplify=False), simplify=False), simplify=False) f2 = Or(a, Or(b, Or(c, 1...
Hack for Python <I> issue
py
diff --git a/taskcluster/client.py b/taskcluster/client.py index <HASH>..<HASH> 100644 --- a/taskcluster/client.py +++ b/taskcluster/client.py @@ -428,7 +428,7 @@ class BaseClient(object): try: return response.json() except ValueError: - return {} + return {"response": response} ...
Return response obj for downloading artifacts - ex: getLatestArtifact() of Queue API
py
diff --git a/ffmpeg/__init__.py b/ffmpeg/__init__.py index <HASH>..<HASH> 100755 --- a/ffmpeg/__init__.py +++ b/ffmpeg/__init__.py @@ -220,9 +220,11 @@ class _OutputNode(_Node): args += reduce(operator.add, [self._get_output_args(node, stream_name_map) for node in output_nodes]) args += reduce(operato...
allow to use different command other than 'ffmpeg'
py
diff --git a/salt/cache/localfs.py b/salt/cache/localfs.py index <HASH>..<HASH> 100644 --- a/salt/cache/localfs.py +++ b/salt/cache/localfs.py @@ -112,7 +112,7 @@ def flush(bank, key=None): return True -def list(bank): +def getlist(bank): ''' Return an iterable object containing all entries stored in...
Localfs should also be changed of course
py
diff --git a/pyrogram/client/types/messages_and_media/message.py b/pyrogram/client/types/messages_and_media/message.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/types/messages_and_media/message.py +++ b/pyrogram/client/types/messages_and_media/message.py @@ -574,6 +574,8 @@ class Message(Object, Update): ...
Message: media = None if WebPage is empty
py
diff --git a/py/selenium/webdriver/remote/webdriver.py b/py/selenium/webdriver/remote/webdriver.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/remote/webdriver.py +++ b/py/selenium/webdriver/remote/webdriver.py @@ -1153,7 +1153,7 @@ class WebDriver(BaseWebDriver): if isinstance(by, RelativeBy): ...
[py] Correct formatting with JS fragment
py
diff --git a/satpy/resample.py b/satpy/resample.py index <HASH>..<HASH> 100644 --- a/satpy/resample.py +++ b/satpy/resample.py @@ -411,7 +411,7 @@ class EWAResampler(BaseResampler): num_valid_points *= 3 else: num_valid_points, res = fornav( - cols, rows, self.target_ge...
Send copy of the data to fornav()
py
diff --git a/tensorflow_datasets/core/download/extractor.py b/tensorflow_datasets/core/download/extractor.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/core/download/extractor.py +++ b/tensorflow_datasets/core/download/extractor.py @@ -20,6 +20,7 @@ import concurrent.futures import contextlib import gzip ...
Sets the number of threads for the extractor. PiperOrigin-RevId: <I>
py
diff --git a/tests/unit/test_uri.py b/tests/unit/test_uri.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_uri.py +++ b/tests/unit/test_uri.py @@ -22,10 +22,12 @@ def test_uri(authurl): result = urlsplit(url) new_path = "" if result.path: - _, new_path = os.path.splitdrive(Path(result.path).ab...
Add more debugging info to tests
py
diff --git a/lib/svtplay_dl/service/justin.py b/lib/svtplay_dl/service/justin.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/justin.py +++ b/lib/svtplay_dl/service/justin.py @@ -52,24 +52,19 @@ class Justin(Service): match = re.match(r'/(\w+)/([bcv])/(\d+)', urlp.path) if not match: - ...
justin: refactor get function
py
diff --git a/perf/__main__.py b/perf/__main__.py index <HASH>..<HASH> 100644 --- a/perf/__main__.py +++ b/perf/__main__.py @@ -338,6 +338,11 @@ def cmd_compare(args): def cmd_collect_metadata(args): + filename = args.output + if filename and os.path.exists(filename): + print("ERROR: The JSON file %r a...
collect_metadata: fail early if file exists
py
diff --git a/trunk/metpy/vis/skewt.py b/trunk/metpy/vis/skewt.py index <HASH>..<HASH> 100644 --- a/trunk/metpy/vis/skewt.py +++ b/trunk/metpy/vis/skewt.py @@ -192,6 +192,17 @@ class SkewXAxes(Axes): """ return self._xaxis_transform + self.transProjection + # Disable panning until we find a way to...
Explicitly disable panning until we figure out a way to make it work. git-svn-id: <URL>
py
diff --git a/src/orb/backends/sql/postgresql/connection.py b/src/orb/backends/sql/postgresql/connection.py index <HASH>..<HASH> 100644 --- a/src/orb/backends/sql/postgresql/connection.py +++ b/src/orb/backends/sql/postgresql/connection.py @@ -138,7 +138,7 @@ class PSQLConnection(SQLConnection): key = d...
fixed missing paren in the regular expression for duplicate entry lookup
py
diff --git a/pyontutils/utils.py b/pyontutils/utils.py index <HASH>..<HASH> 100644 --- a/pyontutils/utils.py +++ b/pyontutils/utils.py @@ -125,6 +125,7 @@ def _loadPrefixes(): 'hasRole':'http://purl.obolibrary.org/obo/RO_0000087', 'inheresIn':'http://purl.obolibrary.org/obo/RO_0000052', 'bear...
utils added prefix for RO:<I>
py
diff --git a/mot/load_balance_strategies.py b/mot/load_balance_strategies.py index <HASH>..<HASH> 100644 --- a/mot/load_balance_strategies.py +++ b/mot/load_balance_strategies.py @@ -113,7 +113,7 @@ class Worker(object): class LoadBalanceStrategy(object): - def __init__(self, run_in_batches=True, single_batch_l...
Fixed the right setting for the load balancing batches
py
diff --git a/test/test_spatial_clustering.py b/test/test_spatial_clustering.py index <HASH>..<HASH> 100644 --- a/test/test_spatial_clustering.py +++ b/test/test_spatial_clustering.py @@ -8,7 +8,8 @@ Created on Mon Jan 31 18:11:09 2022 import numpy as np import pandas as pd -from pypsa.networkclustering import get_c...
test/spatial_clustering: add hac test
py
diff --git a/raiden/tests/integration/transfer/test_mediatedtransfer.py b/raiden/tests/integration/transfer/test_mediatedtransfer.py index <HASH>..<HASH> 100644 --- a/raiden/tests/integration/transfer/test_mediatedtransfer.py +++ b/raiden/tests/integration/transfer/test_mediatedtransfer.py @@ -187,7 +187,6 @@ class _pa...
Unskip test that was skipped due to failing travis builds It passes on CircleCI
py
diff --git a/llvmlite/binding/targets.py b/llvmlite/binding/targets.py index <HASH>..<HASH> 100644 --- a/llvmlite/binding/targets.py +++ b/llvmlite/binding/targets.py @@ -152,7 +152,8 @@ class TargetData(ffi.ObjectRef): RELOC = frozenset(['default', 'static', 'pic', 'dynamicnopic']) -CODEMODEL = frozenset(['defaul...
Add missing code model to those accepted. As title.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup -version = '0.4' +version = '0.5' setup( name='python-editor',
Version bump to <I> for release
py
diff --git a/populous/blueprint.py b/populous/blueprint.py index <HASH>..<HASH> 100644 --- a/populous/blueprint.py +++ b/populous/blueprint.py @@ -33,6 +33,17 @@ class Blueprint(object): for name, attrs in description.items() }) + def __iter__(self): + for item in self.items.values(): ...
Add a getter and an iterator for blueprint items
py
diff --git a/recipe-server/normandy/settings.py b/recipe-server/normandy/settings.py index <HASH>..<HASH> 100644 --- a/recipe-server/normandy/settings.py +++ b/recipe-server/normandy/settings.py @@ -280,7 +280,7 @@ class Base(Core): SECURE_PROXY_SSL_HEADER = values.TupleValue() SECURE_HSTS_SECONDS = values.In...
Set CSRF_COOKIE_HTTPONLY to False by default
py
diff --git a/satpy/readers/native_msg.py b/satpy/readers/native_msg.py index <HASH>..<HASH> 100644 --- a/satpy/readers/native_msg.py +++ b/satpy/readers/native_msg.py @@ -83,13 +83,13 @@ class NativeMSGFileHandler(BaseFileHandler, SEVIRICalibrationHandler): @property def start_time(self): - return [s...
Start and End Time are now returned as datetime objects not Lists
py
diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/views.py +++ b/openquake/calculators/views.py @@ -665,6 +665,23 @@ def view_task_ebrisk(token, dstore): return msg +@view.add('avg_gmf') +def view_avg_gmf(token, dstore): + ""...
Added view avg_gmf
py
diff --git a/napalm_ios/ios.py b/napalm_ios/ios.py index <HASH>..<HASH> 100644 --- a/napalm_ios/ios.py +++ b/napalm_ios/ios.py @@ -890,6 +890,7 @@ class IOSDriver(NetworkDriver): _, os_version = line.split("IOS (tm) ") os_version = os_version.strip() + domain_name = 'not set' ...
set domain_name beforehand in case the "show hosts" command returns nothing set domain_name beforehand in case the "show hosts" command returns nothing it happened on "WS-C<I>-<I>U running <I>"
py
diff --git a/tests/integration/modules/test_network.py b/tests/integration/modules/test_network.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/test_network.py +++ b/tests/integration/modules/test_network.py @@ -26,6 +26,7 @@ class NetworkTest(ModuleCase): for out in exp_out: self.a...
Skip netstat test on macosx as its not supported
py
diff --git a/bcbio/bam/sambamba.py b/bcbio/bam/sambamba.py index <HASH>..<HASH> 100644 --- a/bcbio/bam/sambamba.py +++ b/bcbio/bam/sambamba.py @@ -62,7 +62,7 @@ def _count_in_bam(data, bam_file, query, keep_dups=True, bed_file=None, target_n return int(f.read().strip()) def number_of_reads(data, bam_file, k...
Sambamba number_of_reads skips secondary_alignment
py
diff --git a/bcbio/structural/battenberg.py b/bcbio/structural/battenberg.py index <HASH>..<HASH> 100644 --- a/bcbio/structural/battenberg.py +++ b/bcbio/structural/battenberg.py @@ -64,7 +64,8 @@ def _do_run(paired): gender_str = "-ge %s -gl %s" % (gender, gl_file) else: gender_str =...
battenberg: ensure local R used for runs Fixes issues with resolving Rscript.
py
diff --git a/plaso/output/timesketch_out.py b/plaso/output/timesketch_out.py index <HASH>..<HASH> 100644 --- a/plaso/output/timesketch_out.py +++ b/plaso/output/timesketch_out.py @@ -50,9 +50,7 @@ class TimesketchOutputModule(shared_elastic.SharedElasticsearchOutputModule): with self._timesketch.app_context(): ...
Changed timesketch output module to set SearchIndex status to ready (#<I>)
py
diff --git a/rackspace_monitoring/__init__.py b/rackspace_monitoring/__init__.py index <HASH>..<HASH> 100644 --- a/rackspace_monitoring/__init__.py +++ b/rackspace_monitoring/__init__.py @@ -1,2 +1,2 @@ __all__ = ['__version__'] -__version__ = '0.5.1' +__version__ = '0.5.2-dev'
Indicate we are now working on <I>.
py
diff --git a/orderable/models.py b/orderable/models.py index <HASH>..<HASH> 100644 --- a/orderable/models.py +++ b/orderable/models.py @@ -138,11 +138,12 @@ class Orderable(models.Model): Greatly inspired by http://code.google.com/p/django-audit/ """ - try: - current = getattr(self...
Don't patch __setattr__ for everything. We only need to record changes to the sort_order, so ignore this code otherwise.
py
diff --git a/torchvision/models/detection/anchor_utils.py b/torchvision/models/detection/anchor_utils.py index <HASH>..<HASH> 100644 --- a/torchvision/models/detection/anchor_utils.py +++ b/torchvision/models/detection/anchor_utils.py @@ -100,7 +100,7 @@ class AnchorGenerator(nn.Module): assert cell_anchors is...
minor typo fix (#<I>)
py
diff --git a/zhaquirks/danfoss/thermostat.py b/zhaquirks/danfoss/thermostat.py index <HASH>..<HASH> 100644 --- a/zhaquirks/danfoss/thermostat.py +++ b/zhaquirks/danfoss/thermostat.py @@ -44,7 +44,7 @@ class DanfossThermostatCluster(CustomCluster, Thermostat): 0x4013: ("mounting_mode_control", t.Bool), ...
Danfoss: fixed typo in manufacture attributes (#<I>)
py
diff --git a/bazel_configure.py b/bazel_configure.py index <HASH>..<HASH> 100755 --- a/bazel_configure.py +++ b/bazel_configure.py @@ -394,10 +394,11 @@ def main(): env_map['PYTHON2'] = discover_tool('python2.7', 'Python2', 'PYTHON2', '2.7') if platform == 'Darwin': - env_map['AR'] = discover_tool('libtool',...
include a check to see if glibtool in mac or libtool exists
py
diff --git a/pipeline/storage.py b/pipeline/storage.py index <HASH>..<HASH> 100644 --- a/pipeline/storage.py +++ b/pipeline/storage.py @@ -99,22 +99,6 @@ class BaseFinderStorage(PipelineStorage): except OSError: pass - def match_location(self, name, path, prefix=None): - ...
remove unusued match_location
py
diff --git a/salt/modules/mount.py b/salt/modules/mount.py index <HASH>..<HASH> 100644 --- a/salt/modules/mount.py +++ b/salt/modules/mount.py @@ -209,7 +209,8 @@ def remount(name, device, mkmnt=False, fstype='', opts='defaults'): mnts = active() if mnts.has_key(name): # The mount point is mounted, a...
only add remount if it is not already there
py