diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/gallery/admin.py b/gallery/admin.py index <HASH>..<HASH> 100644 --- a/gallery/admin.py +++ b/gallery/admin.py @@ -1,5 +1,3 @@ -from copy import deepcopy - from django.contrib import admin from content.admin import ModelBaseAdmin @@ -7,13 +5,8 @@ from content.admin import ModelBaseAdmin from gallery.mo...
don't set own fieldsets
py
diff --git a/elasticsearch_dsl/search.py b/elasticsearch_dsl/search.py index <HASH>..<HASH> 100644 --- a/elasticsearch_dsl/search.py +++ b/elasticsearch_dsl/search.py @@ -605,7 +605,8 @@ class Search(Request): return es.count( index=self._index, doc_type=self._doc_type, - b...
Params should be passed into count as well Fixes #<I>
py
diff --git a/linguist/settings.py b/linguist/settings.py index <HASH>..<HASH> 100644 --- a/linguist/settings.py +++ b/linguist/settings.py @@ -4,7 +4,6 @@ from django.conf import settings APP_NAMESPACE = 'LINGUIST' - TRANSLATION_MODEL = getattr( settings, '%s_TRANSLATION_MODEL' % APP_NAMESPACE, @@ -19,8...
Remove obsolete CACHE_DURATION setting.
py
diff --git a/src/pyperclip/__init__.py b/src/pyperclip/__init__.py index <HASH>..<HASH> 100644 --- a/src/pyperclip/__init__.py +++ b/src/pyperclip/__init__.py @@ -16,7 +16,7 @@ Usage: On Windows, no additional modules are needed. On Mac, the pyobjc module is used, falling back to the pbcopy and pbpaste cli comma...
Get rid of trailing whitespace.
py
diff --git a/pwnypack/shellcode/translate.py b/pwnypack/shellcode/translate.py index <HASH>..<HASH> 100644 --- a/pwnypack/shellcode/translate.py +++ b/pwnypack/shellcode/translate.py @@ -113,6 +113,21 @@ def translate(env, func, *args, **kwargs): else: stack.append(value) + elif o...
BINARY_SUBSCR/STORE_SUBSCR shellcode support.
py
diff --git a/panoramisk/fast_agi.py b/panoramisk/fast_agi.py index <HASH>..<HASH> 100644 --- a/panoramisk/fast_agi.py +++ b/panoramisk/fast_agi.py @@ -39,7 +39,7 @@ class Request: agi_result = yield from self._read_result() # If Asterisk returns `100 Trying...`, wait for next the response. - ...
Check if status_code is present in agi_result (#<I>) * Check if status_code is present in agi_result * Better handling for status_code is present in agi_result
py
diff --git a/scss/ast.py b/scss/ast.py index <HASH>..<HASH> 100644 --- a/scss/ast.py +++ b/scss/ast.py @@ -29,6 +29,7 @@ from scss.types import Map from scss.types import Null from scss.types import String from scss.types import Undefined +from scss.types import Url from scss.types import Value from scss.util impo...
URLs with quotes should produce Url, not Function. Fixes #<I>.
py
diff --git a/holoviews/plotting/widgets.py b/holoviews/plotting/widgets.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/widgets.py +++ b/holoviews/plotting/widgets.py @@ -85,7 +85,7 @@ class NdWidget(param.Parameterized): def get_frames(self): if self.embed: frames = OrderedDict([(idx...
Fixed bug in get_frames method of NdWidget class
py
diff --git a/pandas/core/indexes/numeric.py b/pandas/core/indexes/numeric.py index <HASH>..<HASH> 100644 --- a/pandas/core/indexes/numeric.py +++ b/pandas/core/indexes/numeric.py @@ -327,7 +327,7 @@ _num_index_shared_docs[ None Methods - ---------- + ------- None See Also
DOC: Fix warnings on underline length (more) (#<I>) I missed the other instance of the problem in <URL>
py
diff --git a/dipper/utils/GraphUtils.py b/dipper/utils/GraphUtils.py index <HASH>..<HASH> 100644 --- a/dipper/utils/GraphUtils.py +++ b/dipper/utils/GraphUtils.py @@ -155,7 +155,7 @@ class GraphUtils: From rdf graphs, count predicates in each and return a list of : param graph1 graph, hopefully RDFlib...
another method count_predicates()
py
diff --git a/bwplot/colors.py b/bwplot/colors.py index <HASH>..<HASH> 100644 --- a/bwplot/colors.py +++ b/bwplot/colors.py @@ -1,6 +1,6 @@ -def cbox(i, gray=False, spectrum="alternate", reverse=False, **kwargs): +def cbox(i, gray=False, spectrum="alternate", reverse=False, as255=False, alpha=None, **kwargs): "...
added option for <I> export
py
diff --git a/sos/plugins/apache.py b/sos/plugins/apache.py index <HASH>..<HASH> 100644 --- a/sos/plugins/apache.py +++ b/sos/plugins/apache.py @@ -23,7 +23,10 @@ class Apache(Plugin): def setup(self): # collect list of installed modules - self.add_cmd_output(["apachectl -M"]) + self.add_cm...
[apache] Collect config summary via apachectl -S Adds collection of apachectl -S for quick config summary data Resolves: #<I>
py
diff --git a/scikits/audiolab/soundio/play.py b/scikits/audiolab/soundio/play.py index <HASH>..<HASH> 100644 --- a/scikits/audiolab/soundio/play.py +++ b/scikits/audiolab/soundio/play.py @@ -31,6 +31,7 @@ import sys import warnings +import os import numpy as np
Fix missing import when no audio backend is available.
py
diff --git a/ckanext/oauth2/tests/test_selenium.py b/ckanext/oauth2/tests/test_selenium.py index <HASH>..<HASH> 100644 --- a/ckanext/oauth2/tests/test_selenium.py +++ b/ckanext/oauth2/tests/test_selenium.py @@ -4,7 +4,7 @@ import time from nose_parameterized import parameterized from selenium import webdriver -from...
Avoid Standard Output and Standard Error redirection
py
diff --git a/tests/test_processor.py b/tests/test_processor.py index <HASH>..<HASH> 100644 --- a/tests/test_processor.py +++ b/tests/test_processor.py @@ -52,6 +52,10 @@ class TestProcessTime(TestCase): def test_properties_setters(self): self.subject.time = "1" + def test_time_setter_conversion_to_st...
Additional unit test for ProcessTime.time setter Checks if the conversion to int is correct
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 @@ -141,7 +141,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 buil...
doc: Fix sphinx warning due to missing/unused _static folder:
py
diff --git a/examples/basic_engine.py b/examples/basic_engine.py index <HASH>..<HASH> 100644 --- a/examples/basic_engine.py +++ b/examples/basic_engine.py @@ -8,6 +8,8 @@ def request(query, params): headers : {} data : {} # if method == POST url : '' + category: 'search category' + ...
[enh] paging added to example engine
py
diff --git a/f5/bigip/__init__.py b/f5/bigip/__init__.py index <HASH>..<HASH> 100644 --- a/f5/bigip/__init__.py +++ b/f5/bigip/__init__.py @@ -64,6 +64,7 @@ class BaseManagement(PathElement): port=kwargs.pop('port', 443), icontrol_version=kwargs.pop('icontrol_version', ''), token=...
Initial support for ICR's 'token_to_use' feature when creating connection
py
diff --git a/src/saml2/attribute_converter.py b/src/saml2/attribute_converter.py index <HASH>..<HASH> 100644 --- a/src/saml2/attribute_converter.py +++ b/src/saml2/attribute_converter.py @@ -211,7 +211,7 @@ class AttributeConverter(object): attributes.append(factory(saml.Attribute, ...
Reverted to sending friendly name in attribute assertions, maybe it should be configurable
py
diff --git a/librosa/display.py b/librosa/display.py index <HASH>..<HASH> 100644 --- a/librosa/display.py +++ b/librosa/display.py @@ -909,6 +909,9 @@ def specshow( - ``shading='auto'`` - ``edgecolors='None'`` + The ``cmap`` option if not provided, is inferred from data automatically....
Explain cmap in specshow docs (#<I>)
py
diff --git a/datasette/views/table.py b/datasette/views/table.py index <HASH>..<HASH> 100644 --- a/datasette/views/table.py +++ b/datasette/views/table.py @@ -592,17 +592,18 @@ class TableView(RowTableShared): and_or_where='and' if where_clauses else 'where', limit=FACET_LIMIT+...
Never suggest a facet if it only results in on option
py
diff --git a/ariane_procos/gears.py b/ariane_procos/gears.py index <HASH>..<HASH> 100644 --- a/ariane_procos/gears.py +++ b/ariane_procos/gears.py @@ -1709,9 +1709,10 @@ class MappingGear(InjectorGearSkeleton): LOGGER.info('MappingGear.synchronize_with_ariane_mapping - time : ' + str(sync_proc_time)) ...
[ACPPOS-<I>] send mapping domino go if already initialized
py
diff --git a/thinc/neural/train.py b/thinc/neural/train.py index <HASH>..<HASH> 100644 --- a/thinc/neural/train.py +++ b/thinc/neural/train.py @@ -27,7 +27,7 @@ class Trainer(object): self.model.average_params(self.optimizer) def __call__(self, data, gradient): - return self.sgd(data, gradient, L...
Fix neural/train reference to optimizer
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -108,7 +108,7 @@ setup(name="shoebot", entry_points={ "console_scripts": [ "sbot=shoebot.run:main", - "shoebot-ide=shoebot.gui:main" + "shoebot-ide=shoebot.gui.ide:main" ...
Fix entry point for shoebot-ide
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ required = [ setup( name='buildapi_client', - version='0.6.2.dev0', + version='0.6.2', packages=find_packages(), install_requires=required + ['pytest-runner'],
Preparing release <I>
py
diff --git a/pipeline/compressors/__init__.py b/pipeline/compressors/__init__.py index <HASH>..<HASH> 100644 --- a/pipeline/compressors/__init__.py +++ b/pipeline/compressors/__init__.py @@ -145,7 +145,7 @@ class Compressor(object): def construct_asset_path(self, asset_path, css_path, output_filename, variant=No...
Fixed construct_asset_path for windows in windows css_path will contain backslashes so using posixpath.dirname will not work properly. need to use os.path.dirname and then convert to posix
py
diff --git a/dimod/binary/binary_quadratic_model.py b/dimod/binary/binary_quadratic_model.py index <HASH>..<HASH> 100644 --- a/dimod/binary/binary_quadratic_model.py +++ b/dimod/binary/binary_quadratic_model.py @@ -1790,12 +1790,18 @@ class BinaryQuadraticModel(QuadraticViewsMixin): the current number ...
Fix failed doctest and rebase
py
diff --git a/account/views.py b/account/views.py index <HASH>..<HASH> 100644 --- a/account/views.py +++ b/account/views.py @@ -513,8 +513,8 @@ class SettingsView(LoginRequiredMixin, FormView): EmailAddress.objects.add_email(self.request.user, form.cleaned_data["email"], primary=True) else: ...
fixed #<I> — always override primary email and never add
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,6 @@ -VERSION = (0, 1, 1, "f", 0) # following PEP 386 +from __future__ import print_function + +VERSION = (0, 1, 2, "f", 0) # following PEP 386 DEV_N = None import os @@ -80,9 +82,7 @@ def find_package_data( ...
Ensure setup.py works with both Python2 and Python3. Also version bumped.
py
diff --git a/trimesh/util.py b/trimesh/util.py index <HASH>..<HASH> 100644 --- a/trimesh/util.py +++ b/trimesh/util.py @@ -2096,6 +2096,9 @@ def write_encoded(file_obj, If a file is open in text mode and bytes are passed decode bytes to str and write. + Assumes binary mode if file_obj does not have + ...
Support non-standard files, e.g. from io
py
diff --git a/py3status/modules/volume_status.py b/py3status/modules/volume_status.py index <HASH>..<HASH> 100644 --- a/py3status/modules/volume_status.py +++ b/py3status/modules/volume_status.py @@ -352,7 +352,7 @@ class Py3status: if not self.command: commands = ["pamixer", "pactl", "amixer"] ...
volume_status module: run with either pulseaudio or pipewire installed (#<I>) pipewire is now able to completely replace pulseaudio, so there may be no "pulseaudio" command.
py
diff --git a/tools/c7n_azure/c7n_azure/provider.py b/tools/c7n_azure/c7n_azure/provider.py index <HASH>..<HASH> 100644 --- a/tools/c7n_azure/c7n_azure/provider.py +++ b/tools/c7n_azure/c7n_azure/provider.py @@ -16,6 +16,7 @@ from functools import partial from c7n.provider import Provider, clouds from c7n.registry i...
azure - set account_id during init (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with open('requirements.txt') as requirements: setup( name='twitterscraper', - version='0.2.6', + version='0.2.7', description='Tool for scraping Tweets', url='https://github.com/taspinar/t...
update version no in setup.py
py
diff --git a/scripts/experiments/run_srl.py b/scripts/experiments/run_srl.py index <HASH>..<HASH> 100755 --- a/scripts/experiments/run_srl.py +++ b/scripts/experiments/run_srl.py @@ -778,11 +778,13 @@ class SrlExpParamsRunner(ExpParamsRunner): gl = g.langs[lang_short] ll = l.la...
Using the correct language specific features.
py
diff --git a/thinc/extra/load_nlp.py b/thinc/extra/load_nlp.py index <HASH>..<HASH> 100644 --- a/thinc/extra/load_nlp.py +++ b/thinc/extra/load_nlp.py @@ -14,6 +14,10 @@ def get_spacy(lang, **kwargs): SPACY_MODELS[lang] = spacy.load(lang, **kwargs) return SPACY_MODELS[lang] +def register_vectors(ops, la...
Add utility function in load_nlp
py
diff --git a/tests/functional_tests/fixtures/__init__.py b/tests/functional_tests/fixtures/__init__.py index <HASH>..<HASH> 100644 --- a/tests/functional_tests/fixtures/__init__.py +++ b/tests/functional_tests/fixtures/__init__.py @@ -76,7 +76,13 @@ def render_login_result(framework_name, result): resp...
Simplified creation of user properties for template context.
py
diff --git a/python-package/lightgbm/sklearn.py b/python-package/lightgbm/sklearn.py index <HASH>..<HASH> 100644 --- a/python-package/lightgbm/sklearn.py +++ b/python-package/lightgbm/sklearn.py @@ -796,7 +796,7 @@ class LGBMClassifier(LGBMModel, _LGBMClassifierBase): """ result = super(LGBMClassifier...
[python] fixed result shape in case of predict_proba with raw_score arg
py
diff --git a/qiskit/tools/parallel.py b/qiskit/tools/parallel.py index <HASH>..<HASH> 100644 --- a/qiskit/tools/parallel.py +++ b/qiskit/tools/parallel.py @@ -58,7 +58,8 @@ from qiskit.util import local_hardware_info from qiskit.tools.events.pubsub import Publisher # Set parallel flag -os.environ['QISKIT_IN_PARALLE...
Allow bypassing parallel mode at init (#<I>)
py
diff --git a/ovirtlago/virt.py b/ovirtlago/virt.py index <HASH>..<HASH> 100644 --- a/ovirtlago/virt.py +++ b/ovirtlago/virt.py @@ -172,4 +172,9 @@ class HostVM(lago.vm.DefaultVM): if self.distro() not in ['fc22', 'fc23']: inherited_artifacts.append('/var/log/messages') - return set(inheri...
Added /var/log/sanlock.log to the log collection from hosts
py
diff --git a/pipenv/patched/prettytoml/tokens/py2toml.py b/pipenv/patched/prettytoml/tokens/py2toml.py index <HASH>..<HASH> 100755 --- a/pipenv/patched/prettytoml/tokens/py2toml.py +++ b/pipenv/patched/prettytoml/tokens/py2toml.py @@ -57,7 +57,7 @@ def create_primitive_token(value, multiline_strings_allowed=True): ...
fix py2toml with dashes
py
diff --git a/demo/revealjs4/conf.py b/demo/revealjs4/conf.py index <HASH>..<HASH> 100644 --- a/demo/revealjs4/conf.py +++ b/demo/revealjs4/conf.py @@ -40,7 +40,6 @@ revealjs_style_theme = "moon" revealjs_script_conf = { "controls": True, "progress": True, - "history": True, "center": True, "tran...
fix(demo): Remove setting history of presentation
py
diff --git a/fedmsg_meta_fedora_infrastructure/tests/koschei.py b/fedmsg_meta_fedora_infrastructure/tests/koschei.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/tests/koschei.py +++ b/fedmsg_meta_fedora_infrastructure/tests/koschei.py @@ -31,8 +31,8 @@ class TestKoscheiPackageStateChange(Base): ...
Fix out-of-sync docstring
py
diff --git a/cm-devops/automation/script/module.py b/cm-devops/automation/script/module.py index <HASH>..<HASH> 100644 --- a/cm-devops/automation/script/module.py +++ b/cm-devops/automation/script/module.py @@ -145,6 +145,9 @@ class CAutomation(Automation): state = i.get('state',{}) env = i.get('env',...
added CM_CURRENT_PATH env
py
diff --git a/salt/transport/road/raet/test/test_packeting.py b/salt/transport/road/raet/test/test_packeting.py index <HASH>..<HASH> 100644 --- a/salt/transport/road/raet/test/test_packeting.py +++ b/salt/transport/road/raet/test/test_packeting.py @@ -3,6 +3,7 @@ Tests to try out packeting. Potentially ephemeral '''...
Make pyling skip the file
py
diff --git a/tacl/constants.py b/tacl/constants.py index <HASH>..<HASH> 100644 --- a/tacl/constants.py +++ b/tacl/constants.py @@ -307,10 +307,10 @@ NGRAMS_EPILOG = '''\ from these new witnesses are added will be much less than to a new database, due to the existing indices. - If a witness has changed si...
Clarified that tacl ngrams will not update the database to remove deleted witnesses.
py
diff --git a/gitty/__init__.py b/gitty/__init__.py index <HASH>..<HASH> 100644 --- a/gitty/__init__.py +++ b/gitty/__init__.py @@ -1,3 +1,4 @@ from . import config, raw, sys_path from . library import clear_library_cache from . load_symbol import load +request = raw.request
Now gitty.request is a function.
py
diff --git a/netmiko/__init__.py b/netmiko/__init__.py index <HASH>..<HASH> 100644 --- a/netmiko/__init__.py +++ b/netmiko/__init__.py @@ -3,6 +3,9 @@ from netmiko.ssh_dispatcher import ssh_dispatcher from netmiko.ssh_dispatcher import platforms from netmiko.scp_handler import SCPConn from netmiko.scp_handler import...
Fixing issue with netmiko exceptions not being available in package init
py
diff --git a/examples/docs_snippets/docs_snippets/concepts/assets/asset_group_module.py b/examples/docs_snippets/docs_snippets/concepts/assets/asset_group_module.py index <HASH>..<HASH> 100644 --- a/examples/docs_snippets/docs_snippets/concepts/assets/asset_group_module.py +++ b/examples/docs_snippets/docs_snippets/con...
fix docs lint (#<I>) Summary: fix lint issue on docs snippets
py
diff --git a/dataviews/ndmapping.py b/dataviews/ndmapping.py index <HASH>..<HASH> 100644 --- a/dataviews/ndmapping.py +++ b/dataviews/ndmapping.py @@ -589,11 +589,11 @@ class NdMapping(NdIndexableMapping): map_slice, data_slice = self._split_index(indexslice) map_slice = self._transform_indices(map_...
Minor optimization on NdMapping getitem
py
diff --git a/exchangelib/transport.py b/exchangelib/transport.py index <HASH>..<HASH> 100644 --- a/exchangelib/transport.py +++ b/exchangelib/transport.py @@ -196,4 +196,7 @@ def _tokenize(val): def dummy_xml(version, name): # Generate a minimal, valid EWS request from .services import ResolveNames # Avoid ...
use the public get_payload() method
py
diff --git a/GooseMPL/__init__.py b/GooseMPL/__init__.py index <HASH>..<HASH> 100644 --- a/GooseMPL/__init__.py +++ b/GooseMPL/__init__.py @@ -1124,11 +1124,11 @@ Determine bin-edges. **min_width** (``<float>``) The minimum width of each bin. - **integer** ([``False``] | [``True``]) + **integer** ...
Fixing small typos in docs
py
diff --git a/rootpy/tree/texttree.py b/rootpy/tree/texttree.py index <HASH>..<HASH> 100644 --- a/rootpy/tree/texttree.py +++ b/rootpy/tree/texttree.py @@ -49,6 +49,8 @@ class TextBranch(str): class TextTree(object): def __init__(self, tree): self._tree = tree - branch_names = [b.GetName() for b in...
Adding itererable interface, since someone may try that
py
diff --git a/badge_update.py b/badge_update.py index <HASH>..<HASH> 100755 --- a/badge_update.py +++ b/badge_update.py @@ -16,8 +16,7 @@ def pylint_color(score): if score >= score_cutoffs[i]: return badge_colors[i] # and score < 5 -> red - else: - return badge_colors[-1] + return...
fixed flow-control error (case that would have have been hit)
py
diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py index <HASH>..<HASH> 100755 --- a/src/transformers/trainer.py +++ b/src/transformers/trainer.py @@ -144,9 +144,9 @@ class Trainer: data_collator (:obj:`DataCollator`, `optional`, defaults to :func:`~transformers.default_data_collator`): ...
Clarify arg class (#<I>)
py
diff --git a/tests/test_core.py b/tests/test_core.py index <HASH>..<HASH> 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -316,6 +316,19 @@ def test_custom_target_handler(request): result = parser.parse({'foo': Arg(int)}, request, targets=('data', )) assert result['foo'] == 42 +def test_custom_t...
Test that "source" name is passed to custom target handlers
py
diff --git a/mha_helper/mha_helper.py b/mha_helper/mha_helper.py index <HASH>..<HASH> 100755 --- a/mha_helper/mha_helper.py +++ b/mha_helper/mha_helper.py @@ -18,6 +18,7 @@ from __future__ import print_function import time import datetime +import re from mysql_helper import MySQLHelper from config_helper import Co...
replace was not enough, it also removed the \
py
diff --git a/troposphere/__init__.py b/troposphere/__init__.py index <HASH>..<HASH> 100644 --- a/troposphere/__init__.py +++ b/troposphere/__init__.py @@ -184,6 +184,8 @@ class UpdatePolicy(BaseAWSObject): 'MaxBatchSize': (validators.positive_integer, False), 'MinInstancesInService': (validators.integ...
Update AutoScalingRollingUpdate SuspendProcesses and WaitOnResourceSignals properties
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -87,7 +87,8 @@ todo_include_todos = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +#html_theme = 'alabaster' +html_...
issue #<I>. removed specified theme so read the docs can use its own
py
diff --git a/ospd/command/command.py b/ospd/command/command.py index <HASH>..<HASH> 100644 --- a/ospd/command/command.py +++ b/ospd/command/command.py @@ -19,7 +19,7 @@ import re import subprocess -from typing import Optional, Dict, Any, Union, Generator +from typing import Optional, Dict, Any, Union, Iterator f...
Change return types from Generator to Iterator Actually Generator[bytes, None, None] is the same as Iterator[str].
py
diff --git a/src/forms.py b/src/forms.py index <HASH>..<HASH> 100644 --- a/src/forms.py +++ b/src/forms.py @@ -192,6 +192,7 @@ class BaseForm(object): ('inline',False), # input in line with label ('label',True), ('extra',None), + ('extra_div',None)...
New attribute in __group__ of forms for add functionality to the div that container the input and label
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,7 +39,8 @@ extensions = [ 'sphinx.ext.coverage', 'sphinx.ext.mathjax', 'sphinx.ext.viewcode', - 'sphinx.ext.intersphinx'] + 'sphinx.ext.intersphinx', + 'nbsphinx'] intersphinx_map...
Added 'nbsphinx' extension.
py
diff --git a/angr/analyses/veritesting.py b/angr/analyses/veritesting.py index <HASH>..<HASH> 100644 --- a/angr/analyses/veritesting.py +++ b/angr/analyses/veritesting.py @@ -82,6 +82,7 @@ class CallTracingFilter(object): if jumpkind.startswith('Ijk_Sys'): call_target_state.scratch.jumpkind = jump...
step path in tracing filter before accessing next run
py
diff --git a/game_data_struct.py b/game_data_struct.py index <HASH>..<HASH> 100644 --- a/game_data_struct.py +++ b/game_data_struct.py @@ -225,6 +225,12 @@ def rotate_game_tick_packet_boost_omitted(game_tick_packet): game_tick_packet.gameball.AngularVelocity.Y = -1 * game_tick_packet.gameball.AngularVelocity.Y ...
Added flip code to the ball touch data.
py
diff --git a/helpers/postgresql.py b/helpers/postgresql.py index <HASH>..<HASH> 100644 --- a/helpers/postgresql.py +++ b/helpers/postgresql.py @@ -167,6 +167,7 @@ class Postgresql: xlog_diff = member_cursor.fetchone()[0] logger.info([self.name, member.hostname, xlog_diff]) ...
Close connection when querying other members of cluster.
py
diff --git a/scapy/utils.py b/scapy/utils.py index <HASH>..<HASH> 100644 --- a/scapy/utils.py +++ b/scapy/utils.py @@ -548,6 +548,9 @@ class PcapReader: def fileno(self): return self.f.fileno() + + def close(self): + return self.f.close()
Added PcapReader.close() (tickets #<I> and #<I>, from E. Swarthout's patch)
py
diff --git a/pypump/models/collection.py b/pypump/models/collection.py index <HASH>..<HASH> 100644 --- a/pypump/models/collection.py +++ b/pypump/models/collection.py @@ -23,7 +23,9 @@ _log = logging.getLogger(__name__) class Collection(AbstractModel): - def __init__(self, id): + def __init__(self, id=No...
Fix #<I> (collections)
py
diff --git a/polysh/completion.py b/polysh/completion.py index <HASH>..<HASH> 100644 --- a/polysh/completion.py +++ b/polysh/completion.py @@ -67,19 +67,9 @@ completion_results = None # Commands in $PATH, used for the completion of the first word user_commands_in_path = read_commands_in_path() -try: - import cty...
PY3: Fix tab completion This is supposed to set the character appended, when using tab completion, when there is only one option to complete left. This is not changing the default readline behaviour anyway though.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup( 'Topic :: System :: Networking :: Monitoring', ], install_requires=[ - 'aiohttp==0.14.4' + 'aiohttp>=0.14.4' ], extras_require={ ':python_version=="3.3"...
don't force aiohttp version
py
diff --git a/source/rafcon/gui/helpers/state_machine.py b/source/rafcon/gui/helpers/state_machine.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/helpers/state_machine.py +++ b/source/rafcon/gui/helpers/state_machine.py @@ -436,8 +436,9 @@ def generate_linux_launch_file(target_path, config_path, state_machine_pa...
fix rafcon start command fix rel paths
py
diff --git a/videodownloader/main.py b/videodownloader/main.py index <HASH>..<HASH> 100755 --- a/videodownloader/main.py +++ b/videodownloader/main.py @@ -21,6 +21,7 @@ Public License along with py-video-downloader. If not, see from optparse import OptionParser, OptionGroup import sys import os +import urllib2 f...
Fix for "global name 'urllib2' is not defined"
py
diff --git a/bulbs/feeds/views.py b/bulbs/feeds/views.py index <HASH>..<HASH> 100644 --- a/bulbs/feeds/views.py +++ b/bulbs/feeds/views.py @@ -73,7 +73,7 @@ class GlanceFeedViewSet(viewsets.ReadOnlyModelViewSet): queryset = Content.search_objects.search().sort('-last_modified').filter(Published()) - permiss...
Glance feed: Switch permission_class to tuple
py
diff --git a/appstream/utils.py b/appstream/utils.py index <HASH>..<HASH> 100644 --- a/appstream/utils.py +++ b/appstream/utils.py @@ -44,6 +44,8 @@ def _join_lines(txt): def _parse_desc(node): """ A quick'n'dirty description parser """ desc = '' + if len(node) == 0: + return '<p>' + node.text + '<...
trivial: Support parsing bare text in _parse_desc Sometimes vendors forget to use the correct markup format.
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -55,9 +55,7 @@ class FunFactoryTests(Plugin): def begin(self): if os.path.exists(ENVIRONMENT_NOTE): if self._read_last_environment() != self._this_environment(): -...
rmtree the playdoh test app if environment vars change
py
diff --git a/examples/basic/glyphs_arrows.py b/examples/basic/glyphs_arrows.py index <HASH>..<HASH> 100644 --- a/examples/basic/glyphs_arrows.py +++ b/examples/basic/glyphs_arrows.py @@ -17,7 +17,7 @@ a1.addScalarBar() # get a list of random rgb colors nrs = np.random.randint(0, 10, len(coords1)) -cols = getColor(n...
Removed trailing spaces in examples/basic/glyphs_arrows.py
py
diff --git a/parsl/monitoring/monitoring.py b/parsl/monitoring/monitoring.py index <HASH>..<HASH> 100644 --- a/parsl/monitoring/monitoring.py +++ b/parsl/monitoring/monitoring.py @@ -349,7 +349,7 @@ class Hub(object): Parameters ---------- hub_address : str - The ip address at whi...
correct docstring to reflect implementation (#<I>)
py
diff --git a/chalice/package.py b/chalice/package.py index <HASH>..<HASH> 100644 --- a/chalice/package.py +++ b/chalice/package.py @@ -733,8 +733,7 @@ class SAMTemplateGenerator(TemplateGenerator): 'DomainName': {'Ref': 'ApiGatewayCustomDomain'}, 'RestApiId': {'Ref': 'RestAPI'}, ...
Fix to #<I> Looking at definition of ApiGateway::BasePathMapping it looks only to be a string The previous code sets up a template reference to the RestAPI but from the definition of AWS::Serverless::Api, there is only a StageName property. Looking at the model for the WebSocket custom domain, I think we just need t...
py
diff --git a/zipline/utils/tradingcalendar.py b/zipline/utils/tradingcalendar.py index <HASH>..<HASH> 100644 --- a/zipline/utils/tradingcalendar.py +++ b/zipline/utils/tradingcalendar.py @@ -17,12 +17,13 @@ import pandas as pd import pytz -from datetime import datetime +from datetime import datetime, timedelta fro...
trying to fix broken jenkins build that seems to be due to the end time of the trading calendar calculations and availability of data from yhoo.
py
diff --git a/peri/runner.py b/peri/runner.py index <HASH>..<HASH> 100644 --- a/peri/runner.py +++ b/peri/runner.py @@ -546,7 +546,7 @@ def get_particles_featuring(feature_rad, state_name=None, im_name=None, if actual_rad == None: actual_rad = np.median(s.obj_get_radii()) im = util.RawImage(im_name, t...
removing confusing minmass defaults from runner.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,8 @@ setup( 'cerberus>=1.0.0', 'pint>=0.7.2', 'numpy>=1.11.0', + 'habanero>=0.2.6', + 'orcid>=0.7.0', ...
:snowflake: Adds habanero and orcid packages to setup.py habanero and orcid were missing from the setup.py package, requiring manual installation. This adds both.
py
diff --git a/textx/textx.py b/textx/textx.py index <HASH>..<HASH> 100644 --- a/textx/textx.py +++ b/textx/textx.py @@ -550,7 +550,8 @@ def str_match_SA(parser, node, children): match = parser.keyword_regex.match(to_match) if match and match.span() == (0, len(to_match)): regex_match = RegExMatch(r'{}\...
Better reporting of expected matches for keyword-like matches.
py
diff --git a/SoftLayer/managers/network.py b/SoftLayer/managers/network.py index <HASH>..<HASH> 100644 --- a/SoftLayer/managers/network.py +++ b/SoftLayer/managers/network.py @@ -132,8 +132,9 @@ class NetworkManager(object): :param int subnet_id: The ID of the subnet to be cancelled. """ subn...
handle the case of missing billingitem in subnet cancel
py
diff --git a/tryalgo/graph.py b/tryalgo/graph.py index <HASH>..<HASH> 100755 --- a/tryalgo/graph.py +++ b/tryalgo/graph.py @@ -160,14 +160,24 @@ def tree_adj_to_prec(graph, root=0): # snip{ add_reverse_arcs -def add_reverse_arcs(graph, capac): +def add_reverse_arcs(graph, capac = None): """Utility function fo...
add_reverse_arcs works also without capacity
py
diff --git a/parsl/dataflow/memoization.py b/parsl/dataflow/memoization.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/memoization.py +++ b/parsl/dataflow/memoization.py @@ -97,7 +97,7 @@ class Memoizer(object): """ if not self.memoize or not task['memoize']: task['hashsum'] = None -...
Make check_memo return its documented type (#<I>) The returned value is now a bool as documented, rather than a different value which can be used in a bool context. This shouldn't change behaviour of the code as used now, but reduces this programmer's confusion and makes mypy happy.
py
diff --git a/dvc/serialize.py b/dvc/serialize.py index <HASH>..<HASH> 100644 --- a/dvc/serialize.py +++ b/dvc/serialize.py @@ -89,11 +89,10 @@ def to_lockfile(stage: "PipelineStage") -> dict: res = {"cmd": stage.cmd} params, deps = get_params_deps(stage) deps = [ - {"path": dep.def_path, dep.check...
serialize: use checksums that are already saved (#<I>) `get_checksum()` recomputes the checksum which might not match the pre-recorded one. `checksum` is the one that was `save()`ed during run and it is the one that should be used in the lockfile.
py
diff --git a/bin/generate-exports.py b/bin/generate-exports.py index <HASH>..<HASH> 100755 --- a/bin/generate-exports.py +++ b/bin/generate-exports.py @@ -354,7 +354,8 @@ def main(argv): return_type = m.group('return_type') function = Function(name, object_literal, return_type, object...
Export namespaces instead of functions in generated code
py
diff --git a/openquake/hazardlib/gsim/yu_2013.py b/openquake/hazardlib/gsim/yu_2013.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/yu_2013.py +++ b/openquake/hazardlib/gsim/yu_2013.py @@ -142,6 +142,8 @@ def get_ras(repi, theta, mag, coeff): else: ras = ras + rx rx = rx / 2...
Adding a break into the loop Former-commit-id: ba6dfb<I>d0bebe<I>faa0e<I>e6ae<I>f<I>d
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -234,7 +234,7 @@ VALID_OPTS = { 'restart_on_error': bool, 'ping_interval': int, 'cli_summary': bool, - 'max_minion': int, + 'max_minions': int, } # default configurations
missing 's' in max_minions variable
py
diff --git a/test_config_manager.py b/test_config_manager.py index <HASH>..<HASH> 100644 --- a/test_config_manager.py +++ b/test_config_manager.py @@ -917,7 +917,6 @@ foo=bar ; other comment use_config_files=True, auto_he...
reverted use of unittest.assertIsNone() which requires python <I>
py
diff --git a/lib/pyfrc/wpilib/_wpilib/_fake_time.py b/lib/pyfrc/wpilib/_wpilib/_fake_time.py index <HASH>..<HASH> 100644 --- a/lib/pyfrc/wpilib/_wpilib/_fake_time.py +++ b/lib/pyfrc/wpilib/_wpilib/_fake_time.py @@ -219,6 +219,9 @@ class Timer(object): def GetPPCTimestamp(): return FAKETIME.Get() + ...
Add GetFPGATimestamp to Timer class
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -504,7 +504,7 @@ class RelationDescriptor(FieldDescriptor): return rel_id def __get__(self, instance, instance_type=None): - if instance: + if instance is not None: return self.ge...
Fixing other descriptors to check for None rather than false-y value
py
diff --git a/pyensembl/ensembl_release_versions.py b/pyensembl/ensembl_release_versions.py index <HASH>..<HASH> 100644 --- a/pyensembl/ensembl_release_versions.py +++ b/pyensembl/ensembl_release_versions.py @@ -13,7 +13,7 @@ from __future__ import print_function, division, absolute_import MIN_ENSEMBL_RELEASE = 54 -...
bump ensembl release version (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ setup( "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", ...
Add Python <I> to the list of Trove classifiers
py
diff --git a/pulsarpy/models.py b/pulsarpy/models.py index <HASH>..<HASH> 100644 --- a/pulsarpy/models.py +++ b/pulsarpy/models.py @@ -683,6 +683,7 @@ class Biosample(Model): FKEY_MAP["crispr_modification_id"] = "CrisprModification" FKEY_MAP["donor_id"] = "Donor" FKEY_MAP["immunoblot_ids"] = "Donor" + ...
Updated FKEY_MAP for biosample
py
diff --git a/taxtastic/subcommands/refpkg_intersection.py b/taxtastic/subcommands/refpkg_intersection.py index <HASH>..<HASH> 100644 --- a/taxtastic/subcommands/refpkg_intersection.py +++ b/taxtastic/subcommands/refpkg_intersection.py @@ -51,18 +51,19 @@ def action(args): writer = csv.writer(args.outfile) ...
Fixing refpkg_intersection for tax_ids without intersections. If there is no intersection, or it occurs above any ranks specified, refpkg_intersection now gives the empty string as the rank instead of failing.
py
diff --git a/lib/outputimage.py b/lib/outputimage.py index <HASH>..<HASH> 100644 --- a/lib/outputimage.py +++ b/lib/outputimage.py @@ -263,6 +263,20 @@ class OutputImage: if (k[0][:2] in ['A_','B_']) or (k[0][:3] in ['IDC','SCD'] and k[0] != 'IDCTAB') or \ (k[0]...
Updated 'outputimage' to remove the Paper IV formatted keywords related to DGEOFILE extension and the keywords related to the D2IM correction. This allows the output images to be read in successfully by HSTWCS/PyWCS without raising errors due to missing distortion-correction related extensions. WJH git-svn-id: <URL>
py
diff --git a/pelix/shell/beans.py b/pelix/shell/beans.py index <HASH>..<HASH> 100644 --- a/pelix/shell/beans.py +++ b/pelix/shell/beans.py @@ -224,7 +224,7 @@ class IOHandler(object): self.output.write(to_str(data, self.encoding).encode() .decode(self.out_encoding, errors="re...
Allow calling Session.write_line() without argument Acts like print(): prints an empty line
py
diff --git a/glymur/jp2box.py b/glymur/jp2box.py index <HASH>..<HASH> 100644 --- a/glymur/jp2box.py +++ b/glymur/jp2box.py @@ -11,6 +11,8 @@ References Extensions """ +# pylint: disable=R0903 + import collections import copy import datetime @@ -30,7 +32,7 @@ from .core import _colorspace_map_display from .co...
pylint work, got rid of "import *", #<I>
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -46,6 +46,7 @@ ray_autoscaler_files = [ "ray/autoscaler/local/example-full.yaml", "ray/autoscaler/kubernetes/example-full.yaml", "ray/autoscaler/kubernetes/kubectl-rsync.sh", + "ra...
added json schema to setup.py (#<I>)
py
diff --git a/setup_libuv.py b/setup_libuv.py index <HASH>..<HASH> 100644 --- a/setup_libuv.py +++ b/setup_libuv.py @@ -218,8 +218,8 @@ class libuv_build_ext(build_ext): exec_process(['cmd.exe', '/C', 'vcbuild.bat', 'clean'], cwd=self.libuv_dir, env=env, shell=True) rmtree(os.pa...
build: fix libuv cleanup if it was already clean
py
diff --git a/cherrypy/lib/lockfile.py b/cherrypy/lib/lockfile.py index <HASH>..<HASH> 100644 --- a/cherrypy/lib/lockfile.py +++ b/cherrypy/lib/lockfile.py @@ -59,25 +59,25 @@ class SystemLockFile(object): try: # Open lockfile for writing without truncation: - fp = open(path, 'r+') ...
Fix error where lock and unlock do not take a parameter.
py