diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/taxon_names_resolver/gnr_tools.py b/taxon_names_resolver/gnr_tools.py index <HASH>..<HASH> 100644 --- a/taxon_names_resolver/gnr_tools.py +++ b/taxon_names_resolver/gnr_tools.py @@ -22,7 +22,7 @@ def safeReadJSON(url, logger, max_check=6, waittime=30): while counter < max_check: try: ...
added utf8 decoding to json.loads in gnr_tools.py
py
diff --git a/pysat/tests/test_custom.py b/pysat/tests/test_custom.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_custom.py +++ b/pysat/tests/test_custom.py @@ -175,7 +175,7 @@ class TestBasics(): testInst2 = pysat.Instrument('pysat', 'testing', custom=custom) # trigger runs of empty functions...
BUG: Fixed load call, single date instead of all data
py
diff --git a/test/functional/test_files.py b/test/functional/test_files.py index <HASH>..<HASH> 100644 --- a/test/functional/test_files.py +++ b/test/functional/test_files.py @@ -299,12 +299,15 @@ def test_add_filepattern_from_dirname_recursive_nofwalk(client, cleanup_pins, mo def test_add_filepattern_from_dirfd_recur...
Narrow scope of exception assertion; document Windows platform guard
py
diff --git a/cities/models.py b/cities/models.py index <HASH>..<HASH> 100644 --- a/cities/models.py +++ b/cities/models.py @@ -17,6 +17,9 @@ class Country(models.Model): def hierarchy(self): return [self] + class Meta: + ordering = ['name'] + class Region(models.Model): name = models.CharField(max_length = 2...
Edited cities/models.py via GitHub
py
diff --git a/src/saml2/mcache.py b/src/saml2/mcache.py index <HASH>..<HASH> 100644 --- a/src/saml2/mcache.py +++ b/src/saml2/mcache.py @@ -1,7 +1,6 @@ #!/usr/bin/env python import memcache -import time from saml2 import time_util # The assumption is that any subject may consist of data @@ -63,7 +62,7 @@ class ...
support for cases when you don't care whether the session has timedout or not
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ test_requires = [ ] doc_requires = [ - "sphinx-tabs < 2", + "sphinx-tabs == 1.1.13", "ipython >= 7.6.1" ]
docs: downgrade sphinx-tabs requirement for rtd
py
diff --git a/xkbgroup/core.py b/xkbgroup/core.py index <HASH>..<HASH> 100644 --- a/xkbgroup/core.py +++ b/xkbgroup/core.py @@ -73,8 +73,7 @@ class XKeyboard: self.close_display() raise X11Error(GET_CONTROLS_ERRORS[status] + ".") - #names_mask = XkbSymbolsNameMask | XkbGroupNamesMask -...
core: use specific names mask for XkbGetNames Do not waste resources on retrieving unnecessary data.
py
diff --git a/cinje/inline/flush.py b/cinje/inline/flush.py index <HASH>..<HASH> 100644 --- a/cinje/inline/flush.py +++ b/cinje/inline/flush.py @@ -1,6 +1,6 @@ # encoding: utf-8 -from ..util import Context, Line +from ..util import Context, Line, ensure_buffer try: # pragma: no cover unicode @@ -23,6 +23,9 @@ d...
Ensure the buffer is recreated at the same scope it is invalidated in.
py
diff --git a/test/e2etest/test_e2e.py b/test/e2etest/test_e2e.py index <HASH>..<HASH> 100644 --- a/test/e2etest/test_e2e.py +++ b/test/e2etest/test_e2e.py @@ -73,6 +73,9 @@ class E2EBase(object): def get_linter_output(self, linter_name, file_path): cache_path = os.path.expanduser('~/.git-lint/cache') ...
Fix to e2etest to get the output and to not raise an exception
py
diff --git a/kerncraft/prefixedunit.py b/kerncraft/prefixedunit.py index <HASH>..<HASH> 100755 --- a/kerncraft/prefixedunit.py +++ b/kerncraft/prefixedunit.py @@ -147,7 +147,10 @@ class PrefixedUnit(yaml.YAMLObject): return float(self) > float(other) def __eq__(self, other): - return float(self) ...
on conversion error __eq__ now reports False and __neq__ True
py
diff --git a/astrobase/varclass/fakelcrecovery.py b/astrobase/varclass/fakelcrecovery.py index <HASH>..<HASH> 100644 --- a/astrobase/varclass/fakelcrecovery.py +++ b/astrobase/varclass/fakelcrecovery.py @@ -1440,15 +1440,15 @@ def periodicvar_recovery(fakepfpkl, if pfm == 'pdm': ...
fakelcrecovery: get the periodogram values for the recovered periods as well
py
diff --git a/airflow/providers/google/cloud/operators/sql_to_gcs.py b/airflow/providers/google/cloud/operators/sql_to_gcs.py index <HASH>..<HASH> 100644 --- a/airflow/providers/google/cloud/operators/sql_to_gcs.py +++ b/airflow/providers/google/cloud/operators/sql_to_gcs.py @@ -178,7 +178,9 @@ class BaseSQLToGCSOperato...
[AIRFLOW-<I>] Let emoji encoded properly for json.dumps() (#<I>)
py
diff --git a/ideascaly/api.py b/ideascaly/api.py index <HASH>..<HASH> 100644 --- a/ideascaly/api.py +++ b/ideascaly/api.py @@ -77,7 +77,7 @@ class API(): ) @property - def get_all_votes(self): + def get_all_votes_ideas(self): return bind_api( api=self, path='/ide...
Add api function to get all votes of all comments and fix the name of the method that get all votes of all ideas
py
diff --git a/multiqc/modules/deeptools/plotProfile.py b/multiqc/modules/deeptools/plotProfile.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/deeptools/plotProfile.py +++ b/multiqc/modules/deeptools/plotProfile.py @@ -142,7 +142,7 @@ class plotProfileMixin: step = self._int(abs(start / bin_lab...
Handle missing TSS in bin_labels
py
diff --git a/test/common.py b/test/common.py index <HASH>..<HASH> 100644 --- a/test/common.py +++ b/test/common.py @@ -44,14 +44,14 @@ class CollectorTestCase(unittest.TestCase): actual_value = calls[0][0][1] expected_value = value - precision = None + precision = 0 if isins...
Default percision is 0, so update tests to reflect this
py
diff --git a/spyder/plugins/editor/widgets/editor.py b/spyder/plugins/editor/widgets/editor.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/editor.py +++ b/spyder/plugins/editor/widgets/editor.py @@ -866,7 +866,7 @@ class EditorStack(QWidget): def get_plugin_title(self): """Get the plu...
Editor: Change comment to use URL awareness
py
diff --git a/can/notifier.py b/can/notifier.py index <HASH>..<HASH> 100644 --- a/can/notifier.py +++ b/can/notifier.py @@ -27,6 +27,14 @@ class Notifier(object): self._reader.start() + def __del__(self): + self.stop() + + def stop(self): + self.running.clear() + if self.timeout i...
Add stop() and method to can.Notifier.
py
diff --git a/imgaug/augmenters/blend.py b/imgaug/augmenters/blend.py index <HASH>..<HASH> 100644 --- a/imgaug/augmenters/blend.py +++ b/imgaug/augmenters/blend.py @@ -964,7 +964,7 @@ def SimplexNoiseAlpha(first=None, second=None, per_channel=False, size_px_max=(2 aggregation_method=aggregation_method ...
Fix the sigmoid option that could not be enabled in blending
py
diff --git a/PlugIns/Scan/ScanAcquisition.py b/PlugIns/Scan/ScanAcquisition.py index <HASH>..<HASH> 100644 --- a/PlugIns/Scan/ScanAcquisition.py +++ b/PlugIns/Scan/ScanAcquisition.py @@ -124,8 +124,10 @@ class ScanAcquisitionController(object): data_shape = data_element["data"].shape ...
Creating/display of data item should occur on main UI thread. Was svn r<I>
py
diff --git a/satpy/scene.py b/satpy/scene.py index <HASH>..<HASH> 100644 --- a/satpy/scene.py +++ b/satpy/scene.py @@ -943,7 +943,7 @@ class Scene(MetadataObject): assert ('y', source_area.y_size) in dataset.sizes.items() dataset.attrs['area'] = source_area els...
Change log level of data reduction disabling from info to debug
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ sys.path.insert(0, os.path.abspath('../..')) # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here....
DOC: Update sphinx config Replace deprecated call to `add_stylesheet` with a function that apparently has been around since <I>.
py
diff --git a/abilian/web/views/object.py b/abilian/web/views/object.py index <HASH>..<HASH> 100644 --- a/abilian/web/views/object.py +++ b/abilian/web/views/object.py @@ -263,12 +263,6 @@ class ObjectEdit(ObjectView): return redirect(url) return redirect(self.view_url()) - def redirect_to...
(minor) simpler redirection
py
diff --git a/spyderlib/widgets/qteditor/qteditor.py b/spyderlib/widgets/qteditor/qteditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/qteditor/qteditor.py +++ b/spyderlib/widgets/qteditor/qteditor.py @@ -578,6 +578,10 @@ class QtEditor(TextEditBaseWidget): self.linenumberarea.setGeometry(\ ...
QtEditor/bugfix: scrollflag area was sometimes not visible until next resize event
py
diff --git a/safe_qgis/tools/test/test_extent_selector.py b/safe_qgis/tools/test/test_extent_selector.py index <HASH>..<HASH> 100644 --- a/safe_qgis/tools/test/test_extent_selector.py +++ b/safe_qgis/tools/test/test_extent_selector.py @@ -110,7 +110,12 @@ class ExtentSelectorTest(unittest.TestCase): @unittest.ex...
Added comment explaining why test is expected to fail
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name="arxiv", - version="0.2.1", + version="0.2.2", packages=["arxiv"], # dependencies @@ -18,5 +18,5 @@ setup( license="MIT", keywords="arxiv api wrapper academi...
Resolve python3 error, version++ for release
py
diff --git a/flask_passwordless/token_store.py b/flask_passwordless/token_store.py index <HASH>..<HASH> 100644 --- a/flask_passwordless/token_store.py +++ b/flask_passwordless/token_store.py @@ -36,7 +36,6 @@ class MemoryTokenStore(TokenStore): class RedisTokenStore(TokenStore): - STORE = {} def __init__...
dont need the obj for redis store
py
diff --git a/discord/client.py b/discord/client.py index <HASH>..<HASH> 100644 --- a/discord/client.py +++ b/discord/client.py @@ -401,6 +401,7 @@ class Client: except (HTTPException, GatewayNotFound, aiohttp.ClientError, + asyncio.TimeoutError, ...
Reconnect when a task times out and propagates.
py
diff --git a/usr/share/lib/ipa/tests/SLES/test_sles_root_pass.py b/usr/share/lib/ipa/tests/SLES/test_sles_root_pass.py index <HASH>..<HASH> 100644 --- a/usr/share/lib/ipa/tests/SLES/test_sles_root_pass.py +++ b/usr/share/lib/ipa/tests/SLES/test_sles_root_pass.py @@ -4,6 +4,6 @@ import shlex def test_sles_root_pass(hos...
Update root pass test to work with SLE<I>. - --status option is not available thus use the shortcode -S. - Add locked status to valid values (LK).
py
diff --git a/werkzeug/useragents.py b/werkzeug/useragents.py index <HASH>..<HASH> 100644 --- a/werkzeug/useragents.py +++ b/werkzeug/useragents.py @@ -20,6 +20,7 @@ class UserAgentParser(object): platforms = ( (r'darwin|mac|os\s*x', 'macos'), ('win', 'windows'), + (r'android', 'android'), ...
Added android as platfrom to `UserAgent`.
py
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -783,7 +783,7 @@ class HTTPRequest(object): # If there's a scheme (and it must be http or https), then: # http_URL = "http:" "//" host [ ":" port ] [ abs_path [ "?"...
'netloc' is the attribute name, not authority.
py
diff --git a/salt/modules/virt.py b/salt/modules/virt.py index <HASH>..<HASH> 100644 --- a/salt/modules/virt.py +++ b/salt/modules/virt.py @@ -275,8 +275,11 @@ def destroy(vm_): CLI Example: salt '*' virt.destroy <vm name> ''' - dom = _get_dom(vm_) - dom.destroy() + try: + dom = _get_dom(...
Don't fail if the vm is not present in virt module
py
diff --git a/slactrac/beamline.py b/slactrac/beamline.py index <HASH>..<HASH> 100644 --- a/slactrac/beamline.py +++ b/slactrac/beamline.py @@ -7,10 +7,10 @@ from twiss import Twiss as _Twiss class Beamline(baseclass): _type = 'beamline' _order = int(1) - def __init__(self,element_list,gamma,twiss): + def __in...
Now has separate twiss for x and y.
py
diff --git a/dockermap/map/base.py b/dockermap/map/base.py index <HASH>..<HASH> 100644 --- a/dockermap/map/base.py +++ b/dockermap/map/base.py @@ -7,6 +7,7 @@ import logging import six import docker from docker.errors import APIError +from requests import Timeout from .dep import SingleDependencyResolver from .....
Skip raising exception if container is killed.
py
diff --git a/pybromo/diffusion.py b/pybromo/diffusion.py index <HASH>..<HASH> 100644 --- a/pybromo/diffusion.py +++ b/pybromo/diffusion.py @@ -784,7 +784,14 @@ class ParticlesSimulation(object): # Load emission in chunks, and save only the final timestamps bg_rates = [None] * (len(max_rates) - 1) + ...
Print time during timestamps simulation
py
diff --git a/telethon/tl/session.py b/telethon/tl/session.py index <HASH>..<HASH> 100644 --- a/telethon/tl/session.py +++ b/telethon/tl/session.py @@ -154,7 +154,7 @@ class Session: for p_id, p_hash in data.get('entities', []): rows.append((p_id, p_hash, None, None, None)) ...
Except only UnicodeDecodeError to check migration (fix #<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,6 +64,7 @@ setup( "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", ...
chore: add python <I> support
py
diff --git a/unittest2pytest/__main__.py b/unittest2pytest/__main__.py index <HASH>..<HASH> 100755 --- a/unittest2pytest/__main__.py +++ b/unittest2pytest/__main__.py @@ -26,5 +26,8 @@ __licence__ = "GNU General Public License version 3 ot later (GPLv3+)" import lib2to3.main from . import fixes -if __name__ == '__m...
Add __main__.main() to be used as entry-point.
py
diff --git a/pymola/backends/casadi/api.py b/pymola/backends/casadi/api.py index <HASH>..<HASH> 100644 --- a/pymola/backends/casadi/api.py +++ b/pymola/backends/casadi/api.py @@ -8,6 +8,7 @@ import os import fnmatch import logging import pickle +import contextlib from pymola import parser, tree, ast, __version__ ...
got caching working on ubuntu
py
diff --git a/tests/share_elements/test_examples.py b/tests/share_elements/test_examples.py index <HASH>..<HASH> 100644 --- a/tests/share_elements/test_examples.py +++ b/tests/share_elements/test_examples.py @@ -105,7 +105,7 @@ def test_functionality_example(caplog): rafcon.core.singleton.state_machine_exec...
test(examples): Cope with additional warning when loading erroneous sm
py
diff --git a/pyresttest/resttest.py b/pyresttest/resttest.py index <HASH>..<HASH> 100644 --- a/pyresttest/resttest.py +++ b/pyresttest/resttest.py @@ -344,7 +344,12 @@ def run_test(mytest, test_config=TestConfig(), context=None, curl_handle=None, * print("%s" % (templated_test.headers)) if mytest.body...
Added input for python 3
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 @@ -138,7 +138,7 @@ def build_stack_docs( doxygen_build_dir = root_project_dir / '_doxygen' doxygen_xml_dir = doxygen_build...
Ensure xml_output is preserved xml_output was being overridden by individual configurations's defaults. Thus we need to set it last.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,4 +27,5 @@ setup( keywords=['cache', 'file', 'serialize'], packages=['fcache'], test_suite='fcache.tests', + install_requires=['appdirs'], )
Makes appdirs required for installation.
py
diff --git a/cyther/cyther.py b/cyther/cyther.py index <HASH>..<HASH> 100644 --- a/cyther/cyther.py +++ b/cyther/cyther.py @@ -69,8 +69,8 @@ def where(cmd, mode=os.X_OK, path=None, error=True, crawl=False, datafile=False) for w in container: if w in cmd: st...
Trying to fix travis problems, take 5
py
diff --git a/examples/bokeh/bokeh_plot_bpv.py b/examples/bokeh/bokeh_plot_bpv.py index <HASH>..<HASH> 100644 --- a/examples/bokeh/bokeh_plot_bpv.py +++ b/examples/bokeh/bokeh_plot_bpv.py @@ -7,4 +7,4 @@ _thumb: .6, .5 import arviz as az data = az.load_arviz_data("regression1d") -az.plot_bpv(data, backend="bokeh") +...
Fix missing ax (#<I>)
py
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index <HASH>..<HASH> 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -342,3 +342,15 @@ now: True run_cmd(base_app, 'load does_not_exist.txt') out, err = capsys.readouterr() assert str(err).startswith('Traceback (most recent call last):') + ...
Added unit test of colorize() method
py
diff --git a/etesync/cache.py b/etesync/cache.py index <HASH>..<HASH> 100644 --- a/etesync/cache.py +++ b/etesync/cache.py @@ -11,7 +11,7 @@ class JournalEntity(db.BaseModel): owner = pw.ForeignKeyField(User, related_name='journals') version = pw.IntegerField() uid = pw.CharField(unique=True, null=False,...
Cache: change journal and entry content to be strings (since they are).
py
diff --git a/tests/integration/modules/test_saltutil.py b/tests/integration/modules/test_saltutil.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/test_saltutil.py +++ b/tests/integration/modules/test_saltutil.py @@ -13,6 +13,7 @@ import textwrap from tests.support.case import ModuleCase from tests.supp...
Skip pillar refresh test This test is flaky and fails intermittently, even with the `flaky` decoractor. Skipping for now until we can debug further.
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -213,6 +213,20 @@ class DocumentSearchTest(BaseTest): obj.delete() self.assertRaises(DoesNotExistError, self.private_client.documents.get, obj.id) + def test_upload_directory(self): + """ + ...
Wrote a test for upload_directory that passes. Fixes ##<I>
py
diff --git a/tests/test_core.py b/tests/test_core.py index <HASH>..<HASH> 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -25,7 +25,7 @@ class RandomPairsTest(unittest.TestCase) : else: target = [(158874, 500256)] - random_pairs = list(dedupe.core.randomPairs(10**6, 1)) + ...
try to find limit for <I> bit machines
py
diff --git a/eth_keys/datatypes.py b/eth_keys/datatypes.py index <HASH>..<HASH> 100644 --- a/eth_keys/datatypes.py +++ b/eth_keys/datatypes.py @@ -38,7 +38,11 @@ pad32 = partial(pad_left, to_size=32, pad_with=b'\x00') try: ByteString = collections.abc.ByteString except AttributeError: - ByteString = collectio...
make key types be recognized as string types in python 2
py
diff --git a/tests/providers/test_address.py b/tests/providers/test_address.py index <HASH>..<HASH> 100644 --- a/tests/providers/test_address.py +++ b/tests/providers/test_address.py @@ -4,8 +4,6 @@ from unittest import mock import pytest -from ukpostcodeparser.parser import parse_uk_postcode - from faker.provide...
Handle missing ukpostcodeparser gracefully in tests (#<I>) Skip the single test relying on ukpostcodeparser if the relevant package is not installed on the system. There are users who don't really need that particular function and appreciate the ability to test Faker before installing it on their production system...
py
diff --git a/salt/modules/inspectlib/fsdb.py b/salt/modules/inspectlib/fsdb.py index <HASH>..<HASH> 100644 --- a/salt/modules/inspectlib/fsdb.py +++ b/salt/modules/inspectlib/fsdb.py @@ -185,6 +185,27 @@ class CsvDB(object): with gzip.open(os.path.join(self.db_path, obj._TABLE), 'a') as table: csv...
Implement object delete. This re-flushes the whole database via in-memory.
py
diff --git a/test_project/tests/test_adam.py b/test_project/tests/test_adam.py index <HASH>..<HASH> 100644 --- a/test_project/tests/test_adam.py +++ b/test_project/tests/test_adam.py @@ -6,20 +6,20 @@ import adam class Tests(unittest.TestCase): - # def test_constant_number(self): - # self.assertEqual( - ...
Undoing previous change. Travis detected the problem correctly, so things seem to be in good order.
py
diff --git a/gnupg/tests/test_gnupg.py b/gnupg/tests/test_gnupg.py index <HASH>..<HASH> 100644 --- a/gnupg/tests/test_gnupg.py +++ b/gnupg/tests/test_gnupg.py @@ -117,11 +117,10 @@ def compare_keys(k1, k2): class ResultStringIO(io.StringIO): - def __init__(self): - super(self, io.StringIO).__init__() - +...
Fix the super() calls in ResultStringIO in unittest script.
py
diff --git a/src/mbed_cloud/core.py b/src/mbed_cloud/core.py index <HASH>..<HASH> 100644 --- a/src/mbed_cloud/core.py +++ b/src/mbed_cloud/core.py @@ -30,8 +30,6 @@ from six.moves import urllib from six import iteritems -_codegen_singleton_protection = threading.Lock() - class BaseAPI(object): """BaseAPI i...
no need for threadlock if we don't have singletons
py
diff --git a/treetime/wrappers.py b/treetime/wrappers.py index <HASH>..<HASH> 100644 --- a/treetime/wrappers.py +++ b/treetime/wrappers.py @@ -1071,7 +1071,7 @@ def estimate_clock_model(params): tmp_str = '' ofile.write("%s, %s, %f, %f\n"%(n.name, tmp_str, n.dist2root, clock_deviat...
fix: set clock deviation to 0 for terminals without date constraint The `clock_deviation` had undefined value on this line <URL>
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -250,8 +250,8 @@ on_saltstack = 'SALT_ON_SALTSTACK' in os.environ project = 'Salt' version = salt.version.__version__ -latest_release = '2018.3.0' # latest release -previous_release = '2017.7.5' # latest rele...
Update release versions for the <I> branch
py
diff --git a/instabot/tests/test.py b/instabot/tests/test.py index <HASH>..<HASH> 100644 --- a/instabot/tests/test.py +++ b/instabot/tests/test.py @@ -1,7 +1,12 @@ +import sys +import os + +sys.path.append(os.path.join(sys.path[0], '../../')) from instabot import Bot bot = Bot() bot.login() -bot.like_timeline() -b...
add assertion to the test.py
py
diff --git a/fluent_blogs/views/feeds.py b/fluent_blogs/views/feeds.py index <HASH>..<HASH> 100644 --- a/fluent_blogs/views/feeds.py +++ b/fluent_blogs/views/feeds.py @@ -46,7 +46,7 @@ class FeedView(View, Feed): self.feed_type = _FEED_FORMATS[format] except KeyError: raise ValueError...
Fix minor Python 3 issue with error handling of FeedView
py
diff --git a/sos/plugins/podman.py b/sos/plugins/podman.py index <HASH>..<HASH> 100644 --- a/sos/plugins/podman.py +++ b/sos/plugins/podman.py @@ -62,7 +62,17 @@ class Podman(Plugin, RedHatPlugin, UbuntuPlugin): if self.get_option('size'): self.add_cmd_output('podman ps -as') - self.add_c...
[podman] Collect network information and cert/hooks list First, adds collection of a recursive listing of /etc/containers to show which certs and oci hooks may be present. Second, adds collection of podman networking information. Both the output of 'podman network ls' and a subsequent inspect on each network reported...
py
diff --git a/asciimatics/widgets.py b/asciimatics/widgets.py index <HASH>..<HASH> 100644 --- a/asciimatics/widgets.py +++ b/asciimatics/widgets.py @@ -441,6 +441,9 @@ class Frame(Effect): for layout in self._layouts: if layout.frame_update_count > 0: result = min(result, layout.fr...
Quick patch for Effects embedded within Frames
py
diff --git a/testing/runtests_travis.py b/testing/runtests_travis.py index <HASH>..<HASH> 100644 --- a/testing/runtests_travis.py +++ b/testing/runtests_travis.py @@ -4,9 +4,12 @@ from subprocess import call import os if os.environ.get('TOXENV'): + # normal tox run, lets jsut have tox do its job import tox ...
add extra comments to the travis test script
py
diff --git a/mongo_orchestration/server.py b/mongo_orchestration/server.py index <HASH>..<HASH> 100644 --- a/mongo_orchestration/server.py +++ b/mongo_orchestration/server.py @@ -2,6 +2,7 @@ # coding=utf-8 import argparse import json +import logging import os import signal import sys @@ -19,9 +20,6 @@ work_dir = ...
Configure logging in main(). Allows a wrapper library to configure logging differently from how Orchestration configures it when running standalone.
py
diff --git a/PyFunceble.py b/PyFunceble.py index <HASH>..<HASH> 100644 --- a/PyFunceble.py +++ b/PyFunceble.py @@ -254,6 +254,8 @@ class Settings(object): # Please note that this directory will keep the percentage of the current # session. percentage_logs_dir = logs_dir + 'percentage/' + # Output of p...
Introduction of link to the percentage.txt
py
diff --git a/untappd/__init__.py b/untappd/__init__.py index <HASH>..<HASH> 100644 --- a/untappd/__init__.py +++ b/untappd/__init__.py @@ -196,9 +196,12 @@ class Untappd(object): return self._make_request(endpoint_parts, http_method, payload=kwargs) return _function - def _make_re...
created _build_url method on _Endpoint class
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ except Exception as e: DISTNAME = 'autoclass' DESCRIPTION = 'Helps you write compact python classes' MAINTAINER = 'Sylvain Marié' -MAINTAINER_EMAIL = '"Sylvain Marié" <sylvain.marie@schneider-electric.com>' +...
* fixed email address for pypi
py
diff --git a/pyof/v0x04/common/constants.py b/pyof/v0x04/common/constants.py index <HASH>..<HASH> 100644 --- a/pyof/v0x04/common/constants.py +++ b/pyof/v0x04/common/constants.py @@ -1,2 +1,2 @@ """Here we have the constants related to v0x04 version""" -OFP_VERSION = 0x01 +OFP_VERSION = 0x04
[v0x<I>] update of OFP_VERSION
py
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py index <HASH>..<HASH> 100644 --- a/tools/interop_matrix/client_matrix.py +++ b/tools/interop_matrix/client_matrix.py @@ -99,6 +99,9 @@ LANG_RELEASE_MATRIX = { { 'v1.14.1': None }, + { + ...
Add <I> to interop matrix
py
diff --git a/telethon/_client/updates.py b/telethon/_client/updates.py index <HASH>..<HASH> 100644 --- a/telethon/_client/updates.py +++ b/telethon/_client/updates.py @@ -225,8 +225,11 @@ async def _dispatch(self, update): if handler._filter(event): try: aw...
Properly handle exception cases during update dispatch
py
diff --git a/kernel_tuner/c.py b/kernel_tuner/c.py index <HASH>..<HASH> 100644 --- a/kernel_tuner/c.py +++ b/kernel_tuner/c.py @@ -82,8 +82,7 @@ class CFunctions(object): """ random_large_int = numpy.random.randint(low=1000000, high=1000000000) filename = 'temp_' + str(random_large_int) - ...
fixing the C interface for when CUDA is not installed
py
diff --git a/djangular/forms/angular_model.py b/djangular/forms/angular_model.py index <HASH>..<HASH> 100644 --- a/djangular/forms/angular_model.py +++ b/djangular/forms/angular_model.py @@ -57,6 +57,8 @@ class NgModelFormMixin(NgFormBaseMixin): def get_field_errors(self, field): errors = super(NgModelF...
extend skipping error messages to model forms.
py
diff --git a/schwifty/registry.py b/schwifty/registry.py index <HASH>..<HASH> 100644 --- a/schwifty/registry.py +++ b/schwifty/registry.py @@ -1,6 +1,7 @@ import itertools import json import pathlib +import sys from collections import defaultdict from typing import Any from typing import Callable @@ -8,12 +9,15 @...
add pyinstaller support (#<I>)
py
diff --git a/tests/unit/auth/test_credentials.py b/tests/unit/auth/test_credentials.py index <HASH>..<HASH> 100644 --- a/tests/unit/auth/test_credentials.py +++ b/tests/unit/auth/test_credentials.py @@ -121,7 +121,7 @@ class TestCredentials: mocker.patch('carto.do_token.DoTokenManager.get', return_value=DOCred...
Fixed gcp auth info credentials test
py
diff --git a/ibis/backends/pandas/tests/execution/test_functions.py b/ibis/backends/pandas/tests/execution/test_functions.py index <HASH>..<HASH> 100644 --- a/ibis/backends/pandas/tests/execution/test_functions.py +++ b/ibis/backends/pandas/tests/execution/test_functions.py @@ -175,6 +175,7 @@ def test_quantile_list(t,...
TST: Add missing assert to pandas test (#<I>)
py
diff --git a/salt/modules/service.py b/salt/modules/service.py index <HASH>..<HASH> 100644 --- a/salt/modules/service.py +++ b/salt/modules/service.py @@ -29,7 +29,7 @@ GRAINMAP = { def __virtual__(): ''' - Only work on systems which default to systemd + Only work on systems which exclusively use sysvinit...
Make openSUSE <<I> use sysvinit for service mgmt This fixes #<I> by checking the major release of the distro, if the minion is openSUSE.
py
diff --git a/flask_restful_hal/_version.py b/flask_restful_hal/_version.py index <HASH>..<HASH> 100644 --- a/flask_restful_hal/_version.py +++ b/flask_restful_hal/_version.py @@ -1,2 +1,2 @@ -__version_info__ = (0, 2, 3) +__version_info__ = (0, 2, 4) __version__ = '.'.join(map(str, __version_info__))
Increase the version number to <I>
py
diff --git a/django_afip/models.py b/django_afip/models.py index <HASH>..<HASH> 100644 --- a/django_afip/models.py +++ b/django_afip/models.py @@ -60,7 +60,6 @@ class ReceiptBatch(models.Model): Receipts are validated sent in batches. """ - amount = models.PositiveSmallIntegerField() receipt_type = ...
Remove amount from batches The amount of receipts should be runtime-calculated, there's no point in storing it.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,8 +32,8 @@ setup( 'test': [ 'nose', 'flake8 >= 3.4.0, < 3.5.0', - 'openfisca-country-template >= 2.1.0rc0, <= 2.1.0', - 'openfisca-extension-template == 1.1.2', + ...
Adapt to template and extension current versions
py
diff --git a/py/conftest.py b/py/conftest.py index <HASH>..<HASH> 100644 --- a/py/conftest.py +++ b/py/conftest.py @@ -199,7 +199,7 @@ def pages(driver, webserver): @pytest.fixture(autouse=True, scope='session') def server(request): drivers = request.config.getoption('drivers') - if drivers is None or 'Remote...
[py] Correct case for drivers when starting Remote
py
diff --git a/pyphi/macro.py b/pyphi/macro.py index <HASH>..<HASH> 100644 --- a/pyphi/macro.py +++ b/pyphi/macro.py @@ -612,8 +612,18 @@ def emergence(network, state): def blackbox_emergence(network, state, time_scales=None): """Check for the emergence of a micro-system into a macro-system, using blackboxing ...
Update blackbox emergence docstring
py
diff --git a/LiSE/LiSE/thing.py b/LiSE/LiSE/thing.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/thing.py +++ b/LiSE/LiSE/thing.py @@ -249,7 +249,10 @@ class Thing(Node): loc, nxtloc = self._get_locations() nobjs = self.engine._node_objs charn = self.character.name - return nobjs[charn...
Make Thing.locations a pair of node objects The next_location used to be a mere tuple and that's not very good
py
diff --git a/django_extensions/db/fields/__init__.py b/django_extensions/db/fields/__init__.py index <HASH>..<HASH> 100644 --- a/django_extensions/db/fields/__init__.py +++ b/django_extensions/db/fields/__init__.py @@ -156,7 +156,7 @@ class UUIDField(CharField): """ def __init__(self, verbose_name=None, nam...
fix deprecated maxlength to max_length for uuidfield
py
diff --git a/slave/lakeshore/ls340.py b/slave/lakeshore/ls340.py index <HASH>..<HASH> 100644 --- a/slave/lakeshore/ls340.py +++ b/slave/lakeshore/ls340.py @@ -914,7 +914,7 @@ class LS340(IEC60488): """ args = [std, dest, serial, T1, U1, T2, U2] - dtype = [Integer(min=1, max=21), Integer(min=2...
Update ls<I>.py Fixed wrong max length of string argument in softcal function.
py
diff --git a/salt/fileserver/s3fs.py b/salt/fileserver/s3fs.py index <HASH>..<HASH> 100644 --- a/salt/fileserver/s3fs.py +++ b/salt/fileserver/s3fs.py @@ -332,12 +332,17 @@ def _init(): cache_file = _get_buckets_cache_filename() exp = time.time() - _s3_cache_expire + metadata = None + # check mtime ...
Handle errors while unpickling. The metadata cache for s3 can get corrupted. If unpickling raises such an error we should just refetch the data from s3.
py
diff --git a/clients/python/pycellbase/cbrestclients.py b/clients/python/pycellbase/cbrestclients.py index <HASH>..<HASH> 100755 --- a/clients/python/pycellbase/cbrestclients.py +++ b/clients/python/pycellbase/cbrestclients.py @@ -69,11 +69,13 @@ class _ParentRestClient(object): and method_swa...
python: check if method is POST in get_help function
py
diff --git a/simple_settings/core.py b/simple_settings/core.py index <HASH>..<HASH> 100644 --- a/simple_settings/core.py +++ b/simple_settings/core.py @@ -71,8 +71,14 @@ class LazySettings(object): def _load_settings_pipeline(self): for settings_file in self._settings_list: strategy = self._g...
on exception, print out the settings_file to help debugging
py
diff --git a/dataviews/sheetviews.py b/dataviews/sheetviews.py index <HASH>..<HASH> 100644 --- a/dataviews/sheetviews.py +++ b/dataviews/sheetviews.py @@ -7,7 +7,7 @@ from dataviews import Stack, DataHistogram, DataStack, find_minmax from ndmapping import NdMapping, Dimension from options import options from sheetco...
Removed unused Layout import in dataviews/sheetviews.py
py
diff --git a/spacy/tests/conftest.py b/spacy/tests/conftest.py index <HASH>..<HASH> 100644 --- a/spacy/tests/conftest.py +++ b/spacy/tests/conftest.py @@ -84,6 +84,7 @@ def ja_tokenizer(): @pytest.fixture def japanese(): + pytest.importorskip("MeCab") return Japanese() @pytest.fixture
Add importorskip for Japanese fixture
py
diff --git a/tests/test_toolbox_file_tools.py b/tests/test_toolbox_file_tools.py index <HASH>..<HASH> 100644 --- a/tests/test_toolbox_file_tools.py +++ b/tests/test_toolbox_file_tools.py @@ -35,7 +35,7 @@ class TestToolboxFileTools(unittest.TestCase): def test_02_copy_file(self): test_file = 'file_to_co...
added ensure_dir so build runs on travis-CI try again
py
diff --git a/mot/model_building/model_builders.py b/mot/model_building/model_builders.py index <HASH>..<HASH> 100644 --- a/mot/model_building/model_builders.py +++ b/mot/model_building/model_builders.py @@ -516,8 +516,6 @@ class OptimizeModelBuilder(object): eval_function_info = self._get_model_eval_function(p...
Small update to the calculation of the dependent weight (the non-optimized weight could have been smaller than 0, which is not possible).
py
diff --git a/fritzconnection/fritzphonebook.py b/fritzconnection/fritzphonebook.py index <HASH>..<HASH> 100644 --- a/fritzconnection/fritzphonebook.py +++ b/fritzconnection/fritzphonebook.py @@ -13,14 +13,15 @@ Author: Klaus Bremer, David M. Straub import argparse # tiny hack to run this as a package but also from ...
modified entry point, adaption for Python <I>
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -172,7 +172,7 @@ previous_release = '2015.5.9' # latest release from previous branch previous_release_dir = '2015.5' # path on web server for previous branch next_release = '2016.3.0' # latest release from pre...
changed build type back to develop after merge forward
py
diff --git a/ryu/lib/packet/icmp.py b/ryu/lib/packet/icmp.py index <HASH>..<HASH> 100644 --- a/ryu/lib/packet/icmp.py +++ b/ryu/lib/packet/icmp.py @@ -24,6 +24,7 @@ ICMP_DEST_UNREACH = 3 ICMP_SRC_QUENCH = 4 ICMP_REDIRECT = 5 ICMP_ECHO_REQUEST = 8 +ICMP_TIME_EXCEEDED = 11 class icmp(packet_base.PacketBase): @@ -...
packet lib: icmp support time exceeded type Used mainly for traceroute.
py
diff --git a/anyvcs/git.py b/anyvcs/git.py index <HASH>..<HASH> 100644 --- a/anyvcs/git.py +++ b/anyvcs/git.py @@ -94,7 +94,7 @@ class GitRepo(VCSRepo): return rev else: cmd = [GIT, 'rev-parse', rev] - return self._command(cmd) + return self._command(cmd).strip() def ls(self, rev, path...
strip output of GitRepo.canonical_rev This removes a newline from the output.
py
diff --git a/holoviews/core/ndmapping.py b/holoviews/core/ndmapping.py index <HASH>..<HASH> 100644 --- a/holoviews/core/ndmapping.py +++ b/holoviews/core/ndmapping.py @@ -442,7 +442,7 @@ class NdIndexableMapping(Dimensioned): return tuple([v for k, v in sorted(unordered, key=dim_orderfn)]) - def split_d...
Allowed passing different map_type to split_dimensions
py
diff --git a/utool/util_grabdata.py b/utool/util_grabdata.py index <HASH>..<HASH> 100755 --- a/utool/util_grabdata.py +++ b/utool/util_grabdata.py @@ -837,7 +837,8 @@ def grab_file_url(file_url, ensure=True, appname='utool', download_dir=None, args = (hash_remote, hash_local, ) ...
Added flag for verbose
py
diff --git a/oct2py/core.py b/oct2py/core.py index <HASH>..<HASH> 100644 --- a/oct2py/core.py +++ b/oct2py/core.py @@ -293,7 +293,8 @@ class Oct2Py(object): return resp, data else: - print(resp) + if resp: + print(resp) ...
Only print the response if there is one
py
diff --git a/pyphi/compute.py b/pyphi/compute.py index <HASH>..<HASH> 100644 --- a/pyphi/compute.py +++ b/pyphi/compute.py @@ -308,8 +308,8 @@ def _big_mip(cache_key, subsystem): for i, partition in enumerate(bipartitions): new_mip = _evaluate_partition( subsystem, partition, unpa...
Clean up non-parallel log statement.
py
diff --git a/satpy/tests/reader_tests/test_seviri_l1b_hrit.py b/satpy/tests/reader_tests/test_seviri_l1b_hrit.py index <HASH>..<HASH> 100644 --- a/satpy/tests/reader_tests/test_seviri_l1b_hrit.py +++ b/satpy/tests/reader_tests/test_seviri_l1b_hrit.py @@ -407,6 +407,7 @@ class TestHRITMSGFileHandler(unittest.TestCase): ...
Fix test for updated SEVIRI HRIT calibration.
py
diff --git a/plugins/authorized_upload/girder_authorized_upload/__init__.py b/plugins/authorized_upload/girder_authorized_upload/__init__.py index <HASH>..<HASH> 100644 --- a/plugins/authorized_upload/girder_authorized_upload/__init__.py +++ b/plugins/authorized_upload/girder_authorized_upload/__init__.py @@ -2,6 +2,7 ...
Handle an uncaught InvalidId exception in authorized_upload
py