diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/edeposit/amqp/ltp/tests/unittests/test_init.py b/src/edeposit/amqp/ltp/tests/unittests/test_init.py index <HASH>..<HASH> 100755 --- a/src/edeposit/amqp/ltp/tests/unittests/test_init.py +++ b/src/edeposit/amqp/ltp/tests/unittests/test_init.py @@ -95,4 +95,38 @@ def test_calc_dir_size(): def test_re...
#1, #9: Added tests of the _add_order().
py
diff --git a/openstack_dashboard/dashboards/identity/projects/workflows.py b/openstack_dashboard/dashboards/identity/projects/workflows.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/identity/projects/workflows.py +++ b/openstack_dashboard/dashboards/identity/projects/workflows.py @@ -35,8 +35,7 @@...
don't need to 'import identity' as the same name 'identity' Change-Id: Ib8c0a<I>f<I>c<I>a<I>e3cf<I>e<I>ab3e4ab<I>
py
diff --git a/firenado/launcher.py b/firenado/launcher.py index <HASH>..<HASH> 100644 --- a/firenado/launcher.py +++ b/firenado/launcher.py @@ -54,8 +54,8 @@ class FirenadoLauncher(object): # Fixing and cleaning PYTHONPATH and sys.path # This is useful so we can run a process launcher with the same ...
Started current pythonpaths as sys.path. Fixed check if pythonpath isn't present in os.environ. Fixes: #<I>
py
diff --git a/pytds/tds.py b/pytds/tds.py index <HASH>..<HASH> 100644 --- a/pytds/tds.py +++ b/pytds/tds.py @@ -1324,7 +1324,7 @@ class Xml(NVarChar72): type = SYBMSXML def __init__(self, schema={}): - super(Xml, self).__init__(0xffff) + super(Xml, self).__init__(0, is_max=True) self._...
fixed regression of xml fields Issue #<I>
py
diff --git a/SALib/tests/test_morris_groups.py b/SALib/tests/test_morris_groups.py index <HASH>..<HASH> 100644 --- a/SALib/tests/test_morris_groups.py +++ b/SALib/tests/test_morris_groups.py @@ -1,15 +1,12 @@ from __future__ import division from numpy.testing import assert_equal -from nose import with_setup from nos...
Removed unused tests and cleaned up imports
py
diff --git a/adafruit_bme280.py b/adafruit_bme280.py index <HASH>..<HASH> 100644 --- a/adafruit_bme280.py +++ b/adafruit_bme280.py @@ -21,7 +21,7 @@ # THE SOFTWARE. """ `adafruit_bme280` - Adafruit BME280 - Temperature, Humidity & Barometic Pressure Sensor -===========================================================...
Increase underline length to make sphinx happy
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -110,7 +110,7 @@ class Master(SMaster): ''' Turn on the master server components ''' - log.info('Starting the Salt Master') + log.warn('Starting the Salt Master'...
Change log start to a WARN rather than an INFO
py
diff --git a/sanic/response.py b/sanic/response.py index <HASH>..<HASH> 100644 --- a/sanic/response.py +++ b/sanic/response.py @@ -343,8 +343,6 @@ async def file_stream(location, chunk_size=4096, mime_type=None, headers=None, if len(content) < 1: break ...
Remove exception print(e) statement.
py
diff --git a/tests/test_config.py b/tests/test_config.py index <HASH>..<HASH> 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -151,7 +151,7 @@ def test_config(os_name, error_name, test_case): deserialised_zmq_msg = napalm_logs.utils.unserialize(zmq_msg) log.debug('Received from the napalm-logs...
Fix test_config comparision between expected result and result
py
diff --git a/simuvex/__init__.py b/simuvex/__init__.py index <HASH>..<HASH> 100644 --- a/simuvex/__init__.py +++ b/simuvex/__init__.py @@ -14,6 +14,7 @@ from .s_procedure import SimProcedure from .procedures import SimProcedures from .s_cc import SimCC, DefaultCC from .s_slicer import SimSlicer +from .s_type import ...
Import some cool SimType functions into the global package
py
diff --git a/elasticapm/traces.py b/elasticapm/traces.py index <HASH>..<HASH> 100644 --- a/elasticapm/traces.py +++ b/elasticapm/traces.py @@ -38,7 +38,7 @@ def get_transaction(clear=False): class Transaction(object): def __init__(self, frames_collector_func, transaction_type="custom", is_sampled=True): - ...
turn transaction.id into string during init (#<I>) users of this property shouldn't need to coerce the UUID to str closes #<I>
py
diff --git a/xdot.py b/xdot.py index <HASH>..<HASH> 100644 --- a/xdot.py +++ b/xdot.py @@ -476,11 +476,10 @@ class XDotParser: def parse(self): graph = pydot.graph_from_dot_data(self.xdotcode) - bb = graph.get_bb() - if bb is None: + if graph.bb is None: return Graph() ...
Adapt for pydot-<I>.
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -1012,7 +1012,7 @@ def test_rotate_deskew_timeout(resources, outdir): @pytest.mark.skipif( - PIL.PILLOW_VERSION < '5.0.0', + PIL.__version__ < '5.0.0', reason="Pillow < 5...
Use more standard __version__ rather than PILLOW_VERSION (#<I>)
py
diff --git a/cumulusci/core/flowrunner.py b/cumulusci/core/flowrunner.py index <HASH>..<HASH> 100644 --- a/cumulusci/core/flowrunner.py +++ b/cumulusci/core/flowrunner.py @@ -733,7 +733,7 @@ class CachedTaskRunner(object): task_name=self.task_name, task_config=task_config, task_cl...
Make sure preflight check tasks get a valid project_config (There's an edge case we're not handling yet involving checks from other projects, but I want to get a fix out quick.)
py
diff --git a/pyontutils/namespaces.py b/pyontutils/namespaces.py index <HASH>..<HASH> 100644 --- a/pyontutils/namespaces.py +++ b/pyontutils/namespaces.py @@ -1,7 +1,6 @@ import yaml from pathlib import Path import rdflib -import requests from ontquery.terms import OntCuries from pyontutils.utils import log from ...
namespaces move requests import inside getCuries this saves about <I> seconds at import time if there is a local copy of the curies since import only happens on failure
py
diff --git a/tests/test_base.py b/tests/test_base.py index <HASH>..<HASH> 100755 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -149,6 +149,17 @@ class VersionTestCase(unittest.TestCase): self.assertEqual(1, len(set([base.Version('0.1.0'), base.Version('0.1.0')]))) + self.assertEqua...
Test handling of the 'partial' flag in hashing.
py
diff --git a/wampy/testing/pytest_plugin.py b/wampy/testing/pytest_plugin.py index <HASH>..<HASH> 100644 --- a/wampy/testing/pytest_plugin.py +++ b/wampy/testing/pytest_plugin.py @@ -34,12 +34,12 @@ def kill_crossbar(): try: os.kill(int(pid), signal.SIGTERM) except Exception: - ...
less agressive shut downs
py
diff --git a/publ/index.py b/publ/index.py index <HASH>..<HASH> 100644 --- a/publ/index.py +++ b/publ/index.py @@ -52,7 +52,7 @@ class ConcurrentSet: SCHEDULED_FILES = ConcurrentSet() - +@orm.db_session def last_modified() -> typing.Tuple[typing.Optional[str], typing.Optional[...
Fix error with custom auth pages trying to determine caching outside of db_session
py
diff --git a/topgg/errors.py b/topgg/errors.py index <HASH>..<HASH> 100644 --- a/topgg/errors.py +++ b/topgg/errors.py @@ -70,46 +70,30 @@ class HTTPException(TopGGException): class Unauthorized(HTTPException): - """Exception that's thrown when status code 401 occurs. - - Subclass of :exc:`HTTPException` - ...
Exception inheritance in docstrings rephrased
py
diff --git a/docker/types/services.py b/docker/types/services.py index <HASH>..<HASH> 100644 --- a/docker/types/services.py +++ b/docker/types/services.py @@ -152,7 +152,7 @@ class UpdateConfig(dict): class RestartConditionTypesEnum(object): _values = ( 'none', - 'on_failure', + 'on-failure...
replace on_failure with on-failure
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,6 +21,9 @@ import os import sys sys.path.append(os.path.dirname(os.path.dirname(__file__))) +sys.path.append(os.path.join(os.path.dirname(__file__), '../pyhector')) + +from _version import get_versions ...
Use version from versioneer for sphinx docs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -81,6 +81,7 @@ setup(name="grimoire-elk", 'perceval-mozilla>=0.1.4', 'perceval-opnfv>=0.1.2', 'perceval-puppet>=0.1.4', + 'perceval-finos>=0.1.0', 'kingarthur>=0.1.1', ...
[setup] Add perceval-finos to install_requires list This code includes the dependency for the new perceval for finos `perceval-finos>=<I>`.
py
diff --git a/pymysql/__init__.py b/pymysql/__init__.py index <HASH>..<HASH> 100644 --- a/pymysql/__init__.py +++ b/pymysql/__init__.py @@ -92,7 +92,7 @@ def Connect(*args, **kwargs): from connections import Connection return Connection(*args, **kwargs) -import connections.Connection as _orig_conn +impor...
Restore python <I> compatibility.
py
diff --git a/nougat/context/request.py b/nougat/context/request.py index <HASH>..<HASH> 100644 --- a/nougat/context/request.py +++ b/nougat/context/request.py @@ -39,7 +39,12 @@ class Request: @cached_property def cookies(self): - return SimpleCookie(self.headers.get('Cookies', '')) + _cookies...
fixed: formatted cookies into dict.
py
diff --git a/tests/test_issues.py b/tests/test_issues.py index <HASH>..<HASH> 100644 --- a/tests/test_issues.py +++ b/tests/test_issues.py @@ -21,7 +21,7 @@ import hgvs.variantmapper @attr(tags=["issues"]) -class Test_VariantMapper(unittest.TestCase): +class Test_Issues(unittest.TestCase): def setUp(self): ...
closes #<I>: added test to confirm that report is no longer an issue
py
diff --git a/pyregion/core.py b/pyregion/core.py index <HASH>..<HASH> 100644 --- a/pyregion/core.py +++ b/pyregion/core.py @@ -169,7 +169,7 @@ class ShapeList(list): print("WARNING: The region list is empty. The region file " "'{:s}' will be empty.".format(outfile)) try: - ...
another fix to the writer: the `open` function only accepts one argument. How did this *ever* work?
py
diff --git a/root_pandas/__init__.py b/root_pandas/__init__.py index <HASH>..<HASH> 100644 --- a/root_pandas/__init__.py +++ b/root_pandas/__init__.py @@ -102,6 +102,7 @@ def read_root(path, key=None, columns=None, ignore=None, chunksize=None, where=N if isinstance(columns, string_types): columns ...
Add XXX on multi-dimensional indices
py
diff --git a/iron_core.py b/iron_core.py index <HASH>..<HASH> 100644 --- a/iron_core.py +++ b/iron_core.py @@ -118,9 +118,12 @@ class IronClient(object): if product in products: config["host"] = products[product]["host"] config["api_version"] = products[product]["version"] - - ...
Fix for use on google app engine Add a try/pass to get around using `os.path.expanduser` (which is not allowed on GAE).
py
diff --git a/brozzler/frontier.py b/brozzler/frontier.py index <HASH>..<HASH> 100644 --- a/brozzler/frontier.py +++ b/brozzler/frontier.py @@ -313,6 +313,8 @@ class RethinkDbFrontier: if len(pages) > 1: self.logger.warn( "more than one seed page for site_id %s ?", site_id) + ...
correctly handle site with no pages (which means the seed was blocked by robots.txt) in frontier.seed_page
py
diff --git a/djangocms_blog/admin.py b/djangocms_blog/admin.py index <HASH>..<HASH> 100755 --- a/djangocms_blog/admin.py +++ b/djangocms_blog/admin.py @@ -42,7 +42,7 @@ class PostAdmin(EnhancedModelAdminMixin, FrontendEditableAdmin, 'classes': ('collapse',) }), ('SEO', { - 'fie...
Oops, forgot to add it to the admin
py
diff --git a/sentry/views.py b/sentry/views.py index <HASH>..<HASH> 100644 --- a/sentry/views.py +++ b/sentry/views.py @@ -234,7 +234,7 @@ def ajax_handler(request): group.status = 1 if not request.is_ajax(): - return HttpResponseRedirect(request.META['HTTP_REFERER']) + ...
Redirect to Sentry's index if HTTP_REFERER is not set (fixes GH-<I>)
py
diff --git a/chemdataextractor/doc/document.py b/chemdataextractor/doc/document.py index <HASH>..<HASH> 100644 --- a/chemdataextractor/doc/document.py +++ b/chemdataextractor/doc/document.py @@ -88,7 +88,7 @@ class Document(BaseDocument): continue try: d = reader.readstrin...
Switch reader log back to debug level
py
diff --git a/openquake/hazardlib/valid.py b/openquake/hazardlib/valid.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/valid.py +++ b/openquake/hazardlib/valid.py @@ -374,6 +374,31 @@ def namelist(value): return names +def namelists(value): + """ + :param value: input string + :returns: list o...
Introduced function valid.namelists
py
diff --git a/app/actions/prottable/info.py b/app/actions/prottable/info.py index <HASH>..<HASH> 100644 --- a/app/actions/prottable/info.py +++ b/app/actions/prottable/info.py @@ -46,7 +46,8 @@ def add_protein_data(proteins, pgdb, headerfields, genecentric=False, proteindata = create_featuredata_map(pgdb, genecentr...
Unique peptides per protein should also be included in add info to protein table function
py
diff --git a/django_pyodbc/base.py b/django_pyodbc/base.py index <HASH>..<HASH> 100644 --- a/django_pyodbc/base.py +++ b/django_pyodbc/base.py @@ -308,7 +308,6 @@ class CursorWrapper(object): elif isinstance(p, binary_type): if self.driver_needs_utf8: # TODO: use syste...
Allowing to choose decoder encoding on setting.py file
py
diff --git a/examples/fetch_media_based_on_query.py b/examples/fetch_media_based_on_query.py index <HASH>..<HASH> 100644 --- a/examples/fetch_media_based_on_query.py +++ b/examples/fetch_media_based_on_query.py @@ -18,7 +18,7 @@ except ImportError as e: # See iDigBio Query Format for help on query syntax # https:/...
remove hasImage from query string The 'hasMedia' parameter is basically assumed since we are using the search_media method.
py
diff --git a/src/toil/test/provisioners/clusterScalerTest.py b/src/toil/test/provisioners/clusterScalerTest.py index <HASH>..<HASH> 100644 --- a/src/toil/test/provisioners/clusterScalerTest.py +++ b/src/toil/test/provisioners/clusterScalerTest.py @@ -210,8 +210,8 @@ class ClusterScalerTest(ToilTest): try: ...
wrapped lambda and range in list()
py
diff --git a/openquake/hazardlib/gsim/base.py b/openquake/hazardlib/gsim/base.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/base.py +++ b/openquake/hazardlib/gsim/base.py @@ -713,7 +713,7 @@ class RuptureContext(BaseContext): """ __slots__ = ( 'mag', 'strike', 'dip', 'rake', 'ztor', '...
adding rupture_slip_direction into RuptureContext
py
diff --git a/plexapi/playlist.py b/plexapi/playlist.py index <HASH>..<HASH> 100644 --- a/plexapi/playlist.py +++ b/plexapi/playlist.py @@ -253,15 +253,13 @@ class Playlist(PlexPartialObject, Playable, ArtMixin, PosterMixin): return cls(server, data, initpath=key) def copyToUser(self, user): - """...
Update Playlist.copyToUser with switchUser
py
diff --git a/marionette/cli_tests.py b/marionette/cli_tests.py index <HASH>..<HASH> 100644 --- a/marionette/cli_tests.py +++ b/marionette/cli_tests.py @@ -67,11 +67,15 @@ class Tests(unittest.TestCase): #print ['parallel-'+str(simultaneous), i, elapsed, total_elapsed/i] def test_cli_curl(self): - ...
Issue #2: re-structure of unit tests
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2257,12 +2257,20 @@ class API: Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request. - :param cursor: |curso...
Update and improve documentation for API.friendships_outgoing
py
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index <HASH>..<HASH> 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -1058,7 +1058,6 @@ class MoveFocusCommand(MoveCommand): MoveCommand.apply(self, ui) # TODO add 'next matching' if threadbuffer stores the origin...
commands/thread: Don't refresh after moving For large threads (I can reproduce on threads with ~<I> messages), changing messages can become quite slow, especially if there are a significant number of folded messages. Removing the call to refresh the body after moving seems to fix this. There may be side effects of th...
py
diff --git a/tests/testlib.py b/tests/testlib.py index <HASH>..<HASH> 100644 --- a/tests/testlib.py +++ b/tests/testlib.py @@ -31,7 +31,7 @@ def delete_app(service, name): apps.delete(name) restart(service) -def restart(service, timeout=60): +def restart(service, timeout=120): """Restart the gi...
Increase restart timeout .. still fighting some test stability issues.
py
diff --git a/allennlp/common/registrable.py b/allennlp/common/registrable.py index <HASH>..<HASH> 100644 --- a/allennlp/common/registrable.py +++ b/allennlp/common/registrable.py @@ -70,7 +70,7 @@ class Registrable(FromParams): @classmethod def by_name(cls: Type[T], name: str) -> Type[T]: - logger.in...
Change log level to clean up allennlp command (#<I>)
py
diff --git a/i3pystatus/mail/__init__.py b/i3pystatus/mail/__init__.py index <HASH>..<HASH> 100644 --- a/i3pystatus/mail/__init__.py +++ b/i3pystatus/mail/__init__.py @@ -17,6 +17,8 @@ class Mail(IntervalModule): """ Generic mail checker + + The `backends` setting determines the backends to use. For av...
Document how to switch focus to mail client on left click.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from distutils.core import setup #from setuptools import setup -import peri +# import peri desc = open('./README.md').read() reqs = open('./requirements.txt').readlines() @@ -9,7 +9,7 @@ setup(name='peri', ...
Removing self-reference in setup.py, which is causing Brian hangups.
py
diff --git a/sanic/__main__.py b/sanic/__main__.py index <HASH>..<HASH> 100644 --- a/sanic/__main__.py +++ b/sanic/__main__.py @@ -35,10 +35,10 @@ if __name__ == "__main__": app.run(host=args.host, port=args.port, workers=args.workers, debug=args.debug, ssl=ssl) - except ImportError: - ...
Fix #<I> - ImportError not preserved in __main__.py
py
diff --git a/storage_s3/indico_storage_s3/plugin.py b/storage_s3/indico_storage_s3/plugin.py index <HASH>..<HASH> 100644 --- a/storage_s3/indico_storage_s3/plugin.py +++ b/storage_s3/indico_storage_s3/plugin.py @@ -182,5 +182,7 @@ class S3Storage(Storage): try: self.client.head_bucket(Bucket=name)...
Storage/S3: Don't assume unaccessible buckets don't exist Now we fail loudly if a bucket is not accessible during the existence check; that way we don't risk getting errors later when writes to the bucket would fail (or worse, succeed, because it's someone else's world-writable bucket)
py
diff --git a/huey/contrib/djhuey/management/commands/run_huey.py b/huey/contrib/djhuey/management/commands/run_huey.py index <HASH>..<HASH> 100644 --- a/huey/contrib/djhuey/management/commands/run_huey.py +++ b/huey/contrib/djhuey/management/commands/run_huey.py @@ -1,4 +1,5 @@ import imp +import logging from djang...
Catch ImportError raised during module load / autodiscover. Refs #<I>.
py
diff --git a/cartoframes/columns.py b/cartoframes/columns.py index <HASH>..<HASH> 100644 --- a/cartoframes/columns.py +++ b/cartoframes/columns.py @@ -156,4 +156,4 @@ def pg2dtypes(pgtype): 'timestamp without time zone': 'datetime64[ns]', 'USER-DEFINED': 'object', } - return mapping.get(str(pg...
revert auto-infer of data types in favor of object
py
diff --git a/samtranslator/translator/translator.py b/samtranslator/translator/translator.py index <HASH>..<HASH> 100644 --- a/samtranslator/translator/translator.py +++ b/samtranslator/translator/translator.py @@ -1,6 +1,5 @@ import copy from samtranslator.model import ResourceTypeResolver, sam_resources -from colle...
fix: fix issue when referencing RestApiId by Ref (#<I>) This handles the error of when referencing an API via Ref so that the dictionary check actually occurs. This makes the type checks equivalent and isn't as restrictive as the OrderedDict class
py
diff --git a/tensorflow_hub/keras_layer.py b/tensorflow_hub/keras_layer.py index <HASH>..<HASH> 100644 --- a/tensorflow_hub/keras_layer.py +++ b/tensorflow_hub/keras_layer.py @@ -181,7 +181,10 @@ class KerasLayer(tf.keras.layers.Layer): def get_config(self): config = super(KerasLayer, self).get_config() if...
hub.KerasLayer.get_config raises the correct error type to indicate configurations for which saving a config is legitimately not supported. Without this, tf.saved_model.save() crashes on Keras Models with a hub.KerasLayer built directly from a callable object rather than a string for hub.load(). PiperOrigin-RevId: <I...
py
diff --git a/easy_thumbnails/files.py b/easy_thumbnails/files.py index <HASH>..<HASH> 100644 --- a/easy_thumbnails/files.py +++ b/easy_thumbnails/files.py @@ -133,6 +133,21 @@ class ThumbnailFile(ImageFieldFile): self.file = file self.thumbnail_options = thumbnail_options + def save(self, *ar...
Override the save/delete FieldFile methods on ThumbnailFile that won't work
py
diff --git a/glue/ligolw/table.py b/glue/ligolw/table.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/table.py +++ b/glue/ligolw/table.py @@ -692,10 +692,12 @@ def startStream(self, attrs): def endStream(self): # stream tokenizer uses delimiter to identify end of each token, so - # add a final delimiter to induce...
Only append a comma to the tokenizers buffer to induce the last token to be parsed if there is non-whitespace in the buffer.
py
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index <HASH>..<HASH> 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -367,14 +367,21 @@ def _wrap_results(result, dtype: np.dtype, fill_value=None): return result -def _datetimelike_compat(func): +def _datetimelike_compat(func: F) -> ...
TYP: follow-up to #<I> (#<I>) * TYP: nanops * cast
py
diff --git a/pdb.py b/pdb.py index <HASH>..<HASH> 100644 --- a/pdb.py +++ b/pdb.py @@ -80,7 +80,6 @@ pdb = import_from_stdlib('pdb') class DefaultConfig: prompt = '(Pdb++) ' - completekey = 'tab' highlight = True bg = 'dark' use_pygments = True @@ -136,7 +135,6 @@ class Pdb(pdb.Pdb, Configurab...
kill the 'completekey' option: when using pyrepl, it's always bound to TAB anyway
py
diff --git a/pythran/log.py b/pythran/log.py index <HASH>..<HASH> 100644 --- a/pythran/log.py +++ b/pythran/log.py @@ -21,4 +21,4 @@ try: except ImportError: # No color available, use default config logging.basicConfig(format='%(levelname)s: %(message)s') - logger.warn("Disabling color, you really want to...
Remove annoying colorlog warning This is especially important for packages that depend on pythran like cython.
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -205,7 +205,6 @@ def pillars(opts, functions): opts, tag='pillar', pack=pack, - singleton=False, # TODO...
Change default to false, since everyone seems to pass them in
py
diff --git a/api/src/opentrons/drivers/temp_deck/driver.py b/api/src/opentrons/drivers/temp_deck/driver.py index <HASH>..<HASH> 100644 --- a/api/src/opentrons/drivers/temp_deck/driver.py +++ b/api/src/opentrons/drivers/temp_deck/driver.py @@ -203,12 +203,13 @@ class TempDeck: def set_temperature(self, celsius) -...
fix(api): add target temp verification to set_temperature (#<I>) fixes the protocol problem where wait_for_temp doesn't read the latest status Closes #<I>
py
diff --git a/spyder/plugins/completion/kite/client.py b/spyder/plugins/completion/kite/client.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/kite/client.py +++ b/spyder/plugins/completion/kite/client.py @@ -101,6 +101,7 @@ class KiteClient(QObject, KiteMethodProviderMixIn): if method in sel...
fix nonetype error in kite client
py
diff --git a/spark.py b/spark.py index <HASH>..<HASH> 100644 --- a/spark.py +++ b/spark.py @@ -25,7 +25,7 @@ def sparkify(series): if data_range == 0.0: raise Exception("Cannot normalize when range is zero.") - return ''.join( + return u''.join( map( lambda x: spark_chars[int...
output should start as a unicode string
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,16 @@ import qnet # extra_link_args=['-lm']), # ] -version = qnet.__version__ + +def get_version(filename): + with open(filename) as in_fh: + for line in in_fh: + if line.starts...
Avoid importing __version__ in setup.py Instead of importing __version__, parse qnet/__init__.py for the version string. The way __init__.py is currently written, it doesn't make a difference, but if we were ever to change the file such that the import may fail due to unmet dependencies (e.g., by exposing any of the s...
py
diff --git a/pyy/cgi.py b/pyy/cgi.py index <HASH>..<HASH> 100644 --- a/pyy/cgi.py +++ b/pyy/cgi.py @@ -43,11 +43,11 @@ if __name__ == '__main__': import traceback print 'Content-Type: text/html' print - print '<pre>' + print '<html><head><title>Error</title></head><body><pre...
Added HTML document structure to error output.
py
diff --git a/test_nameko_sentry.py b/test_nameko_sentry.py index <HASH>..<HASH> 100644 --- a/test_nameko_sentry.py +++ b/test_nameko_sentry.py @@ -867,7 +867,7 @@ class TestEndToEnd(object): @pytest.fixture def sentry_dsn(self, free_port): - return 'eventlet+http://user:pass@localhost:{}/1'.format(fr...
must use <I> rather than localhost in stub sentry dsn
py
diff --git a/Lib/ufo2ft/featureWriters/baseFeatureWriter.py b/Lib/ufo2ft/featureWriters/baseFeatureWriter.py index <HASH>..<HASH> 100644 --- a/Lib/ufo2ft/featureWriters/baseFeatureWriter.py +++ b/Lib/ufo2ft/featureWriters/baseFeatureWriter.py @@ -85,13 +85,15 @@ class BaseFeatureWriter: todo = set(self.feature...
baseFeatureWriter: skip collectInsertMarkers when insertFeatureMark is None
py
diff --git a/drizzlepac/runastrodriz.py b/drizzlepac/runastrodriz.py index <HASH>..<HASH> 100755 --- a/drizzlepac/runastrodriz.py +++ b/drizzlepac/runastrodriz.py @@ -363,6 +363,8 @@ def process(inFile, force=False, newpath=None, num_cores=None, inmemory=True, """ inst_mode = "{}/{}".format(infile_ins...
Fix logic for getting MDRIZTAB pars (#<I>)
py
diff --git a/sentry_ldap_auth/backend.py b/sentry_ldap_auth/backend.py index <HASH>..<HASH> 100644 --- a/sentry_ldap_auth/backend.py +++ b/sentry_ldap_auth/backend.py @@ -2,6 +2,7 @@ from __future__ import absolute_import from django_auth_ldap.backend import LDAPBackend from django.conf import settings +from django...
remove previously-created empty UserEmail records Expand search for empty e-mail address records by searching for both `''` and `' '`.
py
diff --git a/tofu/tests/tests01_geom/tests01_GG.py b/tofu/tests/tests01_geom/tests01_GG.py index <HASH>..<HASH> 100644 --- a/tofu/tests/tests01_geom/tests01_GG.py +++ b/tofu/tests/tests01_geom/tests01_GG.py @@ -351,9 +351,9 @@ def test08_Ves_Vmesh_Lin(VPoly=VPoly): Pts, dV, ind,\ dXr, dYr, dZr = GG._Ves_V...
[Issue<I>] Corrected unit test test<I>_Ves_Vmesh_Lin()
py
diff --git a/python/pyspark/sql/context.py b/python/pyspark/sql/context.py index <HASH>..<HASH> 100644 --- a/python/pyspark/sql/context.py +++ b/python/pyspark/sql/context.py @@ -39,7 +39,7 @@ from pyspark.sql.functions import UserDefinedFunction try: import pandas has_pandas = True -except ImportError: +exc...
[SPARK-<I>] [PYSPARK] [SQL] ignore exceptions while try to import pandas If pandas is broken (can't be imported, raise other exceptions other than ImportError), pyspark can't be imported, we should ignore all the exceptions.
py
diff --git a/lib/tri/query/db_compat.py b/lib/tri/query/db_compat.py index <HASH>..<HASH> 100644 --- a/lib/tri/query/db_compat.py +++ b/lib/tri/query/db_compat.py @@ -31,7 +31,7 @@ def setup(): (TextField, lambda model_field, **kwargs: Variable.text(**kwargs)), (FloatField, lambda model_field, **kwarg...
Missing default show=False for primary keys
py
diff --git a/openstack_basic_check.py b/openstack_basic_check.py index <HASH>..<HASH> 100755 --- a/openstack_basic_check.py +++ b/openstack_basic_check.py @@ -68,7 +68,7 @@ swift_cmds = [ def run_cmds(commands): for cmd in commands: - return run_command(cmd, verbose=True) + run_command(cmd, verbos...
Run all the commands, not just the first one.
py
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -2248,6 +2248,8 @@ class Client: elif isinstance(file_out, str): f = open(file_out, 'wb') + close_file = True +...
fix open file leak in client.download_media
py
diff --git a/torndsession/__init__.py b/torndsession/__init__.py index <HASH>..<HASH> 100644 --- a/torndsession/__init__.py +++ b/torndsession/__init__.py @@ -7,5 +7,5 @@ from __future__ import absolute_import, division, print_function, with_statement -version = "1.1.5" -version_info = (1, 1, 5, 0) +version = "1.1...
sync version with pypi.
py
diff --git a/modelx/__init__.py b/modelx/__init__.py index <HASH>..<HASH> 100644 --- a/modelx/__init__.py +++ b/modelx/__init__.py @@ -14,7 +14,7 @@ -VERSION = (0, 0, 18, 'dev') +VERSION = (0, 0, 18) __version__ = '.'.join([str(x) for x in VERSION]) from modelx.core.api import * # must come after __version__ a...
DIST: Release <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ setup( name='trellio', packages=find_packages(exclude=['examples', 'tests']), version=version, - description='Python 3 asyncio based micro-framework for micro-service architecture', + descri...
fixed manage.py runserver issue
py
diff --git a/src/wa_kat/bottle_index.py b/src/wa_kat/bottle_index.py index <HASH>..<HASH> 100755 --- a/src/wa_kat/bottle_index.py +++ b/src/wa_kat/bottle_index.py @@ -85,9 +85,12 @@ def render_form_template(): remote_info = seeder.get_remote_info(registered_user_id) except AssertionError: #: TODO...
#<I>: Added handling of Seeder's avaliability (#<I>).
py
diff --git a/wafer/talks/forms.py b/wafer/talks/forms.py index <HASH>..<HASH> 100644 --- a/wafer/talks/forms.py +++ b/wafer/talks/forms.py @@ -102,8 +102,8 @@ class TalkForm(forms.ModelForm): self.helper = FormHelper(self) self.helper.include_media = False - submit_button = Submit('submit', _...
When editing an existing talk, offer to Save, not Submit it
py
diff --git a/plenum/common/request.py b/plenum/common/request.py index <HASH>..<HASH> 100644 --- a/plenum/common/request.py +++ b/plenum/common/request.py @@ -43,7 +43,8 @@ class Request: def as_dict(self): rv = { f.REQ_ID.nm: self.reqId, - OPERATION: self.operation, + f...
INDY-<I>: fix problem in Request as_dict()
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ license: GNU-GPL2 from setuptools import setup setup(name='pyprofiler', - version='16', + version='18', description='Profiler utility for python, graphical and textual, whole program or segmen...
pip Friday <I> March <I> (week:9 day:<I>), <I>:<I>:<I>
py
diff --git a/rqalpha/cmds/mod.py b/rqalpha/cmds/mod.py index <HASH>..<HASH> 100644 --- a/rqalpha/cmds/mod.py +++ b/rqalpha/cmds/mod.py @@ -75,9 +75,8 @@ def mod(cmd, params): try: import_module(module_name) except ImportError: - if enabled: - ...
:bug: FIX disable mod behavior
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.29", + version="1.0.30", description=("...
new release for updated python 2 logger support to validate the python 3 client works
py
diff --git a/spinoff/remoting/hublogic.py b/spinoff/remoting/hublogic.py index <HASH>..<HASH> 100644 --- a/spinoff/remoting/hublogic.py +++ b/spinoff/remoting/hublogic.py @@ -81,7 +81,8 @@ class HubLogic(object): self.version = -1 def start(self): - yield Bind, nid2addr(self.nid) + port = ...
Instead of binding to a specific address, bind to all (<I>)--this should solve the changing IP problem
py
diff --git a/cocaine/services/base.py b/cocaine/services/base.py index <HASH>..<HASH> 100644 --- a/cocaine/services/base.py +++ b/cocaine/services/base.py @@ -84,7 +84,6 @@ class AbstractService(object): self.name = name self._stream = None - self._decoder = None self._counter = it...
Simplifying determining service's state logic. * also dropped no longer required class field - decoder. It is now part of stream.
py
diff --git a/openquake/risklib/riskinput.py b/openquake/risklib/riskinput.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/riskinput.py +++ b/openquake/risklib/riskinput.py @@ -327,6 +327,10 @@ class CompositeRiskModel(collections.Mapping): if oqparam.calculation_mode in ('classical', 'scenario'): ...
Added a check on the exposure [skip hazardlib] [demos]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,13 +32,13 @@ setup( install_requires=[ 'Jinja2>=2.8', 'PyYAML>=3.11', - 'psycopg2==2.6.2', - 'sqlparse==0.1.19', + 'psycopg2==2.7.1', + 'sqlparse==0.2.3', 'networ...
bump some deps (#<I>)
py
diff --git a/pgmpy/Factor/CPD.py b/pgmpy/Factor/CPD.py index <HASH>..<HASH> 100644 --- a/pgmpy/Factor/CPD.py +++ b/pgmpy/Factor/CPD.py @@ -174,7 +174,7 @@ class TreeCPD(nx.DiGraph): """ def __init__(self, data=None): """ - Creates an empty Tree CPD. + Base Class for Tree CPD. ...
Some minor changes in doc and function definations
py
diff --git a/zhaquirks/tuya/__init__.py b/zhaquirks/tuya/__init__.py index <HASH>..<HASH> 100644 --- a/zhaquirks/tuya/__init__.py +++ b/zhaquirks/tuya/__init__.py @@ -471,6 +471,10 @@ class TuyaManufacturerClusterOnOff(TuyaManufCluster): ) -> None: """Handle cluster request.""" + # Send default r...
Add `send_default_rsp` to TuyaManufacturerClusterOnOff (#<I>) * Add `send_default_rsp` to TuyaManufacturerClusterOnOff It seems that this is needed all around. Fix `TuyaManufacturerClusterOnOff` while refactoring does not arrive. * fix black
py
diff --git a/libaaron/__init__.py b/libaaron/__init__.py index <HASH>..<HASH> 100644 --- a/libaaron/__init__.py +++ b/libaaron/__init__.py @@ -12,6 +12,6 @@ from .libaaron import ( ) try: - from .libaaron import xml_little_iter + from .libaaron import lxml_little_iter except ImportError: pass
fixed something with lxml
py
diff --git a/tweepy/cache.py b/tweepy/cache.py index <HASH>..<HASH> 100644 --- a/tweepy/cache.py +++ b/tweepy/cache.py @@ -5,7 +5,11 @@ import time import threading import os -import cPickle as pickle + +try: + import cPickle as pickle +except ImportError: + import pickle try: import hashlib
Fallback to pickle module if CPickle not found.
py
diff --git a/testing/test_pdb.py b/testing/test_pdb.py index <HASH>..<HASH> 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -1328,7 +1328,7 @@ def test_longlist_with_highlight(): <COLORNUM> def fn(): <COLORNUM> a = 1 <COLORNUM> set_trace(Config=ConfigWithHighlight) -^[[3...
tests: fix test_longlist_with_highlight (#<I>)
py
diff --git a/pysnmp/carrier/asyncore/dgram/unix.py b/pysnmp/carrier/asyncore/dgram/unix.py index <HASH>..<HASH> 100644 --- a/pysnmp/carrier/asyncore/dgram/unix.py +++ b/pysnmp/carrier/asyncore/dgram/unix.py @@ -5,7 +5,7 @@ from pysnmp.carrier.asynsock.dgram.base import DgramSocketTransport domainName = snmpLocalDoma...
UnixDgramSocketTransport symbol renamed to become more inline with other transports
py
diff --git a/hydpy/core/sequencetools.py b/hydpy/core/sequencetools.py index <HASH>..<HASH> 100644 --- a/hydpy/core/sequencetools.py +++ b/hydpy/core/sequencetools.py @@ -1818,7 +1818,7 @@ class Sim(NodeSequence): ... UserWarning: While trying to load the external data of sequence \ `sim` of node `di...
Adapt the doctests of method `load_ext` of classes `Sim` and `Obs` to the new default file type `asc`.
py
diff --git a/parser.py b/parser.py index <HASH>..<HASH> 100644 --- a/parser.py +++ b/parser.py @@ -4,6 +4,7 @@ from utils import utils from constants import contentModelFlags, spaceCharacters from constants import scopingElements, formattingElements, specialElements from constants import headingElements, tableInsert...
Remove erroneously left in code that was causing us to duplicate nodes --HG-- extra : convert_revision : svn%3Aacbfec<I>-<I>-<I>-a<I>-<I>a<I>e<I>e0/trunk%<I>
py
diff --git a/gpiozero/mixins.py b/gpiozero/mixins.py index <HASH>..<HASH> 100644 --- a/gpiozero/mixins.py +++ b/gpiozero/mixins.py @@ -493,15 +493,11 @@ class GPIOQueue(GPIOThread): def fill(self): try: - while (not self.stopping.wait(self.sample_wait) and - len(self.queue)...
Refactor GPIOQueue.fill() squash the two while loops down into one
py
diff --git a/delphin/tdl.py b/delphin/tdl.py index <HASH>..<HASH> 100644 --- a/delphin/tdl.py +++ b/delphin/tdl.py @@ -1021,7 +1021,7 @@ _tdl_lex_re = re.compile( |%(prefix|suffix) # 21 start of affixing pattern |\(([^ ]+\s+(?:[^ )\\]|\\.)+)\) # 22 affix subpattern |(\/) ...
Use a character whitelist for TDL identifiers
py
diff --git a/blockstack/lib/operations/namespacereveal.py b/blockstack/lib/operations/namespacereveal.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/operations/namespacereveal.py +++ b/blockstack/lib/operations/namespacereveal.py @@ -293,6 +293,7 @@ def check( state_engine, nameop, block_id, checked_ops ): ...
explicitly set reveal_block in check()
py
diff --git a/c7n/resources/dynamodb.py b/c7n/resources/dynamodb.py index <HASH>..<HASH> 100644 --- a/c7n/resources/dynamodb.py +++ b/c7n/resources/dynamodb.py @@ -396,9 +396,11 @@ class DeleteBackup(BaseAction, StatusFilter): - name: dynamodb-delete-backup resource: dynamodb-backup ...
docs - fix aws.dynamo-db backup deletion example and clarify warning message (#<I>)
py
diff --git a/neo4j/meta.py b/neo4j/meta.py index <HASH>..<HASH> 100644 --- a/neo4j/meta.py +++ b/neo4j/meta.py @@ -19,4 +19,4 @@ # limitations under the License. -version = "1.2.0rc2" +version = "1.2.0"
Updated version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,8 +11,8 @@ def read(*parts): setup( - author="Pinax Developers", - author_email="developers@pinaxprojects.com", + author="Pinax Team", + author_email="team@pinaxproject.com", description="a document m...
updated author and author_email for consistency
py
diff --git a/netpyne/sim/setup.py b/netpyne/sim/setup.py index <HASH>..<HASH> 100644 --- a/netpyne/sim/setup.py +++ b/netpyne/sim/setup.py @@ -59,10 +59,10 @@ def initialize(netParams = None, simConfig = None, net = None): print('Error: seems like the sim.initialize() arguments are in the wrong order, try init...
commenting out recent validator bug in setup
py