diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
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 @@ -375,7 +375,7 @@ def _memdata(osdata): mem = __salt__['cmd.run']('{0} -n hw.physmem'.format(sysctl)) if (osdata['kernel'] == 'NetBSD' and mem.startswith...
mem_total in BSD should return as an int, see #<I>
py
diff --git a/setuptools/msvc.py b/setuptools/msvc.py index <HASH>..<HASH> 100644 --- a/setuptools/msvc.py +++ b/setuptools/msvc.py @@ -233,10 +233,11 @@ def msvc14_library_dir_option(self, dir): ------ "\LIBPATH" argument: str """ - if ' ' in dir and '"' not in dir: + opt = unpatched['msvc14_librar...
quote library_dir_option after calling unpatched version avoids double-quotes if the calling function does the quoting correctly.
py
diff --git a/tests/test_selectors.py b/tests/test_selectors.py index <HASH>..<HASH> 100644 --- a/tests/test_selectors.py +++ b/tests/test_selectors.py @@ -16,16 +16,20 @@ class YapoAdInsertPage(sunbro.Page): class TestSimplePageObject(unittest.TestCase): + def setUp(self): + self.driver = webdriver.Firef...
setup/teardown for selector test
py
diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py index <HASH>..<HASH> 100755 --- a/src/transformers/trainer.py +++ b/src/transformers/trainer.py @@ -646,7 +646,7 @@ class Trainer: if iterator is not None: iterator.write(output) else: - logger.info(output) ...
Logs should not be hidden behind a logger.info (#<I>)
py
diff --git a/tests/bulk_properties.py b/tests/bulk_properties.py index <HASH>..<HASH> 100755 --- a/tests/bulk_properties.py +++ b/tests/bulk_properties.py @@ -127,6 +127,10 @@ tests = [ [ dict( name='dia-C', struct=Diamond('C', size=[sx,sx,sx]), Ec=7.370, a0=3.566, C11=1080, C12=130, C44=720 ) ...
Testing: Added TabulatedEAM to bulk properties test.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,15 @@ SETUP = { 'author': "Ubuntu Developers", 'author_email': "ubuntu-devel-discuss@lists.ubuntu.com", 'url': "https://code.launchpad.net/charm-helpers", + 'install_requires': [ + # Specify ...
Added install_requires section to setup.py to ensure dependencies are met when installing from pypi
py
diff --git a/raiden_contracts/utils/transaction.py b/raiden_contracts/utils/transaction.py index <HASH>..<HASH> 100644 --- a/raiden_contracts/utils/transaction.py +++ b/raiden_contracts/utils/transaction.py @@ -3,6 +3,7 @@ from typing import Optional, Tuple from hexbytes import HexBytes from web3 import Web3 from we...
Fix wait_for_transaction_receipt after web3 update
py
diff --git a/spinoff/tests/actor_test.py b/spinoff/tests/actor_test.py index <HASH>..<HASH> 100644 --- a/spinoff/tests/actor_test.py +++ b/spinoff/tests/actor_test.py @@ -318,34 +318,6 @@ def test_actor_does_not_have_to_catch_actorstopped(): container.consume_message(('stopped', proc)) -def test_actor_must...
Remove the actor_test:test_actor_must_exit_after_being_stopped obsolte (and failing) test
py
diff --git a/jira/version.py b/jira/version.py index <HASH>..<HASH> 100644 --- a/jira/version.py +++ b/jira/version.py @@ -2,4 +2,4 @@ # 1) we don't load dependencies by storing it in __init__.py # 2) we can import it in setup.py for the same reason # 3) we can import it into the jira module -__version__ = '0.11' +_...
Bump to version <I> for imminent release
py
diff --git a/synapse/queue.py b/synapse/queue.py index <HASH>..<HASH> 100644 --- a/synapse/queue.py +++ b/synapse/queue.py @@ -110,12 +110,13 @@ class BulkQueue(EventBus): return len(self.items) def __iter__(self): - try: - while True: - for i in self.get(timeout=1): - ...
updated queue API to return None on shutdown rather than exception
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ requirements = [ # Protocol and data packages "pytmpdir >= 0.2.3", # A temporary directory, useful for extracting archives to "txhttputil >= 0.3.5", # Utility class for http requests - "vorte...
PEEK-<I>: imp: Upgraded to "vortexpy >= <I>"
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ #!/usr/bin/env python """Django/PostgreSQL implementation of the Meteor DDP service.""" -import os.path from setuptools import setup, find_packages CLASSIFIERS = [
Remove unused import (os.path) from setup.
py
diff --git a/tests/remotes/hdfs.py b/tests/remotes/hdfs.py index <HASH>..<HASH> 100644 --- a/tests/remotes/hdfs.py +++ b/tests/remotes/hdfs.py @@ -2,7 +2,6 @@ import locale import os import platform import subprocess -import sys import uuid from contextlib import contextmanager from pathlib import Path @@ -74,10 ...
tests: skip based on conditional import on pyarrow From now on, pyarrow dependency is optional for the tests.
py
diff --git a/zengine/lib/forms.py b/zengine/lib/forms.py index <HASH>..<HASH> 100644 --- a/zengine/lib/forms.py +++ b/zengine/lib/forms.py @@ -9,7 +9,7 @@ class JsonForm(Form): def serialize(self): result = { "schema": { - "title": self.Meta.title, + "title": sel...
fixes zetaops/ulakbus-ui#<I> the "form titles are wrong" issue.
py
diff --git a/bcbio/rnaseq/pizzly.py b/bcbio/rnaseq/pizzly.py index <HASH>..<HASH> 100644 --- a/bcbio/rnaseq/pizzly.py +++ b/bcbio/rnaseq/pizzly.py @@ -15,6 +15,7 @@ from bcbio.distributed.transaction import file_transaction from bcbio.rnaseq import kallisto, sailfish, gtf from bcbio.provenance import do from bcbio.u...
fix for pizzly not respecting transcript versions pizzly ignores transcript versions in the GTF file, so we need to remove them from any provided FASTA files, or else it won't be able to match them up. Thanks to Avinash Reddy for pointing out the issue.
py
diff --git a/holidays/countries/egypt.py b/holidays/countries/egypt.py index <HASH>..<HASH> 100644 --- a/holidays/countries/egypt.py +++ b/holidays/countries/egypt.py @@ -111,9 +111,9 @@ class Egypt(HolidayBase): for date_obs in get_gre_date(year, 12, 9): hol_date = date_obs self[hol_...
Fix egypt typo - Aid Adha
py
diff --git a/anyconfig/mergeabledict.py b/anyconfig/mergeabledict.py index <HASH>..<HASH> 100644 --- a/anyconfig/mergeabledict.py +++ b/anyconfig/mergeabledict.py @@ -283,10 +283,8 @@ def create_from(obj=None, ac_ordered=False, class MergeableDict(dict): + """Dict based object supports 'merge' operation. "...
refactor: remove an extra spaces
py
diff --git a/gspread/client.py b/gspread/client.py index <HASH>..<HASH> 100644 --- a/gspread/client.py +++ b/gspread/client.py @@ -230,8 +230,17 @@ class Client(object): def import_csv(self, file_id, data): """Imports data into the first page of the spreadsheet. - :param data: A CSV string of dat...
Extend a docstring of `import_csv()` with an example usage
py
diff --git a/pythainlp/tokenize/crfcut.py b/pythainlp/tokenize/crfcut.py index <HASH>..<HASH> 100644 --- a/pythainlp/tokenize/crfcut.py +++ b/pythainlp/tokenize/crfcut.py @@ -192,6 +192,7 @@ def segment(text: str) -> List[str]: toks = word_tokenize(text) feat = extract_features(toks) labs = _tagger.tag(f...
fix crfcut last segment not included if not predicted as end-of-sentence
py
diff --git a/parambokeh/__init__.py b/parambokeh/__init__.py index <HASH>..<HASH> 100644 --- a/parambokeh/__init__.py +++ b/parambokeh/__init__.py @@ -114,7 +114,7 @@ class default_label_formatter(param.ParameterizedFunction): if self.replace_underscores: pname = pname.replace('_',' ') if...
Fixed label formatting to change case only of first letter
py
diff --git a/tabular_predDB/python_utils/sample_utils.py b/tabular_predDB/python_utils/sample_utils.py index <HASH>..<HASH> 100644 --- a/tabular_predDB/python_utils/sample_utils.py +++ b/tabular_predDB/python_utils/sample_utils.py @@ -372,10 +372,15 @@ def simple_predictive_sample_unobserved(M_c, X_L, X_D, Y, query_row...
continuous_imputation: take a return_and_confidence argument, but don't handle it
py
diff --git a/src/pip_shims/backports.py b/src/pip_shims/backports.py index <HASH>..<HASH> 100644 --- a/src/pip_shims/backports.py +++ b/src/pip_shims/backports.py @@ -1159,7 +1159,6 @@ def resolve( "use_user_site", "isolated", "use_user_site", - "require_hashes", ...
Don't pass unused args to the resolver
py
diff --git a/mbed_cloud/account_management.py b/mbed_cloud/account_management.py index <HASH>..<HASH> 100644 --- a/mbed_cloud/account_management.py +++ b/mbed_cloud/account_management.py @@ -724,7 +724,7 @@ class Group(BaseObject): "account_id": "account_id", "name": "name", "user...
Fix apikey_count property.
py
diff --git a/odl/tomo/backends/stir_bindings.py b/odl/tomo/backends/stir_bindings.py index <HASH>..<HASH> 100644 --- a/odl/tomo/backends/stir_bindings.py +++ b/odl/tomo/backends/stir_bindings.py @@ -44,6 +44,12 @@ from builtins import super try: import stir + # Fix for stirextra being moved around in various...
BUG: fix bug with stirextra import in stir_bindings
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -23,7 +23,8 @@ import datetime # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -exte...
Add viewdoc extension to link to the source code in the docs [ci skip]
py
diff --git a/devassistant/dapi/__init__.py b/devassistant/dapi/__init__.py index <HASH>..<HASH> 100644 --- a/devassistant/dapi/__init__.py +++ b/devassistant/dapi/__init__.py @@ -15,6 +15,14 @@ from devassistant.exceptions import DapFileError, DapMetaError, DapInvalid from devassistant.logger import logger +class ...
Added the DapProblem class
py
diff --git a/src/python/sikuli.py b/src/python/sikuli.py index <HASH>..<HASH> 100644 --- a/src/python/sikuli.py +++ b/src/python/sikuli.py @@ -117,12 +117,12 @@ class SikuliLibrary(object): def _output_file(self): outputDir = self._get_output_folder() outputFile = 'Sikuli_java_stdout_'+str(time.t...
stdout, stderr file of java process should be in OUTPUTDIR
py
diff --git a/Test.py b/Test.py index <HASH>..<HASH> 100644 --- a/Test.py +++ b/Test.py @@ -136,6 +136,8 @@ class Widget: self.children.remove(widget) def add_stretch(self): pass + def add_spacing(self, spacing): + pass def create_layer(self): return Widget() def draw(...
Add missing method for passing tests. svn r<I>
py
diff --git a/oinkwall/firewall.py b/oinkwall/firewall.py index <HASH>..<HASH> 100644 --- a/oinkwall/firewall.py +++ b/oinkwall/firewall.py @@ -533,7 +533,6 @@ class HostsAllow: def get_hosts_allow_content(self): lines = [] - lines.append('# hosts.allow configuration written by oinkwall v%s' % __v...
Remove spam from generated hosts.allow The version number causes a lot of changes in a dry-run when oinkwall version changes, remove it. Remove the whole line, who cares.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,6 @@ PARAMS['classifiers'] = [ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Pytho...
Removing python-<I> with the stabilization of <I>.
py
diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade.py +++ b/openupgradelib/openupgrade.py @@ -368,6 +368,8 @@ def rename_models(cr, model_spec): functionality you will want to update references in for instance relation fields...
[IMP] rename_models: Add warning on docstring For acknowledge of the need of calling rename_tables also.
py
diff --git a/src/rotest/core/runner.py b/src/rotest/core/runner.py index <HASH>..<HASH> 100644 --- a/src/rotest/core/runner.py +++ b/src/rotest/core/runner.py @@ -137,9 +137,6 @@ def parse_config_file(json_path, schema_path=DEFAULT_SCHEMA_PATH): config = parse(json_path=json_path, schema_path=s...
Removed some cast to set when parsing the config file.
py
diff --git a/thermo/utils.py b/thermo/utils.py index <HASH>..<HASH> 100644 --- a/thermo/utils.py +++ b/thermo/utils.py @@ -2367,7 +2367,7 @@ class TDependentProperty(object): prop : float Calculated property, [`units`] ''' - method = self.method + method = self._method ...
Find and remove one unnecessary duplicate function call to make up for the extra function call added in extrapolate of TDependentProperty
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -542,7 +542,7 @@ class InputText(Element): def Update(self, value=None, disabled=None, select=None, visible=None): if disabled is True: - self.TKEntry['state'] = 'disabled' + ...
Changed disabled InputText from disabled to readonly
py
diff --git a/requests_oauthlib/oauth2_session.py b/requests_oauthlib/oauth2_session.py index <HASH>..<HASH> 100644 --- a/requests_oauthlib/oauth2_session.py +++ b/requests_oauthlib/oauth2_session.py @@ -197,7 +197,8 @@ class OAuth2Session(requests.Session): redirect_uri=self.redirect_uri, username=user...
Preventing sending Basic Auth headers with "None:None" Closes #<I>
py
diff --git a/compiler/doc/json.py b/compiler/doc/json.py index <HASH>..<HASH> 100644 --- a/compiler/doc/json.py +++ b/compiler/doc/json.py @@ -134,6 +134,8 @@ class Component(object): package, name = self.package, self.name r.append('{' ) r.append('\t"name": "%s.%s",' %(package, name)) + comp = ...
Add docs for root component.
py
diff --git a/pygccxml/parser/declarations_cache.py b/pygccxml/parser/declarations_cache.py index <HASH>..<HASH> 100644 --- a/pygccxml/parser/declarations_cache.py +++ b/pygccxml/parser/declarations_cache.py @@ -137,7 +137,7 @@ class file_cache_t( cache_base_t ): cache_base_t.__init__( self ) self.__na...
removing unnecessary cache flushing ( fix from Allen )
py
diff --git a/lib/parseinput.py b/lib/parseinput.py index <HASH>..<HASH> 100644 --- a/lib/parseinput.py +++ b/lib/parseinput.py @@ -2,8 +2,11 @@ # Program: parseinput.py # Author: Christopher Hanley # History: -# Version 0.1, 11/02/2004: Initial Creation -- CJH -__version__ = '0.1.1 (12/06/2004)' +# Version 0...
<I>/<I>/<I> -- CJH -- Removed the append of "_drz.fits" to output names extracted from an input assocation table. It is up to the calling program to determine the appropriate final from of the output name. Treat the output name returned from this function as a file's rootname. git-svn-id: <URL>
py
diff --git a/simuvex/s_arch.py b/simuvex/s_arch.py index <HASH>..<HASH> 100755 --- a/simuvex/s_arch.py +++ b/simuvex/s_arch.py @@ -772,6 +772,7 @@ class SimPPC64(SimArch): self.ret_instruction = "\x4e\x80\x00\x20" self.nop_instruction = "\x60\x00\x00\x00" self.instruction_alignment = 4 + ...
Add rules for preserving r2 in ppc<I>
py
diff --git a/pygrok/pygrok.py b/pygrok/pygrok.py index <HASH>..<HASH> 100644 --- a/pygrok/pygrok.py +++ b/pygrok/pygrok.py @@ -70,7 +70,7 @@ def grok_match(text, pattern, custom_patterns = {}, custom_patterns_dir = None): matches[key] = int(match) if type_mapper[key] == 'float': ...
Taking incompatible input into account...
py
diff --git a/efopen/ef_service_registry.py b/efopen/ef_service_registry.py index <HASH>..<HASH> 100644 --- a/efopen/ef_service_registry.py +++ b/efopen/ef_service_registry.py @@ -19,7 +19,7 @@ import subprocess from collections import Counter from os.path import isfile, normpath -from efopen.ef_config import EFConf...
revert the attempt to make the world better (#<I>)
py
diff --git a/tests/test_plowshare.py b/tests/test_plowshare.py index <HASH>..<HASH> 100644 --- a/tests/test_plowshare.py +++ b/tests/test_plowshare.py @@ -24,7 +24,7 @@ # SOFTWARE. import pytest -from plowshare import Plowshare +from plowshare.plowshare import Plowshare # Fixtures
Import plowshare from proper location
py
diff --git a/pyte/compiler.py b/pyte/compiler.py index <HASH>..<HASH> 100644 --- a/pyte/compiler.py +++ b/pyte/compiler.py @@ -8,7 +8,6 @@ import io import sys import types import warnings -from io import BytesIO from typing import Any, Tuple from pyte import tokens, util @@ -24,7 +23,7 @@ def compile_bytecode(c...
Revert usage of BytesIO for now.
py
diff --git a/backdrop/collector/write.py b/backdrop/collector/write.py index <HASH>..<HASH> 100644 --- a/backdrop/collector/write.py +++ b/backdrop/collector/write.py @@ -2,16 +2,17 @@ import requests class Backdrop(object): - def __init__(self, location): - self.location = location + def __init__(sel...
Match write api to what is being used in collectors
py
diff --git a/tests/utils/helpers.py b/tests/utils/helpers.py index <HASH>..<HASH> 100644 --- a/tests/utils/helpers.py +++ b/tests/utils/helpers.py @@ -910,3 +910,31 @@ def random_location_generator(min_x=-180, max_x=180, min_y=-90, max_y=90): return shapely.geometry.Point( (min_x + random.random() * (max_...
tests/utils/helpers: Added `MultiMock` class to help handle multiple mock objects.
py
diff --git a/cumulusci/tasks/robotframework/debugger/ui.py b/cumulusci/tasks/robotframework/debugger/ui.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/robotframework/debugger/ui.py +++ b/cumulusci/tasks/robotframework/debugger/ui.py @@ -3,6 +3,7 @@ import textwrap import os import sys import re +import pdb fr...
tweak how pdb is started in the debugger 'pdb' command. Also fixed a typo in a docstring.
py
diff --git a/acceptancetests/jujupy/k8s_provider/aks.py b/acceptancetests/jujupy/k8s_provider/aks.py index <HASH>..<HASH> 100644 --- a/acceptancetests/jujupy/k8s_provider/aks.py +++ b/acceptancetests/jujupy/k8s_provider/aks.py @@ -137,7 +137,7 @@ class AKS(Base): service_principal_profile=service_principal...
Enable RBAC support for AKS;
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ if 'upload' in sys.argv: install_reqs = [ 'matplotlib>=1.4.0', 'numpy>=1.9.1', - 'pandas>=0.16.1', + 'pandas>=0.18.0', 'scipy>=0.14.0', 'seaborn>=0.6.0', 'statsmodels>=0.6.1',
Changed pandas version to be compatible with rolling change
py
diff --git a/unixccompiler.py b/unixccompiler.py index <HASH>..<HASH> 100644 --- a/unixccompiler.py +++ b/unixccompiler.py @@ -20,6 +20,7 @@ __revision__ = "$Id$" import string, re, os from types import * from copy import copy +from distutils import sysconfig from distutils.dep_util import newer from distutils.cco...
When using GCC, use the right option to add a directory to the list of dirs searched for a dependency for runtime linking. This closes SF bug #<I>.
py
diff --git a/TwitterSearch/TwitterSearch.py b/TwitterSearch/TwitterSearch.py index <HASH>..<HASH> 100644 --- a/TwitterSearch/TwitterSearch.py +++ b/TwitterSearch/TwitterSearch.py @@ -53,6 +53,7 @@ class TwitterSearch(object): # init internal variables self.__response = {} self.__nextMaxID = m...
move _nextTweet initialization to constructor
py
diff --git a/example/ssd/demo.py b/example/ssd/demo.py index <HASH>..<HASH> 100644 --- a/example/ssd/demo.py +++ b/example/ssd/demo.py @@ -91,7 +91,7 @@ if __name__ == '__main__': detector = get_detector(args.network, args.prefix, args.epoch, args.data_shape, - ...
Fixed reshaping of input, was erroring out (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( "cached_property", "dataclasses;python_version<'3.7'", "docopt", - "lazy_object_property", + "lazy_object_proxy", "pendulum", "pybooru", ...
Fix wrong dependency name in setup.py
py
diff --git a/discord/voice_client.py b/discord/voice_client.py index <HASH>..<HASH> 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -62,6 +62,7 @@ from .errors import ClientException, InvalidArgument class StreamPlayer(threading.Thread): def __init__(self, stream, encoder, connected, player,...
Make Player threads into daemon threads.
py
diff --git a/pghoard/encryptor.py b/pghoard/encryptor.py index <HASH>..<HASH> 100644 --- a/pghoard/encryptor.py +++ b/pghoard/encryptor.py @@ -25,6 +25,8 @@ class EncryptorError(Exception): class Encryptor(object): def __init__(self, rsa_public_key_pem): + if isinstance(rsa_public_key_pem, str): + ...
encryptor: accept key data in both str and bytes
py
diff --git a/djangocms_installer/django/__init__.py b/djangocms_installer/django/__init__.py index <HASH>..<HASH> 100644 --- a/djangocms_installer/django/__init__.py +++ b/djangocms_installer/django/__init__.py @@ -227,8 +227,8 @@ def load_starting_page(config_data): Load starting page into the CMS """ w...
Made load_starting_page() OS agnostic. The previous implementation would crash on Windows due to the fact that 'DJANGO_SETTINGS_MODULE' is not a valid command.
py
diff --git a/thingstance/thing.py b/thingstance/thing.py index <HASH>..<HASH> 100644 --- a/thingstance/thing.py +++ b/thingstance/thing.py @@ -1,10 +1,4 @@ -from hashlib import sha1 - - -def hash(data): - head = str("blob " + str(len(data)) + "\0").encode("utf-8") - digest = sha1(head + data) - return digest.h...
Moved calculating hash to digest module
py
diff --git a/alertaclient/commands/cmd_send.py b/alertaclient/commands/cmd_send.py index <HASH>..<HASH> 100644 --- a/alertaclient/commands/cmd_send.py +++ b/alertaclient/commands/cmd_send.py @@ -68,24 +68,7 @@ def cli(obj, resource, event, environment, severity, correlate, service, group, except Excep...
Simplify send API call for piping json input (#<I>)
py
diff --git a/flask_peewee/admin.py b/flask_peewee/admin.py index <HASH>..<HASH> 100644 --- a/flask_peewee/admin.py +++ b/flask_peewee/admin.py @@ -214,11 +214,12 @@ class ModelAdmin(object): def add(self): Form = self.get_add_form() + instance = self.model() if request.method == 'POST'...
Add instance to the context of add view
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ if sys.version_info <= (3,6): setup( name="moneywagon", - version='1.14.3', + version='1.14.4', description='Next Generation Cryptocurrency Platform', long_description=open('README.md').r...
'Made release <I>
py
diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index <HASH>..<HASH> 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -25,11 +25,6 @@ except NotImplementedError: PROJECT_DIR_PATH = os.path.realpath(os.path.curdir) -def remove_file(file_path): - if os.path.exists(file_...
Get rid of remove_file() from post hook
py
diff --git a/git/cmd.py b/git/cmd.py index <HASH>..<HASH> 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -92,11 +92,16 @@ def handle_process_output(process, stdout_handler, stderr_handler, finalizer, de cmdline = getattr(process, 'args', '') # PY3+ only if not isinstance(cmdline, (tuple, list)): cmdlin...
pumps: FIX don't pump when proc has no streams
py
diff --git a/pysat/_files.py b/pysat/_files.py index <HASH>..<HASH> 100644 --- a/pysat/_files.py +++ b/pysat/_files.py @@ -172,17 +172,13 @@ class Files(object): else: return data - def refresh(self, store=False): + def refresh(self): """Refresh loaded instrument filelist by searc...
removed store option from refresh, a call to _store always made now; logic for storage moved into _store.
py
diff --git a/salt/modules/file.py b/salt/modules/file.py index <HASH>..<HASH> 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -3541,7 +3541,8 @@ def set_selinux_context(path, .. code-block:: bash - salt '*' file.set_selinux_context path <role> <type> <range> + salt '*' file.set_se...
Added the <user> declaration for the SELinux context to the documentation. Added an example of the module actually being used.
py
diff --git a/salt/cloud/__init__.py b/salt/cloud/__init__.py index <HASH>..<HASH> 100644 --- a/salt/cloud/__init__.py +++ b/salt/cloud/__init__.py @@ -62,7 +62,7 @@ class CloudClient(object): ''' Execute a cloud method in a multiprocess and fire the return on the event bus ''' - salt.u...
Don't redirect out when making sub-daemons
py
diff --git a/odl/space/cartesian.py b/odl/space/cartesian.py index <HASH>..<HASH> 100644 --- a/odl/space/cartesian.py +++ b/odl/space/cartesian.py @@ -841,7 +841,12 @@ class Ntuples(Set): >>> x Ntuples(2, dtype('int8')).element([0, 1]) """ - self.data[indices] = values ...
Fixed the slow `__setitem__` method, see issue #<I>
py
diff --git a/tests/unit/modules/test_ssh.py b/tests/unit/modules/test_ssh.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_ssh.py +++ b/tests/unit/modules/test_ssh.py @@ -92,7 +92,7 @@ class SSHAuthKeyTestCase(TestCase, LoaderModuleMockMixin): empty_line = '\n' comment_line = '# this is a ...
Fix unit tests for ssh
py
diff --git a/metpy/plots/skewt.py b/metpy/plots/skewt.py index <HASH>..<HASH> 100644 --- a/metpy/plots/skewt.py +++ b/metpy/plots/skewt.py @@ -154,6 +154,16 @@ class SkewT(object): self.ax.xaxis.set_major_locator(MultipleLocator(10)) self.ax.set_xlim(-50, 50) + def plot_barbs(self, p, u, v, xloc=...
Add plotting of wind barbs to skewT plot.
py
diff --git a/uncommitted/__init__.py b/uncommitted/__init__.py index <HASH>..<HASH> 100644 --- a/uncommitted/__init__.py +++ b/uncommitted/__init__.py @@ -68,6 +68,12 @@ contribute additional detection and scanning routines. Changelog --------- +**2.3** (2020 Apr 9) + +- Bugfix: the regular expression that matches ...
Get ready for release of <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,7 @@ class CythonClean(clean): clean.run(self) # Find list of files with .c extension - flist, flist_path = read_files("cython/core", ".c") + flist, flist_path = read_files("cyth...
Update cython temp directory in setup.py clean hook
py
diff --git a/indra/tools/assemble_corpus.py b/indra/tools/assemble_corpus.py index <HASH>..<HASH> 100644 --- a/indra/tools/assemble_corpus.py +++ b/indra/tools/assemble_corpus.py @@ -237,7 +237,6 @@ def run_preassembly_related(preassembler, beliefengine, **kwargs): stmts_out = preassembler.combine_related(return_t...
Remove time logging in assemble corpus preassembly
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,6 @@ setup(name='dingo', 'geoalchemy2', #'matplotlib', #should be included but fails via pip3 'oemof', - 'ego.io', + ...
Update setup.py with exact version
py
diff --git a/faker/providers/date_time/__init__.py b/faker/providers/date_time/__init__.py index <HASH>..<HASH> 100644 --- a/faker/providers/date_time/__init__.py +++ b/faker/providers/date_time/__init__.py @@ -1376,6 +1376,18 @@ class Provider(BaseProvider): 'continent': 'Europe', ...
Add Taiwanese and Palestinian time zones. (#<I>)
py
diff --git a/pypeerassets/networks.py b/pypeerassets/networks.py index <HASH>..<HASH> 100644 --- a/pypeerassets/networks.py +++ b/pypeerassets/networks.py @@ -23,10 +23,10 @@ For abbreviation prefix testnet of the network with "t". networks = ( # Peercoin mainnet Network("peercoin", "ppc", b'37', b'b7', b'75...
express in satoshis.
py
diff --git a/rope/refactor/patchedast.py b/rope/refactor/patchedast.py index <HASH>..<HASH> 100644 --- a/rope/refactor/patchedast.py +++ b/rope/refactor/patchedast.py @@ -125,7 +125,10 @@ class _PatchingASTWalker(object): # semicolon in except region = self.source.consume_excep...
Refactor consume_joined_string and also fix missing ast.JoinedStr/FormattedValue in older python
py
diff --git a/bumpversion/__init__.py b/bumpversion/__init__.py index <HASH>..<HASH> 100644 --- a/bumpversion/__init__.py +++ b/bumpversion/__init__.py @@ -92,7 +92,7 @@ class Git(object): @classmethod def add_path(cls, path): - subprocess.check_call(["git", "add", path]) + subprocess.check_cal...
git: don't add files that aren't already tracked Fixes #<I>
py
diff --git a/warehouse/accounts/services.py b/warehouse/accounts/services.py index <HASH>..<HASH> 100644 --- a/warehouse/accounts/services.py +++ b/warehouse/accounts/services.py @@ -303,6 +303,11 @@ class DatabaseUserService: "warehouse.authentication.two_factor.failure", tags=tags + ...
actually hit ratelimiter on failed TOTP attempts (#<I>) follows up on #<I>, making it work as designed
py
diff --git a/vyper/parser/expr.py b/vyper/parser/expr.py index <HASH>..<HASH> 100644 --- a/vyper/parser/expr.py +++ b/vyper/parser/expr.py @@ -175,8 +175,19 @@ class Expr(object): const = self.context.constants[self.expr.id] expr = Expr.parse_value_expr(const.value, self.context) ...
Fix constants check for integer based literals.
py
diff --git a/pyethereum/processblock.py b/pyethereum/processblock.py index <HASH>..<HASH> 100644 --- a/pyethereum/processblock.py +++ b/pyethereum/processblock.py @@ -684,7 +684,7 @@ def apply_op(block, tx, msg, processed_code, compustate): elif op[:3] == 'LOG': depth = int(op[3:]) mstart, msz = ...
Log.topics as a set
py
diff --git a/nipap-cli/nipap_cli/nipap_cli.py b/nipap-cli/nipap_cli/nipap_cli.py index <HASH>..<HASH> 100755 --- a/nipap-cli/nipap_cli/nipap_cli.py +++ b/nipap-cli/nipap_cli/nipap_cli.py @@ -530,7 +530,10 @@ def remove_prefix(arg, opts): recursive = True spec = { 'prefix': arg } - v = get_vrf(opts.ge...
Default remove_prefix to VRF none It is possible to add prefixes without specifying a VRF, in which case it defaults to the default VRF. On the basis that it should be easy to start using NIPAP we thus default remove_prefix to operating on VRF none as well. Users don't really have to know about VRFs to start using NIP...
py
diff --git a/better_exchook.py b/better_exchook.py index <HASH>..<HASH> 100644 --- a/better_exchook.py +++ b/better_exchook.py @@ -98,6 +98,11 @@ def parse_py_statement(line): if state == 3: yield ("id", curtoken) elif state == 6: yield ("comment", curtoken) +def parse_py_statements(source_code): + for line in so...
small fix for comments in multi line statement
py
diff --git a/tensorflow_probability/python/layers/distribution_layer.py b/tensorflow_probability/python/layers/distribution_layer.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/layers/distribution_layer.py +++ b/tensorflow_probability/python/layers/distribution_layer.py @@ -47,7 +47,7 @@ from tensor...
Eliminate no-op import alias '...tensor_tuple as tensor_tuple' PiperOrigin-RevId: <I>
py
diff --git a/MAVProxy/modules/mavproxy_kmlread.py b/MAVProxy/modules/mavproxy_kmlread.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_kmlread.py +++ b/MAVProxy/modules/mavproxy_kmlread.py @@ -149,19 +149,19 @@ class KmlReadModule(mp_module.MPModule): self.mpstate.map.remove_object(la...
kmlread: correct layer variable already declared in for loop previously
py
diff --git a/py509/x509.py b/py509/x509.py index <HASH>..<HASH> 100644 --- a/py509/x509.py +++ b/py509/x509.py @@ -78,3 +78,17 @@ def make_certificate_authority(**name): csr = make_certificate_signing_request(key, **name) crt = make_certificate(csr, key, csr, make_serial(), 0, 10 * 365 * 24 * 60 * 60, exts=[crypt...
Add a method to load multiple certificates. Useful, e.g., when loading a ca-bundle.crt file.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -27,11 +27,16 @@ opj = os.path.join cythonize_dir = "build" +macros = [] + +if sys.platform == 'cygwin': + macros.append(('FD_SETSIZE', 512)) kwds = dict(include_dirs=[opj("src", "cysignals"), ...
Increase FD_SETSIZE from its default of <I> on Cygwin
py
diff --git a/ppb/features/twophase.py b/ppb/features/twophase.py index <HASH>..<HASH> 100644 --- a/ppb/features/twophase.py +++ b/ppb/features/twophase.py @@ -41,7 +41,7 @@ class TwoPhaseMixin(EventMixin): self.__staged_changes = {} self.__staged_changes.update(kwargs) - def do_commit(self, e...
twophase: Typo: That was supposed to be an event handler
py
diff --git a/gwpy/plotter/html.py b/gwpy/plotter/html.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/html.py +++ b/gwpy/plotter/html.py @@ -25,6 +25,7 @@ import numpy from matplotlib.collections import Collection from matplotlib.figure import Figure +from matplotlib.lines import Line2D from ..types import Ser...
plotter.html.map_artist: fixed bug in mapping lines
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -333,9 +333,9 @@ texinfo_documents = [ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { 'python': ('https://docs.python.org/3/', None), - 'matplotlib'...
MAINT: Correct links for intersphinx crossrefs
py
diff --git a/pliers/converters/base.py b/pliers/converters/base.py index <HASH>..<HASH> 100644 --- a/pliers/converters/base.py +++ b/pliers/converters/base.py @@ -55,7 +55,8 @@ def get_converter(in_type, out_type, *args, **kwargs): if not issubclass(cls, Converter): continue concrete = le...
in get_converters, make sure converter is environment-ready
py
diff --git a/tests/system/providers/amazon/aws/example_rds_export.py b/tests/system/providers/amazon/aws/example_rds_export.py index <HASH>..<HASH> 100644 --- a/tests/system/providers/amazon/aws/example_rds_export.py +++ b/tests/system/providers/amazon/aws/example_rds_export.py @@ -126,6 +126,8 @@ with DAG( s3...
Adds a wait to prevent a race condition (#<I>)
py
diff --git a/insteonplm/devices/dimmableLightingControl.py b/insteonplm/devices/dimmableLightingControl.py index <HASH>..<HASH> 100644 --- a/insteonplm/devices/dimmableLightingControl.py +++ b/insteonplm/devices/dimmableLightingControl.py @@ -219,7 +219,13 @@ class DimmableLightingControl_2475F(DimmableLightingControl)...
Fixed issues with manual changes to state for FanLinc
py
diff --git a/buildbot/status/web/build.py b/buildbot/status/web/build.py index <HASH>..<HASH> 100644 --- a/buildbot/status/web/build.py +++ b/buildbot/status/web/build.py @@ -107,17 +107,22 @@ class StatusResourceBuild(HtmlResource): data += "<ol>\n" for s in b.getSteps(): name = s.getNam...
(fixes #<I>) chromium patch to show step times
py
diff --git a/vext/install/__init__.py b/vext/install/__init__.py index <HASH>..<HASH> 100644 --- a/vext/install/__init__.py +++ b/vext/install/__init__.py @@ -18,7 +18,7 @@ DEFAULT_PTH_CONTENT = """\ # # Lines beginning with 'import' are executed, so import sys to get # going. -import os; import sys; exec("try:\n f...
Another attempt at updating the pth
py
diff --git a/tests/test_recipes.py b/tests/test_recipes.py index <HASH>..<HASH> 100644 --- a/tests/test_recipes.py +++ b/tests/test_recipes.py @@ -630,7 +630,7 @@ class NthPermutationTests(TestCase): for index in [-1 - n, n + 1]: with self.assertRaises(IndexError): mi.nth_combinat...
removed extra whitespace on <I>
py
diff --git a/tests/test_betfairstream.py b/tests/test_betfairstream.py index <HASH>..<HASH> 100644 --- a/tests/test_betfairstream.py +++ b/tests/test_betfairstream.py @@ -46,7 +46,7 @@ class BetfairStreamTest(unittest.TestCase): mock_read_loop.assert_called_with() self.betfair_stream.start(async=Tru...
Fix test - Thread not called with daemon kwarg Following python <I> compatibility change in c<I>d<I>a3d8c<I>aeccb9db5c7eb<I>d<I>f<I>b the creation of Thread is no longer called with the daemon kwarg so the daemon kwarg has been removed from assert_called_with arguments as it is no longer true.
py
diff --git a/salt/modules/state.py b/salt/modules/state.py index <HASH>..<HASH> 100644 --- a/salt/modules/state.py +++ b/salt/modules/state.py @@ -301,8 +301,7 @@ def apply_(mods=None, <salt.modules.state.sls>` based on the arguments passed to this function. It exists as a more intuitive way of applying state...
Add reference to state tutorial to state.apply docstring
py
diff --git a/telebot/types.py b/telebot/types.py index <HASH>..<HASH> 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -762,7 +762,7 @@ class CallbackQuery(JsonDeserializable): message = Message.de_json(obj['message']) inline_message_id = obj.get('inline_message_id') chat_instance ...
Fixed KeyError when data field is None in CallbackQuery obj['data'] raises KeyError when `data` is None, while obj.get('data') returns None
py
diff --git a/master/buildbot/test/fake/openstack.py b/master/buildbot/test/fake/openstack.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/fake/openstack.py +++ b/master/buildbot/test/fake/openstack.py @@ -140,5 +140,5 @@ class Instance(): # Parts used from novaclient.exceptions. -class NotFound(): +class...
NotFound must inherit from Exception for Python 3. This fixes the Python 3 error: "exceptions must derive from BaseException"
py
diff --git a/zipline/data/hdf5_daily_bars.py b/zipline/data/hdf5_daily_bars.py index <HASH>..<HASH> 100644 --- a/zipline/data/hdf5_daily_bars.py +++ b/zipline/data/hdf5_daily_bars.py @@ -303,10 +303,14 @@ class HDF5DailyBarWriter(object): float values. Default is None, in which case DEFAULT_SC...
MAINT: Don't require an 'id' column in hdf5 daily bar writer. It's redundant since we're taking a (sid, frame) pair, and not all test fixtures set this column.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( include_package_data = True, # Package dependencies. - install_requires = ['setuptools', 'simplejson'], + install_requires = ['simplejson'], # Metadata for PyPI. author = 'Ryan McGrath',
Don't need to include `setuptools`, heh.
py
diff --git a/c7n/resources/glacier.py b/c7n/resources/glacier.py index <HASH>..<HASH> 100644 --- a/c7n/resources/glacier.py +++ b/c7n/resources/glacier.py @@ -34,6 +34,23 @@ class Glacier(QueryResourceManager): @Glacier.filter_registry.register('cross-account') class GlacierCrossAccountAccessFilter(CrossAccountAcce...
adding docstrings to glacier.py (#<I>) * adding docstrings to glacier.py
py