diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/spacy/language.py b/spacy/language.py index <HASH>..<HASH> 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -275,7 +275,7 @@ class Language(object): self.make_doc = overrides['make_doc'] elif 'create_make_doc' in overrides: self.make_doc = overrides['create_make_...
Check for class-defined make_docs method before assigning one provided as an argument
py
diff --git a/sslyze/scanner.py b/sslyze/scanner.py index <HASH>..<HASH> 100644 --- a/sslyze/scanner.py +++ b/sslyze/scanner.py @@ -258,6 +258,7 @@ class Scanner: del server_and_scan_cmd_to_completed_futures[server_and_scan_cmd] # Lastly, have all the scan commands for a given server comp...
[#<I>] Fix logic for clearing completed scans
py
diff --git a/tests/test_generate_copy_without_render.py b/tests/test_generate_copy_without_render.py index <HASH>..<HASH> 100644 --- a/tests/test_generate_copy_without_render.py +++ b/tests/test_generate_copy_without_render.py @@ -25,7 +25,7 @@ def remove_test_dir(request): request.addfinalizer(fin_remove_test_dir...
Use clean_system fixture in copy test
py
diff --git a/opengridview/parser/__init__.py b/opengridview/parser/__init__.py index <HASH>..<HASH> 100644 --- a/opengridview/parser/__init__.py +++ b/opengridview/parser/__init__.py @@ -23,10 +23,12 @@ class Parser: def inflate_truncate(self,l,n,default=None): return l[:n] + [default]*(n-len(l)) + approved_...
Moved approved_types to global variable
py
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index <HASH>..<HASH> 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -1149,20 +1149,16 @@ class ExcelFile(object): except ImportError: # pragma: no cover raise ImportError(_openpyxl_msg) else: - ...
ENH: parsers don't use tempfile
py
diff --git a/src/sos/substep_executor.py b/src/sos/substep_executor.py index <HASH>..<HASH> 100644 --- a/src/sos/substep_executor.py +++ b/src/sos/substep_executor.py @@ -120,6 +120,9 @@ def execute_substep(stmt, def _execute_substep(stmt, global_def, global_vars, task, task_params, proc_vars, ...
Avoid contamination from job config to worker config vatlab/sos-notebook#<I>
py
diff --git a/rollbar/test/async_helper.py b/rollbar/test/async_helper.py index <HASH>..<HASH> 100644 --- a/rollbar/test/async_helper.py +++ b/rollbar/test/async_helper.py @@ -20,6 +20,14 @@ def run(coro): asyncio.set_event_loop(None) +def async_receive(message): + async def receive(): + return me...
Add wrapper for async receive event handler
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='tortilla', - version='0.3.0b1', + version='0.4.0b1', description='A tiny library for creating wrappers around web ...
Pre-release: <I>b1
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.2' +__version__ = '20.3'
Bumped to <I> in preparation for next release.
py
diff --git a/java-securitycenter-settings/synth.py b/java-securitycenter-settings/synth.py index <HASH>..<HASH> 100644 --- a/java-securitycenter-settings/synth.py +++ b/java-securitycenter-settings/synth.py @@ -18,6 +18,8 @@ import synthtool as s import synthtool.gcp as gcp import synthtool.languages.java as java +...
chore: enable context aware commits (#<I>)
py
diff --git a/py3status/__init__.py b/py3status/__init__.py index <HASH>..<HASH> 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -1405,6 +1405,9 @@ class Py3statusWrapper(): signal(SIGUSR1, self.sig_handler) signal(SIGTERM, self.terminate) + # initialize an empty json list ou...
make the main loop iterate fast to catch any module or i3status update almost instantly while keeping the configured interval for modules refresh rate
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,11 +5,14 @@ import sys import codecs import platform from glob import glob +import warnings +import exceptions from setuptools import setup from setuptools import Extension from setuptools.command.build_ext import b...
[setup] inform user about feature being turned on/off (currently only numpy)
py
diff --git a/pdfminer/utils.py b/pdfminer/utils.py index <HASH>..<HASH> 100644 --- a/pdfminer/utils.py +++ b/pdfminer/utils.py @@ -11,7 +11,7 @@ from sys import maxint as INF def apply_png_predictor(pred, colors, columns, bitspercomponent, data): if bitspercomponent != 8: # unsupported - raise Val...
make ValueError's descriptive
py
diff --git a/sos/plugins/firewalld.py b/sos/plugins/firewalld.py index <HASH>..<HASH> 100644 --- a/sos/plugins/firewalld.py +++ b/sos/plugins/firewalld.py @@ -28,7 +28,8 @@ class FirewallD(Plugin, RedHatPlugin): def setup(self): self.add_copy_spec([ - "/etc/firewalld/*.conf", + "/e...
[firewalld] collect *.xml configs Collect /etc/firewalld/*.xml (and firewalld.conf) instead of *conf. Issue #<I> has a typo talking about *.conf instead of *.xml. Resolves #<I>
py
diff --git a/eulxml/__init__.py b/eulxml/__init__.py index <HASH>..<HASH> 100644 --- a/eulxml/__init__.py +++ b/eulxml/__init__.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version_info__ = (0, 1, 'dev') +__version_info__ = (0...
bump dev version to <I> after branching <I>.x release
py
diff --git a/sqlalchemy_jsonapi/serializer.py b/sqlalchemy_jsonapi/serializer.py index <HASH>..<HASH> 100644 --- a/sqlalchemy_jsonapi/serializer.py +++ b/sqlalchemy_jsonapi/serializer.py @@ -1043,7 +1043,7 @@ class JSONAPI(object): raise BadRequestError( '{} must be...
Fix #<I> Fixes a bad if condition that doesn't work
py
diff --git a/supervisor_logging/__init__.py b/supervisor_logging/__init__.py index <HASH>..<HASH> 100755 --- a/supervisor_logging/__init__.py +++ b/supervisor_logging/__init__.py @@ -21,12 +21,12 @@ Send received events to a syslog instance. from __future__ import print_function import logging -import logging.handl...
Remove append_nul as not working and not tested for
py
diff --git a/app/preparation/mzidtsv/proteingroup_sorters.py b/app/preparation/mzidtsv/proteingroup_sorters.py index <HASH>..<HASH> 100644 --- a/app/preparation/mzidtsv/proteingroup_sorters.py +++ b/app/preparation/mzidtsv/proteingroup_sorters.py @@ -14,7 +14,7 @@ def sort_protein_groups(pgroups, coverage, evidence_lev...
Master protein is the protein first on the list after sorting, not the temporary master of that group
py
diff --git a/mavproxy.py b/mavproxy.py index <HASH>..<HASH> 100755 --- a/mavproxy.py +++ b/mavproxy.py @@ -123,6 +123,7 @@ class MPStatus(object): self.last_waypoint = 0 self.exit = False self.override = [ 0 ] * 8 + self.last_override = [ 0 ] * 8 self.flightmode = 'MAV' ...
fixed send of null override
py
diff --git a/src/objective/fields.py b/src/objective/fields.py index <HASH>..<HASH> 100644 --- a/src/objective/fields.py +++ b/src/objective/fields.py @@ -53,9 +53,19 @@ class Mapping(core.Field): _type = dict + def _create_serialize_type(self, value, environment=None): + """Resolve the type for seri...
added methods for de/serialization types creation
py
diff --git a/pymbar/pmf.py b/pymbar/pmf.py index <HASH>..<HASH> 100644 --- a/pymbar/pmf.py +++ b/pymbar/pmf.py @@ -26,7 +26,6 @@ import math import numpy as np import pymbar -from pymbar import mbar_solvers from pymbar.utils import kln_to_kn, ParameterError, DataError, logsumexp from pymbar import timeseries
Removed unneeded mbar_solvers import
py
diff --git a/sciluigi/dependencies.py b/sciluigi/dependencies.py index <HASH>..<HASH> 100644 --- a/sciluigi/dependencies.py +++ b/sciluigi/dependencies.py @@ -4,8 +4,8 @@ the dependency graph of workflows. ''' import luigi -from luigi.postgres import PostgresTarget -from luigi.s3 import S3Target +from luigi.contrib...
changed dependencies to luigi contrib
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -234,8 +234,9 @@ often get the same condition as the prompt due to dependency propagation. 'default' properties are used if the symbol is not visible or has no user value. -Symbols with no (active) user...
Clarify when symbols get the default n value "Active user value" might have been a bit unclear. The symbol needs to be visible.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,10 @@ +import os import sys from setuptools import setup, find_packages vcs = __import__('vcs') -readme_file = 'README.rst' +readme_file = os.path.abspath(os.path.join(os.path.dirname(__file__), + 'README.rst')...
Allow to use setup.py from outside of root vcs directory
py
diff --git a/py/tests/unit/with_runtime_clientless_sparkling/test_H2OContext.py b/py/tests/unit/with_runtime_clientless_sparkling/test_H2OContext.py index <HASH>..<HASH> 100644 --- a/py/tests/unit/with_runtime_clientless_sparkling/test_H2OContext.py +++ b/py/tests/unit/with_runtime_clientless_sparkling/test_H2OContext....
[SW-<I>] In client-less tests, verify that stopped cluster contains are shutdown correctly (#<I>)
py
diff --git a/mockupdb/__init__.py b/mockupdb/__init__.py index <HASH>..<HASH> 100755 --- a/mockupdb/__init__.py +++ b/mockupdb/__init__.py @@ -676,7 +676,7 @@ class OpGetMore(Request): namespace, pos = _get_c_string(msg, 4) num_to_return, = _UNPACK_INT(msg[pos:pos + 4]) pos += 4 - curs...
Add cursor_id property.
py
diff --git a/findspark.py b/findspark.py index <HASH>..<HASH> 100644 --- a/findspark.py +++ b/findspark.py @@ -23,7 +23,8 @@ def find(): for path in [ '/usr/local/opt/apache-spark/libexec', # OS X Homebrew '/usr/lib/spark/', # AWS Amazon EMR - '/usr/local/spark/' # common l...
Added another common linux path for spark
py
diff --git a/selene/conditions.py b/selene/conditions.py index <HASH>..<HASH> 100644 --- a/selene/conditions.py +++ b/selene/conditions.py @@ -90,7 +90,7 @@ class TitleContaining(WebDriverCondition): def fn(self, webdriver): # type: (IWebDriver) -> bool actual = webdriver.title - if actual...
Update conditions.py (#<I>)
py
diff --git a/djng/__init__.py b/djng/__init__.py index <HASH>..<HASH> 100644 --- a/djng/__init__.py +++ b/djng/__init__.py @@ -20,6 +20,6 @@ Release logic: 13. git push """ -__version__ = '1.1.dev' +__version__ = '1.1.dev0' default_app_config = 'djng.app_config.DjangoAngularConfig'
bump to <I>.dev0
py
diff --git a/posts/models.py b/posts/models.py index <HASH>..<HASH> 100644 --- a/posts/models.py +++ b/posts/models.py @@ -8,3 +8,6 @@ class Post(models.Model): text = models.TextField() creation_date = models.DateTimeField(auto_now_add=True) + def __unicode__(self): + return self.headline +
add to unicode method to post model
py
diff --git a/test/core/test_tasks.py b/test/core/test_tasks.py index <HASH>..<HASH> 100644 --- a/test/core/test_tasks.py +++ b/test/core/test_tasks.py @@ -144,16 +144,14 @@ class ReceiveTestRunTest(TestCase): class TestValidateTestRun(TestCase): - def test_invalid_metadata_json(self): - validate = Valida...
ValidateTestRun: refactor invalid JSON test to use common assert method
py
diff --git a/src/sultan/api.py b/src/sultan/api.py index <HASH>..<HASH> 100644 --- a/src/sultan/api.py +++ b/src/sultan/api.py @@ -581,8 +581,12 @@ class SSHConfig(Config): 'shorthand': '-i', 'required': False }, + 'option': { + 'shorthand': '-o', + 'requi...
[SSHConfig] Allow ssh options to be specified (#<I>) Added '-o' to be able to specify options in ssh commands.
py
diff --git a/spyder/widgets/editor.py b/spyder/widgets/editor.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/editor.py +++ b/spyder/widgets/editor.py @@ -1210,7 +1210,11 @@ class EditorStack(QWidget): is_readonly = finfo.editor.isReadOnly() tab_text = self.get_tab_text(index, is_modified, is_rea...
Fix error unwanted scrolling when changing tabs.
py
diff --git a/citrination_client/data/client.py b/citrination_client/data/client.py index <HASH>..<HASH> 100644 --- a/citrination_client/data/client.py +++ b/citrination_client/data/client.py @@ -7,9 +7,10 @@ from pypif import pif import json import os +import urllib2 +import shutil import requests - class DataC...
Updating file save to use shutils
py
diff --git a/gary/potential/tests/test_io.py b/gary/potential/tests/test_io.py index <HASH>..<HASH> 100644 --- a/gary/potential/tests/test_io.py +++ b/gary/potential/tests/test_io.py @@ -15,7 +15,7 @@ import numpy as np from ..io import load, save from ..core import CompositePotential from ..builtin import Isochrone...
change to testing LM<I> potential as example of complex
py
diff --git a/aliyun/log/machine_group_detail.py b/aliyun/log/machine_group_detail.py index <HASH>..<HASH> 100755 --- a/aliyun/log/machine_group_detail.py +++ b/aliyun/log/machine_group_detail.py @@ -30,7 +30,7 @@ class MachineGroupDetail(object): 2. "groupTopic": group topic value """ - def __ini...
allow format of machine group config same as downloaded one via CLI
py
diff --git a/test/test_debianbts.py b/test/test_debianbts.py index <HASH>..<HASH> 100644 --- a/test/test_debianbts.py +++ b/test/test_debianbts.py @@ -53,7 +53,7 @@ class DebianBtsTestCase(unittest.TestCase): """get_usertag should return dict with tag(s) and buglist(s).""" d = bts.get_usertag("debian-...
removed use of dict iteritems for py3
py
diff --git a/testing/logging/test_reporting.py b/testing/logging/test_reporting.py index <HASH>..<HASH> 100644 --- a/testing/logging/test_reporting.py +++ b/testing/logging/test_reporting.py @@ -67,15 +67,14 @@ def test_root_logger_affected(testdir): result = testdir.runpytest("--log-level=ERROR", "--log-file=pyte...
revisit test_root_logger_affected
py
diff --git a/openquake/hazardlib/tests/calc/stochastic_test.py b/openquake/hazardlib/tests/calc/stochastic_test.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/tests/calc/stochastic_test.py +++ b/openquake/hazardlib/tests/calc/stochastic_test.py @@ -37,13 +37,11 @@ class StochasticEventSetTestCase(unittest.Tes...
Fixed hazardlib/tests/calc/stochastic_test.py
py
diff --git a/saltcloud/cli.py b/saltcloud/cli.py index <HASH>..<HASH> 100644 --- a/saltcloud/cli.py +++ b/saltcloud/cli.py @@ -81,6 +81,6 @@ class SaltCloud(parsers.SaltCloudParser): mapper.run_profile() self.exit(0) - if self.options.map: + if self.options.map and self.selecte...
Only execute map if it is not a query
py
diff --git a/falafel/core/specs.py b/falafel/core/specs.py index <HASH>..<HASH> 100644 --- a/falafel/core/specs.py +++ b/falafel/core/specs.py @@ -29,12 +29,13 @@ class SpecMapper(object): if multi_node: root = os.path.commonprefix([p for p in self.all_names]) else: - root = os...
Fixing a couple bugs in spec mapping module - Handle the "." dir in addition to "./" when determining root. - Assign archive_target correctly by modifying regex used to match path
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -8,7 +8,9 @@ from shlex import split as shlex_split from bumpversion import main -def test_usage_string(capsys): +def test_usage_string(tmpdir, capsys): + tmpdir.chdir() + with pytest.raises(SystemExit): ...
fix tests if run from project checkout
py
diff --git a/webvtt/generic.py b/webvtt/generic.py index <HASH>..<HASH> 100644 --- a/webvtt/generic.py +++ b/webvtt/generic.py @@ -84,7 +84,7 @@ class GenericParser(object): A generic parent class for all parsers. """ def __init__(self): - self.captions = [] + self._captions = [] def...
Encapsulate captions with a property.
py
diff --git a/client/exceptions.py b/client/exceptions.py index <HASH>..<HASH> 100644 --- a/client/exceptions.py +++ b/client/exceptions.py @@ -23,7 +23,7 @@ class AuthenticationException(OkException): class OAuthException(AuthenticationException): def __init__(self, error='', error_description=''): - sup...
Fix Recursion Error in Auth and Timeout (#<I>)
py
diff --git a/src/edeposit/amqp/antivirus/wrappers/clamd.py b/src/edeposit/amqp/antivirus/wrappers/clamd.py index <HASH>..<HASH> 100755 --- a/src/edeposit/amqp/antivirus/wrappers/clamd.py +++ b/src/edeposit/amqp/antivirus/wrappers/clamd.py @@ -23,6 +23,10 @@ def scan_file(path): Returns: dict: ``{filenam...
Docstring for clamd.py.
py
diff --git a/moto/ec2/utils.py b/moto/ec2/utils.py index <HASH>..<HASH> 100644 --- a/moto/ec2/utils.py +++ b/moto/ec2/utils.py @@ -360,7 +360,9 @@ filter_dict_attribute_mapping = { 'vpc-id': 'vpc_id', 'group-id': 'security_groups', 'instance.group-id': 'security_groups', - 'instance-type': 'instance_t...
Add ip-address and private-ip-address to the list of filters for instance filtering. These are described in <URL> and private_ip() respectively
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -68,7 +68,7 @@ extensions = [ 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', 'numpy_ext.numpydoc', - 'gen_rst' + 'plot_generator' ] numpydoc_show_class_members = False @@ -214,7 +214,7 @...
Changed theme back to flatly.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,13 @@ setup(name = "pyuv", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: Microsoft :: Windows", - "Programming Langu...
Specified Python 3 support in setup.py Program Modifiers
py
diff --git a/sqlauth/__init__.py b/sqlauth/__init__.py index <HASH>..<HASH> 100644 --- a/sqlauth/__init__.py +++ b/sqlauth/__init__.py @@ -16,4 +16,4 @@ ## ############################################################################### -__version__ = "0.1.11" +__version__ = "0.1.12"
sync with pypi version: <I>
py
diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/board/board.py +++ b/ELiDE/ELiDE/board/board.py @@ -291,12 +291,10 @@ class Board(RelativeLayout): candidate.reciprocal.selected = True candidate.selected ...
Handle switching selection between reciprocal nonmirror arrows correctly again
py
diff --git a/gdspy/__init__.py b/gdspy/__init__.py index <HASH>..<HASH> 100644 --- a/gdspy/__init__.py +++ b/gdspy/__init__.py @@ -45,7 +45,6 @@ import hashlib from gdspy import boolext from gdspy import clipper -from gdspy.viewer import LayoutViewer __version__ = '1.1.2'
Remove LayoutViewer import, to allow using main library without tkinter
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,12 @@ """ -setup.py: Install pymbar. +The pymbar package contains the pymbar suite of tools for the analysis of +simulated and experimental data with the multistate Bennett acceptance +ratio (MBAR) estimator. + """...
Switched from distutils to setuptools
py
diff --git a/stanza/models/common/char_model.py b/stanza/models/common/char_model.py index <HASH>..<HASH> 100644 --- a/stanza/models/common/char_model.py +++ b/stanza/models/common/char_model.py @@ -107,6 +107,9 @@ class CharacterLanguageModel(nn.Module): def hidden_dim(self): return self.args['char_hidde...
Add a method to get back the CharVocab from the CharacterLangaugeModel
py
diff --git a/python-package/xgboost/training.py b/python-package/xgboost/training.py index <HASH>..<HASH> 100644 --- a/python-package/xgboost/training.py +++ b/python-package/xgboost/training.py @@ -370,7 +370,7 @@ def cv(params, dtrain, num_boost_round=10, nfold=3, stratified=False, folds=None Number of folds...
improved docstring for folds in cv function
py
diff --git a/salt/utils/openstack/nova.py b/salt/utils/openstack/nova.py index <HASH>..<HASH> 100644 --- a/salt/utils/openstack/nova.py +++ b/salt/utils/openstack/nova.py @@ -41,11 +41,12 @@ NOVACLIENT_MINVER = '2.6.1' def check_nova(): - novaclient_ver = LooseVersion(novaclient.__version__) - min_ver = Loos...
We need novaclient imported to compare versions
py
diff --git a/neo4jrestclient/client.py b/neo4jrestclient/client.py index <HASH>..<HASH> 100644 --- a/neo4jrestclient/client.py +++ b/neo4jrestclient/client.py @@ -85,7 +85,7 @@ class GraphDatabase(object): if response_json: self._relationship_index = response_json['relationship_index'] ...
labels url is stored in node_labels settings key
py
diff --git a/peewee_async.py b/peewee_async.py index <HASH>..<HASH> 100644 --- a/peewee_async.py +++ b/peewee_async.py @@ -28,7 +28,7 @@ IntegrityErrors = (peewee.IntegrityError,) try: import aiopg import psycopg2 - IntegrityErrors += (psycopg2.errors.UniqueViolation,) + IntegrityErrors += (psycopg2.In...
Update peewee_async.py (#<I>) Fix: use newer IntegrityError from psycopg2 instead of older UniqueViolation
py
diff --git a/cmd.py b/cmd.py index <HASH>..<HASH> 100644 --- a/cmd.py +++ b/cmd.py @@ -188,6 +188,7 @@ class Command: """ if self.verbose >= level: print msg + sys.stdout.flush() def debug_print (self, msg): """Print 'msg' to stdout if the global DEBUG (taken fr...
Flush output more aggressively. This makes things look better if the setup script is running from inside Vim.
py
diff --git a/tests/unit/remote/ssh/test_connection.py b/tests/unit/remote/ssh/test_connection.py index <HASH>..<HASH> 100644 --- a/tests/unit/remote/ssh/test_connection.py +++ b/tests/unit/remote/ssh/test_connection.py @@ -6,10 +6,6 @@ import posixpath here = os.path.abspath(os.path.dirname(__file__)) -def test_co...
test: ssh: remove test_connection
py
diff --git a/logtailer/views.py b/logtailer/views.py index <HASH>..<HASH> 100644 --- a/logtailer/views.py +++ b/logtailer/views.py @@ -14,7 +14,7 @@ HISTORY_LINES = getattr(settings, 'LOGTAILER_HISTORY_LINES', 0) def read_logs(request): context = {} - return render_to_response('logtailer/readlogs.html', + ...
There is no file called readlogs.html switching it to the actual file
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ for mod_name in mod_names: '_%s' % mod_name, sources = ['gphoto2/%s.i' % mod_name], swig_opts = ['-I/usr/include', '-builtin', '-O', '-Wall'], - libraries = ['gphoto2'], + ...
Add gphoto2_port library to link libraries. Doesn't get picked up automatically on some systems.
py
diff --git a/tools/run_tests/artifacts/artifact_targets.py b/tools/run_tests/artifacts/artifact_targets.py index <HASH>..<HASH> 100644 --- a/tools/run_tests/artifacts/artifact_targets.py +++ b/tools/run_tests/artifacts/artifact_targets.py @@ -153,6 +153,13 @@ class PythonArtifact: environ['GRPC_BUILD_GRPCI...
try fix python linux artifact build
py
diff --git a/pyphi/config.py b/pyphi/config.py index <HASH>..<HASH> 100644 --- a/pyphi/config.py +++ b/pyphi/config.py @@ -12,6 +12,15 @@ The various options are listed here with their defaults >>> import pyphi >>> defaults = pyphi.config.DEFAULTS +It is also possible to manually load a YAML configuration f...
Document loading config from a file
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,7 +52,7 @@ napoleon_google_docstring = True intersphinx_mapping = { 'python': ('https://docs.python.org/3.6', None), 'pandas': ('http://pandas.pydata.org/pandas-docs/stable/', None), - 'numpy'...
Update NumPy intersphinx link to https
py
diff --git a/lib/ansiblelint/utils.py b/lib/ansiblelint/utils.py index <HASH>..<HASH> 100644 --- a/lib/ansiblelint/utils.py +++ b/lib/ansiblelint/utils.py @@ -487,6 +487,7 @@ def parse_yaml_linenumbers(data, filename): def construct_mapping(node, deep=False): mapping = Constructor.construct_mapping(loader...
Fix missing filename in exceptions Without this, exceptions raised when parsing tasks uniformly report "Unknown" as their filename and line number.
py
diff --git a/redis/commands/core.py b/redis/commands/core.py index <HASH>..<HASH> 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -1244,7 +1244,7 @@ class BasicKeyCommands: pushing it as the first/last element on the destination list. Returns the element being popped and pushed. ...
Fix link in lmove docstring (#<I>)
py
diff --git a/openquake/hazardlib/gsim/sera_2019_craton.py b/openquake/hazardlib/gsim/sera_2019_craton.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/sera_2019_craton.py +++ b/openquake/hazardlib/gsim/sera_2019_craton.py @@ -33,10 +33,17 @@ from openquake.hazardlib.gsim.nga_east import (get_tau_at_quantil...
Makes the main docstring more informative
py
diff --git a/pymatgen/ext/optimade.py b/pymatgen/ext/optimade.py index <HASH>..<HASH> 100644 --- a/pymatgen/ext/optimade.py +++ b/pymatgen/ext/optimade.py @@ -51,6 +51,8 @@ class OptimadeRester: "mcloud.tc-applicability": "https://aiida.materialscloud.org/tc-applicability/optimade", "mcloud.threedd": ...
Add two more pre-defined *aliases*: nmd and mpds
py
diff --git a/infoqmedia.py b/infoqmedia.py index <HASH>..<HASH> 100755 --- a/infoqmedia.py +++ b/infoqmedia.py @@ -115,12 +115,12 @@ class InfoQPresentationDumper: return map(lambda x: x.replace('\'', ''), groups.groupdict()['list'].split(',')) def _downloadVideo(self, tmpDir): - videoPath = os.p...
InfoQ doesn't provide mp4's any more
py
diff --git a/retro/data/__init__.py b/retro/data/__init__.py index <HASH>..<HASH> 100644 --- a/retro/data/__init__.py +++ b/retro/data/__init__.py @@ -275,7 +275,9 @@ def list_states(game, inttype=Integrations.DEFAULT): states = [] for curpath in paths: local_states = glob.glob(os.path.join(curpath, ...
retro: Fix excluding states starting with underscore
py
diff --git a/h2o-py/h2o/h2o.py b/h2o-py/h2o/h2o.py index <HASH>..<HASH> 100644 --- a/h2o-py/h2o/h2o.py +++ b/h2o-py/h2o/h2o.py @@ -208,6 +208,7 @@ def init(url=None, ip=None, port=None, https=None, insecure=False, username=None auth=auth, proxy=proxy, cluster_name=cluster_name, ver...
[PUBDEV-<I>] Display cluster info after each h2o.init()
py
diff --git a/astroid/brain/brain_subprocess.py b/astroid/brain/brain_subprocess.py index <HASH>..<HASH> 100644 --- a/astroid/brain/brain_subprocess.py +++ b/astroid/brain/brain_subprocess.py @@ -67,7 +67,7 @@ def _subprocess_transform(): encoding=None, errors=None, universal_newlines=False, -...
Remove extraneous comma
py
diff --git a/expynent/patterns.py b/expynent/patterns.py index <HASH>..<HASH> 100644 --- a/expynent/patterns.py +++ b/expynent/patterns.py @@ -299,8 +299,13 @@ LATITUDE = r'^(\+|-)?(?:90(?:(?:\.0{1,14})?)|(?:[0-9]|' \ LONGITUDE = r'^(\+|-)?(?:180(?:(?:\.0{1,14})?)|(?:[0-9]|[1-9]' \ r'[0-9]|1[0-7][0-9])(?:...
Added RegEx pattern to match French phone numbers (with and without country code)
py
diff --git a/squad/settings.py b/squad/settings.py index <HASH>..<HASH> 100644 --- a/squad/settings.py +++ b/squad/settings.py @@ -191,12 +191,12 @@ LOGGING = { 'django': { 'handlers': ['console'], 'propagate': False, - 'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'), + ...
settings: force debug logging when DEBUG is True
py
diff --git a/hangups/auth.py b/hangups/auth.py index <HASH>..<HASH> 100644 --- a/hangups/auth.py +++ b/hangups/auth.py @@ -172,12 +172,23 @@ class Browser(object): Raises GoogleAuthError if form can not be submitted. """ + logger.info( + 'Submitting form on page %r', self._page.url...
Add logging for debugging the login form See #<I>.
py
diff --git a/hamster/stats.py b/hamster/stats.py index <HASH>..<HASH> 100644 --- a/hamster/stats.py +++ b/hamster/stats.py @@ -383,6 +383,12 @@ class StatsViewer: self.get_widget('remove').set_sensitive(id != -1) return True + + def on_facts_row_activated(self, tree, path, column): + selec...
connect double-click to editing, fixes bug <I> svn path=/trunk/; revision=<I>
py
diff --git a/redbeat/schedules.py b/redbeat/schedules.py index <HASH>..<HASH> 100644 --- a/redbeat/schedules.py +++ b/redbeat/schedules.py @@ -1,13 +1,20 @@ import celery from dateutil.rrule import rrule as dateutil_rrule -from celery.schedules import BaseSchedule -from celery.utils.time import ( - localize, - ...
celery 3.x support for schedules module
py
diff --git a/arangodb/api.py b/arangodb/api.py index <HASH>..<HASH> 100644 --- a/arangodb/api.py +++ b/arangodb/api.py @@ -326,6 +326,30 @@ class Database(object): return db + @classmethod + def get_all(cls): + """ + """ + + api = Client.instance().api + + data = api.datab...
Now the names of all databases can be retrieved and a database can be deleted
py
diff --git a/tests/test_memview.py b/tests/test_memview.py index <HASH>..<HASH> 100644 --- a/tests/test_memview.py +++ b/tests/test_memview.py @@ -4,6 +4,7 @@ import ctypes from archinfo import Endness from angr import SimState +from angr.sim_type import register_types, parse_types def test_simple_concrete(): ...
Add test for structs in memory view
py
diff --git a/langcodes/db.py b/langcodes/db.py index <HASH>..<HASH> 100644 --- a/langcodes/db.py +++ b/langcodes/db.py @@ -273,7 +273,7 @@ class LanguageDB: def lookup_name_in_any_language(self, table_name, name): return [row for row in self.query( - "select subtag, language from {}_name wher...
Search for language names in a defined order
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,10 @@ def howto_install_setuptools(): Then you could make eggs from this package. """) +if sys.version_info[:2] < (2, 4): + print("ERROR: this package requires Python 2.4 or later!") + sys.exit(1) + try...
Python <I>+ installation requirement added
py
diff --git a/scripts/pricefeeds/config-example.py b/scripts/pricefeeds/config-example.py index <HASH>..<HASH> 100644 --- a/scripts/pricefeeds/config-example.py +++ b/scripts/pricefeeds/config-example.py @@ -42,8 +42,8 @@ enable_ccedk = True ## will quit with a failure) poloniex_...
[Price Feed] Enable yunbi by default
py
diff --git a/pnc_cli/cli_types.py b/pnc_cli/cli_types.py index <HASH>..<HASH> 100644 --- a/pnc_cli/cli_types.py +++ b/pnc_cli/cli_types.py @@ -18,6 +18,7 @@ from pnc_cli.swagger_client import ProductversionsApi from pnc_cli.swagger_client import ProjectsApi from pnc_cli.swagger_client import RunningbuildrecordsApi i...
NCL-<I> Detect if a URL throws a <I> or not on the commandline, before submitting values to the REST client
py
diff --git a/tensorflow_probability/python/internal/distribution_util.py b/tensorflow_probability/python/internal/distribution_util.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/internal/distribution_util.py +++ b/tensorflow_probability/python/internal/distribution_util.py @@ -686,7 +686,7 @@ def a...
Relax a little with the symmetry assertion. PiperOrigin-RevId: <I>
py
diff --git a/bcbio/bam/fastq.py b/bcbio/bam/fastq.py index <HASH>..<HASH> 100644 --- a/bcbio/bam/fastq.py +++ b/bcbio/bam/fastq.py @@ -5,6 +5,7 @@ from itertools import izip, product import os import random import gzip +import sys from Bio import SeqIO from bcbio.distributed import objectstore @@ -125,6 +126,17 ...
Add more helpful error message when two samples are named exactly the same. For example: data1/SRR<I>.fastq.gz and data2/SRR<I>.fastq.gz resolve to the same stem, although they are under different directories. bcbio can't handle this during the templating step, because it doesn't know which one to assign to the sample...
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -1040,7 +1040,10 @@ def absent(name): ret['comment'] = 'File {0} is set for removal'.format(name) return ret try: - __salt__['file.remov...
Force file removal on Windows. Fixes #<I>
py
diff --git a/dublincore.py b/dublincore.py index <HASH>..<HASH> 100644 --- a/dublincore.py +++ b/dublincore.py @@ -85,7 +85,7 @@ def dc_description(mydoc, parent, artmeta): 'short', 'executive-summary'] for type in type_hierarchy: try: - abstract_node = artmeta.abstract[t...
Slight bug fix in dc:description
py
diff --git a/tornado/websocket.py b/tornado/websocket.py index <HASH>..<HASH> 100644 --- a/tornado/websocket.py +++ b/tornado/websocket.py @@ -21,6 +21,7 @@ from __future__ import absolute_import, division, print_function import base64 import hashlib import os +import sys import struct import tornado.escape impor...
Use `log_exception` method in WebSocketProtocol instead of custom logging. It is usefull if we need to add some custom handlers for all unexpected exceptions for example.
py
diff --git a/issue.py b/issue.py index <HASH>..<HASH> 100755 --- a/issue.py +++ b/issue.py @@ -244,7 +244,10 @@ def print_long(number): os.system('clear') for issue in issues: if issue["number"] == number: - print("\033[1mStatus:\033[0m\t" + issue["status"]) + print("\033[1mStat...
Add color colored status for print_long.
py
diff --git a/flask_appbuilder/security/sqla/manager.py b/flask_appbuilder/security/sqla/manager.py index <HASH>..<HASH> 100644 --- a/flask_appbuilder/security/sqla/manager.py +++ b/flask_appbuilder/security/sqla/manager.py @@ -311,8 +311,8 @@ class SecurityManager(BaseSecurityManager): ) .exis...
Fixes authentication error when using oracle (#<I>) This commit applies for oralce dialect the same query strategy already implemeted for MSSQL in security manager when checking for authentication/permissions, since a query like "SELECT EXISTS(1) FROM DUAL" in oracle databases would raise an ORA-<I>: missing expres...
py
diff --git a/thinc/about.py b/thinc/about.py index <HASH>..<HASH> 100644 --- a/thinc/about.py +++ b/thinc/about.py @@ -4,7 +4,7 @@ # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py __name__ = 'thinc' -__version__ = '6.11.0.dev1' +__version__ = '6.11.0.dev2' __summary__ = "Practical Machine Lea...
Set version to <I>.dev2
py
diff --git a/autoflake.py b/autoflake.py index <HASH>..<HASH> 100755 --- a/autoflake.py +++ b/autoflake.py @@ -651,7 +651,9 @@ def fix_file(filename, args, standard_out): if original_source != filtered_source: if args.check: - standard_out.write('Unused imports/variables detected.') + ...
Show filenames with errors in --check mode (#<I>) * Show filenames with errors in --check mode * Shorten line
py
diff --git a/soco.py b/soco.py index <HASH>..<HASH> 100644 --- a/soco.py +++ b/soco.py @@ -28,7 +28,7 @@ class SonosDiscovery(object): """ def __init__(self): - self._sock = socket.socket( + self._sock = socket.socket( socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP) ...
changed dictionary for get_transport_status() to match other dictionaries
py
diff --git a/django_q/brokers/aws_sqs.py b/django_q/brokers/aws_sqs.py index <HASH>..<HASH> 100644 --- a/django_q/brokers/aws_sqs.py +++ b/django_q/brokers/aws_sqs.py @@ -1,9 +1,13 @@ from boto3 import Session +from botocore.client import ClientError from django_q.brokers import Broker from django_q.conf import Co...
try to get SQS queue before creating it In some environments permissions for an IAM role or access key might not include "SQS create". The broker should first try to get the queue and if this fails try to create it as fall back to the current default behaviour.
py
diff --git a/mysql/toolkit/components/query.py b/mysql/toolkit/components/query.py index <HASH>..<HASH> 100644 --- a/mysql/toolkit/components/query.py +++ b/mysql/toolkit/components/query.py @@ -156,7 +156,7 @@ class Insert: return False # Make values a list of lists if it is a flat list - ...
Modified insert_many method Add set and tuple to tuple of instance checks. Fixed issue where lists were the only excepted input type.
py
diff --git a/smite/servant.py b/smite/servant.py index <HASH>..<HASH> 100644 --- a/smite/servant.py +++ b/smite/servant.py @@ -157,6 +157,8 @@ class Servant(object): def stop(self): self._run = False + while not self.ctx.closed: + time.sleep(.1) def routine(self): socke...
wait for ctx to close
py
diff --git a/i3pystatus/core/modules.py b/i3pystatus/core/modules.py index <HASH>..<HASH> 100644 --- a/i3pystatus/core/modules.py +++ b/i3pystatus/core/modules.py @@ -1,3 +1,4 @@ +import html import inspect import traceback @@ -260,14 +261,16 @@ class Module(SettingsBase): Can be called multiple times (`...
pango: don't expand '&' when it is part of an HTML escape sequence
py
diff --git a/patroni/ha.py b/patroni/ha.py index <HASH>..<HASH> 100644 --- a/patroni/ha.py +++ b/patroni/ha.py @@ -302,10 +302,12 @@ class Ha(object): delta = (scheduled_at - now).total_seconds() if delta > self.patroni.nap_time: - logging.info('Awaiting {0} at %s ...
Fix line is too long warnings.
py
diff --git a/newtabmagic.py b/newtabmagic.py index <HASH>..<HASH> 100644 --- a/newtabmagic.py +++ b/newtabmagic.py @@ -483,6 +483,27 @@ def _fully_qualified_name_builtin_py2(obj): return module + '.' + qualname +def _fully_qualified_name_method_py2(obj): + """Fully qualified name for 'instancemethod' object...
Add Python 2 instancemethod introspection
py
diff --git a/tests/basics/list1.py b/tests/basics/list1.py index <HASH>..<HASH> 100644 --- a/tests/basics/list1.py +++ b/tests/basics/list1.py @@ -20,3 +20,8 @@ print(x) print(x[1:]) print(x[:-1]) print(x[2:3]) + +try: + print(x[1.0]) +except TypeError: + print("TypeError")
tests: Add test for implicit float to int conversion (not allowed!)
py