diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/livestreamer/plugins/afreecatv.py b/src/livestreamer/plugins/afreecatv.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/plugins/afreecatv.py +++ b/src/livestreamer/plugins/afreecatv.py @@ -1,8 +1,8 @@ import re from livestreamer.plugin import Plugin +from livestreamer.plugin.api import http f...
plugins.afreecatv: Update to use new HTTP APIs.
py
diff --git a/quarkc/test/test_compile.py b/quarkc/test/test_compile.py index <HASH>..<HASH> 100644 --- a/quarkc/test/test_compile.py +++ b/quarkc/test/test_compile.py @@ -14,7 +14,7 @@ import os, pytest from quarkc.compiler import Compiler, CompileError, ParseError -from .util import assert_file, maybe_xfail, is_ex...
Collect all compile test differences before asserting
py
diff --git a/pyoko/db/base.py b/pyoko/db/base.py index <HASH>..<HASH> 100644 --- a/pyoko/db/base.py +++ b/pyoko/db/base.py @@ -511,17 +511,28 @@ class DBObjects(object): key = key[:-4] val = ' OR '.join(['%s:%s'%(key, v) for v in val]) key = 'NOKEY' - elif '...
added __contains, __startswith, __endswith lookup modifiers
py
diff --git a/python/thunder/__init__.py b/python/thunder/__init__.py index <HASH>..<HASH> 100644 --- a/python/thunder/__init__.py +++ b/python/thunder/__init__.py @@ -1 +1 @@ -__version__ = "0.1.0" \ No newline at end of file +__version__ = "0.2.0" \ No newline at end of file
Updated version to <I>
py
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -27,6 +27,6 @@ class CLITest(unittest.TestCase): with CaptureStd() as cs: transformers.commands.transformers_cli.main() - assert "Python version" in cs.out - ...
Replace assert with unittest assertions (#<I>)
py
diff --git a/lark/tools/standalone.py b/lark/tools/standalone.py index <HASH>..<HASH> 100644 --- a/lark/tools/standalone.py +++ b/lark/tools/standalone.py @@ -131,10 +131,10 @@ def gen_standalone(lark_inst, output=None, out=sys.stdout, compress=False): def compressed_output(obj): s = pickle.dumps(obj, pic...
Fix for compression. Use base<I> for compatibility
py
diff --git a/openid/consumer/consumer.py b/openid/consumer/consumer.py index <HASH>..<HASH> 100644 --- a/openid/consumer/consumer.py +++ b/openid/consumer/consumer.py @@ -580,8 +580,8 @@ class OpenIDConsumer(object): whitelist = ['assoc_handle', 'sig', 'signed', 'invalidate_handle'] signed = signed.sp...
[project @ Make sure that we only send args starting with openid. when we call check_authentication]
py
diff --git a/openquake/commonlib/oqvalidation.py b/openquake/commonlib/oqvalidation.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/oqvalidation.py +++ b/openquake/commonlib/oqvalidation.py @@ -103,7 +103,7 @@ class OqParam(valid.ParamSet): steps_per_interval = valid.Param(valid.positiveint, 1) maste...
Raised asset_hazard_distance to <I> km [skip CI]
py
diff --git a/bcbio/variation/bedutils.py b/bcbio/variation/bedutils.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/bedutils.py +++ b/bcbio/variation/bedutils.py @@ -67,7 +67,7 @@ def remove_bad(line): """Remove non-increasing BED lines which will cause variant callers to choke. """ parts = line.str...
Remove empty lines in BED files when pre-processing Avoids errors looking for incorrect BED files. Fixes #<I>
py
diff --git a/aiomysql/sa/result.py b/aiomysql/sa/result.py index <HASH>..<HASH> 100644 --- a/aiomysql/sa/result.py +++ b/aiomysql/sa/result.py @@ -230,10 +230,12 @@ class ResultProxy: @asyncio.coroutine def _prepare(self): + loop = self._connection.connection.loop cursor = self._cursor ...
call close coroutine inside new Task
py
diff --git a/pytest-server-fixtures/pytest_server_fixtures/base.py b/pytest-server-fixtures/pytest_server_fixtures/base.py index <HASH>..<HASH> 100644 --- a/pytest-server-fixtures/pytest_server_fixtures/base.py +++ b/pytest-server-fixtures/pytest_server_fixtures/base.py @@ -89,6 +89,7 @@ def get_ephemeral_port(port=0, ...
pytest-server-fixtures: add SO_REUSEADDR flag in get_ephemeral_port to avoid port being hold open for longer than necessary
py
diff --git a/exchangelib/services.py b/exchangelib/services.py index <HASH>..<HASH> 100644 --- a/exchangelib/services.py +++ b/exchangelib/services.py @@ -671,7 +671,7 @@ class CreateItem(EWSAccountService, EWSPooledMixIn): )) def get_payload(self, items, folder, message_disposition, send_meeting_invita...
Update services.py (#<I>) tiny typo in comment
py
diff --git a/playsound.py b/playsound.py index <HASH>..<HASH> 100644 --- a/playsound.py +++ b/playsound.py @@ -60,7 +60,7 @@ def _playsoundOSX(sound, block = True): from os import getcwd sound = getcwd() + '/' + sound sound = 'file://' + sound - sound.replace(' ', '%20') + sound...
Stupid mistake - sure would be nice if I had a Mac to test on right now instead of relying on Travis CI's mac.
py
diff --git a/d1_libclient_python/src/d1_client/d1client.py b/d1_libclient_python/src/d1_client/d1client.py index <HASH>..<HASH> 100644 --- a/d1_libclient_python/src/d1_client/d1client.py +++ b/d1_libclient_python/src/d1_client/d1client.py @@ -205,7 +205,7 @@ class DataONEClient(object): identified by PID. :re...
Fixed bug in the D1Client get() method that includes automatic resolving.
py
diff --git a/beaver/redis_transport.py b/beaver/redis_transport.py index <HASH>..<HASH> 100644 --- a/beaver/redis_transport.py +++ b/beaver/redis_transport.py @@ -25,7 +25,7 @@ class RedisTransport(beaver.transport.Transport): if wait == 20: break - time.sleep(0.1) + ...
Use a larger sleep time to get around redis over ssh connection issues
py
diff --git a/ggplot/ggplot.py b/ggplot/ggplot.py index <HASH>..<HASH> 100644 --- a/ggplot/ggplot.py +++ b/ggplot/ggplot.py @@ -361,14 +361,14 @@ class ggplot(object): if self.ytick_formatter: ax.yaxis.set_major_formatter(self.ytick_formatter) if self.xlimits: - ...
Fixed issue with partial xlim or ylim and facets Because the earlier submitted patch was using plt.xlim() to get length of the auto adjusted axes length, all axes in a facets plot would end up with the same upper limit when setting only the lower limit and vice versa. The same is was true for the y-limit.
py
diff --git a/LiSE/LiSE/xcollections.py b/LiSE/LiSE/xcollections.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/xcollections.py +++ b/LiSE/LiSE/xcollections.py @@ -351,8 +351,15 @@ class CharacterMapping(MutableMapping, Signal): if isinstance(value, Character): self.engine._graph_objs[name] = value...
Handle it when you set a character that already exists
py
diff --git a/asyncpg/exceptions/_base.py b/asyncpg/exceptions/_base.py index <HASH>..<HASH> 100644 --- a/asyncpg/exceptions/_base.py +++ b/asyncpg/exceptions/_base.py @@ -21,6 +21,7 @@ class PostgresMessageMeta(type): _message_map = {} _field_map = { 'S': 'severity', + 'V': 'severity_en', ...
New severity "V" field as "severity_en" attribute It is identical to the regular severity "S", but it is never localized. Introduced in Postgres-<I>: <URL>
py
diff --git a/GPy/core/parameterization/index_operations.py b/GPy/core/parameterization/index_operations.py index <HASH>..<HASH> 100644 --- a/GPy/core/parameterization/index_operations.py +++ b/GPy/core/parameterization/index_operations.py @@ -215,8 +215,6 @@ class ParameterIndexOperationsView(object): def remove...
oops index operations had an assignment error
py
diff --git a/example/std.py b/example/std.py index <HASH>..<HASH> 100644 --- a/example/std.py +++ b/example/std.py @@ -72,7 +72,7 @@ : """HTML5 inline abbreviation.""" <abbr title="${title}"&{kwargs}>${label}</abbr> : end - + : def list context, obj, kind='auto', flush=10, **attributes : """Generate an HTML5...
Removed extraneous whitespace.
py
diff --git a/openquake/calculators/ebrisk.py b/openquake/calculators/ebrisk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/ebrisk.py +++ b/openquake/calculators/ebrisk.py @@ -58,7 +58,7 @@ def calc_risk(gmfs, param, monitor): with monitor('getting assets'): assets_df = dstore.read_df('assetcol...
Fixed ebrisk too [skip CI]
py
diff --git a/easytrader/yh_clienttrader.py b/easytrader/yh_clienttrader.py index <HASH>..<HASH> 100644 --- a/easytrader/yh_clienttrader.py +++ b/easytrader/yh_clienttrader.py @@ -271,10 +271,17 @@ class YHClientTrader(): @functools.lru_cache() def _get_left_menus_handle(self): - return self._app.top_...
fix some time cant find left menu handle ready
py
diff --git a/spyderlib/widgets/dataframeeditor.py b/spyderlib/widgets/dataframeeditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/dataframeeditor.py +++ b/spyderlib/widgets/dataframeeditor.py @@ -217,10 +217,10 @@ class DataFrameModel(QAbstractTableModel): def get_value(self, row, column): """...
Backport (and improve) fix for issue #<I> - Use iloc to get DataFrame values under *all* possible errors - This avoids Spyder to crash if different errors than the ones previously considered are generated by iat
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='shipane_sdk', - version='1.0.0.a6', + version='1.0.0.a8', description=u'实盘易(ShiPanE)Python SDK,通达信自动化交易 API。', ...
Release <I>.a8
py
diff --git a/scripts/generate_city_id_files.py b/scripts/generate_city_id_files.py index <HASH>..<HASH> 100644 --- a/scripts/generate_city_id_files.py +++ b/scripts/generate_city_id_files.py @@ -78,7 +78,7 @@ def split_keyset(keyset): def write_subsets_to_files(ssets): print 'Ordering subsets and writing subset...
Filenames with numbers on 3 digits
py
diff --git a/podcast/views.py b/podcast/views.py index <HASH>..<HASH> 100644 --- a/podcast/views.py +++ b/podcast/views.py @@ -53,16 +53,15 @@ class ShowDetailView(PodcastSingularMixin, SingleObjectMixin, MultipleObjectMixi class EpisodeDetailView(PodcastSingularMixin, DetailView): - def get_show(self): - ...
Removed method because it was only used in get object
py
diff --git a/quantumclient/shell.py b/quantumclient/shell.py index <HASH>..<HASH> 100644 --- a/quantumclient/shell.py +++ b/quantumclient/shell.py @@ -186,7 +186,7 @@ class QuantumShell(App): const=0, help='suppress output except warnings and errors', ) parser.add_argument( - ...
Use -h, --help to show help messages. Fixes bug <I> "quantumv2" command used '-H' and '--Help' to show help messages, but it is inconsistent to the convention of option names used in other OpenStack client lib commands. This commit fixes it. Change-Id: I<I>c1e<I>c2cd<I>bcc<I>ed2f<I>ca<I>e<I>
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, find_packages setup( name='PyBundle', - version='1.0.3', + version='1.0.4', packages=find_packages(), url='https://github.com/mrstephenneal/PyBundle', lic...
Updated to version <I> and fixed issue with frozen_bundle stack trace
py
diff --git a/seshet/utils.py b/seshet/utils.py index <HASH>..<HASH> 100644 --- a/seshet/utils.py +++ b/seshet/utils.py @@ -1,14 +1,25 @@ """Various utility classes used by the bot and command modules.""" class KVStore: - """ - Settings object abstracts key/value database table, mainly used for - persistent...
Updated docstring for KVStore. TODO: edit code to remove web2py references and uuid stuff.
py
diff --git a/fedmsg_meta_fedora_infrastructure/tests/anitya.py b/fedmsg_meta_fedora_infrastructure/tests/anitya.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/tests/anitya.py +++ b/fedmsg_meta_fedora_infrastructure/tests/anitya.py @@ -1571,12 +1571,12 @@ class TestFlagSet(Base): flag in the...
Now that the username is valid, adjust the rest of the tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ from setuptools import setup setup( name='msk', - version='0.3.10', # Also update in msk/__init__.py + version='0.3.11', # Also update in msk/__init__.py packages=['msk', 'msk.actions'], ...
Increment version to <I>
py
diff --git a/lib/webcomment_webinterface.py b/lib/webcomment_webinterface.py index <HASH>..<HASH> 100644 --- a/lib/webcomment_webinterface.py +++ b/lib/webcomment_webinterface.py @@ -218,12 +218,13 @@ class WebInterfaceCommentsPages(WebInterfaceDirectory): # if guest, must log in first if is...
Remember user chosen rating for a record when user has to login before validing his choice (put 'score' inside referer URL)
py
diff --git a/zeronimo/__init__.py b/zeronimo/__init__.py index <HASH>..<HASH> 100644 --- a/zeronimo/__init__.py +++ b/zeronimo/__init__.py @@ -15,7 +15,7 @@ from .exceptions import ( from .messaging import send, recv -__version__ = '0.1.3' +__version__ = '0.1.4' __all__ = ['Worker', 'Customer', 'Collector', 'Task...
<I> a strategy to pack/unpack messages can be customized
py
diff --git a/trello/card.py b/trello/card.py index <HASH>..<HASH> 100644 --- a/trello/card.py +++ b/trello/card.py @@ -101,7 +101,7 @@ class Card( TrelloObject ): ) - def addAttachments( self, filename, open_file ): + def addAttachment( self, filename, open_file ): """ Adds an a...
Update trello/card.py
py
diff --git a/src/xopen/__init__.py b/src/xopen/__init__.py index <HASH>..<HASH> 100644 --- a/src/xopen/__init__.py +++ b/src/xopen/__init__.py @@ -305,6 +305,16 @@ class PipedGzipWriter(PipedCompressionWriter): super().__init__(path, "gzip", mode, compresslevel, None, threads) +class PipedIGzipReader(P...
Add pipedIgzipReader and writer
py
diff --git a/salt/utils/thin.py b/salt/utils/thin.py index <HASH>..<HASH> 100644 --- a/salt/utils/thin.py +++ b/salt/utils/thin.py @@ -12,8 +12,16 @@ import jinja2 import yaml import msgpack import requests -import urllib3 -import six +try: + import urllib3 +except ImportError: + # Import the bundled package +...
Import the bundled packages in case of import errors. Refs #<I> and #<I>.
py
diff --git a/fmn/rules/utils.py b/fmn/rules/utils.py index <HASH>..<HASH> 100644 --- a/fmn/rules/utils.py +++ b/fmn/rules/utils.py @@ -78,8 +78,10 @@ def _get_pkgdb2_packagers_for(config, package): for acl in obj['acls'] if acl['status'] == 'Approved' and acl['fas_name'].startswith('group::') ]) ...
If the package has a group with some ACL, get the AccountSystem client and forward the configuration
py
diff --git a/epab/__init__.py b/epab/__init__.py index <HASH>..<HASH> 100644 --- a/epab/__init__.py +++ b/epab/__init__.py @@ -534,7 +534,7 @@ def clean(): @cli.command() @click.pass_context -def wheel(ctx): +def build(ctx): """ Builds wheels """ @@ -554,7 +554,7 @@ def wheel(ctx): click.sec...
rename wheel -> build and add sdist command
py
diff --git a/indra/tools/reading/submit_reading_pipeline_aws.py b/indra/tools/reading/submit_reading_pipeline_aws.py index <HASH>..<HASH> 100644 --- a/indra/tools/reading/submit_reading_pipeline_aws.py +++ b/indra/tools/reading/submit_reading_pipeline_aws.py @@ -164,7 +164,10 @@ def wait_for_complete(queue_name, job_li...
Separate logs from different queues.
py
diff --git a/jax/core.py b/jax/core.py index <HASH>..<HASH> 100644 --- a/jax/core.py +++ b/jax/core.py @@ -547,7 +547,7 @@ def reset_trace_state() -> bool: if (trace_state.substack != [Sublevel(0)] or trace_state.trace_stack.downward or trace_state.trace_stack.upward): - trace_state.__init__() + ...
tell mypy: using __init__ to reinitialize is OK
py
diff --git a/aaf2/cfb.py b/aaf2/cfb.py index <HASH>..<HASH> 100644 --- a/aaf2/cfb.py +++ b/aaf2/cfb.py @@ -160,20 +160,25 @@ class Stream(object): sector_size = self.storage.sector_size mini_sector_size = self.storage.mini_stream_sector_size + # inlined on purpose this method gets called alot...
try without divmod, inlined more
py
diff --git a/socketless/test/test_messenger.py b/socketless/test/test_messenger.py index <HASH>..<HASH> 100644 --- a/socketless/test/test_messenger.py +++ b/socketless/test/test_messenger.py @@ -37,7 +37,7 @@ class TestMessenger(TestCase): messenger.close() coio.sleep(0.5) finally: - p.kill() + os.kill(p...
replaced call to Popen.kill() with os.kill() for python <I> compatibility
py
diff --git a/airflow/configuration.py b/airflow/configuration.py index <HASH>..<HASH> 100644 --- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -264,10 +264,10 @@ dagbag_import_timeout = 30 # The default owner assigned to each new operator, unless # provided explicitly or passed via `default_args` defa...
[AIRFLOW-<I>] Remove trailing commas from resources in config Closes #<I> from aoen/ddavydov/fix_resources_typo
py
diff --git a/saltcloud/clouds/aws.py b/saltcloud/clouds/aws.py index <HASH>..<HASH> 100644 --- a/saltcloud/clouds/aws.py +++ b/saltcloud/clouds/aws.py @@ -242,6 +242,9 @@ def create(vm_): def create_attach_volumes(volumes, location, data): + ''' + Create and attach volumes to created node + ''' conn ...
Added docstring and fixed long string
py
diff --git a/wal_e/wal_e.py b/wal_e/wal_e.py index <HASH>..<HASH> 100755 --- a/wal_e/wal_e.py +++ b/wal_e/wal_e.py @@ -577,9 +577,9 @@ class S3Backup(object): # Enqueue uploads for parallel execution try: for tpart_number, tpart in enumerate(partitions): - #...
Re-enable parallel upload of base backups This debugging change snuck in during the tar partitioning feature implementation. That means <I> doesn't do parallel upload. Oops.
py
diff --git a/easymode/easypublisher/models.py b/easymode/easypublisher/models.py index <HASH>..<HASH> 100644 --- a/easymode/easypublisher/models.py +++ b/easymode/easypublisher/models.py @@ -28,9 +28,6 @@ class EasyPublisherModel(models.Model): An abstract baseclass for your model which allows easypublisher t...
Since the manager is not a good idea, it will be removed from the EasyPublisherModel base class untill i can think of something which is a good idea.
py
diff --git a/owslib/util.py b/owslib/util.py index <HASH>..<HASH> 100644 --- a/owslib/util.py +++ b/owslib/util.py @@ -170,14 +170,13 @@ def openURL(url_base, data=None, method='Get', cookies=None, username=None, pass auth.password = password if cert: auth.cert = cert - if veri...
Enable switching off SSL verification (#<I>) * enable switching off SSL verification * simplified logic in verification handling
py
diff --git a/cytomine/tests/test_storage.py b/cytomine/tests/test_storage.py index <HASH>..<HASH> 100644 --- a/cytomine/tests/test_storage.py +++ b/cytomine/tests/test_storage.py @@ -55,7 +55,7 @@ class TestUploadedFile: def test_uploaded_file(self, connect, dataset): storages = StorageCollection().fetch(...
Changed hardcoded value for image server
py
diff --git a/typedload/dataloader.py b/typedload/dataloader.py index <HASH>..<HASH> 100644 --- a/typedload/dataloader.py +++ b/typedload/dataloader.py @@ -242,14 +242,21 @@ def _unionload(l: Loader, value, type_) -> Any: If no suitable type is found, an exception is raised. """ + if hasattr(type_, '__arg...
__args__ argument had a different name Support both names.
py
diff --git a/salt/utils/minions.py b/salt/utils/minions.py index <HASH>..<HASH> 100644 --- a/salt/utils/minions.py +++ b/salt/utils/minions.py @@ -289,6 +289,8 @@ class CkMinions(object): if isinstance(ind, str): if ind.startswith('@') and ind[1:] == mod: return True +...
Add @wheel special role to allow all access.
py
diff --git a/blinkpy/sync_module.py b/blinkpy/sync_module.py index <HASH>..<HASH> 100644 --- a/blinkpy/sync_module.py +++ b/blinkpy/sync_module.py @@ -139,15 +139,24 @@ class BlinkSyncModule(): this_page = api.request_videos(self.blink, page=page_num) if not this_page: break +...
Added some error handling for video method due to api changes
py
diff --git a/fireplace/player.py b/fireplace/player.py index <HASH>..<HASH> 100644 --- a/fireplace/player.py +++ b/fireplace/player.py @@ -12,6 +12,7 @@ class Player(Entity): def __init__(self, name, deck): self.name = name + super().__init__() self.deck = deck self.deck.hero.controller = self self.han...
Avoid crashes when printing Cards early in their initialization
py
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py index <HASH>..<HASH> 100644 --- a/coursera/coursera_dl.py +++ b/coursera/coursera_dl.py @@ -114,7 +114,7 @@ def get_on_demand_video_url(session, video_id, subtitle_language='en'): if subtitles is not None: if subtitle_language != 'en' and subt...
coursera/coursera_dl: Minor rewording of user-visible message. Is this, perhaps, more idiomatic in English?
py
diff --git a/penn/laundry.py b/penn/laundry.py index <HASH>..<HASH> 100644 --- a/penn/laundry.py +++ b/penn/laundry.py @@ -29,8 +29,7 @@ class Laundry(object): >>> all_laundry = l.all_status() """ r = requests.get(ALL_URL) - if not r.status_code == 200: - return {'error': 'T...
Raise exception instead of silently passing dictionary
py
diff --git a/lib/autokey/service.py b/lib/autokey/service.py index <HASH>..<HASH> 100644 --- a/lib/autokey/service.py +++ b/lib/autokey/service.py @@ -24,11 +24,7 @@ import logging from autokey import common from autokey.iomediator.key import Key from autokey.iomediator import IoMediator -if common.USING_QT: - fr...
service.py: Bugfix: Fix imports. Replace "from x import *" with explicit imports.
py
diff --git a/xclim/indices/_synoptic.py b/xclim/indices/_synoptic.py index <HASH>..<HASH> 100644 --- a/xclim/indices/_synoptic.py +++ b/xclim/indices/_synoptic.py @@ -12,7 +12,7 @@ from xclim.core.units import convert_units_to, declare_units # -------------------------------------------------- # __all__ = [ - "j...
fixed woolings in __all__
py
diff --git a/sigal/gallery.py b/sigal/gallery.py index <HASH>..<HASH> 100644 --- a/sigal/gallery.py +++ b/sigal/gallery.py @@ -23,6 +23,7 @@ from __future__ import absolute_import, print_function +import cPickle import fnmatch import logging import multiprocessing @@ -540,6 +541,13 @@ class Gallery(object): ...
Catch cPickle error and add a message about serialization error with the settings file.
py
diff --git a/djangocms_blog/views.py b/djangocms_blog/views.py index <HASH>..<HASH> 100644 --- a/djangocms_blog/views.py +++ b/djangocms_blog/views.py @@ -64,7 +64,10 @@ class PostListView(BaseBlogView, ListView): return context def get_paginate_by(self, queryset): - return self.config.paginate_b...
Fallback to global setting pagination in view
py
diff --git a/sanic_prometheus/metrics.py b/sanic_prometheus/metrics.py index <HASH>..<HASH> 100644 --- a/sanic_prometheus/metrics.py +++ b/sanic_prometheus/metrics.py @@ -61,7 +61,11 @@ def before_request_handler(request): def after_request_handler(request, response, get_endpoint_fn): lat = time.time() - request[...
Add websocket support for metrics (#<I>)
py
diff --git a/ffpyplayer/__init__.py b/ffpyplayer/__init__.py index <HASH>..<HASH> 100644 --- a/ffpyplayer/__init__.py +++ b/ffpyplayer/__init__.py @@ -9,7 +9,7 @@ import platform __all__ = ('dep_bins', ) -__version__ = '4.0.0' +__version__ = '4.0.1.dev0' version = __version__ # Dec 2015, the ffmpeg src git ver...
Bump to <I>.dev0.
py
diff --git a/tenant_schemas/management/commands/syncdb.py b/tenant_schemas/management/commands/syncdb.py index <HASH>..<HASH> 100644 --- a/tenant_schemas/management/commands/syncdb.py +++ b/tenant_schemas/management/commands/syncdb.py @@ -1,5 +1,6 @@ from django.core.management.base import CommandError from django.co...
tests run again. fixes #<I>
py
diff --git a/satpy/scene.py b/satpy/scene.py index <HASH>..<HASH> 100644 --- a/satpy/scene.py +++ b/satpy/scene.py @@ -400,7 +400,10 @@ class Scene(InfoObject): new_scn[ds_id] = projectable.resample(destination, **kwargs) # MUST set this after assigning the resampled datasets otherwise # ...
Fix bug when resampling is done for specific datasets This fix addresses the case when resampling is done for a specific set of datasets. The compute method will attempt to create datasets that don't exist after resampling. Since we didn't resample all datasets it will always fail. This commit only copies the datasets...
py
diff --git a/examples/gui_integration/simple_editor.py b/examples/gui_integration/simple_editor.py index <HASH>..<HASH> 100644 --- a/examples/gui_integration/simple_editor.py +++ b/examples/gui_integration/simple_editor.py @@ -115,4 +115,4 @@ def main(): app.exec_() if __name__ == "__main__": - main() \ No n...
Cleanup file (add missing blank line)
py
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -631,6 +631,7 @@ class Single(object): 'root_dir': os.path.join(self.thin_dir, 'running_data'), 'id': self.i...
Use a relative un-nested path to the salt-call logfile. Fixes #<I>
py
diff --git a/pyGenClean/RelatedSamples/find_related_samples.py b/pyGenClean/RelatedSamples/find_related_samples.py index <HASH>..<HASH> 100644 --- a/pyGenClean/RelatedSamples/find_related_samples.py +++ b/pyGenClean/RelatedSamples/find_related_samples.py @@ -735,7 +735,26 @@ def selectSNPsAccordingToLD(options): ...
Fixes #<I>: Only pruned SNPs located on autosomes are kept for analysis (IBS)
py
diff --git a/imagen/patterngenerator.py b/imagen/patterngenerator.py index <HASH>..<HASH> 100644 --- a/imagen/patterngenerator.py +++ b/imagen/patterngenerator.py @@ -322,7 +322,7 @@ class PatternGenerator(param.Parameterized): label = time_fn.label if hasattr(time_fn, 'label') else 'Time' unit ...
Fixed .anim method on PatternGenerator
py
diff --git a/crontabber/__init__.py b/crontabber/__init__.py index <HASH>..<HASH> 100644 --- a/crontabber/__init__.py +++ b/crontabber/__init__.py @@ -1 +1 @@ -__version__ = '0.3' +__version__ = '0.4'
bumping to version <I>
py
diff --git a/inputscope/main.py b/inputscope/main.py index <HASH>..<HASH> 100644 --- a/inputscope/main.py +++ b/inputscope/main.py @@ -70,7 +70,7 @@ class Model(threading.Thread): def stop(self): self.running = False - self.listener and self.listener.terminate() + self.listener and sel...
- listener process closed, not killed, to avoid SQLite problems; - sped up wx application startup.
py
diff --git a/holoviews/ipython/magics.py b/holoviews/ipython/magics.py index <HASH>..<HASH> 100644 --- a/holoviews/ipython/magics.py +++ b/holoviews/ipython/magics.py @@ -367,7 +367,7 @@ class OutputMagic(OptionsMagic): cls.defaults[p] = opts options[p] = opts - cls.se...
Small fix for backend modes in OutputMagic
py
diff --git a/src/mbed_cloud/account_management/account_management.py b/src/mbed_cloud/account_management/account_management.py index <HASH>..<HASH> 100644 --- a/src/mbed_cloud/account_management/account_management.py +++ b/src/mbed_cloud/account_management/account_management.py @@ -689,7 +689,7 @@ class User(BaseObject...
user_properties -> custom_fields
py
diff --git a/eppy/tests/test_thermal_properties.py b/eppy/tests/test_thermal_properties.py index <HASH>..<HASH> 100644 --- a/eppy/tests/test_thermal_properties.py +++ b/eppy/tests/test_thermal_properties.py @@ -193,8 +193,8 @@ class Test_ThermalProperties(object): c.rvalue assert False ...
Make test for failure work in python 2 and 3
py
diff --git a/iota/json.py b/iota/json.py index <HASH>..<HASH> 100644 --- a/iota/json.py +++ b/iota/json.py @@ -4,7 +4,7 @@ from __future__ import absolute_import, division, print_function, \ from abc import ABCMeta, abstractmethod as abstract_method from json.encoder import JSONEncoder as BaseJsonEncoder -from typi...
Added missing import for type hint.
py
diff --git a/src/rez/utils/filesystem.py b/src/rez/utils/filesystem.py index <HASH>..<HASH> 100644 --- a/src/rez/utils/filesystem.py +++ b/src/rez/utils/filesystem.py @@ -362,7 +362,7 @@ def find_matching_symlink(path, source): for name in os.listdir(path): linkpath = os.path.join(path, name) - i...
Fixes bug where readlink is applied on regular files.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def read(fname): ext_modules = [ Extension(name = '_fsevents', - sources = ['_fsevents.c'], + sources = ['_fsevents.c', 'compat.c'], extra_link_args = ["-framewor...
Fix C extension on older versions of Mac OS X Resolves #<I>
py
diff --git a/indra/assemblers/html/assembler.py b/indra/assemblers/html/assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/html/assembler.py +++ b/indra/assemblers/html/assembler.py @@ -2,24 +2,21 @@ Format a set of INDRA Statements into an HTML-formatted report which also supports curation. """ -from _...
Clean up html assembler imports.
py
diff --git a/alot/widgets.py b/alot/widgets.py index <HASH>..<HASH> 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -349,6 +349,10 @@ class CompleteEdit(urwid.Edit): self.on_exit(self.edit_text) elif key == 'cancel': self.on_exit(None) + elif key == 'ctrl a': + ...
Implement ^A and ^E (jump to start/jump to end) for text prompts
py
diff --git a/tests/test_ntfs_plugin.py b/tests/test_ntfs_plugin.py index <HASH>..<HASH> 100644 --- a/tests/test_ntfs_plugin.py +++ b/tests/test_ntfs_plugin.py @@ -76,7 +76,7 @@ class TestMftTable(unittest.TestCase): self.assertEquals(len(mft._entries), 0) entry = mft.get_entry(0) - self.asser...
Fixed test incompatibility with py<I>
py
diff --git a/pyqode/python/modes/indenter.py b/pyqode/python/modes/indenter.py index <HASH>..<HASH> 100644 --- a/pyqode/python/modes/indenter.py +++ b/pyqode/python/modes/indenter.py @@ -20,7 +20,7 @@ # """ Contains smart indent modes """ from pyqode.qt.QtGui import QTextCursor -from pyqode.core.modes.indenter impor...
Update to latest pyqore version
py
diff --git a/easywebdav/client.py b/easywebdav/client.py index <HASH>..<HASH> 100644 --- a/easywebdav/client.py +++ b/easywebdav/client.py @@ -75,7 +75,7 @@ class OperationFailed(WebdavException): class Client(object): def __init__(self, host, port=0, auth=None, username=None, password=None, - p...
Adding support for clien side certificates. The actual implementation is handled by Requests/Urllib so any limitations from there apply here as well
py
diff --git a/ipfshttpclient/client/repo.py b/ipfshttpclient/client/repo.py index <HASH>..<HASH> 100644 --- a/ipfshttpclient/client/repo.py +++ b/ipfshttpclient/client/repo.py @@ -24,11 +24,10 @@ class Section(base.SectionBase): Parameters ---------- - return_result : bool - Defaults to True. - Passing Fals...
client/repo.py: fix docstring indents
py
diff --git a/imgaug/augmenters/arithmetic.py b/imgaug/augmenters/arithmetic.py index <HASH>..<HASH> 100644 --- a/imgaug/augmenters/arithmetic.py +++ b/imgaug/augmenters/arithmetic.py @@ -1005,6 +1005,10 @@ def compress_jpeg(image, compression): if is_single_channel: image = image[..., 0] + assert has...
Verify correct channel numbers in compress_jpg()
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100644 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -195,8 +195,7 @@ class SearchBackend(BaseSearchBackend): database = self._open_database(readwrite=True) if not models: query = xapian.Query('') # Empty query m...
Changed clear to use private _get_enquire method
py
diff --git a/frasco/babel/ctx.py b/frasco/babel/ctx.py index <HASH>..<HASH> 100644 --- a/frasco/babel/ctx.py +++ b/frasco/babel/ctx.py @@ -51,6 +51,8 @@ def detect_locale(): if has_request_context() and state.options["extract_locale_from_request"]: if state.options["request_arg"] in request.args: ...
fix: make sure locale exists when getting from request args
py
diff --git a/version.py b/version.py index <HASH>..<HASH> 100644 --- a/version.py +++ b/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -version = '2.0a1' +version = '2.0a2'
Try bumping the version to fix PyPi upload error
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -5928,11 +5928,12 @@ class BaseModelCursorWrapper(DictCursorWrapper): self.fields = fields = [None] * self.ncols for idx, description_item in enumerate(description): - column = description_it...
Strip quotes from column name after splitting off prefix.
py
diff --git a/src/ossos/core/ossos/gui/controllers.py b/src/ossos/core/ossos/gui/controllers.py index <HASH>..<HASH> 100644 --- a/src/ossos/core/ossos/gui/controllers.py +++ b/src/ossos/core/ossos/gui/controllers.py @@ -244,13 +244,13 @@ class ProcessRealsController(AbstractController): values = result.spli...
Corrected us of RA/DEC returned from DS9 to be the high-precision RA/DEC.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ long_description = "A complete Python SSH/SFTP library based on libssh. This "\ "including elliptic cryptography support." setup(name='pysecure', - version='0.11.5',#versioneer.get_ve...
Version bump. Should've committed before.
py
diff --git a/janitor/policy.py b/janitor/policy.py index <HASH>..<HASH> 100644 --- a/janitor/policy.py +++ b/janitor/policy.py @@ -116,6 +116,7 @@ class Policy(object): self.log.error( "Maid record path: %s does not exist" % maid_record) raise ValueError("record pa...
note/log use of flight record mode
py
diff --git a/marigoso/testbook.py b/marigoso/testbook.py index <HASH>..<HASH> 100644 --- a/marigoso/testbook.py +++ b/marigoso/testbook.py @@ -9,6 +9,7 @@ import sys import os conf = sys.modules[__name__] called = 0 +autogenfiles = [] default_options = ['assertmode', 'basetemp', @@ -179,3 +180,...
attempt to remove auto-generated file if all tests are successful
py
diff --git a/bcbio/variation/ensemble.py b/bcbio/variation/ensemble.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/ensemble.py +++ b/bcbio/variation/ensemble.py @@ -41,6 +41,7 @@ def combine_calls(batch_id, samples, data): config_file = _write_config_file(batch_id, caller_names, base_dir, edata) ...
Ensure ensemble outputs are bgzipped during output for older ensemble approach.
py
diff --git a/pyinfra/cli.py b/pyinfra/cli.py index <HASH>..<HASH> 100644 --- a/pyinfra/cli.py +++ b/pyinfra/cli.py @@ -115,6 +115,9 @@ def json_encode(obj): elif isinstance(obj, datetime): return obj.isoformat() + elif isinstance(obj, file): + return str(obj.name) + else: raise T...
Add handler for file objects to json encoder.
py
diff --git a/thefuck/rules/brew_unknown_command.py b/thefuck/rules/brew_unknown_command.py index <HASH>..<HASH> 100644 --- a/thefuck/rules/brew_unknown_command.py +++ b/thefuck/rules/brew_unknown_command.py @@ -12,7 +12,8 @@ TAP_CMD_PATH = '/%s/%s/cmd' def _get_brew_path_prefix(): """To get brew path""" try:...
fix(brew_unknown_command): make subprocess.check_output return str Fix `TypeError: can't concat bytes to str` error on Python <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ setup( 'Programming Language :: Python :: 3.5', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX :: Linux'], - install_requires=['nibabel', 'pydicom', 'numpy<=1.10...
DCMTONII-<I>: Prepare to run unit tests from setup.py
py
diff --git a/pysparkling/rdd.py b/pysparkling/rdd.py index <HASH>..<HASH> 100644 --- a/pysparkling/rdd.py +++ b/pysparkling/rdd.py @@ -17,16 +17,16 @@ import itertools import subprocess from collections import defaultdict -from . import fileio -from .stat_counter import StatCounter -from .cache_manager import Cache...
Local imports come after stdlib import
py
diff --git a/nodeconductor/structure/serializers.py b/nodeconductor/structure/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/serializers.py +++ b/nodeconductor/structure/serializers.py @@ -1126,7 +1126,9 @@ class BaseServiceSerializer(six.with_metaclass(ServiceSerializerMetaclass, def _us...
Add check if request is present in context.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools import setup setup( name="python-docraptor", - version='1.2.1', + version='1.2.2', description="Doc Raptor API wrapper", long_description=open('README.rst').read(), aut...
Updating version in setup.py
py
diff --git a/openquake/calculators/tests/event_based_risk_test.py b/openquake/calculators/tests/event_based_risk_test.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/tests/event_based_risk_test.py +++ b/openquake/calculators/tests/event_based_risk_test.py @@ -144,7 +144,7 @@ class EventBasedRiskTestCase(Calc...
Relaxed the case_master tests with a delta of 1E-5
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( author='Jacopo Cascioli', author_email='jacopocascioli@gmail.com', license='MIT', - version='0.1.0', + version='0.1.1', packages=find_packages(), tests_require=[ 'p...
chore(aratrum): version bump to <I>
py
diff --git a/archivant/archivant.py b/archivant/archivant.py index <HASH>..<HASH> 100644 --- a/archivant/archivant.py +++ b/archivant/archivant.py @@ -186,6 +186,8 @@ class Archivant(): def insert_attachments(self, volumeID, attachments): ''' add attachments to an already existing volume ''' log....
[archivant] speedup delete_attachments if the given attachments array is empty, simply return.
py
diff --git a/holoviews/plotting/element.py b/holoviews/plotting/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/element.py +++ b/holoviews/plotting/element.py @@ -388,20 +388,11 @@ class OverlayPlot(ElementPlot): def _format_title(self, key): frame = self._get_frame(key) if frame ...
Removed superfluous titling code on OverlayPlot
py