diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/core/eolearn/core/visualizations.py b/core/eolearn/core/visualizations.py index <HASH>..<HASH> 100644 --- a/core/eolearn/core/visualizations.py +++ b/core/eolearn/core/visualizations.py @@ -262,7 +262,14 @@ def plot2(eopatch, front=None, back=None, background=None, time=None, alpha=None return hmap * ...
added plot_one() and plot() functions plot() works for base layer, without front
py
diff --git a/nestcheck/plots.py b/nestcheck/plots.py index <HASH>..<HASH> 100644 --- a/nestcheck/plots.py +++ b/nestcheck/plots.py @@ -306,7 +306,7 @@ def bs_param_dists(run_list, **kwargs): 'There should be the same number of axes and labels') width_ratios = [40] * len(fthetas) + [1] * len(run_list) ...
making bs dist plot spacing a little bigger
py
diff --git a/tests/api_tests.py b/tests/api_tests.py index <HASH>..<HASH> 100755 --- a/tests/api_tests.py +++ b/tests/api_tests.py @@ -28,6 +28,12 @@ class TestAPI(unittest.TestCase): self.assertTrue(d.connected) def test_medium_motor(self): + def dummy(self): + pass + + # Do no...
Remove motor destructor before running motor test So that the fake tree stays intact and git stays clean
py
diff --git a/penn/laundry.py b/penn/laundry.py index <HASH>..<HASH> 100644 --- a/penn/laundry.py +++ b/penn/laundry.py @@ -1,10 +1,12 @@ import re +import os import csv import requests import pkg_resources from bs4 import BeautifulSoup -ALL_URL = 'http://suds.kite.upenn.edu/?location=' +LAUNDRY_DOMAIN = os.envir...
fix #<I>, add environment variable for laundry domain
py
diff --git a/httpbin/core.py b/httpbin/core.py index <HASH>..<HASH> 100644 --- a/httpbin/core.py +++ b/httpbin/core.py @@ -164,12 +164,12 @@ def view_get(): return jsonify(get_dict('url', 'args', 'headers', 'origin')) -@app.route('/anything') -@app.route('/anything/<path:anything>') +@app.route('/anything', me...
Allow all methods on /anything
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -48,6 +48,15 @@ def get_package_data(): files += ['SDL2.framework/Versions/A/SDL2'] return files +def get_long_description(): + """Return this projects description.""" + with open('README.rst', 'r') as f:...
Hide 'Unreleased' changelog item from deployment desc.
py
diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py index <HASH>..<HASH> 100644 --- a/salt/utils/cloud.py +++ b/salt/utils/cloud.py @@ -960,6 +960,10 @@ def deploy_script(host, port=22, timeout=900, username='root', 'event', '{0} has been deployed at {1}'.format(name, host), ...
break out fields in event fired instead of parsing out of plain text
py
diff --git a/py/execnet/gateway.py b/py/execnet/gateway.py index <HASH>..<HASH> 100644 --- a/py/execnet/gateway.py +++ b/py/execnet/gateway.py @@ -136,8 +136,14 @@ class Gateway(object): self._traceex(exc_info()) break finally: + # XXX we need to signal fat...
[svn r<I>] still notify callbacks if we can't send to the other side anymore. --HG-- branch : trunk
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ with open('README.rst') as f: extras_require = { 'voice': ['PyNaCl>=1.3.0,<1.5'], 'docs': [ - 'sphinx==1.8.5', + 'sphinx==2.4.4', 'sphinxcontrib_trio==1.1.1', 'sphinxco...
Bump Sphinx to <I>
py
diff --git a/curdling/install.py b/curdling/install.py index <HASH>..<HASH> 100644 --- a/curdling/install.py +++ b/curdling/install.py @@ -256,7 +256,7 @@ class Install(SignalEmitter): _, requirement = self.mapping.best_version(package_name) except VersionConflict: ...
Update the uploader to use the new mapping API
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,11 +32,11 @@ if __name__ == "__main__": name='basis_set_exchange', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), - description='The Quantum Chemistry Basis Set Exch...
Add regex to setup.py
py
diff --git a/see/context/resources/network.py b/see/context/resources/network.py index <HASH>..<HASH> 100644 --- a/see/context/resources/network.py +++ b/see/context/resources/network.py @@ -76,15 +76,15 @@ def create(hypervisor, identifier, configuration): """ with open(configuration['configuration']) as x...
network: fix creation attempts error handling The XML configuration was overwritten thus causing the next attempt to fail because the IP being already set within it.
py
diff --git a/bokeh/server/wsmanager.py b/bokeh/server/wsmanager.py index <HASH>..<HASH> 100644 --- a/bokeh/server/wsmanager.py +++ b/bokeh/server/wsmanager.py @@ -1,4 +1,5 @@ import uuid +import atexit import logging from .. import protocol from flask import request @@ -29,7 +30,12 @@ class WebSocketManager(object...
Add a sanity check if all websocket connections were closed
py
diff --git a/fedmsg_atomic_composer/composer.py b/fedmsg_atomic_composer/composer.py index <HASH>..<HASH> 100644 --- a/fedmsg_atomic_composer/composer.py +++ b/fedmsg_atomic_composer/composer.py @@ -128,11 +128,12 @@ class AtomicComposer(fedmsg.consumers.FedmsgConsumer): def compose_complete(self, repo): ...
Log a message when we're done
py
diff --git a/benchexec/tools/witnesslint.py b/benchexec/tools/witnesslint.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/witnesslint.py +++ b/benchexec/tools/witnesslint.py @@ -21,8 +21,14 @@ class Tool(benchexec.tools.template.BaseTool2): def name(self): return "witnesslint" + def version(self...
Add version and distinguish linter error from faulty witness.
py
diff --git a/ReText/window.py b/ReText/window.py index <HASH>..<HASH> 100644 --- a/ReText/window.py +++ b/ReText/window.py @@ -381,20 +381,9 @@ class ReTextWindow(QMainWindow): webView = QWebView() if not globalSettings.handleWebLinks: webView.page().setLinkDelegationPolicy(QWebPage.DelegateExternalLinks) - ...
Remove linkClicked() hack, no longer needed Modern versions of Qt WebKit handle local links correctly without this hack.
py
diff --git a/documenteer/stackdocs/build.py b/documenteer/stackdocs/build.py index <HASH>..<HASH> 100644 --- a/documenteer/stackdocs/build.py +++ b/documenteer/stackdocs/build.py @@ -197,7 +197,8 @@ def find_package_docs(package_dir): - ``static_doc_dirs`` (`dict`). Keys are directory names relative to ...
Clarify in docs/ that statics field is optional static field in manifest.yaml is not required.
py
diff --git a/lib/SVG/Bar.py b/lib/SVG/Bar.py index <HASH>..<HASH> 100644 --- a/lib/SVG/Bar.py +++ b/lib/SVG/Bar.py @@ -194,7 +194,10 @@ class VerticalBar( Bar ): # adapted from Plot def get_data_values( self ): min_value, max_value, scale_division = self.data_range() - return tuple( float_range( min_value, m...
Fixed issue of y axis labels appearing as floats (<I>) even when they're scaled to integers.
py
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index <HASH>..<HASH> 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -375,7 +375,15 @@ class GroupMixin: The command that was removed. If the name is not valid then `None` is returned inste...
[commands] Remove all aliases if the main command is being deleted.
py
diff --git a/nomad/api/job.py b/nomad/api/job.py index <HASH>..<HASH> 100644 --- a/nomad/api/job.py +++ b/nomad/api/job.py @@ -189,7 +189,7 @@ class Job(object): """ return self._post(id, "evaluate") - def plan_job(self, id, job, diff=False): + def plan_job(self, id, job, diff=False, policy_ov...
Plan job, setdefault Diff (#<I>) * use setdefault to set Diff to method default "False" if it does not currently exist in the Job payload * add policy_override
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,22 +4,23 @@ setup( name='jmbo-banner', version='0.4', description='Jmbo banner app.', - long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read...
Added object-tools to dependencies
py
diff --git a/hypercorn/asyncio/run.py b/hypercorn/asyncio/run.py index <HASH>..<HASH> 100644 --- a/hypercorn/asyncio/run.py +++ b/hypercorn/asyncio/run.py @@ -6,7 +6,7 @@ import sys import warnings from multiprocessing.synchronize import Event as EventType from socket import socket -from typing import Any, Callable,...
Bugfix restore _raise_shutdown signal handler This means the workers gracefully shutdown on Windows correctly, as well as Linux. I'm not sure why it works though...
py
diff --git a/flubber/tasks.py b/flubber/tasks.py index <HASH>..<HASH> 100644 --- a/flubber/tasks.py +++ b/flubber/tasks.py @@ -85,7 +85,6 @@ class Task(tasklet): may be specified. *throw_args* should be the same as the arguments to raise; either an exception instance or an exc_info tuple. - ...
Don't unschedule the current task on Task.kill Schedule the operation to be run as soon as possible
py
diff --git a/phy/io/store.py b/phy/io/store.py index <HASH>..<HASH> 100644 --- a/phy/io/store.py +++ b/phy/io/store.py @@ -435,6 +435,12 @@ class ClusterStore(object): """List of registered store items.""" return self._items + def get_item(self, name): + """Return a store item from its nam...
Added get_item() method in cluster store.
py
diff --git a/lib/bibformat_bfx_engine.py b/lib/bibformat_bfx_engine.py index <HASH>..<HASH> 100644 --- a/lib/bibformat_bfx_engine.py +++ b/lib/bibformat_bfx_engine.py @@ -122,7 +122,7 @@ class BFXParser: if self.start_template_name: start_template = self.templates[self.start_template_name]['node']...
Commented unnecessary warnings that were sometimes called in wrong occasions.
py
diff --git a/Entity.py b/Entity.py index <HASH>..<HASH> 100644 --- a/Entity.py +++ b/Entity.py @@ -1,6 +1,7 @@ import json import uuid import KeyGenerator +from config import logger def undef(): @@ -35,11 +36,16 @@ class ComplexEncoder(json.JSONEncoder): def obj_from_dict(obj_type,dictionary): treated={...
Clarifies the error in case the model of the objects is not in sync with the model of the API (API update, things like that)
py
diff --git a/iarm/arm_instructions/unconditional_branch.py b/iarm/arm_instructions/unconditional_branch.py index <HASH>..<HASH> 100644 --- a/iarm/arm_instructions/unconditional_branch.py +++ b/iarm/arm_instructions/unconditional_branch.py @@ -43,7 +43,7 @@ class UnconditionalBranch(_Meta): # BL label ...
Fixed BL and BLX. We didnt need the <I> or the -2
py
diff --git a/raiden/blockchain/abi.py b/raiden/blockchain/abi.py index <HASH>..<HASH> 100644 --- a/raiden/blockchain/abi.py +++ b/raiden/blockchain/abi.py @@ -151,6 +151,21 @@ def validate_solc(): raise RuntimeError(msg) + except OSError as e: + msg = ( + 'The solidity compiler failed ...
improvement: handling OSError when running solc If the solc binary doesn't have the executable flag set, or if the executable is compiled to a different architecture, the OSError exception will be raised. This handles the exception and suggests a solution for the problem.
py
diff --git a/jobexec/executor.py b/jobexec/executor.py index <HASH>..<HASH> 100755 --- a/jobexec/executor.py +++ b/jobexec/executor.py @@ -66,10 +66,14 @@ def fetch_job(): #TODO: Ugly hack conf = os.uname() output = "Operating system: %s %s (%s)\n"%(conf[0], conf[2], conf[4]) - proc=subprocess.Popen(["ja...
Deal with non-existent java on execution host
py
diff --git a/PlugIns/EELSAcq_Phil/PlugIn.py b/PlugIns/EELSAcq_Phil/PlugIn.py index <HASH>..<HASH> 100644 --- a/PlugIns/EELSAcq_Phil/PlugIn.py +++ b/PlugIns/EELSAcq_Phil/PlugIn.py @@ -324,7 +324,7 @@ class PhilEELSAcquireControlView(Panel.Panel): # this next section sets up the eels_raw_data_item to be the ...
Update channel setup call to use new document model method. Was svn r<I>
py
diff --git a/hotdoc/extensions/gst/gst_extension.py b/hotdoc/extensions/gst/gst_extension.py index <HASH>..<HASH> 100644 --- a/hotdoc/extensions/gst/gst_extension.py +++ b/hotdoc/extensions/gst/gst_extension.py @@ -867,7 +867,7 @@ class GstExtension(Extension): comment.short_description = Comment( ...
gst: Fix change in page name from previous commit We want element pages to have the name of the element not `element-ElementName`.
py
diff --git a/jaraco/mongodb/oplog.py b/jaraco/mongodb/oplog.py index <HASH>..<HASH> 100644 --- a/jaraco/mongodb/oplog.py +++ b/jaraco/mongodb/oplog.py @@ -160,7 +160,7 @@ def main(): start = _calculate_start(args) - logging.info("starting from %s", start) + logging.info("starting from %s (%s)", start, st...
Include human-readable datetime in startup message.
py
diff --git a/git/test/test_git.py b/git/test/test_git.py index <HASH>..<HASH> 100644 --- a/git/test/test_git.py +++ b/git/test/test_git.py @@ -180,7 +180,7 @@ class TestGit(TestBase): # test a good path refresh which_cmd = "where" if is_win else "which" - path = os.popen("{0} git".format(whic...
BF(WIN): where could report multiple hits, so choose first
py
diff --git a/src/astral/__init__.py b/src/astral/__init__.py index <HASH>..<HASH> 100644 --- a/src/astral/__init__.py +++ b/src/astral/__init__.py @@ -115,7 +115,7 @@ def latlng_to_float(dms: str, limit: float) -> float: try: res = float(dms) except ValueError: - _dms_re = r"(?P<deg>\d{1,3})[°...
Corrected re. "dms" can be negative
py
diff --git a/src/Exscript/external/otp/otp.py b/src/Exscript/external/otp/otp.py index <HASH>..<HASH> 100644 --- a/src/Exscript/external/otp/otp.py +++ b/src/Exscript/external/otp/otp.py @@ -91,7 +91,7 @@ def generate(passphrase, seed, hashmodule = _HASHMODULE[hashfunction] folder = _FOLDFUNCTION[hashfunction...
fix: don't lower case the seed on OTP
py
diff --git a/version.py b/version.py index <HASH>..<HASH> 100755 --- a/version.py +++ b/version.py @@ -1,2 +1,2 @@ #/usr/bin/env python -VERSION = '1.3.0-s1022' +VERSION = '1.3.0-s1112'
Ready for version <I>-s<I>
py
diff --git a/extmod/uasyncio/core.py b/extmod/uasyncio/core.py index <HASH>..<HASH> 100644 --- a/extmod/uasyncio/core.py +++ b/extmod/uasyncio/core.py @@ -215,20 +215,20 @@ def run(coro): class Loop: - def create_task(self, coro): + def create_task(coro): return create_task(coro) - def run_fore...
extmod/uasyncio: Don't create a Loop instance in get_event_loop(). The event loop is (for now) just a singleton so make it so that Loop instances are not needed.
py
diff --git a/virtualbmc/virtualbmc.py b/virtualbmc/virtualbmc.py index <HASH>..<HASH> 100644 --- a/virtualbmc/virtualbmc.py +++ b/virtualbmc/virtualbmc.py @@ -155,7 +155,8 @@ class VirtualBMC(bmc.Bmc): try: with libvirt_open(self.libvirt_uri) as conn: domain = get_libvirt_domain(c...
Check VM state prior to power it on/off This patch is adding a simple check prior to trying to power a VM on/off. This is just to avoid libvirt from complaining that the VM is already at the requested state.
py
diff --git a/tensorboard/util/encoder_test.py b/tensorboard/util/encoder_test.py index <HASH>..<HASH> 100644 --- a/tensorboard/util/encoder_test.py +++ b/tensorboard/util/encoder_test.py @@ -29,11 +29,9 @@ class TensorFlowPngEncoderTest(tf.test.TestCase): ) def _check_png(self, data): - # If it h...
Remove extraneous check on encoded data length (#<I>) The encoded data length is something that can change over time with improvements to the underlying compression. We trust the underlying `encode_op`, so just checking that that we have a valid PNG header is sufficient.
py
diff --git a/mmcv/utils/progressbar.py b/mmcv/utils/progressbar.py index <HASH>..<HASH> 100644 --- a/mmcv/utils/progressbar.py +++ b/mmcv/utils/progressbar.py @@ -32,8 +32,9 @@ class ProgressBar: self.file.flush() self.timer = Timer() - def update(self): - self.completed += 1 + def upda...
Support update specific steps (#<I>)
py
diff --git a/openquake/hazardlib/lt.py b/openquake/hazardlib/lt.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/lt.py +++ b/openquake/hazardlib/lt.py @@ -344,6 +344,8 @@ def latin_choice(weights, size, seed): """ numpy.random.seed(seed) idxs = numpy.argsort(numpy.random.uniform(size=size)) + ...
Added comments [skip CI]
py
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -1017,7 +1017,8 @@ def check_main_entries_in_the_name_table(fb, font, font_file): def family_with_spaces(value): FAMILY_WITH_SPACES_EXCEPTIONS = {'VT323': 'VT...
check-ttf.py: Added "Amatica SC" to "FAMILY_WITH_SPACES_EXCEPTIONS".
py
diff --git a/celerybeatmongo/models.py b/celerybeatmongo/models.py index <HASH>..<HASH> 100644 --- a/celerybeatmongo/models.py +++ b/celerybeatmongo/models.py @@ -45,7 +45,7 @@ class PeriodicTask(Document): hour = StringField() day_of_week = StringField() day_of_month = StringField() - ...
Fix: 'Crontab' object has no attribute 'month_of_year'
py
diff --git a/glad/parse.py b/glad/parse.py index <HASH>..<HASH> 100644 --- a/glad/parse.py +++ b/glad/parse.py @@ -33,7 +33,7 @@ class Spec(object): @classmethod def from_svn(cls): - return cls.from_url(cls.URL + cls.NAME + '.xml') + return cls.from_url(cls.API + cls.NAME + '.xml') @cla...
glad: fixed downlooading of specs
py
diff --git a/teslajsonpy/controller.py b/teslajsonpy/controller.py index <HASH>..<HASH> 100644 --- a/teslajsonpy/controller.py +++ b/teslajsonpy/controller.py @@ -169,6 +169,8 @@ async def wake_up(wrapped, instance, args, kwargs) -> Callable: _LOGGER.debug( "Exception: %s\n%s(%s %s)", str(...
fix: treat <I> exceptions as vehicle asleep
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,33 @@ +import codecs import os +import re from setuptools import setup + +here = os.path.abspath(os.path.dirname(__file__)) + + +# Read the version number from a source file. +# Why read it, and not import? +# http...
Fix #<I>: Can't install django-seed without installing Django first
py
diff --git a/tests/test_codec_context.py b/tests/test_codec_context.py index <HASH>..<HASH> 100644 --- a/tests/test_codec_context.py +++ b/tests/test_codec_context.py @@ -255,7 +255,7 @@ class TestCodecContext(TestCase): container = av.open(fate_suite('audio-reference/chorusnoise_2ch_44kHz_s16.wav')) ...
Use the codec name instead of Codec repr in a path for testing.
py
diff --git a/canmatrix/exportkcd.py b/canmatrix/exportkcd.py index <HASH>..<HASH> 100644 --- a/canmatrix/exportkcd.py +++ b/canmatrix/exportkcd.py @@ -49,10 +49,9 @@ def createSignal(signal, nodeList, typeEnums): for attrib,val in sorted(signal._attributes.items()): try: - val = float(val) - ...
bugfix in signal attribute to kcd notes. use int for index into type enums array.
py
diff --git a/weditor/__main__.py b/weditor/__main__.py index <HASH>..<HASH> 100644 --- a/weditor/__main__.py +++ b/weditor/__main__.py @@ -202,6 +202,10 @@ def main(): create_shortcut() return + if sys.platform == 'win32' and sys.version_info[:2] == (3, 8): + import asyncio + asynci...
try to fix not working on py<I> bug
py
diff --git a/liquid_tags/include_code.py b/liquid_tags/include_code.py index <HASH>..<HASH> 100644 --- a/liquid_tags/include_code.py +++ b/liquid_tags/include_code.py @@ -18,7 +18,7 @@ Example ------- {% include_code myscript.py %} -This will import myscript.py from content/downloads/code/myscript.py +This will imp...
Remove incorrect folder from description in docs Plugin reads files from `content/code/`, instead of `content/downloads/code/`.
py
diff --git a/pprofile.py b/pprofile.py index <HASH>..<HASH> 100755 --- a/pprofile.py +++ b/pprofile.py @@ -147,12 +147,16 @@ class Profile(object): self.disable() def _traceEvent(self, frame, event): - print >> sys.stderr, '%10.6f%s%s %s:%s %s' % ( + f_code = frame.f_code + lineno = frame...
Display frame (function, class, ...) name and line offset when tracing.
py
diff --git a/tests/test_modeling_pegasus.py b/tests/test_modeling_pegasus.py index <HASH>..<HASH> 100644 --- a/tests/test_modeling_pegasus.py +++ b/tests/test_modeling_pegasus.py @@ -20,8 +20,8 @@ class PegasusXSUMIntegrationTest(AbstractSeq2SeqIntegrationTest): checkpoint_name = "google/pegasus-xsum" src_tex...
Fix pegasus-xsum integration test (#<I>)
py
diff --git a/theanets/feedforward.py b/theanets/feedforward.py index <HASH>..<HASH> 100644 --- a/theanets/feedforward.py +++ b/theanets/feedforward.py @@ -284,7 +284,7 @@ class Network(object): k = len(self.layers) // 2 encode = np.asarray(self.layers[:k]) decode = np.asarray(self...
Use equality with all() for palindrome check.
py
diff --git a/spinoff/contrib/filetransfer/filetransfer.py b/spinoff/contrib/filetransfer/filetransfer.py index <HASH>..<HASH> 100644 --- a/spinoff/contrib/filetransfer/filetransfer.py +++ b/spinoff/contrib/filetransfer/filetransfer.py @@ -270,8 +270,7 @@ class FileHandle(object): def _read_multipart(self, total_si...
Assert that FileHandles as opened before using
py
diff --git a/openquake/server/db/models.py b/openquake/server/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/server/db/models.py +++ b/openquake/server/db/models.py @@ -124,7 +124,7 @@ class OqJob(djm.Model): (u'clean_up', u'Cleaning up'), (u'complete', u'Complete'), ) - status = djm...
Changed the default job status to 'executing' (was 'pre_executing')
py
diff --git a/ptpython/entry_points/run_ptpython.py b/ptpython/entry_points/run_ptpython.py index <HASH>..<HASH> 100644 --- a/ptpython/entry_points/run_ptpython.py +++ b/ptpython/entry_points/run_ptpython.py @@ -8,9 +8,9 @@ Usage: ptpython -h | --help Options: - --vi : Use Vi keybindings i...
Added -i option for ptpython.
py
diff --git a/alerta/alert.py b/alerta/alert.py index <HASH>..<HASH> 100755 --- a/alerta/alert.py +++ b/alerta/alert.py @@ -134,7 +134,7 @@ class Alert(object): raise ValueError('Could not parse alert - %s: %s' % (e, alert)) for k, v in alert.items(): - if k in ['createTime', 'receiveT...
expireTime attribute was deprecated long ago
py
diff --git a/manage.py b/manage.py index <HASH>..<HASH> 100755 --- a/manage.py +++ b/manage.py @@ -3,10 +3,9 @@ import os import sys +from django.core.management import execute_from_command_line if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "openstack_dashboard.settings") - - ...
Fix PEP8 issues. Fix some pep8 issues in manage.py make the code looks pretty. Change-Id: I0e<I>ed<I>dbef9ab<I>a3c<I>e<I>ac<I>e4afc<I>e
py
diff --git a/webex/timezone.py b/webex/timezone.py index <HASH>..<HASH> 100644 --- a/webex/timezone.py +++ b/webex/timezone.py @@ -1,7 +1,7 @@ from sanetime import sanetime TIMEZONE_DATA = ( # webex_timezone_id, webex_timezone, python_timezone_label(s) - (0, 'GMT-12:00, Dateline (Eniwetok)'), # has no standard ...
add standard timezone for 0 -- cuz some customers have that
py
diff --git a/gptools/utils.py b/gptools/utils.py index <HASH>..<HASH> 100644 --- a/gptools/utils.py +++ b/gptools/utils.py @@ -390,12 +390,22 @@ def unique_rows(arr): # Handle bug in numpy 1.6.2: rows = [_Row(row) for row in b] srt_idx = sorted(range(len(rows)), key=rows.__getitem__) + ...
Yet another tweak to unique_rows.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,10 +31,12 @@ setup( 'flatpak-module-tools >= 0.11,!=0.13,<=0.13.1;python_version<"3.9"', 'flatpak-module-tools >= 0.11;python_version>="3.9"', 'jsonschema', + 'paramiko>=2.10.1', ...
Add missing deps in setup.py The setup.py and requirements.in dependencies should generally be kept in sync. The only current exception from requirements.in is cryptography<<I>, which doesn't specify a direct dependency but only constrains the version of an indirect dependency (and not even for runtime reasons, it is ...
py
diff --git a/raven/transport.py b/raven/transport.py index <HASH>..<HASH> 100644 --- a/raven/transport.py +++ b/raven/transport.py @@ -1,6 +1,5 @@ import urllib2 from socket import socket, AF_INET, SOCK_DGRAM, error as socket_error -from collections import Iterable try: from gevent import spawn @@ -244,7 +243...
Fix for Python <I> compatibility - collections.Iterable is only present in Python >= <I>
py
diff --git a/skew/awsclient.py b/skew/awsclient.py index <HASH>..<HASH> 100644 --- a/skew/awsclient.py +++ b/skew/awsclient.py @@ -78,7 +78,8 @@ class AWSClient(object): pill.record() elif self.placebo_mode == 'playback': pill.playback() - return session.client(self...
Fix client creation when service has no region
py
diff --git a/lib/drizzlepac/tweakreg.py b/lib/drizzlepac/tweakreg.py index <HASH>..<HASH> 100644 --- a/lib/drizzlepac/tweakreg.py +++ b/lib/drizzlepac/tweakreg.py @@ -12,7 +12,7 @@ import util # from these variable definitions, allowing the values to be designated # in one location only. __version__ = '1.0.0' -__vd...
tweakreg version ID updated to reflect bug fix in STWCS (r<I>) to turn off initialization of WCSCORR table for simple FITS files (or files that have SCI array in the PRIMARY extension. git-svn-id: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ setup( scripts=[ 'bin/skinfer', 'bin/schema_merger', - 'bin/schema_validator' + 'bin/json_validator' ], include_package_data=True, install_requires=[
fix script name also in setup.py
py
diff --git a/autoapi/mappers/base.py b/autoapi/mappers/base.py index <HASH>..<HASH> 100644 --- a/autoapi/mappers/base.py +++ b/autoapi/mappers/base.py @@ -5,6 +5,7 @@ from collections import OrderedDict, namedtuple import unidecode from jinja2 import Environment, FileSystemLoader, TemplateNotFound +import sphinx.ut...
Fixed usage of deprecated status_indicator This fixes a compatibiity issue with Sphinx <I>
py
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index <HASH>..<HASH> 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -71,7 +71,8 @@ _SPECIAL_METHODS_PARAMS = { '__rand__', '__rxor__', '__ror__', '__iadd__', '__isub__', '__imul__', '__itruediv__', '__ifloordiv__...
Add the new __matmul__ and __rmatmul__ dunder methods to the list of known special methods.
py
diff --git a/fhub_core/validation.py b/fhub_core/validation.py index <HASH>..<HASH> 100644 --- a/fhub_core/validation.py +++ b/fhub_core/validation.py @@ -236,6 +236,12 @@ class PullRequestFeatureValidator: if self.features is None: raise ValueError('Features have not been collected.') + ...
Validation fails if no new features are detected
py
diff --git a/salt/cli/__init__.py b/salt/cli/__init__.py index <HASH>..<HASH> 100644 --- a/salt/cli/__init__.py +++ b/salt/cli/__init__.py @@ -53,7 +53,7 @@ class SaltCMD(parsers.SaltCMDOptionParser): self.setup_logfile_logger() try: - local = salt.client.LocalClient(self.get_config_file_...
Use get_local_client in salt cli tool
py
diff --git a/gandi/cli/tests/commands/base.py b/gandi/cli/tests/commands/base.py index <HASH>..<HASH> 100644 --- a/gandi/cli/tests/commands/base.py +++ b/gandi/cli/tests/commands/base.py @@ -10,6 +10,9 @@ class CommandTestCase(unittest.TestCase): def setUp(self): self.runner = CliRunner() GandiMo...
Add missing api configuration for tests fixture
py
diff --git a/examples/python/route_guide/route_guide_client.py b/examples/python/route_guide/route_guide_client.py index <HASH>..<HASH> 100644 --- a/examples/python/route_guide/route_guide_client.py +++ b/examples/python/route_guide/route_guide_client.py @@ -17,7 +17,6 @@ from __future__ import print_function impor...
Kill off unnecessary sleep in route_guide example
py
diff --git a/scour/scour.py b/scour/scour.py index <HASH>..<HASH> 100644 --- a/scour/scour.py +++ b/scour/scour.py @@ -2922,6 +2922,9 @@ def scourString(in_string, options=None): if options.strip_comments: numCommentsRemoved = removeComments(doc) + if options.strip_xml_space_attribute and doc.documentEle...
Add an option to strip the xml:space="preserve" attribute from the root SVG element This attribute is added by at least one popular vector graphics editor thwarting our efforts to pretty-print the output.
py
diff --git a/zappa/wsgi.py b/zappa/wsgi.py index <HASH>..<HASH> 100644 --- a/zappa/wsgi.py +++ b/zappa/wsgi.py @@ -69,7 +69,7 @@ def create_wsgi_request(event_info, server_name='zappa', script_name=None, } # Input processing - if method == "POST": + if method == "POST" or method =="PUT...
set CONTENT_LENGTH for PUT requests
py
diff --git a/drongo/utils/endpoint.py b/drongo/utils/endpoint.py index <HASH>..<HASH> 100644 --- a/drongo/utils/endpoint.py +++ b/drongo/utils/endpoint.py @@ -58,6 +58,7 @@ class APIEndpoint(Endpoint): def error(self, group='_', message=''): self.errors.setdefault(group, []).append(message) + sel...
Setting valid to false in case of error.
py
diff --git a/blockstack_cli_0.14.1/blockstack_client/data.py b/blockstack_cli_0.14.1/blockstack_client/data.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/data.py +++ b/blockstack_cli_0.14.1/blockstack_client/data.py @@ -286,11 +286,15 @@ def list_update_history( name, current_block=None, ...
give back blockchain-ordered zonefile history
py
diff --git a/topydo/cli/CLIApplicationBase.py b/topydo/cli/CLIApplicationBase.py index <HASH>..<HASH> 100755 --- a/topydo/cli/CLIApplicationBase.py +++ b/topydo/cli/CLIApplicationBase.py @@ -171,7 +171,7 @@ class CLIApplicationBase(object): """ Returns a function that retrieves user input. ""...
Return the input function indicated by six.moves.
py
diff --git a/dev/release_utils.py b/dev/release_utils.py index <HASH>..<HASH> 100644 --- a/dev/release_utils.py +++ b/dev/release_utils.py @@ -98,7 +98,7 @@ class TravisChecker(object): 'Please export your GitHub PAT as the "GITHUB_TOKEN" env var' ) logger.debug('Connecting to Tra...
update for travis-ci.org to .com migration
py
diff --git a/neuropythy/__init__.py b/neuropythy/__init__.py index <HASH>..<HASH> 100644 --- a/neuropythy/__init__.py +++ b/neuropythy/__init__.py @@ -3,5 +3,26 @@ '''Tools for analyzing and registering cortical meshes.''' from .cortex import (cortex_to_mrvolume, CorticalMesh) -from freesurfer import (Hemisphere, S...
Added the subject function and some version info.
py
diff --git a/gpflow/params/parameterized.py b/gpflow/params/parameterized.py index <HASH>..<HASH> 100644 --- a/gpflow/params/parameterized.py +++ b/gpflow/params/parameterized.py @@ -147,6 +147,24 @@ class Parameterized(Node): for param in self.params: param.trainable = value + def assign(sel...
Assign operation for parameterized object.
py
diff --git a/drongo/response.py b/drongo/response.py index <HASH>..<HASH> 100644 --- a/drongo/response.py +++ b/drongo/response.py @@ -51,7 +51,7 @@ class CustomResponse(Response): return [self.body] -class JSONResponse(object): +class JSONResponse(Response): CONTENT_TYPE = 'application/javascript' ...
Inheriting Response class for JSONResponse class.
py
diff --git a/gwpy/cli/cliproduct.py b/gwpy/cli/cliproduct.py index <HASH>..<HASH> 100644 --- a/gwpy/cli/cliproduct.py +++ b/gwpy/cli/cliproduct.py @@ -892,7 +892,7 @@ class TimeDomainProduct(CliProduct): else: epoch = args.epoch if (epoch < 1e8): - args.epoch = epoch + ...
gwpy/cli/cliproduct.py: tweak epoch + start time statement
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,5 +33,5 @@ setup( 'serenata_toolbox.datasets' ], url=REPO_URL, - version='10.0.2' + version='10.0.3' )
Version micro bump for CEAP fetching changes
py
diff --git a/pyethereum/peermanager.py b/pyethereum/peermanager.py index <HASH>..<HASH> 100644 --- a/pyethereum/peermanager.py +++ b/pyethereum/peermanager.py @@ -132,10 +132,14 @@ class PeerManager(StoppableLoopThread): peer.send_GetPeers() def loop_body(self): + "check peer heal...
fix: smoother loop for quicker shutdowns
py
diff --git a/tests/unit/modules/test_kubernetes.py b/tests/unit/modules/test_kubernetes.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_kubernetes.py +++ b/tests/unit/modules/test_kubernetes.py @@ -180,6 +180,8 @@ class KubernetesTestCase(TestCase, LoaderModuleMockMixin): check_path = os.p...
Fix temp directory locaiton on MacOS
py
diff --git a/py3status/modules/taskwarrior.py b/py3status/modules/taskwarrior.py index <HASH>..<HASH> 100644 --- a/py3status/modules/taskwarrior.py +++ b/py3status/modules/taskwarrior.py @@ -13,7 +13,7 @@ Format placeholders: Requires task: https://taskwarrior.org/download/ -@author James Smith http://jazmit.gi...
taskwarrior: replace http with secure https
py
diff --git a/py/testdir_multi_jvm/test_KMeans2_sphere5_bad_inits.py b/py/testdir_multi_jvm/test_KMeans2_sphere5_bad_inits.py index <HASH>..<HASH> 100644 --- a/py/testdir_multi_jvm/test_KMeans2_sphere5_bad_inits.py +++ b/py/testdir_multi_jvm/test_KMeans2_sphere5_bad_inits.py @@ -101,7 +101,7 @@ class Basic(unittest.Test...
changed to PlusPlus init, but still get AssertionError: 0,0,0!=<I>,<I>,<I>. Sorted cluster center 0 x not correct.
py
diff --git a/djangocms_blog/forms.py b/djangocms_blog/forms.py index <HASH>..<HASH> 100644 --- a/djangocms_blog/forms.py +++ b/djangocms_blog/forms.py @@ -97,6 +97,14 @@ class PostAdminFormBase(ConfigFormBase, TranslatableModelForm): return qs.namespace(self.app_config.namespace).active_translations() ...
Ensure only one uniqueness check is performed
py
diff --git a/filer/__init__.py b/filer/__init__.py index <HASH>..<HASH> 100644 --- a/filer/__init__.py +++ b/filer/__init__.py @@ -1,3 +1,3 @@ #-*- coding: utf-8 -*- # version string following pep-0396 and pep-0386 -__version__ = '0.9.4a1.dev1' # pragma: nocover +__version__ = '0.9.4a1' # pragma: nocover
version bump to <I>a1
py
diff --git a/bezier/_intersection_helpers.py b/bezier/_intersection_helpers.py index <HASH>..<HASH> 100644 --- a/bezier/_intersection_helpers.py +++ b/bezier/_intersection_helpers.py @@ -1418,6 +1418,9 @@ class Intersection(object): computed on the fly when first accessed. """ + __slots__ = ('_le...
Adding __slots__ on last remaining class.
py
diff --git a/bibliopixel/util/signal_handler.py b/bibliopixel/util/signal_handler.py index <HASH>..<HASH> 100644 --- a/bibliopixel/util/signal_handler.py +++ b/bibliopixel/util/signal_handler.py @@ -67,8 +67,9 @@ def run(filename, stopper, running = True while running: yield -...
Stop projects from looping (probably fix #<I>)
py
diff --git a/pymola/backends/casadi/model.py b/pymola/backends/casadi/model.py index <HASH>..<HASH> 100644 --- a/pymola/backends/casadi/model.py +++ b/pymola/backends/casadi/model.py @@ -175,6 +175,15 @@ class Model: reduced_equations = [] for eq in self.equations: + if eq.is_...
CasADi model simplification: Detect assignments of the form 'x=0' as constant assignments.
py
diff --git a/dosagelib/plugins/wordpress.py b/dosagelib/plugins/wordpress.py index <HASH>..<HASH> 100644 --- a/dosagelib/plugins/wordpress.py +++ b/dosagelib/plugins/wordpress.py @@ -60,6 +60,7 @@ add('SlightlyDamned', 'http://www.sdamned.com/') add('SPQRBlues', 'http://spqrblues.com/IV/') add('TheDreamlandChronicles...
added TheWebcomicFactory
py
diff --git a/api/src/opentrons/legacy_api/robot/robot.py b/api/src/opentrons/legacy_api/robot/robot.py index <HASH>..<HASH> 100755 --- a/api/src/opentrons/legacy_api/robot/robot.py +++ b/api/src/opentrons/legacy_api/robot/robot.py @@ -300,7 +300,8 @@ class Robot(CommandPublisher): splits[plunger_ax...
fix(api): fix missing arg in v1 move splitting during cache instr models (#<I>)
py
diff --git a/vel/rl/algo/policy_gradient/trpo.py b/vel/rl/algo/policy_gradient/trpo.py index <HASH>..<HASH> 100644 --- a/vel/rl/algo/policy_gradient/trpo.py +++ b/vel/rl/algo/policy_gradient/trpo.py @@ -172,7 +172,7 @@ class TrpoPolicyGradient(AlgoBase): # Optimization failed, revert to initial parameters ...
Fixing bug in TRPO where we didn't return enough values from optimization method.
py
diff --git a/nvr/nvr.py b/nvr/nvr.py index <HASH>..<HASH> 100644 --- a/nvr/nvr.py +++ b/nvr/nvr.py @@ -98,11 +98,14 @@ class Neovim(): if not self.is_attached(silent): return - c = None + c = [] for fname in reversed(arguments): if fname.startswith('+'): - ...
Support multiple + commands and let empty + go to the last line
py
diff --git a/lbattachment/admin.py b/lbattachment/admin.py index <HASH>..<HASH> 100644 --- a/lbattachment/admin.py +++ b/lbattachment/admin.py @@ -7,9 +7,9 @@ from .models import LBAttachment class LBAttachmentAdmin(admin.ModelAdmin): - search_fields = ('user__username', 'filename', 'act_members_param', 'notice...
fix admin.py (user to created_by)
py
diff --git a/salt/modules/slsutil.py b/salt/modules/slsutil.py index <HASH>..<HASH> 100644 --- a/salt/modules/slsutil.py +++ b/salt/modules/slsutil.py @@ -355,6 +355,10 @@ def banner( rgutter = " " + redge textwidth = width - len(lgutter) - len(rgutter) + # Check the width + if textwidth <= 0: + ...
Handle exception in slsutil.banner where width is too small to render
py
diff --git a/LiSE/LiSE/tests/test_examples.py b/LiSE/LiSE/tests/test_examples.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/tests/test_examples.py +++ b/LiSE/LiSE/tests/test_examples.py @@ -1,3 +1,4 @@ +from LiSE import Engine from LiSE.examples import college, kobold, polygons, sickle @@ -19,6 +20,27 @@ def test...
Add a test to catch that load error next time
py
diff --git a/pysoundfile.py b/pysoundfile.py index <HASH>..<HASH> 100644 --- a/pysoundfile.py +++ b/pysoundfile.py @@ -756,6 +756,9 @@ class SoundFile(object): def __getitem__(self, frame): # access the file as if it where a Numpy array. The data is # returned as numpy array. + from warnin...
added deprecation warning to indexing operations
py
diff --git a/Lib/fontParts/world.py b/Lib/fontParts/world.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/world.py +++ b/Lib/fontParts/world.py @@ -347,7 +347,7 @@ def SortFonts(fonts, sortBy="magic"): value = valueGetter(font) sortable.append(value) sortable.append(font) - ...
SortFonts needs to sort a list of tuples
py