diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/salt/modules/localemod.py b/salt/modules/localemod.py index <HASH>..<HASH> 100644 --- a/salt/modules/localemod.py +++ b/salt/modules/localemod.py @@ -321,7 +321,10 @@ def gen_locale(locale, **kwargs): cmd = ['locale-gen'] if on_gentoo: cmd.append('--generate') - cmd.ap...
Remove charmap from locale-gen argument on Ubuntu (fixes #<I>)
py
diff --git a/emiz/weather/mission_weather.py b/emiz/weather/mission_weather.py index <HASH>..<HASH> 100644 --- a/emiz/weather/mission_weather.py +++ b/emiz/weather/mission_weather.py @@ -257,22 +257,20 @@ class MissionWeather: # pylint: disable=too-many-instance-attributes Sets cloud density """ - ...
fix: fix clouds when applying metar to miz file
py
diff --git a/trollimage/xrimage.py b/trollimage/xrimage.py index <HASH>..<HASH> 100644 --- a/trollimage/xrimage.py +++ b/trollimage/xrimage.py @@ -1046,12 +1046,14 @@ class XRImage(object): if self.mode != "RGBA": raise ValueError( - f"Expected self.mode='RGBA', got {self.mode...
Replace f-strings by Python-2 style formatting Commit <I>b<I>c broke Python 2 compatibility, but we still need to support Python 2. Replace f-strings by the .format method to bring back Python 2 compatibility.
py
diff --git a/tests/test_ircv3.py b/tests/test_ircv3.py index <HASH>..<HASH> 100644 --- a/tests/test_ircv3.py +++ b/tests/test_ircv3.py @@ -2,7 +2,7 @@ import pytest from pydle.features import ircv3 -pytestmark = pytest.mark.unit +pytestmark = [pytest.mark.unit, pytest.mark.ircv3] @pytest.mark.parametrize( @@ ...
[#<I>] added two regression test cases
py
diff --git a/tests/integration/cli/grains.py b/tests/integration/cli/grains.py index <HASH>..<HASH> 100644 --- a/tests/integration/cli/grains.py +++ b/tests/integration/cli/grains.py @@ -70,7 +70,7 @@ class GrainsTargetingTest(integration.ShellCase): # ping disconnected minion and ensure it times out and retur...
Fix race between minion job timeout and cli test timeout
py
diff --git a/sentry_sdk/tracing.py b/sentry_sdk/tracing.py index <HASH>..<HASH> 100644 --- a/sentry_sdk/tracing.py +++ b/sentry_sdk/tracing.py @@ -308,7 +308,9 @@ class Span(object): yield "tracestate", tracestate if self.containing_transaction and self.containing_transaction._baggage: - ...
fix: avoid sending empty Baggage header (#<I>) According to W3C Working Draft spec, the Baggage header must contain at least one value, an empty value is invalid.
py
diff --git a/discord/guild.py b/discord/guild.py index <HASH>..<HASH> 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -905,6 +905,15 @@ class Guild(Hashable): The channel's preferred audio bitrate in bits per second. user_limit: :class:`int` The channel's limit for number of m...
Added exception documentation for Guild.create_voice_channel
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -30,7 +30,7 @@ def request_schema_fixture(): bool_field = fields.Bool() list_field = fields.List(fields.Int()) - return RequestSchema(strict=True) + return RequestS...
Copatibility with marshmallow <I> in tests
py
diff --git a/treetime/treetime.py b/treetime/treetime.py index <HASH>..<HASH> 100644 --- a/treetime/treetime.py +++ b/treetime/treetime.py @@ -102,6 +102,8 @@ class TreeTime(ClockTree): """ # determine how to reconstruct and sample sequences seq_kwargs = {"marginal":False, "sample_from_profil...
allowing 'fixed_pi' to be passed to infer_gtr from TreeTime.run()
py
diff --git a/mike/git_utils.py b/mike/git_utils.py index <HASH>..<HASH> 100644 --- a/mike/git_utils.py +++ b/mike/git_utils.py @@ -155,7 +155,8 @@ class FileInfo: class Commit: def __init__(self, branch, message): - cmd = ['git', 'fast-import', '--date-format=raw', '--quiet', '--done'] + cmd = ['g...
Use `rfc<I>` date format; resolves #<I>
py
diff --git a/tensor2tensor/utils/data_reader.py b/tensor2tensor/utils/data_reader.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/data_reader.py +++ b/tensor2tensor/utils/data_reader.py @@ -27,6 +27,7 @@ import numpy as np import six from six.moves import zip # pylint: disable=redefined-builtin +from six....
xrange for Python3, again (#<I>)
py
diff --git a/examples/apc2015/forward_rbo.py b/examples/apc2015/forward_rbo.py index <HASH>..<HASH> 100755 --- a/examples/apc2015/forward_rbo.py +++ b/examples/apc2015/forward_rbo.py @@ -68,9 +68,10 @@ def main(): candidate_labels = [target_names.index(obj) for obj in ['background'...
fix a bug in apc<I> forward
py
diff --git a/pysat/instruments/nasa_cdaweb_methods.py b/pysat/instruments/nasa_cdaweb_methods.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/nasa_cdaweb_methods.py +++ b/pysat/instruments/nasa_cdaweb_methods.py @@ -447,13 +447,16 @@ def list_remote_files(tag, sat_id, remote_dirs.append([]) remote_...
Added warning for multiple subdirectories
py
diff --git a/pysat/utils.py b/pysat/utils.py index <HASH>..<HASH> 100644 --- a/pysat/utils.py +++ b/pysat/utils.py @@ -149,7 +149,7 @@ def load_netcdf4(fnames=None, strict_meta=False, format=None, time_name='epoch') # get the name of the final data column # dimension naming follows nam...
Switched from string to str, for python 3+
py
diff --git a/pykube/http.py b/pykube/http.py index <HASH>..<HASH> 100644 --- a/pykube/http.py +++ b/pykube/http.py @@ -50,6 +50,8 @@ class HTTPClient(object): s = requests.Session() if "certificate-authority" in self.config.cluster: s.verify = self.config.cluster["certificate-authority"]....
feat: support insecure-skip-tls-verify This supports clusters with certificates that have not been signed by a system trusted authority as per <URL>
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -1047,9 +1047,9 @@ def install(name=None, if targets: if _yum() == 'dnf': - dnf_args='--best --allowerasing' + dnf_args = '--best --...
one space around = in yumpkg mod
py
diff --git a/svtplay_dl.py b/svtplay_dl.py index <HASH>..<HASH> 100755 --- a/svtplay_dl.py +++ b/svtplay_dl.py @@ -25,7 +25,7 @@ import struct import binascii from datetime import timedelta -__version__ = "0.9.2013.02.22" +__version__ = "0.9.2013.02.26" class Options: """ @@ -404,7 +404,7 @@ def download_hl...
download_hls: we are checking for http and not ttp.
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -992,7 +992,7 @@ class Syndic(Minion): jids[event['tag']]['__jid__'] = event['data']['jid'] jids[event['tag']]['__load__'] = salt.utils.jid_load...
The right cachdir is in the master opts
py
diff --git a/tests/test_web.py b/tests/test_web.py index <HASH>..<HASH> 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -16,7 +16,7 @@ import ckanserviceprovider.db as db # The callback URL that ckanserviceprovider will post to when the # asynchronous background job finishes. We will mock this. -RESULT_UR...
Fix tests by using a really unaccessible URL
py
diff --git a/dclab/rtdc_dataset/config.py b/dclab/rtdc_dataset/config.py index <HASH>..<HASH> 100644 --- a/dclab/rtdc_dataset/config.py +++ b/dclab/rtdc_dataset/config.py @@ -207,7 +207,7 @@ class Configuration(object): with io.open(filename, "w") as f: for i in range(len(out)): #...
blank lines in exported config on Windows
py
diff --git a/loomengine/client/__init__.py b/loomengine/client/__init__.py index <HASH>..<HASH> 100644 --- a/loomengine/client/__init__.py +++ b/loomengine/client/__init__.py @@ -1,4 +1,5 @@ -import dateutil +import dateutil.parser +import dateutil.tz import logging import sys import loomengine.utils
fix dateutil.parser import used by file detail view
py
diff --git a/src/fileseq/all.py b/src/fileseq/all.py index <HASH>..<HASH> 100644 --- a/src/fileseq/all.py +++ b/src/fileseq/all.py @@ -230,6 +230,12 @@ class FileSequence(object): str(frame).zfill(self.__zfill), self.__ext)) + def index(self, idx): + """ + Return the...
Added an index function to the FileSequence class.
py
diff --git a/telluric/georaster.py b/telluric/georaster.py index <HASH>..<HASH> 100644 --- a/telluric/georaster.py +++ b/telluric/georaster.py @@ -20,7 +20,14 @@ import imageio from boltons.setutils import IndexedSet -import matplotlib.cm +try: + import matplotlib +except ImportError: + warnings.warn( + ...
Shield georaster against missing vis dependencies Fix #<I>.
py
diff --git a/pinax/messages/tests/tests.py b/pinax/messages/tests/tests.py index <HASH>..<HASH> 100644 --- a/pinax/messages/tests/tests.py +++ b/pinax/messages/tests/tests.py @@ -254,8 +254,9 @@ class TestForms(BaseTest): def test_new_message_form(self): """Verify form instantiation without a hookset fo...
Fix tests for success with Django <I>, <I>
py
diff --git a/ptest/screencapturer.py b/ptest/screencapturer.py index <HASH>..<HASH> 100644 --- a/ptest/screencapturer.py +++ b/ptest/screencapturer.py @@ -290,11 +290,12 @@ def take_screenshots(): if system() == 'Darwin' and not pyobjc_installed: screenshot["error"] = "The package pyobjc is necessary for ...
Fix empty screenshot when failed to capture screenshot.
py
diff --git a/ELiDE/board/pawn.py b/ELiDE/board/pawn.py index <HASH>..<HASH> 100644 --- a/ELiDE/board/pawn.py +++ b/ELiDE/board/pawn.py @@ -65,18 +65,26 @@ class Pawn(PawnSpot): del self._board def relocate(self, *args): + if not self.remote.exists: + return try: - ...
don't freak out when a thing is deleted
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,14 @@ setup( ] }, classifiers=[ - '', + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Nat...
Added a few pypi classifiers.
py
diff --git a/duolingo.py b/duolingo.py index <HASH>..<HASH> 100644 --- a/duolingo.py +++ b/duolingo.py @@ -25,6 +25,10 @@ class AlreadyHaveStoreItemException(DuolingoException): pass +class InsufficientFundsException(DuolingoException): + pass + + class CaptchaException(DuolingoException): pass @@ -...
Adding an InsufficientFundsException while I'm at it
py
diff --git a/aggregate_if.py b/aggregate_if.py index <HASH>..<HASH> 100644 --- a/aggregate_if.py +++ b/aggregate_if.py @@ -52,11 +52,9 @@ class SqlSum(SqlAggregate): sql_function = 'SUM' -class Sum(DjangoAggregate): - name = 'Sum' - +class Aggregate(DjangoAggregate): def __init__(self, lookup, only=Non...
Generalize aggregate class to prepare to support other functions
py
diff --git a/tpot/base.py b/tpot/base.py index <HASH>..<HASH> 100644 --- a/tpot/base.py +++ b/tpot/base.py @@ -1327,7 +1327,7 @@ class TPOTBase(BaseEstimator): if self.verbosity > 0: self._pbar.write('', file=self._file) self._pbar.write('{}\nTPOT closed during evaluation ...
Fix-warning-typo
py
diff --git a/build-support/bin/common.py b/build-support/bin/common.py index <HASH>..<HASH> 100644 --- a/build-support/bin/common.py +++ b/build-support/bin/common.py @@ -10,8 +10,8 @@ to run via `./pants run`. We want to allow direct invocation of scripts for these reasons: 1) Consistency with how we invoke Bash s...
[internal] Update code comment/docs, remove unused constant. (#<I>)
py
diff --git a/tenant_schemas/models.py b/tenant_schemas/models.py index <HASH>..<HASH> 100644 --- a/tenant_schemas/models.py +++ b/tenant_schemas/models.py @@ -73,20 +73,13 @@ class TenantMixin(models.Model): return True -@receiver(post_delete) +@receiver(post_delete, sender=get_tenant_model()) def drop_sc...
now using a cleaner solution using sender
py
diff --git a/test/full_test.py b/test/full_test.py index <HASH>..<HASH> 100755 --- a/test/full_test.py +++ b/test/full_test.py @@ -338,19 +338,6 @@ def run_all_tests(mode, checker, protocol, cores, slices): "failover" : True}, repeat=5, timeout=800) - # Re...
Removed the full test with obsolete --total-delete-queue-limit flag.
py
diff --git a/source/rafcon/mvc/models/container_state.py b/source/rafcon/mvc/models/container_state.py index <HASH>..<HASH> 100644 --- a/source/rafcon/mvc/models/container_state.py +++ b/source/rafcon/mvc/models/container_state.py @@ -287,7 +287,7 @@ class ContainerStateModel(StateModel): state_id ...
container state model: fix method naming caused by group/ungroup refactorining
py
diff --git a/scripts/experiments/run_srl.py b/scripts/experiments/run_srl.py index <HASH>..<HASH> 100755 --- a/scripts/experiments/run_srl.py +++ b/scripts/experiments/run_srl.py @@ -209,8 +209,6 @@ class SrlExpParamsRunner(ExpParamsRunner): base_work_mem_megs = 200*1024 ...
Removing the fast exp bit that cuts off everything but the first 3
py
diff --git a/tests/test_utility.py b/tests/test_utility.py index <HASH>..<HASH> 100644 --- a/tests/test_utility.py +++ b/tests/test_utility.py @@ -135,9 +135,9 @@ class CompareSAX: # namespaces and then update both this method and its docstring. lhs_namespace = lhs.namespace()[1] rhs_namespac...
refactor CompareSAX XML element namespace & text comparison Now uses an officially suggested way of detecting an empty string by checking the object's bool value.
py
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -1777,8 +1777,8 @@ class RockRidge(RockRidgeBase): new_rr.new() thislen = RRRRRecord.length() if this_dr_len.length() + thislen > ALLOWED_DR_SIZE: - self.continuation_entry...
Fix a bug pointed out by pylint. The continuation_entry is part of ce_record, not RockRidge.
py
diff --git a/dbusmock/mockobject.py b/dbusmock/mockobject.py index <HASH>..<HASH> 100644 --- a/dbusmock/mockobject.py +++ b/dbusmock/mockobject.py @@ -144,12 +144,16 @@ def loggedmethod(self, func): @functools.wraps(func) def wrapper(*args, **kwargs): fname = func.__name__ - log_args = args[1:...
Convert method call arguments to the right signature We need to use the private attribute _dbus_in_signature from the method, it's the only way to get to the actual signature. Wrap it through getattr() so pylint doesn't complain. Fixes f<I>a9d<I>b<I>bbf<I>c2e<I>f<I>a5dccefaba4 Fixes #<I>
py
diff --git a/galpy/galpy/potential_src/Potential.py b/galpy/galpy/potential_src/Potential.py index <HASH>..<HASH> 100644 --- a/galpy/galpy/potential_src/Potential.py +++ b/galpy/galpy/potential_src/Potential.py @@ -25,6 +25,7 @@ class Potential: HISTORY: """ self._amp= amp + self.dim= ...
galpy: add dimension to potentials
py
diff --git a/panoply/datasource.py b/panoply/datasource.py index <HASH>..<HASH> 100644 --- a/panoply/datasource.py +++ b/panoply/datasource.py @@ -108,10 +108,10 @@ def validate_token(refresh_url, exceptions=(), callback=None, Defaults to `refresh_token` ''' def _validate_token(f): - def wrapp...
kwargs support added in the 'validate_token' decorator
py
diff --git a/ipyrad/core/assembly.py b/ipyrad/core/assembly.py index <HASH>..<HASH> 100644 --- a/ipyrad/core/assembly.py +++ b/ipyrad/core/assembly.py @@ -387,6 +387,9 @@ class Assembly(object): if not r1_try1 + r1_try2 + r1_try3: raise IPyradWarningExit( "Paired filen...
Fix a bug that was causing _link_fastqs to fail silently.
py
diff --git a/OpenPNM/Base/__Core__.py b/OpenPNM/Base/__Core__.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Base/__Core__.py +++ b/OpenPNM/Base/__Core__.py @@ -36,7 +36,7 @@ class Core(dict): r''' Initialize ''' - super(Core,self).__init__(**kwargs) + super(Core,self).__init__() ...
kwargs received by Core are no longer injected into the dicts...this was causing problems when unexpected kwargs were received.
py
diff --git a/vent/extras/network_tap/ncontrol/paths.py b/vent/extras/network_tap/ncontrol/paths.py index <HASH>..<HASH> 100644 --- a/vent/extras/network_tap/ncontrol/paths.py +++ b/vent/extras/network_tap/ncontrol/paths.py @@ -79,8 +79,6 @@ class CreateR(object): try: container = c.contain...
no need to add ncapture to the vent network
py
diff --git a/dtoolcore/__init__.py b/dtoolcore/__init__.py index <HASH>..<HASH> 100644 --- a/dtoolcore/__init__.py +++ b/dtoolcore/__init__.py @@ -168,7 +168,9 @@ def copy_resume(src_uri, dest_base_uri, config_path=None, progressbar=None): # Generate the URI of the destination proto dataset. dest_uri = _gen...
Add some whitepace to make code clearer
py
diff --git a/test/shinken_test.py b/test/shinken_test.py index <HASH>..<HASH> 100755 --- a/test/shinken_test.py +++ b/test/shinken_test.py @@ -58,12 +58,8 @@ from logging import ERROR # Modules are by default on the ../modules myself = os.path.abspath(__file__) -global modules_dir -modules_dir = "modules" +modules_...
test: clean + feature to give modules_dir by env variable. function not used / not useful.
py
diff --git a/src/pybel/struct/graph.py b/src/pybel/struct/graph.py index <HASH>..<HASH> 100644 --- a/src/pybel/struct/graph.py +++ b/src/pybel/struct/graph.py @@ -75,6 +75,9 @@ class BELGraph(networkx.MultiDiGraph): if resource_dict not in self.graph: self.graph[resource_dict] = {} + ...
Add property to graph to hold uncached namespaces Refers to #<I>
py
diff --git a/python_modules/dagster/dagster/core/storage/runs/migration.py b/python_modules/dagster/dagster/core/storage/runs/migration.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/core/storage/runs/migration.py +++ b/python_modules/dagster/dagster/core/storage/runs/migration.py @@ -1,10 +1,8 @@ ...
Fix lint on master (#<I>) lint passed, so I'm landing
py
diff --git a/scot/backend_mne.py b/scot/backend_mne.py index <HASH>..<HASH> 100644 --- a/scot/backend_mne.py +++ b/scot/backend_mne.py @@ -25,7 +25,7 @@ def generate(): def wrapper_csp(x, cl, reducedim): """Call MNE CSP algorithm.""" from mne.decoding import CSP - csp = CSP(n_components=re...
Use regularized covariance in CSP by default
py
diff --git a/mutagen/mp4/__init__.py b/mutagen/mp4/__init__.py index <HASH>..<HASH> 100644 --- a/mutagen/mp4/__init__.py +++ b/mutagen/mp4/__init__.py @@ -290,6 +290,8 @@ class MP4Tags(DictProxy, Tags): * 'soco' -- composer sort order * 'sosn' -- show sort order * 'tvsh' -- show name + * '\\xa9wrk' --...
docs: list ©wrk and ©mvn text atoms. Fixes #<I>
py
diff --git a/pyxmpp2/mainloop/interfaces.py b/pyxmpp2/mainloop/interfaces.py index <HASH>..<HASH> 100644 --- a/pyxmpp2/mainloop/interfaces.py +++ b/pyxmpp2/mainloop/interfaces.py @@ -260,6 +260,30 @@ class MainLoop: - `handler`: `IOHandler` or `EventHandler` or `TimeoutHandler` """ pass +...
MainLoop: delayed_call method added MainLoop.delayed_call() method for one-shot delayed method calls
py
diff --git a/constance/backends/database/migrations/0002_auto__chg_field_constance_key__add_unique_constance_key.py b/constance/backends/database/migrations/0002_auto__chg_field_constance_key__add_unique_constance_key.py index <HASH>..<HASH> 100644 --- a/constance/backends/database/migrations/0002_auto__chg_field_const...
Migration tweak to fix a failure in switching column types for key
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,6 +16,7 @@ setup( author='Alistair Muldal', author_email='alistair.muldal@pharm.ox.ac.uk', description='A Python implementation of fast non-negative deconvolution', + package_dir={'':'pyfnnd'}, py_mo...
fixed package_dir= in setup.py
py
diff --git a/bambi/results.py b/bambi/results.py index <HASH>..<HASH> 100644 --- a/bambi/results.py +++ b/bambi/results.py @@ -164,6 +164,13 @@ class MCMCResults(ModelResults): if not ranefs: names = [x for x in names if re.sub(r'_offset$', '', x) not in self.model.random_ter...
Ordering of variables in plot() Following suggestion #<I> Added a simple re-ordering code to produce an easier to read plot output. Order is defined as follow : Intercept, main effects, interactions, random effects and sd. Within a subcategory all names are ordered with length of the name. Would be nice to apply to t...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name = "django-user-accounts", - version = "1.0b6", + version = "1.0b7", author = "Brian Rosner", author_email = "brosner@gmail.com", ...
Bumped to <I>b7
py
diff --git a/src/python/pants/cache/cache_setup.py b/src/python/pants/cache/cache_setup.py index <HASH>..<HASH> 100644 --- a/src/python/pants/cache/cache_setup.py +++ b/src/python/pants/cache/cache_setup.py @@ -270,7 +270,11 @@ class CacheFactory: if compression not in range(1, 10): raise ValueError('compre...
Squashed commit of the following: (#<I>) ### Problem While compiling a largish target for the first time we end up making ~<I>k calls to readlink to expand the .pants.d symlink, which, in a virtual filesystem like FUSE might not be cached. ### Solution Cache the result of readlink(".pants.d") ### Result...
py
diff --git a/indra/explanation/reporting.py b/indra/explanation/reporting.py index <HASH>..<HASH> 100644 --- a/indra/explanation/reporting.py +++ b/indra/explanation/reporting.py @@ -168,7 +168,7 @@ def stmts_from_pybel_path(path, model, from_db=True, stmts=None): hashes = set() for j in range(len(edg...
Update use of stmt_hash for PyBEL reporting
py
diff --git a/goatools/semsim/termwise/dag_a.py b/goatools/semsim/termwise/dag_a.py index <HASH>..<HASH> 100644 --- a/goatools/semsim/termwise/dag_a.py +++ b/goatools/semsim/termwise/dag_a.py @@ -12,6 +12,7 @@ class DagA: self.go_a = gosubdag.go2obj[go_a].item_id self.gosubdag = gosubdag self....
Add data member: set of GO ancestors plus starting GO
py
diff --git a/pynYNAB/Client.py b/pynYNAB/Client.py index <HASH>..<HASH> 100644 --- a/pynYNAB/Client.py +++ b/pynYNAB/Client.py @@ -123,7 +123,7 @@ class nYnabClient(object): request_data = dict(starting_device_knowledge=self.current_device_knowledge[opname], ending_device_knowl...
regression to not being able to push changed entities
py
diff --git a/allennlp/data/token_indexers/wordpiece_indexer.py b/allennlp/data/token_indexers/wordpiece_indexer.py index <HASH>..<HASH> 100644 --- a/allennlp/data/token_indexers/wordpiece_indexer.py +++ b/allennlp/data/token_indexers/wordpiece_indexer.py @@ -201,7 +201,7 @@ class PretrainedBertIndexer(WordpieceIndexer)...
Fix docstring for PretrainedBertIndexer's pretrained_model param (#<I>) `pretrained_model` is not an optional param, as stated in `PretrainedBertIndexer` docs, so I removed the "optional" part from it.
py
diff --git a/src/main.py b/src/main.py index <HASH>..<HASH> 100644 --- a/src/main.py +++ b/src/main.py @@ -58,10 +58,20 @@ def execute_cmdLine_options(options, m, l): raise ValueError, "No such instance %s" % k m.change_setting(k, k2, v2) +class MirteFormatter...
main: show "sid" in default logging.Formatter as <name>.<sid>
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 @@ -988,6 +988,20 @@ def _hw_data(osdata): value = __salt__['cmd.run']('{0} -n {1}'.format(sysctl, oid)) if not value.endswith(' value is not available'): ...
Added NetBSD support to _hw_data
py
diff --git a/wrapper.py b/wrapper.py index <HASH>..<HASH> 100644 --- a/wrapper.py +++ b/wrapper.py @@ -62,6 +62,11 @@ class MattermostAPI: """ return self.get('/teams/' + self.team_id + '/members') + def get_username_from_id(self, user_id): + user_request = self.get('/users/' + user_id) + ...
Update wrapper.py adding in user lookup by user id
py
diff --git a/salt/modules/makeconf.py b/salt/modules/makeconf.py index <HASH>..<HASH> 100644 --- a/salt/modules/makeconf.py +++ b/salt/modules/makeconf.py @@ -44,8 +44,10 @@ def _add_var(var, value): fullvar = '{0}="{1}"'.format(var, value) if __salt__['file.contains'](makeconf, layman): # TODO perha...
Put the sed insert statement back in to the output. Turns out that commit a<I>c<I> (merged in PR #<I>) make a bad change to modules/makeconf.py where it removed the insertion part of a '/regex/ i\text' construction.
py
diff --git a/master/buildbot/test/unit/reporters/test_mail.py b/master/buildbot/test/unit/reporters/test_mail.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/reporters/test_mail.py +++ b/master/buildbot/test/unit/reporters/test_mail.py @@ -30,7 +30,6 @@ from buildbot.process.results import SUCCESS from ...
test: Remove no longer relevant workaround for old Twisted
py
diff --git a/tests/plugins/test_yum_inject.py b/tests/plugins/test_yum_inject.py index <HASH>..<HASH> 100644 --- a/tests/plugins/test_yum_inject.py +++ b/tests/plugins/test_yum_inject.py @@ -255,7 +255,11 @@ CMD blabla""" runner.run() assert InjectYumRepoPlugin.key is not None with open(tmp_df, 'r') as f...
tests,py3: str/decode issue
py
diff --git a/patroni/ctl.py b/patroni/ctl.py index <HASH>..<HASH> 100644 --- a/patroni/ctl.py +++ b/patroni/ctl.py @@ -585,7 +585,8 @@ def _do_failover_or_switchover(obj, action, cluster_name, master, candidate, for if master is not None and cluster.leader and cluster.leader.member.name != master: raise P...
exclude members with nofailover tag (#<I>) Exclude members with nofailover tag from `patronictl switchover/failover` output. Fixes <URL>
py
diff --git a/api/opentrons/cli/main.py b/api/opentrons/cli/main.py index <HASH>..<HASH> 100755 --- a/api/opentrons/cli/main.py +++ b/api/opentrons/cli/main.py @@ -40,14 +40,14 @@ point_number = -1 # (0, 0) is in bottom-left corner -slot_4_dimple = (108.75, 92.8) -slot_6_dimple = (373.75, 92.8) -slot_11_dimple = (2...
changes points to etched points on deck (#<I>)
py
diff --git a/claripy/frontends/light_frontend.py b/claripy/frontends/light_frontend.py index <HASH>..<HASH> 100644 --- a/claripy/frontends/light_frontend.py +++ b/claripy/frontends/light_frontend.py @@ -81,7 +81,7 @@ class LightFrontend(ConstrainedFrontend): def satisfiable(self, extra_constraints=(), exact=None...
don't let BackendError propogate upwards through LightFrontend; closes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='shipane_sdk', - version='1.1.0.a6', + version='1.1.0.a7', description=u'实盘易(ShiPanE)Python SDK,通达信自动化交易 API。', ...
Release <I>.a7
py
diff --git a/tldap/modlist.py b/tldap/modlist.py index <HASH>..<HASH> 100644 --- a/tldap/modlist.py +++ b/tldap/modlist.py @@ -69,10 +69,15 @@ def modifyModlist( for v in new_value: if not old_value_dict.has_key(v): add_values.append(v) - if len(delete_values) > 0: - modlist...
OpenLdap has a tantrum if trying to delete a single value and add it again, use delete and replace if length 1.
py
diff --git a/pyinfra/facts/hardware.py b/pyinfra/facts/hardware.py index <HASH>..<HASH> 100644 --- a/pyinfra/facts/hardware.py +++ b/pyinfra/facts/hardware.py @@ -32,6 +32,7 @@ class Memory(FactBase): data = {} for line in output: + line = line.strip() value, key = line.split...
Strip lines in `memory` + `network_devices` facts.
py
diff --git a/cablemap.core/cablemap/core/handler.py b/cablemap.core/cablemap/core/handler.py index <HASH>..<HASH> 100644 --- a/cablemap.core/cablemap/core/handler.py +++ b/cablemap.core/cablemap/core/handler.py @@ -75,6 +75,23 @@ class LoggingCableHandler(object): getattr(self._handler, name)(*args) ...
Added TeeCableHandler
py
diff --git a/pyqode/core/managers/file.py b/pyqode/core/managers/file.py index <HASH>..<HASH> 100644 --- a/pyqode/core/managers/file.py +++ b/pyqode/core/managers/file.py @@ -315,6 +315,13 @@ class FileManager(Manager): def _get_text(self, encoding): lines = self.editor.toPlainText().splitlines() + ...
Clean trailing whitespace on save but only on disk not in the editor
py
diff --git a/osmnx/pois.py b/osmnx/pois.py index <HASH>..<HASH> 100644 --- a/osmnx/pois.py +++ b/osmnx/pois.py @@ -459,7 +459,7 @@ def pois_from_polygon(polygon, amenities=None): return create_poi_gdf(polygon=polygon, amenities=amenities) -def pois_from_place(place, amenities=None, which_result=1): +def pois_f...
pois_from_place now passes custom_settings.
py
diff --git a/zvmsdk/api.py b/zvmsdk/api.py index <HASH>..<HASH> 100755 --- a/zvmsdk/api.py +++ b/zvmsdk/api.py @@ -1138,6 +1138,8 @@ class SDKAPI(object): 'cidr': "192.168.96.0/24", 'nic_vdev': '1003}] :param bool active: whether add a nic on active guest system + :return...
Return guest_networks For API guest_create_network_interface, return guest_network, which including nic_vdev for each network Change-Id: Ifd1f2c<I>dea9a<I>a<I>a4e<I>fb<I>d<I>d<I>f4
py
diff --git a/tests/data/test_fx.py b/tests/data/test_fx.py index <HASH>..<HASH> 100644 --- a/tests/data/test_fx.py +++ b/tests/data/test_fx.py @@ -231,7 +231,7 @@ class _FXReaderTestCase(zp_fixtures.WithFXRates, for rate in self.FX_RATES_RATE_NAMES: quote = 'USD' for unknown_base in '...
BUG: Use value from loop.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -22,11 +22,11 @@ def get_build(): return str(build) setup(name = "pylast", - version = "0.5." + get_build(), + version = "0.1+0.5." + get_build(), author = "Amr Hassan <amr.hassan@gmail.com>", descrip...
Update URL not author 'cause I think that's rude until I make more changes.
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 @@ -323,14 +323,13 @@ class Exchange(object): def set_sandbox_mode(self, enabled): if enabled: if 'test' in self.urls: - ...
exchange.py set_sandbox_mode NotSupported exception + minor edits
py
diff --git a/pytplot/tplot.py b/pytplot/tplot.py index <HASH>..<HASH> 100644 --- a/pytplot/tplot.py +++ b/pytplot/tplot.py @@ -218,6 +218,7 @@ def tplot(name, # Implement button that lets you save the PNG available_qt_window.init_savepng(exporter) + # Show the plot window and pl...
somehow tplot.py didn not get pushed, pushing it
py
diff --git a/python-package/xgboost/sklearn.py b/python-package/xgboost/sklearn.py index <HASH>..<HASH> 100644 --- a/python-package/xgboost/sklearn.py +++ b/python-package/xgboost/sklearn.py @@ -295,7 +295,7 @@ def _wrap_evaluation_matrices( return [None] * n_validation if len(meta) != n_validatio...
Fix typo and grammatical mistake in error message (#<I>)
py
diff --git a/Server/Python/tests/dbsserver_t/utils/ParseConfig.py b/Server/Python/tests/dbsserver_t/utils/ParseConfig.py index <HASH>..<HASH> 100644 --- a/Server/Python/tests/dbsserver_t/utils/ParseConfig.py +++ b/Server/Python/tests/dbsserver_t/utils/ParseConfig.py @@ -3,7 +3,9 @@ import sys from WMCore.Configuratio...
update it to work with two different kind of configure files From: yuyi <yuyi> git-svn-id: svn+ssh://svn.cern.ch/reps/CMSDMWM/DBS/trunk@<I> <I>e-<I>-<I>b1-a<I>-d<I>a<I>b
py
diff --git a/test/test_indexing.py b/test/test_indexing.py index <HASH>..<HASH> 100644 --- a/test/test_indexing.py +++ b/test/test_indexing.py @@ -64,3 +64,18 @@ def test_custom_index_name(): assert SpecialHuman.index.name == 'special-Human' node = SpecialHuman.index.get(name='timothy') assert node.name ...
add test for inherited property indexing
py
diff --git a/src/ufoLib2/pointPens/glyphPointPen.py b/src/ufoLib2/pointPens/glyphPointPen.py index <HASH>..<HASH> 100644 --- a/src/ufoLib2/pointPens/glyphPointPen.py +++ b/src/ufoLib2/pointPens/glyphPointPen.py @@ -1,6 +1,5 @@ from ufoLib2.objects.component import Component from ufoLib2.objects.contour import Contour...
glyphPointPen: allow positional arguments in addPoint the formatting is due to yapf, don't blame me...
py
diff --git a/django_qbe/utils.py b/django_qbe/utils.py index <HASH>..<HASH> 100644 --- a/django_qbe/utils.py +++ b/django_qbe/utils.py @@ -48,6 +48,12 @@ except ImportError: from django_qbe.exports import formats formats # Makes pyflakes happy +try: + qbe_operators = getattr(settings, "QBE_CUSTOM_OPERATORS"...
Add support for custom operators file as an optional QBE_CUSTOM_OPERATORS in settings.py
py
diff --git a/webssh/handler.py b/webssh/handler.py index <HASH>..<HASH> 100644 --- a/webssh/handler.py +++ b/webssh/handler.py @@ -158,7 +158,7 @@ class PrivateKey(object): logging.error(str(exc)) msg = 'Invalid key' if self.password: - msg += ' or wrong password "{...
Fix wrong password method to also say 'passphrase'
py
diff --git a/polls/views.py b/polls/views.py index <HASH>..<HASH> 100644 --- a/polls/views.py +++ b/polls/views.py @@ -1,4 +1,5 @@ from django.views.generic import DetailView, ListView, RedirectView +from django.core.urlresolvers import reverse_lazy from models import Poll @@ -17,4 +18,5 @@ class PollDetailView(D...
implement get_redirect_url in poll vote view
py
diff --git a/polysquarelinter/spelling.py b/polysquarelinter/spelling.py index <HASH>..<HASH> 100644 --- a/polysquarelinter/spelling.py +++ b/polysquarelinter/spelling.py @@ -304,7 +304,7 @@ def read_dictionary_file(dictionary_path): return _user_dictionary_cache[dictionary_path] except KeyError: ...
Explicitly read dictionary files as ASCII. This prevents unicode characters from ending up in the word graph, which whoosh doesn't handle correctly.
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -43,6 +43,7 @@ class TestModuleGraph(unittest.TestCase): def test_parsePathname_regular_file(self): mg = findimports.ModuleGraph() + mg.warn = self.warn mg.parsePathname(__file__.rstrip('co')) ...
Shut up a warning in a test On Python 3 there's no cStringIO, so parsing __file__ causes a warning about that.
py
diff --git a/newrpc/__init__.py b/newrpc/__init__.py index <HASH>..<HASH> 100644 --- a/newrpc/__init__.py +++ b/newrpc/__init__.py @@ -220,7 +220,7 @@ def iter_rpcresponses(queue, channel=None, timeout=None, **kwargs): for msg in qw: data = msg.payload if data['failure']: - raise Remot...
RemoteError change for kwargs
py
diff --git a/osmnx/save_load.py b/osmnx/save_load.py index <HASH>..<HASH> 100644 --- a/osmnx/save_load.py +++ b/osmnx/save_load.py @@ -249,7 +249,10 @@ def load_graphml(filename, folder=None, node_type=int): # convert numeric node tags from string to numeric data types log('Converting node and edge attribute ...
`load_graphml` more robust for non `int` `osmid`s. Nodes and edges will have the same type.
py
diff --git a/manticore/ethereum.py b/manticore/ethereum.py index <HASH>..<HASH> 100644 --- a/manticore/ethereum.py +++ b/manticore/ethereum.py @@ -230,7 +230,10 @@ class SolidityMetadata(object): else: srcmap = self.srcmap - beg, size, _, _ = srcmap[asm_offset] + try: + ...
Added KeyError Exception for offsets not in srcmap. Issue #<I> (#<I>)
py
diff --git a/salt/modules/mongodb.py b/salt/modules/mongodb.py index <HASH>..<HASH> 100644 --- a/salt/modules/mongodb.py +++ b/salt/modules/mongodb.py @@ -59,7 +59,7 @@ def _connect(user=None, password=None, host=None, port=None, database='admin'): port = __salt__['config.option']('mongodb.port') try: -...
fix connection function to mongo connecting to mongo using "pymongo.connection.Connection" did not work on different versions of mongo. this change fixes the connection issue.
py
diff --git a/mozapkpublisher/common/googleplay.py b/mozapkpublisher/common/googleplay.py index <HASH>..<HASH> 100644 --- a/mozapkpublisher/common/googleplay.py +++ b/mozapkpublisher/common/googleplay.py @@ -23,9 +23,9 @@ from unittest.mock import MagicMock from mozapkpublisher.common.exceptions import NoTransactionE...
Add new "internal" Google Play track. (#<I>)
py
diff --git a/dallinger/mturk.py b/dallinger/mturk.py index <HASH>..<HASH> 100644 --- a/dallinger/mturk.py +++ b/dallinger/mturk.py @@ -150,9 +150,6 @@ class MTurkService(object): 'reward': float(hit.Amount), 'review_status': hit.HITReviewStatus, 'status': hit.HITStatus, - ...
Only translate HIT response values that are present in both create_hit() and get_hit() responses
py
diff --git a/dpxdt/client/process_worker.py b/dpxdt/client/process_worker.py index <HASH>..<HASH> 100644 --- a/dpxdt/client/process_worker.py +++ b/dpxdt/client/process_worker.py @@ -69,7 +69,10 @@ class ProcessWorkflow(workers.WorkflowItem): while True: logging.info('item=%r Polling pid...
Work around bug in subprocess module for reporting status of defunct processes.
py
diff --git a/gandi/cli/commands/certificate.py b/gandi/cli/commands/certificate.py index <HASH>..<HASH> 100644 --- a/gandi/cli/commands/certificate.py +++ b/gandi/cli/commands/certificate.py @@ -283,7 +283,7 @@ def export(gandi, resource, output, force, intermediate): @click.option('--branch', required=False, ...
Certificate duration is now limited to 2 years
py
diff --git a/location_field/models.py b/location_field/models.py index <HASH>..<HASH> 100755 --- a/location_field/models.py +++ b/location_field/models.py @@ -46,6 +46,7 @@ class PlainLocationField(BaseLocationField, CharField): try: from south.modelsinspector import add_introspection_rules add_introspection...
Add south introspection for PlainLocationField
py
diff --git a/poetry/console/commands/remove.py b/poetry/console/commands/remove.py index <HASH>..<HASH> 100644 --- a/poetry/console/commands/remove.py +++ b/poetry/console/commands/remove.py @@ -39,7 +39,7 @@ list of installed packages for key in poetry_content[section]: if key.lower() == ...
Fix remove's case insensitivity (#<I>)
py
diff --git a/examples/run_squad.py b/examples/run_squad.py index <HASH>..<HASH> 100644 --- a/examples/run_squad.py +++ b/examples/run_squad.py @@ -706,7 +706,7 @@ def main(): parser.add_argument("--num_train_epochs", default=3.0, type=float, help="Total number of training epochs to perform...
Update run_squad.py
py
diff --git a/src/RequestsLibrary/RequestsKeywords.py b/src/RequestsLibrary/RequestsKeywords.py index <HASH>..<HASH> 100644 --- a/src/RequestsLibrary/RequestsKeywords.py +++ b/src/RequestsLibrary/RequestsKeywords.py @@ -943,7 +943,6 @@ class RequestsKeywords(object): formatted_data = self._format_data_to_log_st...
Removed fixme since included alread in todo
py