diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/niworkflows/utils/bids.py b/niworkflows/utils/bids.py index <HASH>..<HASH> 100644 --- a/niworkflows/utils/bids.py +++ b/niworkflows/utils/bids.py @@ -163,7 +163,7 @@ def collect_data(bids_dir, participant_label, task=None, echo=None, } if bids_filters: for acq, entities in bids_filters.i...
Update niworkflows/utils/bids.py
py
diff --git a/topydo/lib/prettyprinters/Colors.py b/topydo/lib/prettyprinters/Colors.py index <HASH>..<HASH> 100644 --- a/topydo/lib/prettyprinters/Colors.py +++ b/topydo/lib/prettyprinters/Colors.py @@ -32,15 +32,15 @@ class PrettyPrinterColorFilter(PrettyPrinterFilter): def filter(self, p_todo_str, p_todo): ...
Only retrieve colors when topydo was configured to use colors
py
diff --git a/cereslib/_version.py b/cereslib/_version.py index <HASH>..<HASH> 100644 --- a/cereslib/_version.py +++ b/cereslib/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.1.2" +__version__ = "0.1.3"
[release] Update version number to <I>
py
diff --git a/messages/utils.py b/messages/utils.py index <HASH>..<HASH> 100644 --- a/messages/utils.py +++ b/messages/utils.py @@ -25,20 +25,25 @@ def format_quote(text): def new_message_email(sender, instance, signal, subject_prefix=_(u'New Message: %(subject)s'), - template_name="messages/new_...
Added ability to override the default protocol in the site URL that is passed to the new message email with the setting DEFAULT_HTTP_PROTOCOL
py
diff --git a/O365/connection.py b/O365/connection.py index <HASH>..<HASH> 100644 --- a/O365/connection.py +++ b/O365/connection.py @@ -82,6 +82,7 @@ def delete_token(token_path=None): class Connection(with_metaclass(Singleton)): _oauth2_authorize_url = 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize'...
Add the ability to specify default headers used in future requests. For example this gives you the ability to set Connection.default_headers = {'Prefer': 'outlook.body-content-type="text"'}, to request to be sent text instead of html from outlook for future calls.
py
diff --git a/salt/states/module.py b/salt/states/module.py index <HASH>..<HASH> 100644 --- a/salt/states/module.py +++ b/salt/states/module.py @@ -319,7 +319,7 @@ def _call_function(name, returner=None, **kwargs): func_kw = dict(zip(argspec.args[-len(argspec.defaults or []):], # pylint: disable=incompatible-py3-c...
Fix typo found by @s0undt3ch
py
diff --git a/examples/webhooks/server.py b/examples/webhooks/server.py index <HASH>..<HASH> 100755 --- a/examples/webhooks/server.py +++ b/examples/webhooks/server.py @@ -117,7 +117,7 @@ def verify_signature(message, key, signature): is your OAuth client secret, which only you and Nylas know. """ digest ...
Prevent timing attacks by using hmac.compare_digest Per security review from Thomas: <URL>
py
diff --git a/plaso/parsers/sqlite_plugins/firefox.py b/plaso/parsers/sqlite_plugins/firefox.py index <HASH>..<HASH> 100644 --- a/plaso/parsers/sqlite_plugins/firefox.py +++ b/plaso/parsers/sqlite_plugins/firefox.py @@ -64,10 +64,10 @@ class FirefoxPlacesBookmarkEventData(events.EventData): """Firefox bookmark event ...
Corrected docstrings for FireFox event data types (#<I>)
py
diff --git a/harpoon/ship/builders/normal.py b/harpoon/ship/builders/normal.py index <HASH>..<HASH> 100644 --- a/harpoon/ship/builders/normal.py +++ b/harpoon/ship/builders/normal.py @@ -23,7 +23,7 @@ class NormalBuilder(BuilderBase): # Login into the correct registry current_tags = chain.from_iterabl...
Perhaps login based on the image we need to pull
py
diff --git a/pcef/core.py b/pcef/core.py index <HASH>..<HASH> 100644 --- a/pcef/core.py +++ b/pcef/core.py @@ -218,7 +218,7 @@ class TextDecoration(QTextEdit.ExtraSelection): def containsCursor(self, textCursor): assert isinstance(textCursor, QTextCursor) - return self.cursor.selectionStart() <=...
Better detection of TextSelection mouse over
py
diff --git a/user_management/api/tests/test_throttling.py b/user_management/api/tests/test_throttling.py index <HASH>..<HASH> 100644 --- a/user_management/api/tests/test_throttling.py +++ b/user_management/api/tests/test_throttling.py @@ -19,6 +19,7 @@ class GetTokenTest(APIRequestTestCase): self.auth_url = re...
[ci skip] Comments related to cache clear
py
diff --git a/multiqc/modules/picard/InsertSizeMetrics.py b/multiqc/modules/picard/InsertSizeMetrics.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/picard/InsertSizeMetrics.py +++ b/multiqc/modules/picard/InsertSizeMetrics.py @@ -88,10 +88,10 @@ def parse_reports(self): for key in self.picard_insertSize_d...
Python3 fix for Picard, removing empty dict items in insertSizeMetrics
py
diff --git a/rollbar/__init__.py b/rollbar/__init__.py index <HASH>..<HASH> 100644 --- a/rollbar/__init__.py +++ b/rollbar/__init__.py @@ -831,11 +831,7 @@ def _build_person_data(request): """ if hasattr(request, 'rollbar_person'): rollbar_person_prop = request.rollbar_person - try: - ...
Use callable() instead of try/except TypeError
py
diff --git a/climlab/__init__.py b/climlab/__init__.py index <HASH>..<HASH> 100644 --- a/climlab/__init__.py +++ b/climlab/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.4.2' +__version__ = '0.4.3.dev0' # This list defines all the modules that will be loaded if a user invokes # from climLab import *
Set version number to <I>.dev0
py
diff --git a/test/test_wrap.py b/test/test_wrap.py index <HASH>..<HASH> 100644 --- a/test/test_wrap.py +++ b/test/test_wrap.py @@ -311,7 +311,7 @@ class TestUtil(unittest.TestCase): self.assertSequenceEqual(DataIn, DataCheck) attributes = self.session.getAttributeValue(unwrapped, [PyKCS11.CKA_EXTRAC...
test_wrap: fix UT now that isBool is fixed PyKCS<I>.CKA_EXTRACTABLE attribute is a boolean now.
py
diff --git a/batchSystems/singleMachine.py b/batchSystems/singleMachine.py index <HASH>..<HASH> 100644 --- a/batchSystems/singleMachine.py +++ b/batchSystems/singleMachine.py @@ -70,10 +70,11 @@ class SingleMachineBatchSystem(AbstractBatchSystem): if args is None: #Case where we are reducing threads for ma...
Fix regression introduced by b5e0e<I>d6e<I>c9d0abb<I>f singleMachine worker was non-blocking
py
diff --git a/hijack_admin/checks.py b/hijack_admin/checks.py index <HASH>..<HASH> 100644 --- a/hijack_admin/checks.py +++ b/hijack_admin/checks.py @@ -10,7 +10,7 @@ from hijack_admin.admin import HijackUserAdminMixin def _using_hijack_admin_mixin(): - user_admin_class = type(site._registry[get_user_model()]) + ...
Using get to pull model name from dict If the check does not see the user model in the dict it crashes rather than raises the warning/error as intended.
py
diff --git a/minio/compat.py b/minio/compat.py index <HASH>..<HASH> 100644 --- a/minio/compat.py +++ b/minio/compat.py @@ -44,16 +44,16 @@ if _is_py2: from urlparse import urlsplit, parse_qs - ## Create missing types. + # Create missing types. bytes = str - ## Update better types. + # Update...
fix formatting as per pep8 in compat.py (#<I>)
py
diff --git a/src/_pytest/logging.py b/src/_pytest/logging.py index <HASH>..<HASH> 100644 --- a/src/_pytest/logging.py +++ b/src/_pytest/logging.py @@ -451,7 +451,7 @@ class LogCaptureFixture: @contextmanager def at_level( - self, level: int, logger: Optional[str] = None + self, level: Union[in...
updated type hints for caplog.at_level to match caplog.set_level The underlying logging API accepts the log level both as int and as string.
py
diff --git a/src/rezplugins/release_hook/command.py b/src/rezplugins/release_hook/command.py index <HASH>..<HASH> 100644 --- a/src/rezplugins/release_hook/command.py +++ b/src/rezplugins/release_hook/command.py @@ -119,16 +119,29 @@ class CommandReleaseHook(ReleaseHook): self._execute_commands(self.settings.po...
release_hook.command: allow checking if any variants were successfully released in post-release
py
diff --git a/spyder/widgets/mixins.py b/spyder/widgets/mixins.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/mixins.py +++ b/spyder/widgets/mixins.py @@ -358,11 +358,11 @@ class BaseEditMixin(object): # (see below), the word to the left of the cursor won't be # selected), but only if the...
Editor: Add validation for space while doing completion
py
diff --git a/spyder/widgets/variableexplorer/dataframeeditor.py b/spyder/widgets/variableexplorer/dataframeeditor.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/variableexplorer/dataframeeditor.py +++ b/spyder/widgets/variableexplorer/dataframeeditor.py @@ -14,7 +14,6 @@ Pandas DataFrame Editor Dialog """ # ...
Testing: Fix a couple of errors after Pandas <I> was released
py
diff --git a/superset/viz.py b/superset/viz.py index <HASH>..<HASH> 100644 --- a/superset/viz.py +++ b/superset/viz.py @@ -489,7 +489,7 @@ class BaseViz(object): return df.to_csv(index=include_index, **config.get('CSV_EXPORT')) def get_data(self, df): - return self.get_df().to_dict(orient='record...
Fixed the cache issue for BigNumber (#<I>) * fixed the cache issue for bignumber * fixed
py
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py index <HASH>..<HASH> 100644 --- a/kafka/consumer/group.py +++ b/kafka/consumer/group.py @@ -638,6 +638,7 @@ class KafkaConsumer(six.Iterator): max_records = self.config['max_poll_records'] assert isinstance(max_records, int), 'max_reco...
Raise AssertionError if consumer closed in poll() (#<I>)
py
diff --git a/pykrige/core.py b/pykrige/core.py index <HASH>..<HASH> 100755 --- a/pykrige/core.py +++ b/pykrige/core.py @@ -498,10 +498,9 @@ def find_statistics_3d(x, y, z, vals, variogram_function, variogram_model_parame delta[n] = 0.0 sigma[n] = 0.0 else: - z_, ss_ = krige...
bug fix: 3d krige residual was wrong (#<I>)
py
diff --git a/LiSE/LiSE/node.py b/LiSE/LiSE/node.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/node.py +++ b/LiSE/LiSE/node.py @@ -26,7 +26,6 @@ class RuleMapping(rule.RuleMapping): super().__init__(node.engine, node.rulebook) self.node = node - engine = getatt('node.engine') character = get...
Store engine normally in Node, to avoid conflict with RuleFollower
py
diff --git a/spyder/utils/syntaxhighlighters.py b/spyder/utils/syntaxhighlighters.py index <HASH>..<HASH> 100644 --- a/spyder/utils/syntaxhighlighters.py +++ b/spyder/utils/syntaxhighlighters.py @@ -311,7 +311,8 @@ class BaseSH(QSyntaxHighlighter): font = self.format(start) fo...
Fix infinite loop with issue shorthand within comments
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,11 +23,13 @@ setup( zip_safe=False, install_requires=[ + "pep8" ], tests_require=[ "pytest", "flake8", + "pep8", "pylama" ],
Add pep8 to install_requires
py
diff --git a/tests/support/case.py b/tests/support/case.py index <HASH>..<HASH> 100644 --- a/tests/support/case.py +++ b/tests/support/case.py @@ -294,7 +294,8 @@ class ShellTestCase(TestCase, AdaptedConfigurationTestCaseMixin): # As a last resort, kill the process group ...
Make sure we close the spooled temporary file
py
diff --git a/ipyrad/assemble/util.py b/ipyrad/assemble/util.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/util.py +++ b/ipyrad/assemble/util.py @@ -35,10 +35,10 @@ class IPyradError(Exception): def __init__(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs) -class IPyradWarningExit...
IPyradWarningExit acts like sys.exit
py
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/editor.py +++ b/spyderlib/plugins/editor.py @@ -112,6 +112,8 @@ class EditorConfigPage(PluginConfigPage): occurence_spin = self.create_spinbox("", " ms", ...
Editor preferences page/minor bugfix: when occurence highlighting was disabled, associated spinbox widget was not grayed out
py
diff --git a/search.py b/search.py index <HASH>..<HASH> 100644 --- a/search.py +++ b/search.py @@ -733,6 +733,7 @@ def compare_searchers(problems, header, searchers=[breadth_first_tree_search, def compare_graph_searchers(): """Prints a table of results like this: +>>> compare_graph_searchers() Searcher ...
Made an example into a doctest.
py
diff --git a/qiskit/circuit/library/n_local/excitation_preserving.py b/qiskit/circuit/library/n_local/excitation_preserving.py index <HASH>..<HASH> 100644 --- a/qiskit/circuit/library/n_local/excitation_preserving.py +++ b/qiskit/circuit/library/n_local/excitation_preserving.py @@ -24,8 +24,8 @@ class ExcitationPreserv...
fix docstring of excitation preserving (#<I>)
py
diff --git a/panwid/dropdown.py b/panwid/dropdown.py index <HASH>..<HASH> 100644 --- a/panwid/dropdown.py +++ b/panwid/dropdown.py @@ -453,6 +453,9 @@ class Dropdown(urwid.PopUpLauncher): self._items = AttrDict(( (item, n) for n, item in enumerate(self.items))) else: s...
Fix bug when using an AttrDict to populate a dropdown.
py
diff --git a/pyrax/cloudmonitoring.py b/pyrax/cloudmonitoring.py index <HASH>..<HASH> 100644 --- a/pyrax/cloudmonitoring.py +++ b/pyrax/cloudmonitoring.py @@ -948,9 +948,9 @@ class CloudMonitorClient(BaseClient): resp = self._entity_manager.create(label=label, name=name, agent=agent, ip_addres...
Fix status and headers access in create_entity
py
diff --git a/workflow/plate_manager.py b/workflow/plate_manager.py index <HASH>..<HASH> 100644 --- a/workflow/plate_manager.py +++ b/workflow/plate_manager.py @@ -66,6 +66,17 @@ class PlateManager(Printable): with switch_db(PlateDefinitionModel, db_alias="hyperstream"): for p in PlateDefinitionMod...
Added delete functionality to plate definitions.
py
diff --git a/libpebble2/version.py b/libpebble2/version.py index <HASH>..<HASH> 100644 --- a/libpebble2/version.py +++ b/libpebble2/version.py @@ -1,4 +1,4 @@ __author__ = 'katharine' -__version_info__ = (0, 0, 17) +__version_info__ = (0, 0, 18) __version__ = '.'.join(map(str, __version_info__))
Bump to <I>.
py
diff --git a/tensorboard/uploader/flags_parser.py b/tensorboard/uploader/flags_parser.py index <HASH>..<HASH> 100644 --- a/tensorboard/uploader/flags_parser.py +++ b/tensorboard/uploader/flags_parser.py @@ -18,6 +18,8 @@ from __future__ import absolute_import from __future__ import division from __future__ import pri...
Uploader: Accept internal alternate experiment name flag (#<I>)
py
diff --git a/drivers/python/rethinkdb/gevent_net/net_gevent.py b/drivers/python/rethinkdb/gevent_net/net_gevent.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/gevent_net/net_gevent.py +++ b/drivers/python/rethinkdb/gevent_net/net_gevent.py @@ -52,7 +52,7 @@ class GeventCursor(net.Cursor): # TODO: wo...
making net_gevent.py:SocketWrapper be based on net fixes problems found in testing over-the-shoulder by @Tryneus
py
diff --git a/py3status/modules/mpris.py b/py3status/modules/mpris.py index <HASH>..<HASH> 100644 --- a/py3status/modules/mpris.py +++ b/py3status/modules/mpris.py @@ -37,6 +37,7 @@ Format placeholders: {state} playback status of the player {time} played time of the song {title} name of the song + {now...
mpris module: add vlc nowplaying field (#<I>) VLC use a vlc:nowplaying field, at least when playing field This is useful when the title field is static and only this field change when playing a stream.
py
diff --git a/google_images_download/google_images_download.py b/google_images_download/google_images_download.py index <HASH>..<HASH> 100755 --- a/google_images_download/google_images_download.py +++ b/google_images_download/google_images_download.py @@ -579,7 +579,6 @@ class googleimagesdownload: # ...
just removes a line that makes filenames lowercase (#<I>)
py
diff --git a/grapheneapi/graphenewsprotocol.py b/grapheneapi/graphenewsprotocol.py index <HASH>..<HASH> 100644 --- a/grapheneapi/graphenewsprotocol.py +++ b/grapheneapi/graphenewsprotocol.py @@ -136,13 +136,9 @@ class GrapheneWebsocketProtocol(WebSocketClientProtocol): """ Run registered call backs for...
First setObjects, then dispatch notices prevents trying to get an updated object before it is actually updated. Wrote in compact "python" style list comprehension which is faster than for loops, but this can also be done with two for loops.
py
diff --git a/instaloader/__init__.py b/instaloader/__init__.py index <HASH>..<HASH> 100644 --- a/instaloader/__init__.py +++ b/instaloader/__init__.py @@ -1,7 +1,7 @@ """Download pictures (or videos) along with their captions and other metadata from Instagram.""" -__version__ = '4.0.8' +__version__ = '4.1a1' ...
First Alpha Release for Version <I>
py
diff --git a/opengrid/library/regression.py b/opengrid/library/regression.py index <HASH>..<HASH> 100644 --- a/opengrid/library/regression.py +++ b/opengrid/library/regression.py @@ -424,10 +424,10 @@ class MultiVarLinReg(Analysis): yerr=df_prog['interval_u'] - df_prog['predicted'], label...
Alignment of the bar chart fixed
py
diff --git a/deployment/update/update.py b/deployment/update/update.py index <HASH>..<HASH> 100644 --- a/deployment/update/update.py +++ b/deployment/update/update.py @@ -53,6 +53,9 @@ def update(ctx): ctx.local('python2.6 manage.py syncdb --settings {0}'.format(th_settings)) ctx.local('python2.6 mana...
Bug <I> - On deployment update prod DB using in-repo fixtures
py
diff --git a/tests/test_assets.py b/tests/test_assets.py index <HASH>..<HASH> 100644 --- a/tests/test_assets.py +++ b/tests/test_assets.py @@ -211,9 +211,6 @@ def build_lookup_generic_cases(): all_assets = list(equities) + [fof14, cf] - dupe_old_start = dupe_old.start_date - dupe_new_start = ...
MAINT: Remove shadowed variables.
py
diff --git a/broqer/op/combine_latest.py b/broqer/op/combine_latest.py index <HASH>..<HASH> 100644 --- a/broqer/op/combine_latest.py +++ b/broqer/op/combine_latest.py @@ -124,7 +124,7 @@ class CombineLatest(MultiOperator): MultiOperator.unsubscribe(self, subscriber) if not self._subscriptions: ...
avoid replacing the _partial_state list
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup(name = "medea", license = "Apache", - version = "0.0", + version = "0.0.0", install_...
Add classifiers and a fuller version number.
py
diff --git a/tensorbase/stoch.py b/tensorbase/stoch.py index <HASH>..<HASH> 100644 --- a/tensorbase/stoch.py +++ b/tensorbase/stoch.py @@ -108,8 +108,10 @@ class GaussianLayerConv(StochLayer): x must be 2D. [batch_size * eqsamples* iwsamples, num_latent] """ mu, std, h, w = self.params - ...
convnet and deconvnet
py
diff --git a/wp_split.py b/wp_split.py index <HASH>..<HASH> 100755 --- a/wp_split.py +++ b/wp_split.py @@ -81,7 +81,7 @@ class SplitParser(WPParser): for char in string.digits + string.ascii_uppercase: path = "%s/%s" % (self.dest, char) print("+ open %s" % path) - self._fil...
correct bzip2 usage in wp_split.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,13 +12,13 @@ with open('README.rst') as readme: setup( name = 'datapackage', - version = '0.1.1', + version = '0.1.2', url = 'https://github.com/tryggvib/datapackage', license = 'GPLv3', descri...
Upped the patch version to because of Gunnlaugur's changes and changed author to maintainer (because of there are more authors now)
py
diff --git a/malcolm/imalcolm.py b/malcolm/imalcolm.py index <HASH>..<HASH> 100755 --- a/malcolm/imalcolm.py +++ b/malcolm/imalcolm.py @@ -202,7 +202,7 @@ def main(): args = parse_args() - # Make some log config, either fron command line or + # Make some log config using command line args or defaults ...
Fixed typo in imalcolm.py
py
diff --git a/pinax/documents/views.py b/pinax/documents/views.py index <HASH>..<HASH> 100644 --- a/pinax/documents/views.py +++ b/pinax/documents/views.py @@ -231,6 +231,7 @@ class DocumentCreate(LoginRequiredMixin, CreateView): with transaction.atomic(): kwargs = { "name": form.c...
Make sure to store the original filename
py
diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py index <HASH>..<HASH> 100644 --- a/salt/modules/iptables.py +++ b/salt/modules/iptables.py @@ -522,6 +522,11 @@ def insert(table='filter', chain=None, position=None, rule=None, family='ipv4'): method of creating rules would be irritating at best, ...
Allow reverse insert into iptables
py
diff --git a/zipline/utils/test_utils.py b/zipline/utils/test_utils.py index <HASH>..<HASH> 100644 --- a/zipline/utils/test_utils.py +++ b/zipline/utils/test_utils.py @@ -1,6 +1,5 @@ from datetime import datetime import blist -from zipline.utils.date_utils import EPOCH from itertools import izip_longest from logboo...
MAINT: Compare datetime in test utils instead of integer. Reduce dependency on date_utils, and improve legibility on failing test.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ install_requires = [ 'South==0.8.4', 'logan==0.5.9.1', 'django-background-task==0.1.6', - 'django-fsm==2.1.0', + 'django-fsm==2.2.0', 'django-uuidfield==0.5.0', 'django-taggit==0.1...
Bumped FSM version to support py<I>
py
diff --git a/shyaml.py b/shyaml.py index <HASH>..<HASH> 100755 --- a/shyaml.py +++ b/shyaml.py @@ -608,7 +608,7 @@ def act(action, value, dump=yaml_dump): def do(stream, action, key, default=None, dump=yaml_dump, loader=ShyamlSafeLoader): - """Return string representation of target value in stream YAML + ...
fix: dev: correct the docstring of ``do(..)`` function. It was incorrectly reporting the return type as string.
py
diff --git a/jax/interpreters/partial_eval.py b/jax/interpreters/partial_eval.py index <HASH>..<HASH> 100644 --- a/jax/interpreters/partial_eval.py +++ b/jax/interpreters/partial_eval.py @@ -179,6 +179,12 @@ class JaxprTrace(Trace): out_pvs, jaxpr, env = aux() env_tracers = map(self.full_raise, env) out_...
Avoid running trivial jitted subcomputations in pe (#<I>)
py
diff --git a/karaage/people/models.py b/karaage/people/models.py index <HASH>..<HASH> 100644 --- a/karaage/people/models.py +++ b/karaage/people/models.py @@ -127,9 +127,11 @@ class Person(AbstractBaseUser): # has username changed? self._tracker.has_changed("username") if self._tracker.has_ch...
Fix error creating new people. Make sure we don't try to rename a new user. Change-Id: I9a<I>fbfed<I>a1b2a<I>c5f<I>e<I>cabb<I>c<I>e8
py
diff --git a/numina/dal/diskfiledal.py b/numina/dal/diskfiledal.py index <HASH>..<HASH> 100644 --- a/numina/dal/diskfiledal.py +++ b/numina/dal/diskfiledal.py @@ -64,7 +64,10 @@ def build_product_path(drp, rootdir, conf, name, tipo, ob): for fname in files_s: loadpath = os.path.join(direct...
When searching for requirements, ignore hidden files
py
diff --git a/dbbackup/db/base.py b/dbbackup/db/base.py index <HASH>..<HASH> 100644 --- a/dbbackup/db/base.py +++ b/dbbackup/db/base.py @@ -16,8 +16,8 @@ CONNECTOR_MAPPING = { 'django.db.backends.postgresql': 'dbbackup.db.postgresql.PgDumpConnector', 'django.db.backends.postgresql_psycopg2': 'dbbackup.db.postg...
mongodb: fix typo in connector
py
diff --git a/montblanc/src_types.py b/montblanc/src_types.py index <HASH>..<HASH> 100644 --- a/montblanc/src_types.py +++ b/montblanc/src_types.py @@ -159,7 +159,7 @@ def source_range_tuple(start, end, nr_var_dict): starts[start_idx] -= sum_counts[start_idx-1] if end >= sum_counts[0]: - ends[end_...
Make start and end case handling equivalent. The end case did the correct thing, but was slightly more inefficient and different to the start case.
py
diff --git a/inginious/frontend/flask/mongo_sessions.py b/inginious/frontend/flask/mongo_sessions.py index <HASH>..<HASH> 100644 --- a/inginious/frontend/flask/mongo_sessions.py +++ b/inginious/frontend/flask/mongo_sessions.py @@ -53,11 +53,11 @@ class WebPyLikeSerializer: return pickle.loads(pickled) d...
flask_migration: fix session binary encoding
py
diff --git a/noxfile.py b/noxfile.py index <HASH>..<HASH> 100644 --- a/noxfile.py +++ b/noxfile.py @@ -102,4 +102,12 @@ def publish(session): build(session) session.run("twine", "check", "dist/*") print("REMINDER: Has the changelog been updated?") - session.run("python", "-m", "twine", "upload", "dist...
Add nox session for building docs
py
diff --git a/fireplace/cards/wog/neutral_legendary.py b/fireplace/cards/wog/neutral_legendary.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/wog/neutral_legendary.py +++ b/fireplace/cards/wog/neutral_legendary.py @@ -3,3 +3,17 @@ from ..utils import * ## # Minions + +class OG_122: + "Mukla, Tyrant of the Vale...
Implement corrupted Mukla, Hogger and Nat
py
diff --git a/internetarchive/cli/ia_download.py b/internetarchive/cli/ia_download.py index <HASH>..<HASH> 100644 --- a/internetarchive/cli/ia_download.py +++ b/internetarchive/cli/ia_download.py @@ -156,7 +156,11 @@ def main(argv, session): sys.stderr.write('error: {0}/{1} does not exist!\n'.format( ...
use sys.stdout.buffer for writing bytes to stdout in py3.
py
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py @@ -2193,6 +2193,17 @@ class ConnectionTests(TestCase, _LoopbackMixin): self.assertRaises(TypeError, connection.connect) self.assertRaises(TypeErro...
Added test for getattr changes
py
diff --git a/napalm/__init__.py b/napalm/__init__.py index <HASH>..<HASH> 100644 --- a/napalm/__init__.py +++ b/napalm/__init__.py @@ -16,6 +16,7 @@ from eos import EOSDriver from iosxr import IOSXRDriver from junos import JunOSDriver from fortios import FortiOSDriver +from nxos import NXOSDriver def get_network_...
flush writing to temp file when content is string
py
diff --git a/pycanvas/user.py b/pycanvas/user.py index <HASH>..<HASH> 100644 --- a/pycanvas/user.py +++ b/pycanvas/user.py @@ -23,7 +23,7 @@ class User(CanvasObject): ) return response.json() - def get_page_views(self): + def get_page_views(self, **kwargs): """ Retrieve this ...
added kwargs to get_page_views
py
diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py index <HASH>..<HASH> 100755 --- a/tools/mpy-tool.py +++ b/tools/mpy-tool.py @@ -319,8 +319,8 @@ class RawCode: ndigs = len(digs) digs = ','.join(('%#x' % d) for d in digs) print('STATIC const mp_obj_int_t %...
tools/mpy-tool.py: Put frozen bignum digit data in ROM, not in RAM.
py
diff --git a/anyconfig/backends.py b/anyconfig/backends.py index <HASH>..<HASH> 100644 --- a/anyconfig/backends.py +++ b/anyconfig/backends.py @@ -148,6 +148,7 @@ def inspect_input(input_, cps_by_ext=_PARSERS_BY_EXT, :param forced_type: Forced type of parser to load input :return: anyconfig.inputs.Input obj...
enhancement: add :raises: in doc texts of .backends.{inspect_input,find_parser}
py
diff --git a/project.py b/project.py index <HASH>..<HASH> 100644 --- a/project.py +++ b/project.py @@ -356,6 +356,12 @@ class Project(object): # pylint: disable=R0904, mode=mode, stmt_whitelist=stmt_whitelist, last_stmt=last_stmt) + def add_c...
Added custom SimProcedure support in Project.
py
diff --git a/fireplace/cards/classic/neutral_epic.py b/fireplace/cards/classic/neutral_epic.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/classic/neutral_epic.py +++ b/fireplace/cards/classic/neutral_epic.py @@ -8,9 +8,8 @@ class EX1_005: # Mountain Giant class EX1_105: - @hand - def OWN_HAND_UPDATE(self): -...
Move Molten/Mountain/Sea Giant to a cost() script
py
diff --git a/astrodbkit/astrodb.py b/astrodbkit/astrodb.py index <HASH>..<HASH> 100755 --- a/astrodbkit/astrodb.py +++ b/astrodbkit/astrodb.py @@ -264,7 +264,7 @@ class Database: while any(duplicate): # Pull out duplicates one by one - if table.lower() in ['sources', 'publications']: ...
more generalized fix for merging error
py
diff --git a/bin/x509/ip-ssl-subject-api.py b/bin/x509/ip-ssl-subject-api.py index <HASH>..<HASH> 100644 --- a/bin/x509/ip-ssl-subject-api.py +++ b/bin/x509/ip-ssl-subject-api.py @@ -80,7 +80,7 @@ class SSLQueryHandler(tornado.web.RequestHandler): if not self._finished: self.finish...
fix: [netaddr] fix the IP lookup
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 @@ -489,9 +489,14 @@ class EditNewCommand(Command): if not self.message: self.message = ui.current_buffer.get_selected_message() mail = se...
Copy tags to envelope with :editnew
py
diff --git a/buildutils/build.py b/buildutils/build.py index <HASH>..<HASH> 100644 --- a/buildutils/build.py +++ b/buildutils/build.py @@ -14,7 +14,7 @@ def build_libcapnp(bundle_dir, build_dir, verbose=False): if verbose: stdout = None cxxflags = os.environ.get('CXXFLAGS', '') - os.environ['CXXFLAG...
Add O2 and DNDEBUG flags to libcapnp build
py
diff --git a/modules/pipeurlbuilder.py b/modules/pipeurlbuilder.py index <HASH>..<HASH> 100644 --- a/modules/pipeurlbuilder.py +++ b/modules/pipeurlbuilder.py @@ -33,7 +33,7 @@ def pipe_urlbuilder(context, _INPUT, conf, **kwargs): path = [util.get_value(p, item, **kwargs) for p in path if p] ...
Strip trailing / even if no path given
py
diff --git a/datajoint/base_relation.py b/datajoint/base_relation.py index <HASH>..<HASH> 100644 --- a/datajoint/base_relation.py +++ b/datajoint/base_relation.py @@ -177,7 +177,7 @@ class BaseRelation(RelationalOperand): value = pack(value) placeholder = '%s' ...
Treat empty string value in numeric field as a nan Otherwise, empty string values, such as those read from empty cells in a spreadsheet, have to be converted manually ahead of time to None or np.nan, which is a real pain.
py
diff --git a/treeherder/model/error_summary.py b/treeherder/model/error_summary.py index <HASH>..<HASH> 100644 --- a/treeherder/model/error_summary.py +++ b/treeherder/model/error_summary.py @@ -188,18 +188,11 @@ def is_helpful_search_term(search_term): 'Return code: 0', 'Return code: 1', 'Re...
Bug <I> - drop unused items from list of terms to ignore in searches for bug suggestions (#<I>)
py
diff --git a/salt/crypt.py b/salt/crypt.py index <HASH>..<HASH> 100644 --- a/salt/crypt.py +++ b/salt/crypt.py @@ -17,7 +17,7 @@ import hashlib import logging import traceback import binascii -from six.moves import zip +from salt.utils.six.moves import zip # Import third party libs try:
Replaced module six in file /salt/crypt.py
py
diff --git a/simplekv/db/mongo.py b/simplekv/db/mongo.py index <HASH>..<HASH> 100644 --- a/simplekv/db/mongo.py +++ b/simplekv/db/mongo.py @@ -27,7 +27,7 @@ class MongoStore(KeyValueStore): def _get(self, key): try: - item = self.db[self.collection].find({"_id": key}).next() + item...
Fix Python3s lack of .next().
py
diff --git a/source/libraries/generic/dialog/Dialog [Info]/RYDGSS/NMFUUQ/script.py b/source/libraries/generic/dialog/Dialog [Info]/RYDGSS/NMFUUQ/script.py index <HASH>..<HASH> 100644 --- a/source/libraries/generic/dialog/Dialog [Info]/RYDGSS/NMFUUQ/script.py +++ b/source/libraries/generic/dialog/Dialog [Info]/RYDGSS/NM...
Minor refactoring of dialog library - add safety condition - remove additional indent
py
diff --git a/salt/client/ssh/ssh_py_shim.py b/salt/client/ssh/ssh_py_shim.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/ssh_py_shim.py +++ b/salt/client/ssh/ssh_py_shim.py @@ -217,6 +217,7 @@ def main(argv): # pylint: disable=W0613 if not OPTIONS.tty: sys.stderr.write(OPTIONS.delimiter + '\n') ...
Fix deployment when umask is non-standard. Fixes #<I>
py
diff --git a/tests/test_preferred_forms_check.py b/tests/test_preferred_forms_check.py index <HASH>..<HASH> 100644 --- a/tests/test_preferred_forms_check.py +++ b/tests/test_preferred_forms_check.py @@ -5,6 +5,8 @@ from .check import Check from proselint.tools import preferred_forms_check as chk +from nose import ...
Skip preferred forms check This is a test case for #<I>, which has not yet been fixed.
py
diff --git a/plenum/server/primary_selector.py b/plenum/server/primary_selector.py index <HASH>..<HASH> 100644 --- a/plenum/server/primary_selector.py +++ b/plenum/server/primary_selector.py @@ -134,9 +134,9 @@ class PrimarySelector(PrimaryDecider): logger.debug) return - ...
rename _complete_view_change to _complete_primary_selection
py
diff --git a/seleniumbase/plugins/hipchat_reporting_plugin.py b/seleniumbase/plugins/hipchat_reporting_plugin.py index <HASH>..<HASH> 100755 --- a/seleniumbase/plugins/hipchat_reporting_plugin.py +++ b/seleniumbase/plugins/hipchat_reporting_plugin.py @@ -1,6 +1,7 @@ -""" This plugin allows you to receive test notificat...
Add deprecation warning for old code untested since <I>.
py
diff --git a/master/setup.py b/master/setup.py index <HASH>..<HASH> 100755 --- a/master/setup.py +++ b/master/setup.py @@ -391,7 +391,7 @@ setup_args = { ('buildbot.steps.shellsequence', ['ShellArg']), ('buildbot.www.avatar', ['AvatarGravatar']), ('buildbot.www.auth', [ - ...
Added CustomAuth to setup.py.
py
diff --git a/doapi/cli/action.py b/doapi/cli/action.py index <HASH>..<HASH> 100644 --- a/doapi/cli/action.py +++ b/doapi/cli/action.py @@ -34,7 +34,7 @@ def main(argv=None, parsed=None): description='''\ Show the resource that an action operated on. Resources that no longer exist ...
Removed erroneous "required=True" from `doapi-action`'s source
py
diff --git a/src/setup.py b/src/setup.py index <HASH>..<HASH> 100644 --- a/src/setup.py +++ b/src/setup.py @@ -8,7 +8,7 @@ setup( name='ArcREST', version='2.1.100', packages=['arcresthelper','arcresthelper/_abstract', - 'arcrest','arcrest/agol', 'arcrest/ags', 'arcrest/common', + ...
Updated setup to include helperservices
py
diff --git a/libcnml/libcnml.py b/libcnml/libcnml.py index <HASH>..<HASH> 100644 --- a/libcnml/libcnml.py +++ b/libcnml/libcnml.py @@ -184,6 +184,7 @@ class CNMLNode(object): self.status = status self.devices = dict() self.services = dict() + self.zone = None def get_device(self...
CNMLNode: add reference to zone (issue #7)
py
diff --git a/tests/cli.py b/tests/cli.py index <HASH>..<HASH> 100644 --- a/tests/cli.py +++ b/tests/cli.py @@ -105,7 +105,7 @@ class Test20(tests.common.TestsWithWorkdir): "%s -E string.Template -C yaml:- " "-o - %s" % (_RUN_CLI, tmpl), ...
fix: make it work w/ python 3.x
py
diff --git a/pwkit/fk10.py b/pwkit/fk10.py index <HASH>..<HASH> 100755 --- a/pwkit/fk10.py +++ b/pwkit/fk10.py @@ -283,11 +283,27 @@ class Calculator(object): This class maintains state about the input parameters that can be passed to the routines, and can invoke them for you. + **Constructor arguments**...
pwkit/fk<I>.py: apply a few useful defaults in Calculator
py
diff --git a/reana_db/version.py b/reana_db/version.py index <HASH>..<HASH> 100644 --- a/reana_db/version.py +++ b/reana_db/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.8.0a20" +__version__ = "0.8.0a21"
release: <I>a<I>
py
diff --git a/publish.py b/publish.py index <HASH>..<HASH> 100755 --- a/publish.py +++ b/publish.py @@ -49,7 +49,8 @@ def main(): # create the new tag check_call(['git', 'tag', tag, '-m', 'Tagged {}'.format(tag)]) # build - check_call(['python3', 'setup.py', 'sdist', 'bdist_wheel']) + check_call(['p...
[9] publish.py creates universal wheel for py2/3
py
diff --git a/api/src/opentrons/main.py b/api/src/opentrons/main.py index <HASH>..<HASH> 100644 --- a/api/src/opentrons/main.py +++ b/api/src/opentrons/main.py @@ -141,7 +141,7 @@ def run(hardware, **kwargs): # noqa(C901) log.info("API server version: {}".format(__version__)) if not os.environ.get("ENABLE_...
fix(api): fix recent change breaking api server init (#<I>) A recent commit broke server initialization by passing initialize_robot() into asyncio.loop.run_until_complete, but it's a synchronous function.
py
diff --git a/src/feat/agencies/emu/common.py b/src/feat/agencies/emu/common.py index <HASH>..<HASH> 100644 --- a/src/feat/agencies/emu/common.py +++ b/src/feat/agencies/emu/common.py @@ -45,10 +45,6 @@ class StateMachineMixin(object): state_after = decision['state_after'] self._set_state(state_after) ...
Minor fix in calling method from event handler
py
diff --git a/airflow/executors/local_executor.py b/airflow/executors/local_executor.py index <HASH>..<HASH> 100644 --- a/airflow/executors/local_executor.py +++ b/airflow/executors/local_executor.py @@ -33,11 +33,11 @@ class LocalWorker(multiprocessing.Process): ).format(**locals()) try: ...
Fixing bug in LocalExecutor
py
diff --git a/openfisca_core/formulas.py b/openfisca_core/formulas.py index <HASH>..<HASH> 100644 --- a/openfisca_core/formulas.py +++ b/openfisca_core/formulas.py @@ -17,7 +17,7 @@ from . import holders, periods from .parameters import ParameterNotFound from .periods import MONTH, YEAR, ETERNITY from .commons import...
Encode enums when formula result is an int array
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -58,6 +58,8 @@ setup( 'Framework :: Django', 'Framework :: Django :: 1.11', 'Framework :: Django :: 2.0', + 'Framework :: Django :: 2.1', + 'Framework :: Django :: 2.2', 'Licen...
Add Django <I> and <I> to trove classifiers
py