diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/run_tests.py b/run_tests.py index <HASH>..<HASH> 100644 --- a/run_tests.py +++ b/run_tests.py @@ -10,10 +10,10 @@ Usage Examples: python run_tests.py # to run a specific test suite imported here - python run_tests.py ExampleTestCase + python run_tests.py tests:ExampleTestCase # to ...
Fix run_tests.py to support running single test cases Former-commit-id: 1caf4e4ce9ea<I>db<I>fca<I>f0ee<I>b
py
diff --git a/fermipy/roi_model.py b/fermipy/roi_model.py index <HASH>..<HASH> 100644 --- a/fermipy/roi_model.py +++ b/fermipy/roi_model.py @@ -2177,7 +2177,11 @@ class ROIModel(fermipy.config.Configurable): hdus = [fits.PrimaryHDU(), hdu_data] fits_utils.write_hdus(hdus, fitsfile) - def write_ds9...
square doesn't exist as shape. adding some tests to ensure valid ds9 region strings are parsed.
py
diff --git a/openstack_dashboard/dashboards/project/access_and_security/tabs.py b/openstack_dashboard/dashboards/project/access_and_security/tabs.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/tabs.py +++ b/openstack_dashboard/dashboards/project/access_and_security/tabs....
Access & security, floating IPs tab cleanup Change-Id: I<I>e<I>fe<I>cd5a<I>a1d<I>c0d<I>dbad1d2e
py
diff --git a/salt/client/__init__.py b/salt/client/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/__init__.py +++ b/salt/client/__init__.py @@ -700,6 +700,7 @@ class LocalClient(object): pub_data['minions'], tim...
Fix localclient We weren't passing in tgt_type to get_iter_returns. This was breaking batch mode for highstates and probably a bunch of other things.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,25 @@ +import re +import sys from setuptools import setup, find_packages -version = "1.2.0" + +def get_version(): + version_re = r"^__version__\s+=\s+['\"]([^'\"]*)['\"]" + version = None + + package_init =...
Now the version is extracted from openquake.engine.__version__ Former-commit-id: 5d<I>c<I>f<I>b<I>b<I>a<I>ccf<I>b<I>
py
diff --git a/pyang/plugins/tree.py b/pyang/plugins/tree.py index <HASH>..<HASH> 100644 --- a/pyang/plugins/tree.py +++ b/pyang/plugins/tree.py @@ -354,9 +354,9 @@ def print_node(s, module, fd, prefix, path, mode, depth, llen, elif s.keyword == 'choice': m = s.search_one('mandatory') if m is None...
don't print flags for choice nodes
py
diff --git a/photutils/segmentation.py b/photutils/segmentation.py index <HASH>..<HASH> 100644 --- a/photutils/segmentation.py +++ b/photutils/segmentation.py @@ -1,6 +1,7 @@ # Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import (absolute_import, division, print_function, ...
Add a SegmentationImage copy method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,12 +16,9 @@ install_requires = [ 'networkx>=2.1', 'numpy>=1.15.2', 'pandas>=0.23.4', - 'pillow>=6.1.0', 'psutil>=5.4.8', 'pymongo>=3.7.2', 'scikit-learn>=0.20.0', - 'scipy>=1.1.0', - ...
remove unused dependencies both tensorflow and pillow appear to be unused
py
diff --git a/review/models.py b/review/models.py index <HASH>..<HASH> 100644 --- a/review/models.py +++ b/review/models.py @@ -61,11 +61,20 @@ class Review(models.Model): # TODO: Add magic to get ReviewExtraInfo content objects here def get_user(self): + """Returns the user who wrote this review or `...
Added docstring for get_user and get_averate_voting
py
diff --git a/pypdflite/pdflite.py b/pypdflite/pdflite.py index <HASH>..<HASH> 100644 --- a/pypdflite/pdflite.py +++ b/pypdflite/pdflite.py @@ -108,7 +108,7 @@ class PDFLite(object): # Catalog object self._put_catalog() # Cross-reference object - self._put_cross_reference() + ...
correctly calculate the startxref value, which is the offset to the start of the (last) xref table, per section <I>
py
diff --git a/django_extensions/management/commands/shell_plus.py b/django_extensions/management/commands/shell_plus.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/shell_plus.py +++ b/django_extensions/management/commands/shell_plus.py @@ -256,7 +256,13 @@ class Command(BaseCommand): ...
backport macos fix for tab completion
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100755 --- a/runtests.py +++ b/runtests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python -Wd import sys import django from django.conf import settings, global_settings as default_settings
Warn for deprecations during tests
py
diff --git a/buckets/__init__.py b/buckets/__init__.py index <HASH>..<HASH> 100644 --- a/buckets/__init__.py +++ b/buckets/__init__.py @@ -1 +1 @@ -__version__ = '0.1.24.post1' +__version__ = '0.1.25'
<I> (#<I>)
py
diff --git a/kafka/producer/base.py b/kafka/producer/base.py index <HASH>..<HASH> 100644 --- a/kafka/producer/base.py +++ b/kafka/producer/base.py @@ -252,11 +252,13 @@ class Producer(object): raise TypeError("the key must be type bytes") if self.async: - put_timeout = self.async_queu...
Fix async producer queue put arguments
py
diff --git a/consul/std.py b/consul/std.py index <HASH>..<HASH> 100644 --- a/consul/std.py +++ b/consul/std.py @@ -14,6 +14,7 @@ class HTTPClient(object): self.port = port self.scheme = scheme self.base_uri = '%s://%s:%s' % (self.scheme, self.host, self.port) + self.session = requests....
Use requests.session for performance By using a persistent requests.session, requests can use [Keep-Alives](<URL>), resulting in better performance, when the client is doing repeated requests to Consul. When testing the ansible consul_io inventory script, it takes ~<I> seconds to hit all nodes without this, and about...
py
diff --git a/pysynphot/Cache.py b/pysynphot/Cache.py index <HASH>..<HASH> 100644 --- a/pysynphot/Cache.py +++ b/pysynphot/Cache.py @@ -10,13 +10,16 @@ Kurucz and Castelli-Kurucz model atlases. """ from __future__ import division, print_function -from locations import RedLaws +from . import locations # if PYSYN_C...
Modify imports, make them explicit relative imports. Cleanup namespace in Cache.py.
py
diff --git a/polysh/remote_dispatcher.py b/polysh/remote_dispatcher.py index <HASH>..<HASH> 100644 --- a/polysh/remote_dispatcher.py +++ b/polysh/remote_dispatcher.py @@ -185,6 +185,11 @@ class remote_dispatcher(buffered_dispatcher): def handle_close(self): + if self.state is STATE_DEAD: + # ...
Make handle_close() save to call multiple times
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -28,14 +28,14 @@ README_contents = open(os.path.join(current_dir, 'README.md'), encoding='utf-8').read() doclines = README_contents.split("\n") dependencies = [ - 'msgpack', 'langcodes >= 1.4.1', '...
Allow a wider range of 'regex' versions The behavior of segmentation shouldn't change within this range, and it includes the version currently used by SpaCy.
py
diff --git a/py/vtdb/vtdb_logger.py b/py/vtdb/vtdb_logger.py index <HASH>..<HASH> 100644 --- a/py/vtdb/vtdb_logger.py +++ b/py/vtdb/vtdb_logger.py @@ -75,6 +75,9 @@ class VtdbLogger(object): def log_private_data(self, private_data): logging.info('Additional exception data %s', private_data) + def warning(sel...
Add a warning method to vtdb.VtdbLogger, so that we can swap it out for different implementations
py
diff --git a/pyrogram/methods/chats/promote_chat_member.py b/pyrogram/methods/chats/promote_chat_member.py index <HASH>..<HASH> 100644 --- a/pyrogram/methods/chats/promote_chat_member.py +++ b/pyrogram/methods/chats/promote_chat_member.py @@ -19,7 +19,7 @@ from typing import Union import pyrogram -from pyrogram imp...
Fix promote_chat_member when adding bots as admins
py
diff --git a/visidata/help.py b/visidata/help.py index <HASH>..<HASH> 100644 --- a/visidata/help.py +++ b/visidata/help.py @@ -27,7 +27,11 @@ class HelpSheet(MetaSheet): cmdlist = VisiDataMetaSheet('cmdlist', source=None) self.cmddict = {} - itcmds = vd.commands.iterall() + if self.sou...
[help-] fix help-commands and help-commands-all #<I> - help-commands was listing all commands; should only list those for the current sheet - help-commands-all was correct; it should show all commands on all sheets
py
diff --git a/tornado/options.py b/tornado/options.py index <HASH>..<HASH> 100644 --- a/tornado/options.py +++ b/tornado/options.py @@ -487,19 +487,17 @@ class _Option(object): pass raise Error('Unrecognized date/time format: %r' % value) - _TIMEDELTA_ABBREVS = [ - ('hours', ['h']),...
Simplify OptionParser._TIMEDELTA_ABBREV_DICT. Cython doesn't like having the more complex logic at class scope.
py
diff --git a/pypeerassets/networks.py b/pypeerassets/networks.py index <HASH>..<HASH> 100644 --- a/pypeerassets/networks.py +++ b/pypeerassets/networks.py @@ -14,6 +14,10 @@ networks = ( Network("Peercoin", "ppc", b'37', b'b7', b'75', b'e6e8e9e5'), # Peercoin testnet Network("Peercoin-testnet", "tppc", b...
Add specifications for Bitcoin mainnet and testnet
py
diff --git a/TodoBase.py b/TodoBase.py index <HASH>..<HASH> 100644 --- a/TodoBase.py +++ b/TodoBase.py @@ -127,6 +127,10 @@ class TodoBase(object): """ Returns a list of contexts associated with this todo item. """ return self.fields['contexts'] + def is_completed(self): + """ Returns True...
Add method to check for task completeness.
py
diff --git a/_pytest/terminal.py b/_pytest/terminal.py index <HASH>..<HASH> 100644 --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -313,8 +313,11 @@ class TerminalReporter: _PROGRESS_LENGTH = len(' [100%]') def _get_progress_information_message(self): - progress = self._progress_items_reported...
Fix ZeroDivisionError with 0 collected tests This can easily happen with pytest-testmon.
py
diff --git a/buildbot/status/builder.py b/buildbot/status/builder.py index <HASH>..<HASH> 100644 --- a/buildbot/status/builder.py +++ b/buildbot/status/builder.py @@ -13,11 +13,7 @@ import gc from cPickle import load, dump from cStringIO import StringIO from bz2 import BZ2File - -try: - from gzip import GzipFile ...
Remove gzip.GzipFile workaround for versions less than python-<I>
py
diff --git a/proso/models/environment.py b/proso/models/environment.py index <HASH>..<HASH> 100644 --- a/proso/models/environment.py +++ b/proso/models/environment.py @@ -142,6 +142,10 @@ class CommonEnvironment(Environment): def confusing_factor_more_items(self, item, items, user=None): pass + @abc....
improve abstraction issues: #<I>
py
diff --git a/tests/plugins/test_koji_promote.py b/tests/plugins/test_koji_promote.py index <HASH>..<HASH> 100644 --- a/tests/plugins/test_koji_promote.py +++ b/tests/plugins/test_koji_promote.py @@ -257,20 +257,6 @@ class TestKojiPromote(object): # Must not have promoted this build assert not hasattr(...
remove test for koji_promote for non-rebuild, not applicable anymore
py
diff --git a/future/tests/test_utils.py b/future/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/future/tests/test_utils.py +++ b/future/tests/test_utils.py @@ -86,7 +86,11 @@ class TestUtils(unittest.TestCase): self.assertEqual(type(t), unicode) else: self.assertEqual(type(t), ...
Add failing test for native(newdict())
py
diff --git a/lark/visitors.py b/lark/visitors.py index <HASH>..<HASH> 100644 --- a/lark/visitors.py +++ b/lark/visitors.py @@ -199,7 +199,7 @@ class Transformer_NonRecursive(Transformer): def transform(self, tree: Tree[_Leaf_T]) -> _Return_T: # Tree to postfix - rev_postfix: List[Union[_Leaf_T, T...
Clean up the internal annotations for Transformer_NonRecursive
py
diff --git a/examples/pipeline.py b/examples/pipeline.py index <HASH>..<HASH> 100644 --- a/examples/pipeline.py +++ b/examples/pipeline.py @@ -22,9 +22,9 @@ async def task(numbers): | paco.filter(filterer) | paco.map(mapper) | paco.dropwhile(drop) - ...
fix(examples): minor linter issues
py
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -696,7 +696,7 @@ class Plugin(object): self._log_info("collecting output of '%s'" % prog) self.get_cmd_output_now(prog, suggest_filename=sug...
[plugin] pass stderr through _collect_cmd_output Commit f<I>efd6 removed passing stderr in _collect_cmd_output to get_cmd_output_now. That prevents passing stderr=False in several scenarios. This fix adds the argument to be passed back. Resolves: #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -97,7 +97,7 @@ install_requires = [ gs = ["gcsfs==2021.7.0"] gdrive = ["pydrive2>=1.8.1", "six >= 1.13.0"] -s3 = ["s3fs==2021.7.0", "aiobotocore[boto3]==1.3.0"] +s3 = ["s3fs==2021.7.0", "aiobotocore[boto3]>1.0.1"] azure =...
setup: relax aiobotocore requirements (#<I>) Fixes #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,8 @@ setup( package_data={'': ['LICENSE']}, packages=find_packages(), install_requires=install_requires, - scripts = ['parsl/executors/mpix/fabric.py'], + scripts = ['parsl/executors/mpix/fabric_...
Adding fabric_threaded and fabric_singe_node as installed scripts
py
diff --git a/tests/test_concordance.py b/tests/test_concordance.py index <HASH>..<HASH> 100644 --- a/tests/test_concordance.py +++ b/tests/test_concordance.py @@ -181,8 +181,8 @@ def test_anib_concordance(): # Process BLAST; the pid data is in anib_data[1] anib_data = anib.process_blast(outdirname, org_leng...
update tests to work with refactored ANIResults
py
diff --git a/i3pystatus/core/util.py b/i3pystatus/core/util.py index <HASH>..<HASH> 100644 --- a/i3pystatus/core/util.py +++ b/i3pystatus/core/util.py @@ -353,12 +353,13 @@ def require(predicate): def internet(): """ - Checks for a internet connection by connecting to 8.8.8.8 (Google DNS) + Checks for a i...
Fix internet() test function The change in commit <I> broke the internet() test function by trying to access the DNS port of "www.google.de", causing it to always return False, which in turn broke all modules calling it. We instead use the actual domain name of Google's DNS server at IP "<I>".
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( include_package_data=True, # Package dependencies. - install_requires=['simplejson', 'requests>=0.13.9'], + install_requires=['simplejson', 'requests>=0.14.0'], # Metadata for PyP...
Posts with files and params works with requests <I> #<I>
py
diff --git a/pebble/pool/process.py b/pebble/pool/process.py index <HASH>..<HASH> 100644 --- a/pebble/pool/process.py +++ b/pebble/pool/process.py @@ -19,6 +19,7 @@ import time from itertools import count from collections import namedtuple from multiprocessing import cpu_count +from multiprocessing.pool import Remot...
Use RemoteTraceback to output the cause of an exception when it is thrown
py
diff --git a/tests/test_resource.py b/tests/test_resource.py index <HASH>..<HASH> 100644 --- a/tests/test_resource.py +++ b/tests/test_resource.py @@ -196,6 +196,15 @@ class TestResource(object): 'invalid_base_path') assert resource.data == b'foo\n' + def test...
Adds test for loading resource with binary data
py
diff --git a/cassandra/protocol.py b/cassandra/protocol.py index <HASH>..<HASH> 100644 --- a/cassandra/protocol.py +++ b/cassandra/protocol.py @@ -30,7 +30,7 @@ from cassandra import (Unavailable, WriteTimeout, ReadTimeout, UserAggregateDescriptor, SchemaTargetType) from cassandra.marshal impor...
Send a flags field (value 0) in PREPARE messages in v5. * Write flags as a <I>-bit unsigned int, not int. * Forgot to import the uint<I>_pack function from the marshal package.
py
diff --git a/smart_selects/widgets.py b/smart_selects/widgets.py index <HASH>..<HASH> 100644 --- a/smart_selects/widgets.py +++ b/smart_selects/widgets.py @@ -106,14 +106,14 @@ class ChainedSelect(JqueryMediaMixin, Select): else: auto_choose = 'false' if choices: - iterator = iter...
Fix StopIteration Exception when use it with django-bootstrap3 and have field without choices
py
diff --git a/src/simple_db_migrate/core.py b/src/simple_db_migrate/core.py index <HASH>..<HASH> 100644 --- a/src/simple_db_migrate/core.py +++ b/src/simple_db_migrate/core.py @@ -19,7 +19,7 @@ class SimpleDBMigrate(object): try: dir_list = os.listdir(path) except OSError: - sel...
Refactoring to show coherent message if the directory informed does not exist.
py
diff --git a/pyamg/blackbox.py b/pyamg/blackbox.py index <HASH>..<HASH> 100644 --- a/pyamg/blackbox.py +++ b/pyamg/blackbox.py @@ -307,7 +307,8 @@ def solve(A, b, x0=None, tol=1e-5, maxiter=400, return_solver=False, iteration[0] = iteration[0] + 1 print(" iteration %d" % iteration[0]) - ...
use a def rather than a lambda function
py
diff --git a/django_constant_contact/tests.py b/django_constant_contact/tests.py index <HASH>..<HASH> 100644 --- a/django_constant_contact/tests.py +++ b/django_constant_contact/tests.py @@ -51,8 +51,8 @@ class ConstantContactTests(unittest.TestCase): def test_create_email_marketing_campaign(self): self.e...
Patched tests to pass under Python <I>.
py
diff --git a/OpenPNM/Physics/models/diffusive_conductance.py b/OpenPNM/Physics/models/diffusive_conductance.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Physics/models/diffusive_conductance.py +++ b/OpenPNM/Physics/models/diffusive_conductance.py @@ -53,10 +53,7 @@ def bulk_diffusion(physics, phase, network, cp = ...
remove throat_diffusivity from diffusive conductance - it was never used or defined!
py
diff --git a/salt/modules/gem.py b/salt/modules/gem.py index <HASH>..<HASH> 100644 --- a/salt/modules/gem.py +++ b/salt/modules/gem.py @@ -201,5 +201,5 @@ def sources_list(ruby=None, runas=None): salt '*' gem.sources_list ''' - ret = _gem('sources', ruby, runas=runas).splitlines()[2:] - return '' ...
Fix traceback in gem.sources_list ccefbd5 did not fix the problem. This should take care of it.
py
diff --git a/cartoframes/data/dataset_base.py b/cartoframes/data/dataset_base.py index <HASH>..<HASH> 100644 --- a/cartoframes/data/dataset_base.py +++ b/cartoframes/data/dataset_base.py @@ -18,14 +18,10 @@ class DatasetBase(): GEOM_TYPE_LINE = 'line' GEOM_TYPE_POLYGON = 'polygon' - def __init__(self, da...
is data the only prop? not sure
py
diff --git a/digitalocean/Domain.py b/digitalocean/Domain.py index <HASH>..<HASH> 100644 --- a/digitalocean/Domain.py +++ b/digitalocean/Domain.py @@ -13,11 +13,11 @@ class Domain(BaseAPI): def load(self): # URL https://api.digitalocean.com/v2/domains - domains = self.get_data("domains") - ...
loading elements as unicode and using the right API-URL path.
py
diff --git a/pygam/distributions.py b/pygam/distributions.py index <HASH>..<HASH> 100644 --- a/pygam/distributions.py +++ b/pygam/distributions.py @@ -17,6 +17,8 @@ class Distribution(Core): self.scale = scale self._known_scale = self.scale is not None super(Distribution, self).__init__(name=...
distributions only show scale in __repr__ if scale is known
py
diff --git a/test/run_tests.py b/test/run_tests.py index <HASH>..<HASH> 100755 --- a/test/run_tests.py +++ b/test/run_tests.py @@ -37,4 +37,10 @@ def importTests(): if __name__ == '__main__': test_runner = unittest.TextTestRunner(verbosity=2) - test_runner.run(importTests()) + try: + import nose + ...
Use nose to run all tests if nose is available
py
diff --git a/hererocks.py b/hererocks.py index <HASH>..<HASH> 100755 --- a/hererocks.py +++ b/hererocks.py @@ -691,6 +691,10 @@ class Lua(Program): os.path.join(module_path, "?", "init.lua") ] module_path_parts.insert(0 if local_paths_first else 2, os.path.join(".", "?.lua")) + + i...
Fix ./?/init.lua not being in package path for Lua <I>+
py
diff --git a/leeroy/base.py b/leeroy/base.py index <HASH>..<HASH> 100644 --- a/leeroy/base.py +++ b/leeroy/base.py @@ -27,7 +27,7 @@ def _parse_jenkins_json(request): # Seems bad that there's only 1 key, but press on return request.form else: - return request.form + return r...
Fix _parse_jenkins_json to handle application/json content-type. With Jenkins Notification plugin <I>, the content-type appears to be set correctly to application/json. This change should work with previous versions that set it to application/x-www-form-urlencoded.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -164,7 +164,7 @@ def setup(app): # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -# html_the...
ENH: Add canonical_urls to generated docs This tells search engines where to look for the canonical version of a page. As we move towards hosting multiple versions of our docs, this will help keeping anything but the latest (released) version of the docs as the best hits.
py
diff --git a/mwreverts/about.py b/mwreverts/about.py index <HASH>..<HASH> 100644 --- a/mwreverts/about.py +++ b/mwreverts/about.py @@ -1,5 +1,5 @@ __name__ = "mwreverts" -__version__ = "0.1.4" +__version__ = "0.1.5" __author__ = "Aaron Halfaker" __author_email__ = "aaron.halfaker@gmail.com" __description__ = "A set...
Increments version to <I>
py
diff --git a/textutils.py b/textutils.py index <HASH>..<HASH> 100644 --- a/textutils.py +++ b/textutils.py @@ -78,7 +78,7 @@ def indent_text(text, nb_tabs=0, tab_str=" ", linebreak_input="\n", - linebreak_output="\n"): + linebreak_output=...
indent_text have a wrap parameter defaulted to False, so that by default it behaves by only indenting, as expected.
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 @@ -139,8 +139,13 @@ class FirefoxBinary(object): return start_c...
Allow finding firefox binary at ProgramFiles(x<I>) on windows(<I> bit)
py
diff --git a/picotui/context.py b/picotui/context.py index <HASH>..<HASH> 100644 --- a/picotui/context.py +++ b/picotui/context.py @@ -21,3 +21,6 @@ class Context: Screen.goto(0, 50) Screen.cursor(True) Screen.deinit_tty() + # This makes sure that entire screenful is scrolled up, and +...
context: Print newline on de-initialization. To make sure entire screenful is scrolled up and console output starts on fresh line.
py
diff --git a/soco/core.py b/soco/core.py index <HASH>..<HASH> 100755 --- a/soco/core.py +++ b/soco/core.py @@ -612,7 +612,7 @@ class SoCo(object): # If the speaker is playing from the line-in source, querying for track # metadata will return "NOT_IMPLEMENTED". - elif d != '' and d != 'NOT_IMP...
Incorporate suggestion from #<I>
py
diff --git a/anchore/anchore_image_db.py b/anchore/anchore_image_db.py index <HASH>..<HASH> 100644 --- a/anchore/anchore_image_db.py +++ b/anchore/anchore_image_db.py @@ -458,6 +458,16 @@ class AnchoreImageDB(object): return(ret) def save_image_report(self, imageId, report): + # populate image me...
ensure list-files.sh has the image meta it needs
py
diff --git a/properties/base/containers.py b/properties/base/containers.py index <HASH>..<HASH> 100644 --- a/properties/base/containers.py +++ b/properties/base/containers.py @@ -336,7 +336,7 @@ class Tuple(basic.Property): def sphinx_class(self): """Redefine sphinx class to point to prop class""" ...
Take container name out of intersphinx links
py
diff --git a/tests/unit/modules/pkg_resource_test.py b/tests/unit/modules/pkg_resource_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/pkg_resource_test.py +++ b/tests/unit/modules/pkg_resource_test.py @@ -19,6 +19,7 @@ from salttesting.mock import ( # Import Salt Libs import salt.utils from salt.module...
py3: fix tests/unit/modules/pkg_resource_test.py Mock the correct next()
py
diff --git a/ratcave/graphics/core/mixins.py b/ratcave/graphics/core/mixins.py index <HASH>..<HASH> 100644 --- a/ratcave/graphics/core/mixins.py +++ b/ratcave/graphics/core/mixins.py @@ -101,3 +101,7 @@ class Physical(object): return np.dot(rot_mat, trans_mat) + def update(self, dt): + """Interfa...
added Physical.update(dt) method as a common interface for Physical physics methods.
py
diff --git a/tests/python/proton_tests/common.py b/tests/python/proton_tests/common.py index <HASH>..<HASH> 100644 --- a/tests/python/proton_tests/common.py +++ b/tests/python/proton_tests/common.py @@ -343,8 +343,9 @@ class MessengerApp(object): print("COMMAND='%s'" % str(cmd)) #print("ENV='%s'" ...
PROTON-<I>: Accomodate windows when launching Popen(xxx.py,...) Detects running on windows and in that case runs Popen with shell=True. git-svn-id: <URL>
py
diff --git a/salt/states/zcbuildout.py b/salt/states/zcbuildout.py index <HASH>..<HASH> 100644 --- a/salt/states/zcbuildout.py +++ b/salt/states/zcbuildout.py @@ -134,7 +134,8 @@ def installed(name, verbose=False, unless=None, onlyif=None, - use_vt=False): + ...
revert zcbuildout fix
py
diff --git a/tests/ee/test_energy_efficiency_meter.py b/tests/ee/test_energy_efficiency_meter.py index <HASH>..<HASH> 100644 --- a/tests/ee/test_energy_efficiency_meter.py +++ b/tests/ee/test_energy_efficiency_meter.py @@ -479,9 +479,7 @@ def test_basic_usage_monthly( monkeypatch_temperature_data): mete...
fixed unintentional use of mocked
py
diff --git a/riotwatcher.py b/riotwatcher.py index <HASH>..<HASH> 100644 --- a/riotwatcher.py +++ b/riotwatcher.py @@ -507,7 +507,7 @@ class RiotWatcher: def get_summoner(self, name=None, _id=None, region=None): if (name is None) != (_id is None): if name is not None: - return ...
RiotWatcher.get_summoner fix Since get_summoner relies on get_summoners output, it failed when the literal name was used to index into the returned dictionary. The dictionary returned by get_summoners lowered the input name and removed spaces. I just added a string replace to remove spaces and lowered the text. No...
py
diff --git a/tensorflow_probability/python/distributions/linear_gaussian_ssm.py b/tensorflow_probability/python/distributions/linear_gaussian_ssm.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/linear_gaussian_ssm.py +++ b/tensorflow_probability/python/distributions/linear_gaussian_ssm....
fix to all use tf elements
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with open(os.path.join(HERE, "README.rst")) as f: def get_version(): - with open("bloop/__init__.py") as f: + with open(os.path.join(HERE, "bloop/__init__.py")) as f: for line in f: ...
Don't use relative path in setup.py
py
diff --git a/pypet/storageservice.py b/pypet/storageservice.py index <HASH>..<HASH> 100644 --- a/pypet/storageservice.py +++ b/pypet/storageservice.py @@ -326,6 +326,9 @@ class PTItemMock(object): def _f_setattr(self, name, val): self._v_attrs[name] = val + def _f_setAttr(self, name, val): + s...
fixed the PTItem Mock Object
py
diff --git a/img_proof/ipa_gce.py b/img_proof/ipa_gce.py index <HASH>..<HASH> 100644 --- a/img_proof/ipa_gce.py +++ b/img_proof/ipa_gce.py @@ -195,7 +195,8 @@ class GCECloud(IpaCloud): return discovery.build( 'compute', 'v1', - credentials=self.credentials + cred...
Disable cache discovery. This is not available when using google-auth and causes a failed code path. Explicitly disabling prevents cruft in log files.
py
diff --git a/tests/contracts/test_contract_estimateGas.py b/tests/contracts/test_contract_estimateGas.py index <HASH>..<HASH> 100644 --- a/tests/contracts/test_contract_estimateGas.py +++ b/tests/contracts/test_contract_estimateGas.py @@ -7,8 +7,7 @@ from web3.utils.abi import ( @pytest.fixture(autouse=True) def wa...
fix wait_for_block for testrpc
py
diff --git a/tests/test_impostor.py b/tests/test_impostor.py index <HASH>..<HASH> 100644 --- a/tests/test_impostor.py +++ b/tests/test_impostor.py @@ -125,6 +125,3 @@ class TestImpostorLogin: assert log.imposted_as == impersonated_user else: assert authenticated_user is None - - # ...
Removed commented code Removed commented code
py
diff --git a/pmxbot/util.py b/pmxbot/util.py index <HASH>..<HASH> 100644 --- a/pmxbot/util.py +++ b/pmxbot/util.py @@ -626,6 +626,7 @@ class MongoDBQuotes(Quotes, storage.MongoDBStorage): num = int(num) words = thing.split() def matches(quote): + quote = quote.lower() return all(word in quote for word in...
Support case-insensitive quote lookup for MongoDB
py
diff --git a/pandas/io/excel/_odswriter.py b/pandas/io/excel/_odswriter.py index <HASH>..<HASH> 100644 --- a/pandas/io/excel/_odswriter.py +++ b/pandas/io/excel/_odswriter.py @@ -42,7 +42,7 @@ class _ODSWriter(ExcelWriter): sheet_name: Optional[str] = None, startrow: int = 0, startcol: int = ...
TYP: misc typing cleanups for #<I> (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,6 @@ setup(name='prestans', author='Devraj Mukherjee, Bradley Mclain', author_email='devraj@gmail.com', url='https://github.com/prestans', - packages=['prestans', 'prestans.ext'], + pac...
Updated setup.py to fix issues with installation
py
diff --git a/pyang/translators/dsdl.py b/pyang/translators/dsdl.py index <HASH>..<HASH> 100644 --- a/pyang/translators/dsdl.py +++ b/pyang/translators/dsdl.py @@ -357,7 +357,10 @@ class HybridDSDLSchema(object): else: result += c elif state == 1: # inside name - ...
Proper handling of axes during XSLT translation.
py
diff --git a/websnake.py b/websnake.py index <HASH>..<HASH> 100644 --- a/websnake.py +++ b/websnake.py @@ -102,7 +102,7 @@ class ResponseHandle: self.request.drive(self.ERROR, self.response, SIZE_ERR) self.request.con.destroy() self.request.con.close() - # Gotta close self.response.fd ...
Adding statement to close response file when on max size error.
py
diff --git a/satpy/readers/fci_l1c_fdhsi.py b/satpy/readers/fci_l1c_fdhsi.py index <HASH>..<HASH> 100644 --- a/satpy/readers/fci_l1c_fdhsi.py +++ b/satpy/readers/fci_l1c_fdhsi.py @@ -187,8 +187,9 @@ class FCIFDHSIFileHandler(NetCDF4FileHandler): # example, with https://github.com/pytroll/satpy/pull/1088), rewr...
FCI: more flexible ancillary_variables hack Rewrite the ancillare_variables pixel_quality value more flexibly, allowing for multiple variables to be listed here.
py
diff --git a/pyrax/__init__.py b/pyrax/__init__.py index <HASH>..<HASH> 100755 --- a/pyrax/__init__.py +++ b/pyrax/__init__.py @@ -298,10 +298,11 @@ def connect_to_cloudservers(region=None): mgt_url = _get_service_endpoint("compute", region) cloudservers = _cs_client.Client(identity.username, identity.api_key...
Correct a problem where novaclient was making an unnecessary call to auth. Fixes issue: <URL>
py
diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py index <HASH>..<HASH> 100644 --- a/kubespawner/spawner.py +++ b/kubespawner/spawner.py @@ -1032,7 +1032,7 @@ class KubeSpawner(Spawner): extra_resource_limits=self.extra_resource_limits, extra_resource_guarantees=self.extra_resource_g...
add expand_all to init conainers
py
diff --git a/sphinxcontrib/paverutils.py b/sphinxcontrib/paverutils.py index <HASH>..<HASH> 100644 --- a/sphinxcontrib/paverutils.py +++ b/sphinxcontrib/paverutils.py @@ -191,7 +191,6 @@ def run_sphinx(options, *option_sets): for (name, value) in getattr(options, 'config_args', {}).items() ] sphinxop...
compatibility with sphinx pr #<I>
py
diff --git a/pypiper/ngstk.py b/pypiper/ngstk.py index <HASH>..<HASH> 100755 --- a/pypiper/ngstk.py +++ b/pypiper/ngstk.py @@ -1050,7 +1050,7 @@ class NGSTk(_AttributeDict): cmd = self.tools.macs2 + " callpeak -t {0}".format(treatmentBam) if controlBam is not None: cmd += " -c {0}".format(controlBam) - c...
fix bug in macs2CallPeaks(...) wrong assignment of positional indices to string replacement
py
diff --git a/master/buildbot/db/pool.py b/master/buildbot/db/pool.py index <HASH>..<HASH> 100644 --- a/master/buildbot/db/pool.py +++ b/master/buildbot/db/pool.py @@ -175,6 +175,8 @@ class DBThreadPool(threadpool.ThreadPool): curs1.execute("SELECT * from sqlite_master") curs1.execu...
close connections before deleting test database, for windows
py
diff --git a/dronekit/__init__.py b/dronekit/__init__.py index <HASH>..<HASH> 100644 --- a/dronekit/__init__.py +++ b/dronekit/__init__.py @@ -1775,7 +1775,7 @@ class Vehicle(HasObservers): # check that mode is not INITIALSING # check that we have a GPS fix # check that EKF pre-arm is complet...
incase None > int in python3
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ VERSION = get_version('migrate_sql') setup( name='django-migrate-sql', version=VERSION, - description='Raw SQL Migration layer for Django', + description='Simple migration layer for raw SQL in D...
Changed description in setup.py
py
diff --git a/zipline/data/fx.py b/zipline/data/fx.py index <HASH>..<HASH> 100644 --- a/zipline/data/fx.py +++ b/zipline/data/fx.py @@ -49,11 +49,20 @@ class InMemoryFXRateReader(implements(FXRateReader)): def get_rates(self, field, quote, bases, dates): if six.PY3: - # DataFrames in self._dat...
BUG: Ensure consistent output column types for ``get_rates``.
py
diff --git a/src/satosa/backends/oauth.py b/src/satosa/backends/oauth.py index <HASH>..<HASH> 100644 --- a/src/satosa/backends/oauth.py +++ b/src/satosa/backends/oauth.py @@ -165,7 +165,8 @@ class _OAuthBackend(BackendModule): See satosa.backends.oauth.get_metadata_desc :rtype: satosa.metadata_creatio...
Fix facebook backend metadata bug The method "get_metadata_desc_for_oauth_backend" was called with its arguments in reversed order.
py
diff --git a/superset/jinja_context.py b/superset/jinja_context.py index <HASH>..<HASH> 100644 --- a/superset/jinja_context.py +++ b/superset/jinja_context.py @@ -43,7 +43,7 @@ def url_param(param, default=None): def current_user_id(): """The id of the user who is currently logged in""" - if g.user: + if ...
[bugfix] Template rendering failed: '_AppCtxGlobals' object has no attribute 'user' (#<I>) Somehow the nature of `g` in Flask has changed where `g.user` used to be provided outside the web request scope and its not anymore. The fix here should address that.
py
diff --git a/dusty/commands/logs.py b/dusty/commands/logs.py index <HASH>..<HASH> 100644 --- a/dusty/commands/logs.py +++ b/dusty/commands/logs.py @@ -1,8 +1,14 @@ +import logging + from ..systems.docker import get_dusty_containers from . import utils def tail_container_logs(app_or_service_name, follow=False, line...
better logging on a random error case
py
diff --git a/mintapi/api.py b/mintapi/api.py index <HASH>..<HASH> 100644 --- a/mintapi/api.py +++ b/mintapi/api.py @@ -326,15 +326,12 @@ class Mint(requests.Session): expected_content_type='text/json|application/json') data = json.loads(result.text) txns = data['set'][0].get('...
get_transactions_json: Eliminate unnecessary pandas dependency
py
diff --git a/crispy_forms/helper.py b/crispy_forms/helper.py index <HASH>..<HASH> 100644 --- a/crispy_forms/helper.py +++ b/crispy_forms/helper.py @@ -125,7 +125,7 @@ class FormHelper(DynamicLayoutHandler): Let's see what attributes you can set and what form behaviors they apply to: **form_method**: Spe...
Grammer correction. (#<I>) Earlier there was a "You can see it to `POST` or `GET`" That should be "You can set it to `POST` or `GET`"
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 @@ -20,12 +20,14 @@ import os import sys -assert 'ieml' in os.listdir(os.path.abspath('../..')) +path = os.path.join(os.path.dirname(__file__), '../..') + +assert 'ieml' in os.listd...
Improve path to ieml modules in conf.py
py
diff --git a/heron/executor/src/python/heron-executor.py b/heron/executor/src/python/heron-executor.py index <HASH>..<HASH> 100755 --- a/heron/executor/src/python/heron-executor.py +++ b/heron/executor/src/python/heron-executor.py @@ -394,11 +394,10 @@ def signal_handler(signal_to_handle, frame): sys.exit(signal_to_...
rename filename we redirect stdout & stderr to
py
diff --git a/numina/user/cli.py b/numina/user/cli.py index <HASH>..<HASH> 100644 --- a/numina/user/cli.py +++ b/numina/user/cli.py @@ -39,6 +39,7 @@ from numina.core import ErrorRecipeResult from numina.core import DataFrameType, DataProductType from numina.core import InstrumentConfiguration from numina.core import...
Use fully_qualified_name from numina.core
py
diff --git a/synapse/lib/hive.py b/synapse/lib/hive.py index <HASH>..<HASH> 100644 --- a/synapse/lib/hive.py +++ b/synapse/lib/hive.py @@ -586,13 +586,13 @@ class HiveAuth(s_base.Base): self.usersbyname = {} self.rolesbyname = {} - roles = await node.open('roles') - for iden, _node in ...
Not as random or as clumsy as a blaster; an elegant weapon for a more civilized age.
py
diff --git a/saltcloud/clouds/softlayer.py b/saltcloud/clouds/softlayer.py index <HASH>..<HASH> 100644 --- a/saltcloud/clouds/softlayer.py +++ b/saltcloud/clouds/softlayer.py @@ -150,6 +150,31 @@ def avail_images(): return ret +def list_custom_images(call=None): + ''' + Return a dict of all custom VM ima...
Allow softlayer driver to display custom images
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), "antinex_client")) setup( name="antinex-client", cmdclass={"test": PyTest}, - version="1.0.37", + version="1.0.38", description=("...
new minor version for the improved threading support on the splunk publishers
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,13 +15,13 @@ setup( version=__version__, author='Brian Beffa', author_email='brbsix@gmail.com', - description="Utilities to generate and verify pathnames", + description="Remove advertising from subtit...
Fix description and add chardet to requires
py
diff --git a/grove/__init__.py b/grove/__init__.py index <HASH>..<HASH> 100644 --- a/grove/__init__.py +++ b/grove/__init__.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. ###############################################################...
Bumping version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ with open('test-requirements.txt') as f: setup( name='pyvmomi', - version='5.5.0_2014.dev', + version='5.5.0_2014.1', description='VMware vSphere Python SDK', author='VMware, Inc.', author...
Update setup.py - setting up new release Marks version <I>_<I> and sets status as Production/Stable
py