diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/django_peeringdb/const.py b/django_peeringdb/const.py index <HASH>..<HASH> 100644 --- a/django_peeringdb/const.py +++ b/django_peeringdb/const.py @@ -1,4 +1,4 @@ -from django.utils.translation import gettext as _ +from django.utils.translation import gettext_lazy as _ MEDIA = (('Ethernet', _('Ethernet')...
use gettext_lazy (#<I>)
py
diff --git a/src/sos/singularity/client.py b/src/sos/singularity/client.py index <HASH>..<HASH> 100644 --- a/src/sos/singularity/client.py +++ b/src/sos/singularity/client.py @@ -196,7 +196,7 @@ class SoS_SingularityClient: if ctx == 'file': return image else: - ...
Update naming of pulled docker image
py
diff --git a/aiotg/bot.py b/aiotg/bot.py index <HASH>..<HASH> 100644 --- a/aiotg/bot.py +++ b/aiotg/bot.py @@ -105,7 +105,7 @@ class TgBot: if response.status == 200: return (yield from response.json()) elif response.status in RETRY_CODES: - logger.info("Server returned %d, ret...
Display retry timeout in log
py
diff --git a/subreddit_stats.py b/subreddit_stats.py index <HASH>..<HASH> 100755 --- a/subreddit_stats.py +++ b/subreddit_stats.py @@ -168,7 +168,11 @@ class SubRedditStats(object): self.msg('%d/%d submissions' % (i + 1, num), 2, overwrite=True) if submission.num_comments == 0: ...
Gracefully handle exceptions building the comment tree.
py
diff --git a/angr/misc/plugins.py b/angr/misc/plugins.py index <HASH>..<HASH> 100644 --- a/angr/misc/plugins.py +++ b/angr/misc/plugins.py @@ -73,7 +73,8 @@ class PluginHub(object): raise AttributeError(name) def __dir__(self): - out = set(self._active_plugins) + out = set(self.__dict_...
Fix __dir__ to include, you know, normal attributes
py
diff --git a/rope/base/worder.py b/rope/base/worder.py index <HASH>..<HASH> 100644 --- a/rope/base/worder.py +++ b/rope/base/worder.py @@ -337,7 +337,10 @@ class _RealFinder(object): def is_a_name_after_from_import(self, offset): try: - line_start = self._get_line_start(offset) + i...
Fixes codeassist import completion when cursor is at the end of the line.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,8 +25,10 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.6', 'Progr...
Added all supported Python trove classifiers
py
diff --git a/raiden/network/rpc/client.py b/raiden/network/rpc/client.py index <HASH>..<HASH> 100644 --- a/raiden/network/rpc/client.py +++ b/raiden/network/rpc/client.py @@ -327,7 +327,7 @@ class BlockChainService(object): if result is False: return True - current_block = quantity_decode...
pr review: using get_blockNumber to check sync
py
diff --git a/tensor2tensor/utils/t2t_model.py b/tensor2tensor/utils/t2t_model.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/t2t_model.py +++ b/tensor2tensor/utils/t2t_model.py @@ -1363,7 +1363,8 @@ class T2TModel(base.Layer): "targets": features.get("infer_targets"), "batch_prediction_key":...
Allowing extra outputs while removing all non-Tensors. PiperOrigin-RevId: <I>
py
diff --git a/bakery/tasks.py b/bakery/tasks.py index <HASH>..<HASH> 100644 --- a/bakery/tasks.py +++ b/bakery/tasks.py @@ -161,6 +161,9 @@ def project_state_save(login, project_id, state): @job def project_git_sync(login, project_id, clone): + """ + Download repo + """ project_dir = os.path.join(DATA_...
Adding docstring to project_git_sync()
py
diff --git a/tests/test_discoursegraph.py b/tests/test_discoursegraph.py index <HASH>..<HASH> 100644 --- a/tests/test_discoursegraph.py +++ b/tests/test_discoursegraph.py @@ -685,8 +685,8 @@ def test_get_span_offsets(): assert dg.get_span_offsets(sg1, token_node_id) == (onset, offset) with pytest.raises...
fixed: check value of KeyError in test_get_span_offsets
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,6 @@ setup( project_urls={ "Documentation": "https://django-afip.readthedocs.io/", "Issue Tracker": "https://github.com/WhyNotHugo/django-afip/issues", - "Chat": "irc://libera.chat/#whyn...
Remove IRC from setup.py PyPI has issues with IRC URLs, so just drop it.
py
diff --git a/starbound/sbon.py b/starbound/sbon.py index <HASH>..<HASH> 100644 --- a/starbound/sbon.py +++ b/starbound/sbon.py @@ -152,7 +152,7 @@ def write_bytes(stream, bytes): def write_varlen_number(stream, value): if value == 0: - stream.write('\x00') + stream.write(b'\x00') return ...
Fix write_varlen_number for Python 3
py
diff --git a/carto/import_api.py b/carto/import_api.py index <HASH>..<HASH> 100644 --- a/carto/import_api.py +++ b/carto/import_api.py @@ -61,8 +61,7 @@ class ImportJob(object): import_params["interval"] = self.interval self.send(self.api_url, client_params={"json": import_params, "http_me...
trying to get namedmaps mergeable
py
diff --git a/tests/test_decorators.py b/tests/test_decorators.py index <HASH>..<HASH> 100644 --- a/tests/test_decorators.py +++ b/tests/test_decorators.py @@ -422,6 +422,23 @@ def test_stream_return(): assert 'hug' in hug.test.get(api, 'test').data +def test_smart_outputter(): + '''Test to ensure that the o...
Add test to ensure it's possible to dynamically determine content type, and that it's output formatters will recieve request / response data if requested
py
diff --git a/mailthon/envelope.py b/mailthon/envelope.py index <HASH>..<HASH> 100644 --- a/mailthon/envelope.py +++ b/mailthon/envelope.py @@ -43,7 +43,8 @@ class Envelope(object): from the ``sender`` property in a sense that it is the "real" sender, but the ``sender`` property is merely what...
clarify doc about Envelope.mail_from [skip ci]
py
diff --git a/src/hamster/widgets/tags.py b/src/hamster/widgets/tags.py index <HASH>..<HASH> 100644 --- a/src/hamster/widgets/tags.py +++ b/src/hamster/widgets/tags.py @@ -72,7 +72,7 @@ class TagsEntry(gtk.Entry): def on_tag_selected(self, tag_box, tag): cursor_tag = self.get_cursor_tag() - if cur...
perform case insensitive matching on tag mouse interaction (fixes bug <I>); also fixed a bug on tag selection
py
diff --git a/git/refs/reference.py b/git/refs/reference.py index <HASH>..<HASH> 100644 --- a/git/refs/reference.py +++ b/git/refs/reference.py @@ -18,7 +18,7 @@ def require_remote_ref_path(func): """A decorator raising a TypeError if we are not a valid remote, based on the path""" def wrapper(self, *args): ...
Fixed undefined variable 'path' in Reference
py
diff --git a/thumbnails/fields.py b/thumbnails/fields.py index <HASH>..<HASH> 100644 --- a/thumbnails/fields.py +++ b/thumbnails/fields.py @@ -31,6 +31,7 @@ class ImageField(DjangoImageField): if file and not file._committed: image_file = file if self.resize_source_to: + ...
Seek to 0 on file before resizing source
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,20 +19,21 @@ class vext_install_data(install_data): ends up inside the .egg, change this back to the absolute path. """ - install_data.finalize_options(self) global site_packages_...
Only munge filepath on windows.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,14 +6,14 @@ from distutils.core import setup -setup( name = "pygccxml", - version = "v1.5.2", - description = "GCC-XML generated file reader", - author = "Roman Yakovenko", - author_email = "rom...
Pep8 cleanup for setup.py Updated the maintainer's names and email
py
diff --git a/kafka/consumer/kafka.py b/kafka/consumer/kafka.py index <HASH>..<HASH> 100644 --- a/kafka/consumer/kafka.py +++ b/kafka/consumer/kafka.py @@ -3,6 +3,7 @@ from __future__ import absolute_import from collections import namedtuple from copy import deepcopy import logging +import random import sys import ...
Add some jitter to refresh_leader_backoff_ms, per wizzat review
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ with open("README.rst") as f: VERSION = versioneer.get_version() CMDCLASS = versioneer.get_cmdclass() CLASSIFIERS = [ - "Development Status :: 3 - Alpha", + "Development Status :: 5 - Production/Stable"...
Change setup.py development status flag to stable (#<I>) We left it flagged as "alpha" but Pooch has been stable and production ready for a while now.
py
diff --git a/stl/base.py b/stl/base.py index <HASH>..<HASH> 100644 --- a/stl/base.py +++ b/stl/base.py @@ -491,6 +491,15 @@ class BaseMesh(logger.Logged, abc.Mapping): self.rotate_using_matrix(self.rotation_matrix(axis, theta), point) def rotate_using_matrix(self, rotation_matrix, point=None): + ...
added documentation to fix #<I>
py
diff --git a/morango/sync/backends/postgres.py b/morango/sync/backends/postgres.py index <HASH>..<HASH> 100644 --- a/morango/sync/backends/postgres.py +++ b/morango/sync/backends/postgres.py @@ -67,8 +67,8 @@ class SQLWrapper(BaseSQLWrapper): def _dequeuing_merge_conflict_rmcb(self, cursor, transfersession_id): ...
not supported error fix which was broken on postgres<I>
py
diff --git a/tools/debugging/json-log-to-html.py b/tools/debugging/json-log-to-html.py index <HASH>..<HASH> 100644 --- a/tools/debugging/json-log-to-html.py +++ b/tools/debugging/json-log-to-html.py @@ -131,7 +131,7 @@ def filter_records( ): for record in log_records: drop = ( - record.event.l...
Fix html rendering event filtering [skip ci]
py
diff --git a/pyqode/core/panels/folding.py b/pyqode/core/panels/folding.py index <HASH>..<HASH> 100644 --- a/pyqode/core/panels/folding.py +++ b/pyqode/core/panels/folding.py @@ -137,9 +137,14 @@ class FoldingPanel(Panel): c = self.get_system_color() grad = QtGui.QLinearGradient(rect.topLeft(), ...
Darker fold background only on MacOSX
py
diff --git a/salt/modules/lxc.py b/salt/modules/lxc.py index <HASH>..<HASH> 100644 --- a/salt/modules/lxc.py +++ b/salt/modules/lxc.py @@ -331,7 +331,6 @@ def create(name, config=None, profile=None, options=None, **kwargs): options Template specific options to pass to the lxc-create command. ''' - ...
Add initial lxc image management
py
diff --git a/pandas/tests/groupby/test_nunique.py b/pandas/tests/groupby/test_nunique.py index <HASH>..<HASH> 100644 --- a/pandas/tests/groupby/test_nunique.py +++ b/pandas/tests/groupby/test_nunique.py @@ -9,6 +9,7 @@ from pandas import DataFrame, MultiIndex, NaT, Series, Timestamp, date_range import pandas._testing ...
TST: Mark groupby.nunique test as slow (#<I>)
py
diff --git a/chatterbot/adapters/io/tts.py b/chatterbot/adapters/io/tts.py index <HASH>..<HASH> 100644 --- a/chatterbot/adapters/io/tts.py +++ b/chatterbot/adapters/io/tts.py @@ -20,6 +20,7 @@ class MacOSXTTS(IOAdapter): Speak the response. """ cmd = ['say', str(statement.text)] - subp...
Make sure only Mac computers use the MacOSXTTS io adapter
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from os import path from distutils.version import LooseVersion from setuptools import find_packages, setup -VERSION = '1.17.4' +VERSION = '1.17.5' # Import README.md into long_description pwd = path.abspat...
Bump package version to <I>
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -100,7 +100,7 @@ html_theme = 'alabaster' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a fi...
remove static html path in docs conf
py
diff --git a/tests/test_vehicle.py b/tests/test_vehicle.py index <HASH>..<HASH> 100644 --- a/tests/test_vehicle.py +++ b/tests/test_vehicle.py @@ -51,11 +51,14 @@ class VehicleTests(unittest.TestCase): measurement = self.vehicle.get(TestMeasurement) ok_(measurement is not None) eq_(measuremen...
Update tests to support generic Measurement wrapper.
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -109,7 +109,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -#html_theme = 'sphinx_rtd_them...
Changed theme to alabaster.
py
diff --git a/huawei_lte_api/Connection.py b/huawei_lte_api/Connection.py index <HASH>..<HASH> 100644 --- a/huawei_lte_api/Connection.py +++ b/huawei_lte_api/Connection.py @@ -33,9 +33,9 @@ class Connection: request_verification_tokens = [] # type: List[str] def __init__(self, url: str): - if not url...
Auto-append trailing slash if URL doesn't end with one
py
diff --git a/bearlib/__init__.py b/bearlib/__init__.py index <HASH>..<HASH> 100644 --- a/bearlib/__init__.py +++ b/bearlib/__init__.py @@ -8,7 +8,7 @@ bearlib """ -VERSION = (0, 5, 0, "alpha") +VERSION = (0, 5, 1, "alpha") __author__ = 'bear (Mike Taylor)' __contact__ = 'bear@bear.im'
bumped version to <I>
py
diff --git a/arcana/version_.py b/arcana/version_.py index <HASH>..<HASH> 100644 --- a/arcana/version_.py +++ b/arcana/version_.py @@ -1 +1 @@ -__version__ = '0.2.3' +__version__ = '0.2.4'
bumped version to <I>
py
diff --git a/validator/tests/test_context_manager/tests.py b/validator/tests/test_context_manager/tests.py index <HASH>..<HASH> 100644 --- a/validator/tests/test_context_manager/tests.py +++ b/validator/tests/test_context_manager/tests.py @@ -734,6 +734,7 @@ class TestContextManager(unittest.TestCase): ...
Turn off context manager-scheduler bug catching test This test requires functionality that is nice to have, but isn't required for correct txn and batch state handling.
py
diff --git a/tests/session_tests.py b/tests/session_tests.py index <HASH>..<HASH> 100644 --- a/tests/session_tests.py +++ b/tests/session_tests.py @@ -129,3 +129,14 @@ class SessionTests(unittest.TestCase): self.conn.set_client_encoding = set_client_encoding = mock.Mock() self.obj.set_encoding('UTF-8'...
Add a __del__ test I'm worried that this won't work in pypy, so I'm committing to see what travis has to say about the issue.
py
diff --git a/twarc/command2.py b/twarc/command2.py index <HASH>..<HASH> 100644 --- a/twarc/command2.py +++ b/twarc/command2.py @@ -113,10 +113,18 @@ def configure(ctx): config = configobj.ConfigObj(unrepr=True) config.filename = config_file - config['consumer_key'] = keys['consumer_key'] - config['con...
Don't save empty keys to the config file
py
diff --git a/fluo/db/models/__init__.py b/fluo/db/models/__init__.py index <HASH>..<HASH> 100644 --- a/fluo/db/models/__init__.py +++ b/fluo/db/models/__init__.py @@ -22,6 +22,10 @@ from __future__ import absolute_import, division, print_function, unicode_literals from django.db.models import * +try: + QuerySet ...
export QuerySet in fluo.db.models
py
diff --git a/invoice2data/test/test_lib.py b/invoice2data/test/test_lib.py index <HASH>..<HASH> 100644 --- a/invoice2data/test/test_lib.py +++ b/invoice2data/test/test_lib.py @@ -73,5 +73,14 @@ class TestCLI(unittest.TestCase): # TODO: some invoices are not recognized with pdfminer. # self.ass...
A simple test to check that tesseract works (returns something) (#<I>)
py
diff --git a/esgfpid/check.py b/esgfpid/check.py index <HASH>..<HASH> 100644 --- a/esgfpid/check.py +++ b/esgfpid/check.py @@ -192,16 +192,16 @@ class RabbitChecker(object): rkey = utils.routingkeys.ROUTING_KEYS_TEMPLATES['pre_flight'] body = 'PLEASE PRINT: Testing pre-flight check...' self._...
pika <I> -> <I>: Adapted call to BlockingConnection.basic_publish.
py
diff --git a/tests/cfg_test.py b/tests/cfg_test.py index <HASH>..<HASH> 100644 --- a/tests/cfg_test.py +++ b/tests/cfg_test.py @@ -288,9 +288,8 @@ class CFGTryTest(BaseTestCase): self.connected(exit_does_this_kill_us, ret_does_this_kill_us_3), self.connected(ret_does_this_kill_us_3, print_so),...
unnecessary lines removed in self.assertInCfg
py
diff --git a/sos/plugins/wireless.py b/sos/plugins/wireless.py index <HASH>..<HASH> 100644 --- a/sos/plugins/wireless.py +++ b/sos/plugins/wireless.py @@ -20,7 +20,7 @@ class Wireless(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): """ plugin_name = 'wireless' - profiles = ('hardware', 'desktop', 'net...
[wireless] use 'network' profile instead of 'networking' Slightly confusingly the _plugin_ is 'networking', but the profile name is 'network': make the new wireless plugin fit in with the other plugins in this group.
py
diff --git a/tkColorPicker.py b/tkColorPicker.py index <HASH>..<HASH> 100644 --- a/tkColorPicker.py +++ b/tkColorPicker.py @@ -355,7 +355,6 @@ class ColorPicker(tk.Toplevel): self.title(title) self.transient(self.master) - self.grab_set() self.resizable(False, False) self.li...
added `wait_visibility` before `grab_set` make sure the window is visible to avoid errors
py
diff --git a/insights/client/client.py b/insights/client/client.py index <HASH>..<HASH> 100644 --- a/insights/client/client.py +++ b/insights/client/client.py @@ -354,7 +354,7 @@ def upload(tar_file, collection_duration=None): # Write to last upload file with open(constants.last_upload_resul...
UTF-8 encode response from server before persisting to disk
py
diff --git a/dynamic_rest/serializers.py b/dynamic_rest/serializers.py index <HASH>..<HASH> 100644 --- a/dynamic_rest/serializers.py +++ b/dynamic_rest/serializers.py @@ -8,6 +8,7 @@ from django.db import models from django.utils import six from django.utils.functional import cached_property from rest_framework impo...
Tweak fastquery compatibility Classify `RelatedField` subtypes as "id_fields"
py
diff --git a/docs/mxdoc.py b/docs/mxdoc.py index <HASH>..<HASH> 100644 --- a/docs/mxdoc.py +++ b/docs/mxdoc.py @@ -218,7 +218,8 @@ def _get_source(lang, lines): else: if ('<div>' in l or '</div>' in l or '<script>' in l or '</script>' in l or - '<!--...
skip lines that have %matplotlib (#<I>)
py
diff --git a/dataviews/plots.py b/dataviews/plots.py index <HASH>..<HASH> 100644 --- a/dataviews/plots.py +++ b/dataviews/plots.py @@ -1492,7 +1492,7 @@ class GridPlot(Plot): ax.get_yaxis().set_visible(False) # Get the lbrt of the grid elements (not the whole grid) - if not isinstance(self.gr...
Fix for plotting Grids of Tables
py
diff --git a/SpiffWorkflow/bpmn/serializer/workflow_spec_converter.py b/SpiffWorkflow/bpmn/serializer/workflow_spec_converter.py index <HASH>..<HASH> 100644 --- a/SpiffWorkflow/bpmn/serializer/workflow_spec_converter.py +++ b/SpiffWorkflow/bpmn/serializer/workflow_spec_converter.py @@ -9,12 +9,14 @@ from ..specs.BpmnSp...
allow serialization of base workflow spec with bpmn serializer
py
diff --git a/knights/compat/django.py b/knights/compat/django.py index <HASH>..<HASH> 100644 --- a/knights/compat/django.py +++ b/knights/compat/django.py @@ -18,3 +18,8 @@ def static(parser, token): @register.tag(name='include') def do_include(parser, token): return ast.Yield(value=ast.Str(s='{include %s}' % to...
Add a dummy safe filter for Django compat
py
diff --git a/registration/views.py b/registration/views.py index <HASH>..<HASH> 100644 --- a/registration/views.py +++ b/registration/views.py @@ -50,15 +50,6 @@ class RegistrationView(FormView): Override this to enable/disable user registration, either globally or on a per-request basis. - B...
Docstring cleanup in views.py
py
diff --git a/spotify/models/player.py b/spotify/models/player.py index <HASH>..<HASH> 100644 --- a/spotify/models/player.py +++ b/spotify/models/player.py @@ -195,14 +195,14 @@ class Player(SpotifyBase): # pylint: disable=too-many-instance-attributes if device is not None: if not isinstance(devic...
Refactor `Player.play`
py
diff --git a/src/feat/web/document.py b/src/feat/web/document.py index <HASH>..<HASH> 100644 --- a/src/feat/web/document.py +++ b/src/feat/web/document.py @@ -22,7 +22,7 @@ from cStringIO import StringIO import types -from zope.interface import Interface, Attribute +from zope.interface import Interface, Attribute, ...
Allow registering document writers for specific classes (instead of interface).
py
diff --git a/restclients/sws.py b/restclients/sws.py index <HASH>..<HASH> 100644 --- a/restclients/sws.py +++ b/restclients/sws.py @@ -135,12 +135,13 @@ class SWS(object): """ dao = SWS_DAO() pws = PWS() - url = "/student/v4/registration.json?" + urlencode({ - 'year': term.y...
Moving from a dict to a list of tuples, to have more consistent paths for the file backend git-svn-id: <URL>
py
diff --git a/requests_negotiate/__init__.py b/requests_negotiate/__init__.py index <HASH>..<HASH> 100644 --- a/requests_negotiate/__init__.py +++ b/requests_negotiate/__init__.py @@ -47,7 +47,7 @@ class HTTPNegotiateAuth(AuthBase): '''(\s*=\s*(?P<param>(".*([^\\\\]|)")|{tchar}*))?''' '''\s*,...
Turn regex debugging print statement into logger.debug() call
py
diff --git a/src/pydocstyle/__init__.py b/src/pydocstyle/__init__.py index <HASH>..<HASH> 100644 --- a/src/pydocstyle/__init__.py +++ b/src/pydocstyle/__init__.py @@ -1 +1,8 @@ from .checker import check +from .violations import Error, conventions +from .utils import __version__ + +# Temporary hotfix for flake8-docstr...
Export symbols for flake8-docstrings to work.
py
diff --git a/django_mailbox/__init__.py b/django_mailbox/__init__.py index <HASH>..<HASH> 100644 --- a/django_mailbox/__init__.py +++ b/django_mailbox/__init__.py @@ -1 +1 @@ -__version__ = '4.4.4' +__version__ = '4.4.5'
Release <I>; fixes for ugettext such that translation changes do not incurr migration warnings.
py
diff --git a/picoweb/__init__.py b/picoweb/__init__.py index <HASH>..<HASH> 100644 --- a/picoweb/__init__.py +++ b/picoweb/__init__.py @@ -100,7 +100,12 @@ class WebApp: found = True break elif not isinstance(pattern, str): - m = pattern.search(path) + ...
Use re.match() for URL matching as more efficient. This is unlike Django, but we're already not exactly compatible with Django (for example, Django discourages use of leading '/' in patterns, we require it; more discrepancies will be when we'll support named group matching in URLs).
py
diff --git a/niworkflows/interfaces/cifti.py b/niworkflows/interfaces/cifti.py index <HASH>..<HASH> 100644 --- a/niworkflows/interfaces/cifti.py +++ b/niworkflows/interfaces/cifti.py @@ -66,7 +66,7 @@ class _GenerateCiftiInputSpec(BaseInterfaceInputSpec): surface_target = traits.Enum("fsLR", "fsaverage5", "fsavera...
fix: apply changes from @oesteban review
py
diff --git a/pythonforandroid/recipes/twisted/__init__.py b/pythonforandroid/recipes/twisted/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/twisted/__init__.py +++ b/pythonforandroid/recipes/twisted/__init__.py @@ -12,10 +12,10 @@ import sh class TwistedRecipe(CythonRecipe): - version = ...
This current Twisted version actually runs!
py
diff --git a/pylint/lint.py b/pylint/lint.py index <HASH>..<HASH> 100644 --- a/pylint/lint.py +++ b/pylint/lint.py @@ -322,7 +322,7 @@ class PyLinter(config.OptionsManagerMixIn, 'group': 'Reports', 'help' : 'Set the output format. Available formats are text,' ...
Minor corrections in command's `--help` text (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( description='SDK for Niko Home Control', license='MIT', url='https://github.com/NoUseFreak/niko-home-control', - version='0.1.4', + version='0.1.9', author='Dries De Peu...
Drop support for python2
py
diff --git a/salt/modules/dockerng.py b/salt/modules/dockerng.py index <HASH>..<HASH> 100644 --- a/salt/modules/dockerng.py +++ b/salt/modules/dockerng.py @@ -5881,11 +5881,19 @@ def sls_build(name, base='opensuse/python', mods=None, saltenv='base', .. versionadded:: 2016.11.0 ''' + create_kwargs = salt....
provide kwargs to dockerng.create to provide all features to sls_build as well
py
diff --git a/atomic_reactor/plugins/exit_delete_from_registry.py b/atomic_reactor/plugins/exit_delete_from_registry.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/plugins/exit_delete_from_registry.py +++ b/atomic_reactor/plugins/exit_delete_from_registry.py @@ -184,16 +184,15 @@ class DeleteFromRegistryPlugin(Exit...
delete_from_registry: delete manifest lists if they exist If group_manifests creates a manifest list, it stores the registry and tag in push_conf. If handle_worker_digests works correctly, we need to check to see if there is a push_conf registry. If there isn't, there's no need to post a warning.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,6 +48,7 @@ setuptools.setup( 'pytest', 'pytest-cov', 'tox', + 'twine', ] },
setup.py += twine dev dependency
py
diff --git a/openquake/engine/tools/make_html_report.py b/openquake/engine/tools/make_html_report.py index <HASH>..<HASH> 100644 --- a/openquake/engine/tools/make_html_report.py +++ b/openquake/engine/tools/make_html_report.py @@ -102,12 +102,12 @@ class HtmlTable(object): JOB_STATS = ''' SELECT id, user_name, star...
Fixed make_html_report to work with SQLite
py
diff --git a/touch/__init__.py b/touch/__init__.py index <HASH>..<HASH> 100644 --- a/touch/__init__.py +++ b/touch/__init__.py @@ -27,5 +27,10 @@ def touch_file(path, context): set_file_utime(path, max(x.date for x in dates)) +def touch_feed(path, context, feed): + set_file_utime(path, max(x['pubdate'] ...
Update timestamps of generated feeds as well
py
diff --git a/matrix_client/client.py b/matrix_client/client.py index <HASH>..<HASH> 100644 --- a/matrix_client/client.py +++ b/matrix_client/client.py @@ -144,11 +144,16 @@ class MatrixClient(object): return self.rooms[room_id] def _process_state_event(self, state_event, current_room): - if "type...
Simplified logic in _process_state_event
py
diff --git a/grr/client/client_utils_linux.py b/grr/client/client_utils_linux.py index <HASH>..<HASH> 100644 --- a/grr/client/client_utils_linux.py +++ b/grr/client/client_utils_linux.py @@ -225,11 +225,21 @@ class NannyController(object): except AttributeError: grr_message = str(grr_message) + logfile...
Fixing failing nanny test.
py
diff --git a/test/integration_tests.py b/test/integration_tests.py index <HASH>..<HASH> 100644 --- a/test/integration_tests.py +++ b/test/integration_tests.py @@ -24,10 +24,10 @@ class ChannelContext(ConnectionContext): class BoundQueueContext(ChannelContext): def given_a_queue_bound_to_an_exchange(self): - ...
Tiny timing increase so tests pass on travis
py
diff --git a/hapi/hapi.py b/hapi/hapi.py index <HASH>..<HASH> 100644 --- a/hapi/hapi.py +++ b/hapi/hapi.py @@ -72,7 +72,7 @@ class HubSpotClient(object): # this parameter does not need to be inlcuded otherwise self.hub_id = kwargs.get('hub_id') or kwargs.get('portal_id') self.envi...
Adding 'prod' as a valid production ENV.
py
diff --git a/indra/tools/reading/util/script_tools.py b/indra/tools/reading/util/script_tools.py index <HASH>..<HASH> 100644 --- a/indra/tools/reading/util/script_tools.py +++ b/indra/tools/reading/util/script_tools.py @@ -1,10 +1,9 @@ """Useful tools for reading scripts.""" -from __future__ import absolute_import, pr...
Remove another instance of hard-coding readers.
py
diff --git a/pylink/jlink.py b/pylink/jlink.py index <HASH>..<HASH> 100644 --- a/pylink/jlink.py +++ b/pylink/jlink.py @@ -52,7 +52,7 @@ class JLink(object): MAX_NUM_CPU_REGISTERS = 256 # Maximum speed (in kHz) that can be passed to `set_speed()`. - MAX_JTAG_SPEED = 12000 + MAX_JTAG_SPEED = 50000 ...
Set maximum interface speed to <I> MHz (#<I>) Maximum interface speeds of up to <I> MHz are supported by J-Link (see <URL>
py
diff --git a/trafaret/__init__.py b/trafaret/__init__.py index <HASH>..<HASH> 100644 --- a/trafaret/__init__.py +++ b/trafaret/__init__.py @@ -1462,9 +1462,11 @@ def guard(trafaret=None, **kwargs): def decor(*args, **kwargs): fnargs = argspec.args if fnargs[0] in ['self', 'cls']: + ...
guard fix for nonstatic methods in classes
py
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/spyder.py +++ b/spyderlib/spyder.py @@ -557,7 +557,8 @@ class MainWindow(QMainWindow): # Tools menu self.tools_menu = self.menuBar().addMenu(_("&Tools")) - # View menu...
Spyder menu bar: fixed menu ordering issue with Ubuntu/Unity Fixes issue <I>
py
diff --git a/cumulusci/utils/fileutils.py b/cumulusci/utils/fileutils.py index <HASH>..<HASH> 100644 --- a/cumulusci/utils/fileutils.py +++ b/cumulusci/utils/fileutils.py @@ -96,7 +96,6 @@ def proxy(funcname): real_func = getattr(self.fs, funcname) return real_func(self.filename, *args, **kwargs) - ...
don't copy docstrings from proxied pyfilesystem methods; we're trying to run its doctests
py
diff --git a/examples/sparkfun_redbot/sparkfun_experiments/Exp7_2_DriveDistance.py b/examples/sparkfun_redbot/sparkfun_experiments/Exp7_2_DriveDistance.py index <HASH>..<HASH> 100644 --- a/examples/sparkfun_redbot/sparkfun_experiments/Exp7_2_DriveDistance.py +++ b/examples/sparkfun_redbot/sparkfun_experiments/Exp7_2_Dr...
Uppercase some BUTTON_PIN constants
py
diff --git a/sanji/core.py b/sanji/core.py index <HASH>..<HASH> 100644 --- a/sanji/core.py +++ b/sanji/core.py @@ -103,8 +103,8 @@ class Sanji(object): continue for result in results: # same route - for callback in result["callbacks"]: - callback(self, ...
Reduce complexity and refine for pep8
py
diff --git a/ReText/tab.py b/ReText/tab.py index <HASH>..<HASH> 100644 --- a/ReText/tab.py +++ b/ReText/tab.py @@ -328,10 +328,10 @@ class ReTextTab(QSplitter): if result: self.editBox.document().setModified(False) self.p.fileSystemWatcher.addPath(fileName or self._fileName) - if result and self._fileName !...
tab: do not trigger file name change when auto-saving to same file This fixes issue #<I> which caused the window title to change to "New document" after a minute with auto-save enabled.
py
diff --git a/grimoire/elk/git.py b/grimoire/elk/git.py index <HASH>..<HASH> 100644 --- a/grimoire/elk/git.py +++ b/grimoire/elk/git.py @@ -126,6 +126,7 @@ class GitEnrich(Enrich): def get_item_project(self, item): """ Get project mapping enrichment field """ + item_project = {} ds_name =...
[enrich][git] Add project levels for filtering in Kibana
py
diff --git a/field/__init__.py b/field/__init__.py index <HASH>..<HASH> 100644 --- a/field/__init__.py +++ b/field/__init__.py @@ -16,11 +16,31 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. """ import sys -from argparse impo...
Add version flag and include licensing info.
py
diff --git a/volapi/volapi.py b/volapi/volapi.py index <HASH>..<HASH> 100644 --- a/volapi/volapi.py +++ b/volapi/volapi.py @@ -312,7 +312,6 @@ class Room: self._user_count = 0 self._files = OrderedDict() self._filereqs = {} - self._chat_log = [] if subscribe: se...
Remove Room.chat_log If you want stuff like this, then you should keep track of it yourself. This is in lieu with vola itself, which does not really log the chat itself.
py
diff --git a/easy_thumbnails/__init__.py b/easy_thumbnails/__init__.py index <HASH>..<HASH> 100644 --- a/easy_thumbnails/__init__.py +++ b/easy_thumbnails/__init__.py @@ -1,4 +1,4 @@ -VERSION = (1, 0, 'alpha', 9) +VERSION = (1, 0, 'alpha', 10) def get_version(join=' ', short=False):
Bump the version after merging with the source_generators branch.
py
diff --git a/kubernetes/client/apis/__init__.py b/kubernetes/client/apis/__init__.py index <HASH>..<HASH> 100644 --- a/kubernetes/client/apis/__init__.py +++ b/kubernetes/client/apis/__init__.py @@ -5,6 +5,8 @@ import warnings # alias kubernetes.client.api package and print deprecation warning from kubernetes.clien...
turn on warning filter to print deprecation warning by default
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100644 --- a/runtests.py +++ b/runtests.py @@ -50,9 +50,18 @@ def main(): logging.disable(logging.ERROR) elif verbosity == 2: logging.basicConfig(level=logging.DEBUG) - run('tests', verbosity) - run('functional_tests', verbosity) - run('contrib...
Made it possible to run a specific folder of tests
py
diff --git a/posterior.py b/posterior.py index <HASH>..<HASH> 100644 --- a/posterior.py +++ b/posterior.py @@ -130,7 +130,7 @@ class twoD: bins = bins + ret[0] # Normalise so the sum of the bins is one, i.e. we have a pdf. - self.bins = bins / bins.sum() + self.bins = bins.T / bins...
Noticed that twoD output results was transposed.
py
diff --git a/build_libtcod.py b/build_libtcod.py index <HASH>..<HASH> 100644 --- a/build_libtcod.py +++ b/build_libtcod.py @@ -312,7 +312,7 @@ MSVC_CFLAGS = {"DEBUG": ["/Od"], "RELEASE": ["/GL", "/O2", "/GS-"]} MSVC_LDFLAGS = {"DEBUG": [], "RELEASE": ["/LTCG"]} GCC_CFLAGS = { "DEBUG": ["-Og", "-g", "-fPIC"], - ...
Hide deprecated functions.
py
diff --git a/asttokens/util.py b/asttokens/util.py index <HASH>..<HASH> 100644 --- a/asttokens/util.py +++ b/asttokens/util.py @@ -318,8 +318,7 @@ class NodeMethods(object): return method -def patched_generate_tokens(original_tokens): - # type: (Iterator[tokenize.TokenInfo]) -> Iterator[tokenize.TokenInfo] +d...
Remove types for patched_generate_tokens because Python 2 doesn't have tokenize.TokenInfo
py
diff --git a/eqcorrscan/core/template_gen.py b/eqcorrscan/core/template_gen.py index <HASH>..<HASH> 100644 --- a/eqcorrscan/core/template_gen.py +++ b/eqcorrscan/core/template_gen.py @@ -517,9 +517,13 @@ def _download_from_client(client, client_type, catalog, data_pad, process_len, channel_code = pick....
Cope with missing parts of seed ids
py
diff --git a/spacy/lang/el/lemmatizer.py b/spacy/lang/el/lemmatizer.py index <HASH>..<HASH> 100644 --- a/spacy/lang/el/lemmatizer.py +++ b/spacy/lang/el/lemmatizer.py @@ -57,6 +57,6 @@ class GreekLemmatizer(Lemmatizer): forms.extend(oov_forms) if not forms: forms.append(string) - ...
Fix non-deterministic deduplication in Greek lemmatizer (#<I>)
py
diff --git a/setuptools/version.py b/setuptools/version.py index <HASH>..<HASH> 100644 --- a/setuptools/version.py +++ b/setuptools/version.py @@ -1 +1 @@ -__version__ = '20.1' +__version__ = '20.2'
Bumped to <I> in preparation for next release.
py
diff --git a/salt/modules/win_pkg.py b/salt/modules/win_pkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_pkg.py +++ b/salt/modules/win_pkg.py @@ -236,9 +236,19 @@ def list_pkgs(versions_as_list=False, **kwargs): ret = {} name_map = _get_name_map() - for key, val in six.iteritems(_get_reg_softwar...
Match unversioned packages to winrepo
py
diff --git a/salt/modules/tls.py b/salt/modules/tls.py index <HASH>..<HASH> 100644 --- a/salt/modules/tls.py +++ b/salt/modules/tls.py @@ -45,7 +45,7 @@ def __virtual__(): ''' if HAS_SSL: return True - return False + return False, ['PyOpenSSL must be installed before this module can be used.'] ...
Adding additional output to assist in troubleshooting. Fixes #<I>
py
diff --git a/bcloud/auth.py b/bcloud/auth.py index <HASH>..<HASH> 100644 --- a/bcloud/auth.py +++ b/bcloud/auth.py @@ -276,7 +276,7 @@ def parse_bdstoken(content): @return 返回bdstoken ''' bdstoken = '' - bds_re = re.compile('BDSTOKEN\s*=\s*"([^"]+)"') + bds_re = re.compile('"bdstoken"\s*:\s*"([^"]+)...
fix: Failed to get bdstoken
py
diff --git a/src/python/pants/backend/go/distribution.py b/src/python/pants/backend/go/distribution.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/go/distribution.py +++ b/src/python/pants/backend/go/distribution.py @@ -11,10 +11,10 @@ class GoLangDistribution(TemplatedExternalTool): name = "golang"...
upgrade Go distribution to <I> (#<I>) Upgrade to latest version of Go. Closes <URL>
py
diff --git a/openfisca_france_indirect_taxation/build_survey_data/step_03_calage.py b/openfisca_france_indirect_taxation/build_survey_data/step_03_calage.py index <HASH>..<HASH> 100644 --- a/openfisca_france_indirect_taxation/build_survey_data/step_03_calage.py +++ b/openfisca_france_indirect_taxation/build_survey_data...
Do not use step<I> and step <I> anymore
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,5 +24,6 @@ setup(name='gbdxtools', zip_safe=False, install_requires=['requests==2.9.1', 'boto==2.39.0', - 'gbdx-auth==0.1.2'] + 'gbdx-aut...
add Pillow to setup.py
py
diff --git a/centinel/primitives/tls.py b/centinel/primitives/tls.py index <HASH>..<HASH> 100644 --- a/centinel/primitives/tls.py +++ b/centinel/primitives/tls.py @@ -45,7 +45,6 @@ def get_fingerprint(host, port=443, external=None): if external is not None: external[row] = {"tls_error": tls_error,...
removed exception raising from TLS (it is reported in the results), fixes #<I>
py