diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/cloud_blobstore/s3.py b/cloud_blobstore/s3.py index <HASH>..<HASH> 100644 --- a/cloud_blobstore/s3.py +++ b/cloud_blobstore/s3.py @@ -332,7 +332,7 @@ class S3BlobStore(BlobStore): Key=dst_key, ExtraArgs=kwargs, Config=TransferConfig( - m...
push the multipart threshold to <I>MB + 1B
py
diff --git a/ipfsApi/http.py b/ipfsApi/http.py index <HASH>..<HASH> 100644 --- a/ipfsApi/http.py +++ b/ipfsApi/http.py @@ -4,6 +4,7 @@ can/will eventually be supplemented with an asynchronous version. """ from __future__ import absolute_import +import re import requests import contextlib @@ -28,7 +29,10 @@ clas...
Add support for specifying HTTPS or HTTP in the hostname.
py
diff --git a/molo/core/middleware.py b/molo/core/middleware.py index <HASH>..<HASH> 100644 --- a/molo/core/middleware.py +++ b/molo/core/middleware.py @@ -135,3 +135,14 @@ class MoloGoogleAnalyticsMiddleware(object): site_settings.global_ga_tracking_code, request, response) return response +...
adding middleware for site redirect (incomplete)
py
diff --git a/symbols/const.py b/symbols/const.py index <HASH>..<HASH> 100644 --- a/symbols/const.py +++ b/symbols/const.py @@ -30,7 +30,8 @@ class SymbolCONST(Symbol): @expr.setter def expr(self, value): - self.children[0] = value + assert isinstance(value, Symbol) + self.children = [va...
Asserts value checking for Symbol
py
diff --git a/monero_serialize/xmrtypes.py b/monero_serialize/xmrtypes.py index <HASH>..<HASH> 100644 --- a/monero_serialize/xmrtypes.py +++ b/monero_serialize/xmrtypes.py @@ -948,3 +948,14 @@ class CacheFileData(x.MessageType): ('cache_data', x.BlobType), ] + +class AccountKeys(x.MessageType): + FIEL...
xmrtypes: account keys added
py
diff --git a/mpop/saturn/two_line_elements.py b/mpop/saturn/two_line_elements.py index <HASH>..<HASH> 100644 --- a/mpop/saturn/two_line_elements.py +++ b/mpop/saturn/two_line_elements.py @@ -58,7 +58,8 @@ if sys.version_info < (2, 5): """ return datetime.datetime(*time.strptime(string, fmt)[...
Bugfix: forgot strptime = datetime.strptime when python > <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ Copyright 2015, Andrew Colin Kissa Licensed under MPL 2.0. """ import os +import sys try: import multiprocessing
* Ensure unittest2 is only required on Py<I>
py
diff --git a/internetarchive/item.py b/internetarchive/item.py index <HASH>..<HASH> 100644 --- a/internetarchive/item.py +++ b/internetarchive/item.py @@ -83,6 +83,7 @@ class Item(object): self.server = None self.uniq = None self.updated = None + self.tasks = None self._json...
Only skip based on checksum if there are no pending tasks.
py
diff --git a/fermipy/jobs/link.py b/fermipy/jobs/link.py index <HASH>..<HASH> 100644 --- a/fermipy/jobs/link.py +++ b/fermipy/jobs/link.py @@ -625,6 +625,11 @@ class Link(object): """ self.jobs.clear() + def clean_jobs(self, clean_all=False): + """ """ + self._interface.clean_jobs(...
Added Link.clean_jobs
py
diff --git a/taxtastic/subcommands/taxtable.py b/taxtastic/subcommands/taxtable.py index <HASH>..<HASH> 100644 --- a/taxtastic/subcommands/taxtable.py +++ b/taxtastic/subcommands/taxtable.py @@ -162,8 +162,13 @@ def action(args): taxtable.update(dict(tax_rows)) all_ranks |= set(ranks) + # guppy r...
fixes for guppy - set tax_id == parent_id == 1 for root node - fix field order in taxtable
py
diff --git a/rest_api/api.py b/rest_api/api.py index <HASH>..<HASH> 100644 --- a/rest_api/api.py +++ b/rest_api/api.py @@ -327,7 +327,9 @@ def assemble_pysb(): fname = 'model_%s.png' % export_format root = os.path.dirname(os.path.abspath(fname)) graph = pa.export_model(format=export_format, f...
Add CORS header to static_file response
py
diff --git a/bika/lims/browser/bika_listing.py b/bika/lims/browser/bika_listing.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/bika_listing.py +++ b/bika/lims/browser/bika_listing.py @@ -223,7 +223,7 @@ class BikaListingView(BrowserView): # index filters. for k,v in self.columns.items(): - ...
Bika listing 'all' links fixed (closes #<I>)
py
diff --git a/glances/plugins/glances_network.py b/glances/plugins/glances_network.py index <HASH>..<HASH> 100644 --- a/glances/plugins/glances_network.py +++ b/glances/plugins/glances_network.py @@ -108,7 +108,8 @@ class Plugin(GlancesPlugin): network_new = netiocounters for net in net...
KeyError: 'eth0' when interface is not connected #<I>
py
diff --git a/dynamic_dynamodb/config/command_line_parser.py b/dynamic_dynamodb/config/command_line_parser.py index <HASH>..<HASH> 100644 --- a/dynamic_dynamodb/config/command_line_parser.py +++ b/dynamic_dynamodb/config/command_line_parser.py @@ -73,6 +73,12 @@ def parse(): the currently consumed read ...
Add command line options for setting throttled read/write event thresholds
py
diff --git a/sos/plugins/docker.py b/sos/plugins/docker.py index <HASH>..<HASH> 100644 --- a/sos/plugins/docker.py +++ b/sos/plugins/docker.py @@ -77,10 +77,18 @@ class Docker(Plugin): if self.get_option('all'): ps_cmd = "{0} -a".format(ps_cmd) - result = self.get_command_output(ps_cmd) -...
[docker] Collect image inspect output (#<I>) Adds output for 'docker inspect' for each unique image on the host.
py
diff --git a/pylibdmtx/wrapper.py b/pylibdmtx/wrapper.py index <HASH>..<HASH> 100644 --- a/pylibdmtx/wrapper.py +++ b/pylibdmtx/wrapper.py @@ -278,7 +278,10 @@ def load_libdmtx(): else: raise PyLibDMTXError('Unable to find libdmtx DLL') else: - LIBDMTX = cdll.LoadLibrar...
Better error handling if shared library not found
py
diff --git a/evergreen/core/utils.py b/evergreen/core/utils.py index <HASH>..<HASH> 100644 --- a/evergreen/core/utils.py +++ b/evergreen/core/utils.py @@ -59,6 +59,7 @@ class Result(object): return self._value finally: self._used = True + self._exc = self._value = Null ...
Reset value and exception after calling Result.get
py
diff --git a/winpcapy/__init__.py b/winpcapy/__init__.py index <HASH>..<HASH> 100644 --- a/winpcapy/__init__.py +++ b/winpcapy/__init__.py @@ -17,7 +17,7 @@ __description__ = "A Modern Python wrapper for WinPcap" __uri__ = "https://github.com/orweis/winpcapy" __doc__ = __description__ + " <" + __uri__ + ">" __email_...
Inc version number, for PyPi upload
py
diff --git a/great_expectations/data_context/data_context.py b/great_expectations/data_context/data_context.py index <HASH>..<HASH> 100644 --- a/great_expectations/data_context/data_context.py +++ b/great_expectations/data_context/data_context.py @@ -682,6 +682,7 @@ class BaseDataContext(object): raise Val...
Load datasource config before building datasource from config
py
diff --git a/pygeoip/const.py b/pygeoip/const.py index <HASH>..<HASH> 100644 --- a/pygeoip/const.py +++ b/pygeoip/const.py @@ -354,7 +354,7 @@ COUNTRY_NAMES = ( 'Yemen', 'Mayotte', 'Serbia', 'South Africa', 'Zambia', 'Montenegro', 'Zimbabwe', 'Anonymous Proxy', 'Satellite Provider', 'Other', 'Aland Islan...
Drop 'Republic of' from South Sudan
py
diff --git a/hpcbench/cli/benwait.py b/hpcbench/cli/benwait.py index <HASH>..<HASH> 100644 --- a/hpcbench/cli/benwait.py +++ b/hpcbench/cli/benwait.py @@ -6,11 +6,11 @@ Usage: ben-wait --version Options: - -l --log=LOGFILE Specify an option logfile to write to - -n <seconds>, --interval <secon...
fix ben-wait: --interval default value was None
py
diff --git a/plans/views.py b/plans/views.py index <HASH>..<HASH> 100644 --- a/plans/views.py +++ b/plans/views.py @@ -431,5 +431,8 @@ class InvoiceDetailView(DetailView): return context def get_queryset(self): - return super(InvoiceDetailView, self).get_queryset().filter(user=self.request.user) ...
Invoice can be displayed also by superuser (not only owner).
py
diff --git a/bdbag/bdbag_cli.py b/bdbag/bdbag_cli.py index <HASH>..<HASH> 100644 --- a/bdbag/bdbag_cli.py +++ b/bdbag/bdbag_cli.py @@ -136,6 +136,12 @@ def parse_cli(): "The bag must first be extracted and then updated.\n\n") sys.exit(2) + if args.resolve_fetch and is_file: + ...
Don't allow --resolve-fetch against an archived bag.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -19,6 +19,10 @@ setup( long_description_content_type = "text/markdown", python_requires = ">=2.7, <4", + install_requires = [ + "docopt>=0.6" + ], + py_modules = [info.PKG_NAME], entry_p...
Add missing install dependencies to setup.py
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -296,7 +296,8 @@ class API: chunk_size = kwargs.pop('chunk_size', DEFAULT_CHUNKSIZE) chunk_size = max(min(chunk_size, MAX_CHUNKSIZE), MIN_CHUNKSIZE) - segments = file_size // (chu...
Fix logic in determining number of segments in API.chunked_upload
py
diff --git a/cassiopeia/dto/requests.py b/cassiopeia/dto/requests.py index <HASH>..<HASH> 100644 --- a/cassiopeia/dto/requests.py +++ b/cassiopeia/dto/requests.py @@ -130,7 +130,10 @@ def execute_request(url, method, payload=""): response = urllib.request.urlopen(request) content = response.read() ...
check for gzip support before decompressing
py
diff --git a/notario/engine.py b/notario/engine.py index <HASH>..<HASH> 100644 --- a/notario/engine.py +++ b/notario/engine.py @@ -66,6 +66,14 @@ class Validator(object): if failed: return failed + # if there are no callables in the schema keys, just + ...
If only noncallable schema keys, identify the missing data exactly
py
diff --git a/master/buildbot/plugins/__init__.py b/master/buildbot/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/master/buildbot/plugins/__init__.py +++ b/master/buildbot/plugins/__init__.py @@ -26,8 +26,7 @@ from buildbot.plugins.db import get_plugins __all__ = [ 'changes', 'schedulers', 'steps', 'util...
Remove remaining buildslave plugin importer
py
diff --git a/salt/modules/lxcdocker.py b/salt/modules/lxcdocker.py index <HASH>..<HASH> 100644 --- a/salt/modules/lxcdocker.py +++ b/salt/modules/lxcdocker.py @@ -1821,7 +1821,7 @@ def script_retcode(container, others params and documentation See cmd.retcode ''' - return script(container, + ret...
docker: typo in ret_code
py
diff --git a/masonite/providers/UploadProvider.py b/masonite/providers/UploadProvider.py index <HASH>..<HASH> 100644 --- a/masonite/providers/UploadProvider.py +++ b/masonite/providers/UploadProvider.py @@ -15,5 +15,5 @@ class UploadProvider(ServiceProvider): self.app.bind('UploadS3Driver', UploadS3Driver) ...
fixed upload driver not defaulting to config driver
py
diff --git a/tests/contracts/test_normalization_of_return_types.py b/tests/contracts/test_normalization_of_return_types.py index <HASH>..<HASH> 100644 --- a/tests/contracts/test_normalization_of_return_types.py +++ b/tests/contracts/test_normalization_of_return_types.py @@ -28,7 +28,9 @@ from web3.utils.abi import norm...
cleaner formatting as a workaround for pytest <I> bug @see <URL>
py
diff --git a/theanets/recurrent.py b/theanets/recurrent.py index <HASH>..<HASH> 100644 --- a/theanets/recurrent.py +++ b/theanets/recurrent.py @@ -85,7 +85,9 @@ class Text(object): self.alpha = alpha if self.alpha is None: self.alpha = ''.join(sorted(set( - a for a, c in co...
Exclude "unknown" from alphabet construction.
py
diff --git a/django_conneg/views.py b/django_conneg/views.py index <HASH>..<HASH> 100644 --- a/django_conneg/views.py +++ b/django_conneg/views.py @@ -222,8 +222,6 @@ class ContentNegotiatedView(BaseContentNegotiatedView): return self.error(request, e, args, kwargs, httplib.FORBIDDEN) except HttpN...
Catching and re-raising Exception is just a hassle. Let's not do that
py
diff --git a/shinken/modules/ws_arbiter.py b/shinken/modules/ws_arbiter.py index <HASH>..<HASH> 100644 --- a/shinken/modules/ws_arbiter.py +++ b/shinken/modules/ws_arbiter.py @@ -54,7 +54,7 @@ app = None def get_page(): # We get all value we want - time_stamp = request.forms.get('time_stamp', 0) + time_st...
Fix: If no timestamp in POST data, then it is now()
py
diff --git a/processors/generic_processor.py b/processors/generic_processor.py index <HASH>..<HASH> 100644 --- a/processors/generic_processor.py +++ b/processors/generic_processor.py @@ -17,6 +17,7 @@ """Import processor that supports all Bazaar repository formats.""" +import os import time from bzrlib import ( ...
fix missing os import in generic_processor
py
diff --git a/tests/test_data_structures.py b/tests/test_data_structures.py index <HASH>..<HASH> 100644 --- a/tests/test_data_structures.py +++ b/tests/test_data_structures.py @@ -17,7 +17,24 @@ class TestCompressionParameters(unittest.TestCase): zstd.CompressionParameters() with self.assertRaise...
Add test for CompressionParameters boundary values Still not comprehensive. But better than what we had before, which was nothing.
py
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/plot.py +++ b/holoviews/plotting/plot.py @@ -585,7 +585,7 @@ class GenericElementPlot(DimensionedPlot): defaults=False) plot_opts.update(...
Fixed reference to DynamicMap mode in GenericElementPlot
py
diff --git a/tests/SpiffWorkflow/bpmn/BpmnWorkflowSerializerTest.py b/tests/SpiffWorkflow/bpmn/BpmnWorkflowSerializerTest.py index <HASH>..<HASH> 100644 --- a/tests/SpiffWorkflow/bpmn/BpmnWorkflowSerializerTest.py +++ b/tests/SpiffWorkflow/bpmn/BpmnWorkflowSerializerTest.py @@ -51,6 +51,14 @@ class BpmnWorkflowSerializ...
Test showing that deserializing a workflow with the old serializer produces a workflow that cannot be serialized with the new serializer.
py
diff --git a/d1_common_python/src/d1_common/__init__.py b/d1_common_python/src/d1_common/__init__.py index <HASH>..<HASH> 100644 --- a/d1_common_python/src/d1_common/__init__.py +++ b/d1_common_python/src/d1_common/__init__.py @@ -20,7 +20,7 @@ '''Shared code for DataONE Python libraries ''' -__version__ = "1.1.2" ...
Updated version number to show that this is an RC.
py
diff --git a/flask_images/core.py b/flask_images/core.py index <HASH>..<HASH> 100755 --- a/flask_images/core.py +++ b/flask_images/core.py @@ -375,7 +375,7 @@ class Images(object): enlarge = query.get('enlarge', False) sharpen = query.get('sharpen') - sharpen = re.split(r'[;,_/ ]', sharpen) i...
Accept + and : as USM delimiter.
py
diff --git a/cli_helpers/__init__.py b/cli_helpers/__init__.py index <HASH>..<HASH> 100644 --- a/cli_helpers/__init__.py +++ b/cli_helpers/__init__.py @@ -1 +1 @@ -__version__ = '1.0.0' +__version__ = '1.0.1'
Releasing version <I>.
py
diff --git a/plenum/common/messages/message_base.py b/plenum/common/messages/message_base.py index <HASH>..<HASH> 100644 --- a/plenum/common/messages/message_base.py +++ b/plenum/common/messages/message_base.py @@ -59,6 +59,13 @@ class MessageBase(Mapping, MessageValidator): def __init__(self, *args, **kwargs): ...
add checking that number of init parameters of message is equal to number of fields declared in schema
py
diff --git a/gin/tf/utils.py b/gin/tf/utils.py index <HASH>..<HASH> 100644 --- a/gin/tf/utils.py +++ b/gin/tf/utils.py @@ -20,6 +20,7 @@ import os from gin import config import tensorflow as tf +from tensorflow import estimator as tf_estimator # pylint: disable=g-direct-tensorflow-import from tensorflow.core.fr...
Explicitly import estimator from tensorflow as a separate import instead of accessing it via tf.estimator and depend on the tensorflow estimator target. PiperOrigin-RevId: <I>
py
diff --git a/helpers/workers.py b/helpers/workers.py index <HASH>..<HASH> 100644 --- a/helpers/workers.py +++ b/helpers/workers.py @@ -106,6 +106,5 @@ class Workers(): row = session.query(Log).filter(or_(Log.type == 'pubmsg', Log.type == 'privmsg'), ~Log.msg.startswith(cmdchar), Log.target != ctrlchan).ord...
allow one-row diff in check_babble
py
diff --git a/spacy/tests/pipeline/test_pipe_methods.py b/spacy/tests/pipeline/test_pipe_methods.py index <HASH>..<HASH> 100644 --- a/spacy/tests/pipeline/test_pipe_methods.py +++ b/spacy/tests/pipeline/test_pipe_methods.py @@ -81,9 +81,9 @@ def test_replace_last_pipe(nlp): def test_replace_pipe_config(nlp): nlp.a...
Fix code style in test [ci skip]
py
diff --git a/djangui/signals.py b/djangui/signals.py index <HASH>..<HASH> 100644 --- a/djangui/signals.py +++ b/djangui/signals.py @@ -1,7 +1,10 @@ from __future__ import absolute_import +from django.db.models.signals import post_delete + from celery.signals import task_postrun, task_prerun, task_revoked + @task...
delete hook on model deletion for updating home screen
py
diff --git a/salt/log/setup.py b/salt/log/setup.py index <HASH>..<HASH> 100644 --- a/salt/log/setup.py +++ b/salt/log/setup.py @@ -631,6 +631,19 @@ def setup_logfile_logger(log_path, log_level='error', log_format=None, shutdown_multiprocessing_logging_listener() sys.exit(2) else: + ...
Try to create the log directory when not present yet
py
diff --git a/baron/grammator_data_structures.py b/baron/grammator_data_structures.py index <HASH>..<HASH> 100644 --- a/baron/grammator_data_structures.py +++ b/baron/grammator_data_structures.py @@ -116,7 +116,7 @@ def include_data_structures(pg): @pg.production("atom : LEFT_SQUARE_BRACKET listmaker RIGHT_SQUA...
[mod] avoid overloading a buildin
py
diff --git a/abilian/services/base.py b/abilian/services/base.py index <HASH>..<HASH> 100644 --- a/abilian/services/base.py +++ b/abilian/services/base.py @@ -51,10 +51,19 @@ class Service(object): @property def app_state(self): """ Current service state in current application. + + :raise:RuntimeError if ...
Service.running: returns False if working outside application context (instead of letting RuntimeError propagate)
py
diff --git a/keanu-python/keanu/algorithm/sampling.py b/keanu-python/keanu/algorithm/sampling.py index <HASH>..<HASH> 100644 --- a/keanu-python/keanu/algorithm/sampling.py +++ b/keanu-python/keanu/algorithm/sampling.py @@ -34,7 +34,7 @@ class PosteriorSamplingAlgorithm: class ForwardSampler(PosteriorSamplingAlgorith...
add rogue None to init
py
diff --git a/tools/dbmaint.py b/tools/dbmaint.py index <HASH>..<HASH> 100755 --- a/tools/dbmaint.py +++ b/tools/dbmaint.py @@ -125,7 +125,7 @@ def version_key(string): """Returns a version representation useful for version comparison""" # remove the trailing '-<release>' number if any - string, _ = (stri...
Simplify stupid code (thanks to al-maisan). Former-commit-id: 3b<I>da<I>cce4e<I>a3e<I>a<I>dfcd8cadb1dba
py
diff --git a/great_expectations/cli/datasource.py b/great_expectations/cli/datasource.py index <HASH>..<HASH> 100644 --- a/great_expectations/cli/datasource.py +++ b/great_expectations/cli/datasource.py @@ -465,6 +465,13 @@ def create_sample_expectation_suite( msg_prompt_enter_data_asset_name = "\nWhich data wou...
Stop and explain what the profiler will do
py
diff --git a/pyxmpp/client.py b/pyxmpp/client.py index <HASH>..<HASH> 100644 --- a/pyxmpp/client.py +++ b/pyxmpp/client.py @@ -158,7 +158,7 @@ class Client: q=iq.get_query() item=self.roster.update(q) if item: - self.roster_updated(item.jid()) + self.roster_updated(item) resp=iq.make_result_response() ...
- pass roster item instead of JID to roster_updated()
py
diff --git a/smmap/buf.py b/smmap/buf.py index <HASH>..<HASH> 100644 --- a/smmap/buf.py +++ b/smmap/buf.py @@ -51,6 +51,8 @@ class SlidingWindowMapBuffer(object): return self._size def __getitem__(self, i): + if isinstance(i, slice): + return self.__getslice__(i.start or 0, i.s...
Make __getitem__ handle slice for Python 3 Python 3 doesn't have __getslice__ instead it uses __getitem__ with a slice object.
py
diff --git a/salt/modules/ddns.py b/salt/modules/ddns.py index <HASH>..<HASH> 100644 --- a/salt/modules/ddns.py +++ b/salt/modules/ddns.py @@ -167,7 +167,7 @@ def update(zone, name, ttl, rdtype, data, nameserver='127.0.0.1', replace=False, for rrset in answer.answer: if rdata in rrset.items: ...
match pylint rule
py
diff --git a/proto/src/Rammbock.py b/proto/src/Rammbock.py index <HASH>..<HASH> 100644 --- a/proto/src/Rammbock.py +++ b/proto/src/Rammbock.py @@ -69,10 +69,10 @@ class Rammbock(object): Parameters have to be pdu fields.""" def send_pdu(self, *params): - paramsdict = self._parse_parameters(params) - ...
rename paramsdict to params_dict
py
diff --git a/cytomine/cytomine.py b/cytomine/cytomine.py index <HASH>..<HASH> 100644 --- a/cytomine/cytomine.py +++ b/cytomine/cytomine.py @@ -238,6 +238,9 @@ class Cytomine(object): protocol = provided_protocol host = host.replace("http://", "").replace("https://", "") + if h...
Handle host values finishing by slash
py
diff --git a/rinohlib/stylesheets/matcher.py b/rinohlib/stylesheets/matcher.py index <HASH>..<HASH> 100644 --- a/rinohlib/stylesheets/matcher.py +++ b/rinohlib/stylesheets/matcher.py @@ -249,7 +249,8 @@ matcher('front matter section', FrontMatter > Section.like(level=1)) matcher('front matter section heading', 'front ...
Make 'table of contents title' more specific It was less specific than 'unnumbered heading level 1'.
py
diff --git a/openpnm/algorithms/ReactiveTransport.py b/openpnm/algorithms/ReactiveTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/ReactiveTransport.py +++ b/openpnm/algorithms/ReactiveTransport.py @@ -240,7 +240,7 @@ class ReactiveTransport(GenericTransport): if self.settings['t_scheme'] == '...
Minor future-proofing: int -> float
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -155,6 +155,10 @@ class Loader(object): self.grains = opts['grains'] else: self.grains = {} + if 'pillar' in opts: + self.pillar = opts['pillar'] + ...
Add pillar data to the loader
py
diff --git a/djcelery/admin.py b/djcelery/admin.py index <HASH>..<HASH> 100644 --- a/djcelery/admin.py +++ b/djcelery/admin.py @@ -91,7 +91,7 @@ class ModelMonitor(admin.ModelAdmin): extra_context = extra_context or {} extra_context.setdefault('title', self.detail_title) return super(ModelMon...
Update admin.py django.contrib.admin.options.py:ModelAdmin.change_view has following signature(Django <I>&<I>): def change_view(self, request, object_id, form_url='', extra_context=None): Currently passing extra_context dict without explicit naming( extra_context=extra_context) actually works as implicit form_url=ex...
py
diff --git a/py/selenium/webdriver/firefox/firefox_binary.py b/py/selenium/webdriver/firefox/firefox_binary.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/firefox/firefox_binary.py +++ b/py/selenium/webdriver/firefox/firefox_binary.py @@ -132,6 +132,6 @@ class FirefoxBinary(object): """Returns the ...
DavidBurns, on behalf of AndiAlbrecht, fixing where which finds directories. Fixes issue <I> r<I>
py
diff --git a/doublethink/rethinker.py b/doublethink/rethinker.py index <HASH>..<HASH> 100644 --- a/doublethink/rethinker.py +++ b/doublethink/rethinker.py @@ -48,14 +48,31 @@ class RethinkerWrapper(object): result = self.wrapped.run(conn, db=db or self.rr.dbname) if hasattr(result, '__...
handle recoverable errors that happen while iterating over results!
py
diff --git a/twitter_ads/error.py b/twitter_ads/error.py index <HASH>..<HASH> 100644 --- a/twitter_ads/error.py +++ b/twitter_ads/error.py @@ -9,7 +9,11 @@ class Error(Exception): def __init__(self, response, **kwargs): self._response = response self._code = kwargs.get('code', response.code) - ...
[minor] fixing errors for empty response bodys and adding str() implementation
py
diff --git a/socialregistration/views.py b/socialregistration/views.py index <HASH>..<HASH> 100644 --- a/socialregistration/views.py +++ b/socialregistration/views.py @@ -148,6 +148,7 @@ def facebook_login(request, template='socialregistration/facebook.html', return render_to_response(account_inactive_template...
Ensuring that the request is available in signal handlers.
py
diff --git a/satpy/readers/sar_c_safe.py b/satpy/readers/sar_c_safe.py index <HASH>..<HASH> 100644 --- a/satpy/readers/sar_c_safe.py +++ b/satpy/readers/sar_c_safe.py @@ -179,7 +179,7 @@ class SAFEXML(BaseFileHandler): data = self.interpolate_xml_array(data, low_res_coords, data.shape) - @lru_cache + ...
Add maxsize to lru_cache
py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4323,7 +4323,7 @@ class DataFrame(NDFrame): Traceback (most recent call last): KeyError: ['C'] not found in axis - Using axis-style parameters + ...
DOC: make rename docs consistent (#<I>)
py
diff --git a/path.py b/path.py index <HASH>..<HASH> 100644 --- a/path.py +++ b/path.py @@ -1231,7 +1231,8 @@ class Path(text_type): self.rmdir() except OSError: _, e, _ = sys.exc_info() - if e.errno != errno.ENOTEMPTY and e.errno != errno.EEXIST and e.errno != errno.ENOENT:...
Extract bypass codes for brevity
py
diff --git a/src/toil/provisioners/aws/awsProvisioner.py b/src/toil/provisioners/aws/awsProvisioner.py index <HASH>..<HASH> 100644 --- a/src/toil/provisioners/aws/awsProvisioner.py +++ b/src/toil/provisioners/aws/awsProvisioner.py @@ -179,9 +179,14 @@ class AWSProvisioner(AbstractProvisioner): def getNodeShape(s...
Add nodeStorage to the disk value for the nodeShape Previously the disk was always estimated to be 2GB, making instances with only EBS-backed storage like c4, r4, etc. useless.
py
diff --git a/saltcloud/cloud.py b/saltcloud/cloud.py index <HASH>..<HASH> 100644 --- a/saltcloud/cloud.py +++ b/saltcloud/cloud.py @@ -165,6 +165,7 @@ class Cloud(object): found = True if name in pmap.get(self.provider(vm_), []): # The specified vm alre...
Notify user when a VM name already exists
py
diff --git a/examples/websocket_example.py b/examples/websocket_example.py index <HASH>..<HASH> 100644 --- a/examples/websocket_example.py +++ b/examples/websocket_example.py @@ -76,4 +76,18 @@ if __name__ == '__main__': if USE_POLYGON: conn.run(['trade_updates', 'AM.AAPL', 'Q.AA', 'T.*']) else: - ...
added examples for the alpaca websocket
py
diff --git a/atomic_reactor/plugins/pre_fetch_sources.py b/atomic_reactor/plugins/pre_fetch_sources.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/plugins/pre_fetch_sources.py +++ b/atomic_reactor/plugins/pre_fetch_sources.py @@ -193,7 +193,7 @@ class FetchSourcesPlugin(PreBuildPlugin): if missing_srpms...
Fix missing SRPMs error message The wording suggests that the error message would show all the missing SRPM files, but currently, it only shows the last one.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,24 @@ from setuptools import setup, find_packages import json import sys import datetime +from sys import version_info as vi + + +if vi.major != 3: + ver = '{}.{}.{}'.format(vi.major, vi.minor, vi.micro) ...
added python version warning
py
diff --git a/fireplace/player.py b/fireplace/player.py index <HASH>..<HASH> 100644 --- a/fireplace/player.py +++ b/fireplace/player.py @@ -77,7 +77,7 @@ class Player(Entity): for entity in self.secrets: ret += entity.entities # Note: Board receives TURN_BEGIN before player - return chain(list(self.hero.ent...
Fix Player.entities when the hero is unset
py
diff --git a/bika/lims/browser/analysisrequest/__init__.py b/bika/lims/browser/analysisrequest/__init__.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/analysisrequest/__init__.py +++ b/bika/lims/browser/analysisrequest/__init__.py @@ -370,8 +370,9 @@ class mailto_link_from_contacts: contacts = [con...
Fix error displaying AR with missing contact
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,8 +12,6 @@ standard_exclude = ('*.py', '*.pyc', '*~', '.*', '*.bak') standard_exclude_directories = ('.*', 'CVS', '_darcs', './build', './dist', 'EGG-INFO', '*.egg-info') -try: - reqs...
Missed a partial requirements attempt. Need to test alternative methods of requirements installation
py
diff --git a/telethon_examples/print_updates.py b/telethon_examples/print_updates.py index <HASH>..<HASH> 100755 --- a/telethon_examples/print_updates.py +++ b/telethon_examples/print_updates.py @@ -10,7 +10,7 @@ from os import environ def main(): session_name = environ.get('TG_SESSION','session') - user_pho...
Remove comma (#<I>)
py
diff --git a/test/test_replica_set_client.py b/test/test_replica_set_client.py index <HASH>..<HASH> 100644 --- a/test/test_replica_set_client.py +++ b/test/test_replica_set_client.py @@ -860,28 +860,13 @@ class TestReplicaSetClient(TestReplicaSetClientBase, TestRequestMixin): old_signal_handler = None ...
Simplify and fix interrupt test.
py
diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py index <HASH>..<HASH> 100644 --- a/qiskit/circuit/quantumcircuit.py +++ b/qiskit/circuit/quantumcircuit.py @@ -1805,18 +1805,14 @@ class QuantumCircuit: for instr, qargs, cargs in self._data: levels = [] r...
Improve the readability of depth() method (#<I>) * Improve the readability of depth() method * Delete comment
py
diff --git a/tests/settings.py b/tests/settings.py index <HASH>..<HASH> 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -1,13 +1,12 @@ from __future__ import unicode_literals - - if DJANGO_VERSION >= (2, 0): + from django.utils.text import format_lazy from cmsplugin_cascade.extra_fields.config ...
update test/setings.py
py
diff --git a/foyer/forcefield.py b/foyer/forcefield.py index <HASH>..<HASH> 100644 --- a/foyer/forcefield.py +++ b/foyer/forcefield.py @@ -1,5 +1,6 @@ import itertools import os +from warnings import warn import networkx as nx import parmed.gromacs as gmx @@ -12,6 +13,8 @@ from foyer.atomtyper import find_atomtyp...
Warn if no bonds are found in structure
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -71,16 +71,18 @@ for accessing Google's Cloud Platform services such as Google BigQuery. 'future==0.15.2', 'futures==3.0.5', 'google-cloud==0.19.0', + 'google-api-python-client==1.5.1', + 'seaborn==0.7.0',...
Add some missing dependencies, remove some unused ones (#<I>) * Remove scikit-learn and scipy as dependencies * add more required packages * Add psutil as dependency * Update packages versions
py
diff --git a/indra/assemblers/pysb_assembler.py b/indra/assemblers/pysb_assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/pysb_assembler.py +++ b/indra/assemblers/pysb_assembler.py @@ -827,7 +827,7 @@ class PysbAssembler(object): set_base_initial_condition(self.model, m, init_round) ...
Fix increase default initial amount in set context
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ instructions. setup( name="django-prometheus", - version="0.2.0", + version="0.2.1", author="Uriel Corfa", author_email="uriel@corfa.fr", description=(
Release <I>. <I> was cut at the wrong commit.
py
diff --git a/O365/account.py b/O365/account.py index <HASH>..<HASH> 100644 --- a/O365/account.py +++ b/O365/account.py @@ -1,12 +1,10 @@ from .connection import Connection, Protocol, MSGraphProtocol from .connection import oauth_authentication_flow -from .utils import ME_RESOURCE class Account(object): - de...
Account now uses the default protocol. Fixes #<I>. Other library objects are already using it by default.
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -64,11 +64,12 @@ copyright = u'2017, Brendt Wohlberg' # built documents. # # The short X.Y version. -module = '../../../../jonga.py' if on_rtd else '../../jonga.py' +module = '../...
Debugging rtd build
py
diff --git a/i3pystatus/spotify.py b/i3pystatus/spotify.py index <HASH>..<HASH> 100644 --- a/i3pystatus/spotify.py +++ b/i3pystatus/spotify.py @@ -74,8 +74,9 @@ class Spotify(IntervalModule): "length": "", } - if player.props.status: - result["status"] = player.props.status.low...
Forget to get format from dict
py
diff --git a/luminoso_api/client.py b/luminoso_api/client.py index <HASH>..<HASH> 100644 --- a/luminoso_api/client.py +++ b/luminoso_api/client.py @@ -487,6 +487,16 @@ class LuminosoClient(object): url = ensure_trailing_slash(self.url + path.lstrip('/')) return self._request('get', url, params=params)...
save_to_file method for downloading and saving xlsx
py
diff --git a/odl/discr/discretization.py b/odl/discr/discretization.py index <HASH>..<HASH> 100644 --- a/odl/discr/discretization.py +++ b/odl/discr/discretization.py @@ -565,10 +565,6 @@ def dspace_type(space, impl, dtype=None): Space type selected after the space's field, the backend and the data ty...
MAINT: Improved dspace_type implementation
py
diff --git a/notifier/_notifier.py b/notifier/_notifier.py index <HASH>..<HASH> 100644 --- a/notifier/_notifier.py +++ b/notifier/_notifier.py @@ -284,9 +284,8 @@ class Notifier(object): All callbacks registered to receive notifications about given event type will be called. If the provided event type...
Fix docstring now that this raises a value error
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -240,16 +240,16 @@ def gumath_extensions(): add_runtime_library_dirs = [] else: add_libraries = [":%s" % LIBNDTYPES, ":%s" % LIBXND, ":%s" % LIBSHARED] - if config_vars.get("HAVE_C...
Enable CUDA in setup.py for OS X.
py
diff --git a/shinken/modulesmanager.py b/shinken/modulesmanager.py index <HASH>..<HASH> 100644 --- a/shinken/modulesmanager.py +++ b/shinken/modulesmanager.py @@ -100,8 +100,14 @@ class ModulesManager(object): mod_dir = os.path.dirname(mod_file) # We add this dir to sys.path so the m...
Fix: allow to laod pyc file for modules
py
diff --git a/bytecode/tests/__init__.py b/bytecode/tests/__init__.py index <HASH>..<HASH> 100644 --- a/bytecode/tests/__init__.py +++ b/bytecode/tests/__init__.py @@ -36,7 +36,7 @@ def _format_instr_list(block, labels, lineno): instr_list.append(text) return '[%s]' % ',\n '.join(instr_list) -def dump_c...
tests: rename dump_code to dump_bytecode
py
diff --git a/gcloud/datastore/dataset.py b/gcloud/datastore/dataset.py index <HASH>..<HASH> 100644 --- a/gcloud/datastore/dataset.py +++ b/gcloud/datastore/dataset.py @@ -23,7 +23,14 @@ from gcloud.datastore.transaction import Transaction class Dataset(object): - """Convenience wrapper for invoking APIs/factori...
Add ctor args to class docstring. [ci skip]
py
diff --git a/jaraco/windows/dpapi.py b/jaraco/windows/dpapi.py index <HASH>..<HASH> 100644 --- a/jaraco/windows/dpapi.py +++ b/jaraco/windows/dpapi.py @@ -19,11 +19,12 @@ class DATA_BLOB(ctypes.Structure): A data blob structure for use with MS DPAPI functions. Initialize with string of characters - >>> blob = ...
Rewrite test that fails on Python 2.
py
diff --git a/command/build_py.py b/command/build_py.py index <HASH>..<HASH> 100644 --- a/command/build_py.py +++ b/command/build_py.py @@ -190,9 +190,9 @@ class build_py (Command): if not os.path.isfile(module_file): self.warn("file %s (for module %s) not found" % (module_fi...
Revert 0/1 -> False/True change; I didn't intend to muck w/ distutils.
py
diff --git a/src/sagemaker/session.py b/src/sagemaker/session.py index <HASH>..<HASH> 100644 --- a/src/sagemaker/session.py +++ b/src/sagemaker/session.py @@ -357,6 +357,8 @@ class Session(object): # pylint: disable=too-many-public-methods def default_bucket(self): """Return the name of the default bucke...
documentation: clarify that default_bucket creates a bucket (#<I>)
py
diff --git a/openfisca_core/formulas.py b/openfisca_core/formulas.py index <HASH>..<HASH> 100644 --- a/openfisca_core/formulas.py +++ b/openfisca_core/formulas.py @@ -96,6 +96,11 @@ class AlternativeFormula(AbstractFormula): requested_formulas.remove(self) return array + def graph_parameters(self...
Add missing method graph_parameters to AlternativeFormula.
py
diff --git a/test/test_big_phi.py b/test/test_big_phi.py index <HASH>..<HASH> 100644 --- a/test/test_big_phi.py +++ b/test/test_big_phi.py @@ -590,9 +590,9 @@ def test_big_mip_bipartitions(): answer = [models.Cut((1,), (2, 3, 4)), models.Cut((2,), (1, 3, 4)), models.Cut((3...
Update `test_big_phi` to new 'of one' part order
py
diff --git a/phy/scripts/phy_script.py b/phy/scripts/phy_script.py index <HASH>..<HASH> 100644 --- a/phy/scripts/phy_script.py +++ b/phy/scripts/phy_script.py @@ -120,7 +120,6 @@ class ParserCreator(object): epilog=_examples, formatter_class=CustomFormatter,...
Fix issue #<I> The main parser's defaults overwrite the subparser so `func` is None on some systems (why this doesn't happen everywhere, I have no idea).
py