diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/hotdoc/core/extension.py b/hotdoc/core/extension.py index <HASH>..<HASH> 100644 --- a/hotdoc/core/extension.py +++ b/hotdoc/core/extension.py @@ -266,6 +266,9 @@ class Extension(Configurable): index_page = Page('%s-index' % self.argument_prefix, True, self.project.sanitized_name, ...
extension: Use get_smart_index_title as before
py
diff --git a/tasks/classification.py b/tasks/classification.py index <HASH>..<HASH> 100644 --- a/tasks/classification.py +++ b/tasks/classification.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2014 CERN. +# Copyright (C) 2014, 2015 CERN. # # Invenio is free software...
classifier: refextract API usage update * BETTER Improves the stripping of reference section when extracting text from PDF by using a more appropriate refextract API.
py
diff --git a/bootstrap_py/control.py b/bootstrap_py/control.py index <HASH>..<HASH> 100644 --- a/bootstrap_py/control.py +++ b/bootstrap_py/control.py @@ -120,6 +120,8 @@ class PackageTree(object): def copy(self): """Copy directory from working directory to output directory.""" + if not os.path.i...
Fixes makedir outdir when it does not exist.
py
diff --git a/pyfirmata/pyfirmata.py b/pyfirmata/pyfirmata.py index <HASH>..<HASH> 100755 --- a/pyfirmata/pyfirmata.py +++ b/pyfirmata/pyfirmata.py @@ -266,6 +266,11 @@ class Board(object): def exit(self): """ Call this to exit cleanly. """ + # First detach all servo's, otherwise it someho...
detach servo's on exit() --HG-- branch : servo
py
diff --git a/dark/html.py b/dark/html.py index <HASH>..<HASH> 100644 --- a/dark/html.py +++ b/dark/html.py @@ -203,11 +203,13 @@ span.reads { @param i: The number of the image in self._images. @param image: A member of self._images. - @return: The C{str} features file name. + @return: ...
Return just the features file base name not its full path when creating HTML output for features.
py
diff --git a/tests/test_clean.py b/tests/test_clean.py index <HASH>..<HASH> 100755 --- a/tests/test_clean.py +++ b/tests/test_clean.py @@ -25,7 +25,7 @@ class TestClean(unittest.TestCase): def setUpClass(cls): cls.test_cache_dir = path.join(TEST_DIR, '_test_py_cache_') if path.exists(cls.test_cac...
Fixed name of the excpetion class in test_clean when test dir exists Error is not a class, should have been Exception.
py
diff --git a/oracle/tests/test_custom_queries.py b/oracle/tests/test_custom_queries.py index <HASH>..<HASH> 100644 --- a/oracle/tests/test_custom_queries.py +++ b/oracle/tests/test_custom_queries.py @@ -77,7 +77,7 @@ def test_custom_queries(aggregator, check): ) -def test_custom_queriess_multiple_results(aggre...
fix typo (#<I>)
py
diff --git a/vtki/pointset.py b/vtki/pointset.py index <HASH>..<HASH> 100644 --- a/vtki/pointset.py +++ b/vtki/pointset.py @@ -308,6 +308,11 @@ class PolyData(vtkPolyData, vtki.Common): def n_faces(self): return self.n_cells + @property + def number_of_faces(self): + """ returns the number ...
added back in number_of_faces
py
diff --git a/bdata/bdata.py b/bdata/bdata.py index <HASH>..<HASH> 100644 --- a/bdata/bdata.py +++ b/bdata/bdata.py @@ -1894,14 +1894,18 @@ class bdata(mdata): nbm: if True, use neutral beams in calculations deadtime: detector deadtime used to correct counter values ...
Updated to asym docstring
py
diff --git a/gwpy/table/tests/test_table.py b/gwpy/table/tests/test_table.py index <HASH>..<HASH> 100644 --- a/gwpy/table/tests/test_table.py +++ b/gwpy/table/tests/test_table.py @@ -555,7 +555,8 @@ class TestEventTable(TestTable): utils.assert_table_equal(table, t2) # assert processed colum...
gwpy.table: fixed pep8 issue
py
diff --git a/bigchaindb/backend/connection.py b/bigchaindb/backend/connection.py index <HASH>..<HASH> 100644 --- a/bigchaindb/backend/connection.py +++ b/bigchaindb/backend/connection.py @@ -39,4 +39,6 @@ def connect(backend=None, host=None, port=None, name=None): class Connection: - pass + + def run(self, q...
Fix base connection's run query interface
py
diff --git a/bcbio/pipeline/run_info.py b/bcbio/pipeline/run_info.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/run_info.py +++ b/bcbio/pipeline/run_info.py @@ -31,6 +31,7 @@ from bcbio.bam.fastq import open_fastq ALLOWED_CONTIG_NAME_CHARS = set(list(string.digits) + list(string.ascii_letters) + ["-", "_", "*", ...
Fix for fusion_caller being interpreted as a path. This was causing pizzly to not get run and upload of the data to not occur when a run was re-started. Thanks to Avinash Reddy for pointing out the issue.
py
diff --git a/filer/admin/clipboardadmin.py b/filer/admin/clipboardadmin.py index <HASH>..<HASH> 100644 --- a/filer/admin/clipboardadmin.py +++ b/filer/admin/clipboardadmin.py @@ -73,13 +73,14 @@ def ajax_upload(request, folder_id=None): """ Receives an upload from the uploader. Receives only one file at a tim...
Fix #<I>: Upload files into latest used folder (#<I>)
py
diff --git a/metpy/io/nexrad.py b/metpy/io/nexrad.py index <HASH>..<HASH> 100644 --- a/metpy/io/nexrad.py +++ b/metpy/io/nexrad.py @@ -286,9 +286,9 @@ class Level2File(object): # Try to handle the message. If we don't handle it, skipping # past it is handled at the end anyway. - ...
Check for attribute rather than use exception. Catching AttributeError just swallows too many useful errors.
py
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py index <HASH>..<HASH> 100644 --- a/paramiko/sftp_client.py +++ b/paramiko/sftp_client.py @@ -799,7 +799,10 @@ class SFTPClient(BaseSFTP, ClosingContextManager): if t == CMD_STATUS: self._convert_status(msg) ...
Fix failing tests and explain the unusual code.
py
diff --git a/bokeh/charts/builders/donut_builder.py b/bokeh/charts/builders/donut_builder.py index <HASH>..<HASH> 100644 --- a/bokeh/charts/builders/donut_builder.py +++ b/bokeh/charts/builders/donut_builder.py @@ -59,7 +59,7 @@ def Donut(data, label='index', values=None, color=None, agg=None, aggregated ...
Fix missing indent in docstring
py
diff --git a/openquake/calculators/classical_damage.py b/openquake/calculators/classical_damage.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical_damage.py +++ b/openquake/calculators/classical_damage.py @@ -66,7 +66,7 @@ class ClassicalDamageCalculator(classical_risk.ClassicalRiskCalculator): ...
Updated docstring [skip CI]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -185,7 +185,7 @@ if __name__ == "__main__": long_description=DESCRIPTION, platforms=['Linux', 'Mac OS X', 'Unix', 'Windows'], install_requires=REQUIREMENTS, - requires=REQUIREMENTS, + #...
correctly use setuptools only, not distutils install_requires vs requires
py
diff --git a/asl/task/task_decorator.py b/asl/task/task_decorator.py index <HASH>..<HASH> 100755 --- a/asl/task/task_decorator.py +++ b/asl/task/task_decorator.py @@ -182,7 +182,7 @@ def required_data(*data): task_data = get_data(args).get_data() for i in data: if not i in t...
Excpetion message for required_data task decorator edited to better express the cause of raised exception Edited doc comment for xml_output task decorator
py
diff --git a/scapy.py b/scapy.py index <HASH>..<HASH> 100755 --- a/scapy.py +++ b/scapy.py @@ -21,6 +21,9 @@ # # $Log: scapy.py,v $ +# Revision 1.0.1.12 2005/11/07 13:39:31 pbi +# - fixed some stuff in the LaTeX color theme +# # Revision 1.0.1.11 2005/11/07 13:38:36 pbi # - added timeout parameter to fragleak...
- fixed some stuff in the LaTeX color theme
py
diff --git a/sphinx/fabfile.py b/sphinx/fabfile.py index <HASH>..<HASH> 100644 --- a/sphinx/fabfile.py +++ b/sphinx/fabfile.py @@ -7,7 +7,7 @@ sys.path.append("source") import conf env.roledefs = { - 'web': ['bokeh.pydata.org'] + 'web': ['50.56.188.141'] } env.user = "bokeh"
pydata.org is behind cloudflare now, ssh only possible by ip (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,4 +33,13 @@ setup( 'gevent==1.0', ], }, + classifiers=( + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'Natural Language :: English', + ...
Added classifiers to setup.py.
py
diff --git a/salt/states/mount.py b/salt/states/mount.py index <HASH>..<HASH> 100644 --- a/salt/states/mount.py +++ b/salt/states/mount.py @@ -126,6 +126,14 @@ def mounted(name, device_list.append(alt_device) if uuid_device and uuid_device not in device_list: device_list.append(uuid_d...
Detect changed mount options and remount if necessary.
py
diff --git a/Lib/ufo2ft/featureCompiler.py b/Lib/ufo2ft/featureCompiler.py index <HASH>..<HASH> 100644 --- a/Lib/ufo2ft/featureCompiler.py +++ b/Lib/ufo2ft/featureCompiler.py @@ -8,6 +8,7 @@ import logging import os from inspect import isclass from tempfile import NamedTemporaryFile +from collections import OrderedD...
featureCompiler: store glyphSet as OrderedDict by glyphOrder
py
diff --git a/datadog_checks_dev/datadog_checks/dev/utils.py b/datadog_checks_dev/datadog_checks/dev/utils.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/utils.py +++ b/datadog_checks_dev/datadog_checks/dev/utils.py @@ -100,11 +100,11 @@ def copy_path(path, d): def remove_path(path): ...
make remove_path util more resilient to errors (#<I>)
py
diff --git a/theanets/graph.py b/theanets/graph.py index <HASH>..<HASH> 100644 --- a/theanets/graph.py +++ b/theanets/graph.py @@ -277,16 +277,12 @@ class Network(object): dataset, at the conclusion of training. ''' def create_dataset(data, **kwargs): - '''Create a dataset.''' ...
Always split data batches along axis 0.
py
diff --git a/auth_backends.py b/auth_backends.py index <HASH>..<HASH> 100644 --- a/auth_backends.py +++ b/auth_backends.py @@ -14,11 +14,12 @@ TODO: move SiteAuthBackend to django-tools - :copyleft: 2009-2012 by the PyLucid team, see AUTHORS for more details. + :copyleft: 2009-2013 by the PyLucid...
make a ERROR and not a INFO message
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -4303,6 +4303,8 @@ class ForeignKeyField(Field): def field_type(self): if not isinstance(self.rel_field, AutoField): return self.rel_field.field_type + elif isinstance(self.rel_field, BigA...
Ensure that we use BigInt for BigAutoField foreign-keys. Fixes #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,5 +44,6 @@ setup( ], install_requires=[ 'requests>=1.0.0', + 'python-magic', ] )
Add python-magic as a requirement for mime detection.
py
diff --git a/account/models.py b/account/models.py index <HASH>..<HASH> 100644 --- a/account/models.py +++ b/account/models.py @@ -324,6 +324,7 @@ class EmailConfirmation(models.Model): reverse("account_confirm_email", args=[self.key]) ) ctx = { + "email_address": self.email_ad...
Added EmailAddress object to confirmation email context
py
diff --git a/flubber/patcher.py b/flubber/patcher.py index <HASH>..<HASH> 100644 --- a/flubber/patcher.py +++ b/flubber/patcher.py @@ -48,7 +48,7 @@ def import_patched(module_name, **additional_modules): The only required argument is the name of the module to be imported. """ - return inject(module_name,...
Fixed passing arguments in import_patched
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 @@ -343,17 +343,22 @@ class Person(AbstractBaseUser): def deactivate(self, deleted_by): """ Sets Person not active and deletes all Accounts""" + ...
Change order of deactivate() It makes more sense to deactivate all accounts, and then remove the groups. Fixes #<I>. Change-Id: Ib<I>b5a<I>ab9b4fb<I>b<I>bde<I>
py
diff --git a/graphene_django_extras/converter.py b/graphene_django_extras/converter.py index <HASH>..<HASH> 100644 --- a/graphene_django_extras/converter.py +++ b/graphene_django_extras/converter.py @@ -96,7 +96,8 @@ def construct_fields(model, registry, only_fields, exclude_fields, input_flag=No is_exclud...
Add support for models fields with field.editable=True or field.hidden=True
py
diff --git a/nat/annotationSearch.py b/nat/annotationSearch.py index <HASH>..<HASH> 100644 --- a/nat/annotationSearch.py +++ b/nat/annotationSearch.py @@ -237,6 +237,7 @@ class CompiledCorpus: if outPath is None: outPath = self.binPath + self.annotations = [] for fileName in glob...
Correction of a bug which was creating duplicates in compiled corpora and of a second bug which was not getting the tag values associated with old neurolex ID in the parameter search results.
py
diff --git a/bin/pivot_variants.py b/bin/pivot_variants.py index <HASH>..<HASH> 100755 --- a/bin/pivot_variants.py +++ b/bin/pivot_variants.py @@ -546,7 +546,7 @@ def get_headers_and_readers(input_dir): header_names = [] first_line = [] - for item in listdir(input_dir): + for item in sorted(listdi...
added sort to get_headers_and_readers
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,7 +1,9 @@ import pytest -from spacy.en import English +from spacy.en import English, LOCAL_DATA_DIR +import os @pytest.fixture(scope="session") def EN(): - return English() + ...
* Allow tests to read model dir from SPACY_DATA environment variable
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,10 @@ #!/usr/bin/env python #-- Content-Encoding: UTF-8 -- -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup setup(name='iPOPO',...
Small update of setup.py Tries to use setuptools before distutils. setuptools has the "develop" installation mode.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -285,8 +285,8 @@ if __name__ == '__main__': break except ValueError: nanoversion = 0 - if nanoversion: - version_nums.append(nanoversion) + if...
Minor update of setup.py for package deploying
py
diff --git a/pybar/run_manager.py b/pybar/run_manager.py index <HASH>..<HASH> 100644 --- a/pybar/run_manager.py +++ b/pybar/run_manager.py @@ -383,8 +383,14 @@ class RunManager(object): if not conf: pass elif isinstance(conf, basestring): # parse the first YAML document in a stream - ...
ENH: support config strings (copied from basil.dut)
py
diff --git a/ls/joyous/utils/weeks.py b/ls/joyous/utils/weeks.py index <HASH>..<HASH> 100644 --- a/ls/joyous/utils/weeks.py +++ b/ls/joyous/utils/weeks.py @@ -104,8 +104,8 @@ if get_format("FIRST_DAY_OF_WEEK") == 1: num_weeks_in_year = _iso_num_weeks gregorian_to_week_date = _gregorian_to_iso week_of_mon...
Fix testMondayStartingWeek
py
diff --git a/cassandra/cqlengine/management.py b/cassandra/cqlengine/management.py index <HASH>..<HASH> 100644 --- a/cassandra/cqlengine/management.py +++ b/cassandra/cqlengine/management.py @@ -232,7 +232,7 @@ def _sync_table(model, connection=None): except CQLEngineException as ex: # 1.2 doesn't...
re-raising the CQLEngineException will fail on Python 3 - instead a NameError will be thrown because unicode is unknown
py
diff --git a/sark/code/segment.py b/sark/code/segment.py index <HASH>..<HASH> 100644 --- a/sark/code/segment.py +++ b/sark/code/segment.py @@ -247,11 +247,11 @@ class Segment(object): self.bitness) -def segments(type=None): - ''' :param type: type of segment e.g. SEG_CODE...
changed type to seg_type in order not to shadow built ins
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup_params = dict( ], ), install_requires=[ - "irc>=2.0.3,<3.0dev", + "irc>=3.0<4.0dev", "popquotes>=1.3", "excuses>=1.1.2", "pyyaml",
Update dependency on irc lib
py
diff --git a/script/lib/config.py b/script/lib/config.py index <HASH>..<HASH> 100644 --- a/script/lib/config.py +++ b/script/lib/config.py @@ -5,7 +5,7 @@ import sys NODE_VERSION = 'v0.11.13' BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' -LIBCHROMIUMCONTENT_COMMIT = '5d5539f8232bb4d0...
win: Update libchromiumcontent to fix shared workers.
py
diff --git a/sas_kernel/kernel.py b/sas_kernel/kernel.py index <HASH>..<HASH> 100644 --- a/sas_kernel/kernel.py +++ b/sas_kernel/kernel.py @@ -54,7 +54,7 @@ class SASKernel(MetaKernel): try: # start a SAS session within python bound to the shell session import saspy as saspy - ...
clean up pysas invocation from kernel and init script
py
diff --git a/src/streamlink/stream/ffmpegmux.py b/src/streamlink/stream/ffmpegmux.py index <HASH>..<HASH> 100644 --- a/src/streamlink/stream/ffmpegmux.py +++ b/src/streamlink/stream/ffmpegmux.py @@ -1,3 +1,4 @@ +import concurrent.futures import logging import subprocess import sys @@ -183,10 +184,13 @@ class FFMPEGM...
stream.ffmpegmux: close sub-streams concurrently
py
diff --git a/tests/integ/test_processing.py b/tests/integ/test_processing.py index <HASH>..<HASH> 100644 --- a/tests/integ/test_processing.py +++ b/tests/integ/test_processing.py @@ -288,9 +288,6 @@ def test_sklearn_with_custom_default_bucket( assert job_description["ProcessingInputs"][0]["InputName"] == "dummy_in...
fix: sklearn integ test for custom bucket (#<I>)
py
diff --git a/geocodio/client.py b/geocodio/client.py index <HASH>..<HASH> 100755 --- a/geocodio/client.py +++ b/geocodio/client.py @@ -14,7 +14,7 @@ from geocodio import exceptions logger = logging.getLogger(__name__) -DEFAULT_API_VERSION = "1.5" +DEFAULT_API_VERSION = "1.6" ALLOWED_FIELDS = [ "acs-demogra...
feat: Updated to API <I>
py
diff --git a/plex/objects/library/stream.py b/plex/objects/library/stream.py index <HASH>..<HASH> 100644 --- a/plex/objects/library/stream.py +++ b/plex/objects/library/stream.py @@ -11,6 +11,9 @@ class Stream(Descriptor): title = Property duration = Property(type=int) + language = Property + language...
[#2] Added `Stream` properties: `language`, `language_code`
py
diff --git a/kafka_scanner/__init__.py b/kafka_scanner/__init__.py index <HASH>..<HASH> 100644 --- a/kafka_scanner/__init__.py +++ b/kafka_scanner/__init__.py @@ -609,7 +609,7 @@ class KafkaScannerDirect(KafkaScannerSimple): def end_batch_commit(self): commit_offsets = self._lower_offsets.copy() - ...
if no messages were read, end_batch_commit() must use upper offsets
py
diff --git a/multiqc/modules/bcl2fastq/bcl2fastq.py b/multiqc/modules/bcl2fastq/bcl2fastq.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/bcl2fastq/bcl2fastq.py +++ b/multiqc/modules/bcl2fastq/bcl2fastq.py @@ -210,7 +210,7 @@ class MultiqcModule(BaseMultiqcModule): } headers = OrderedDict() ...
Bcl2fastq: rename Total reads -> Clusters (<URL>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ setup( "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", ...
add official Python <I> support
py
diff --git a/dark/titles.py b/dark/titles.py index <HASH>..<HASH> 100644 --- a/dark/titles.py +++ b/dark/titles.py @@ -43,11 +43,7 @@ class TitleAlignment(object): """ return { 'hsps': [hsp.toDict() for hsp in self.hsps], - 'read': { - 'id': self.read.id, - ...
Use the Read.toDict method instead of reproducing it in titles.py
py
diff --git a/tutorials/mnist_tutorial.py b/tutorials/mnist_tutorial.py index <HASH>..<HASH> 100644 --- a/tutorials/mnist_tutorial.py +++ b/tutorials/mnist_tutorial.py @@ -20,6 +20,7 @@ flags.DEFINE_integer('img_cols', 28, 'Input column dimension') flags.DEFINE_integer('nb_filters', 64, 'Number of convolutional filter ...
defined a flag to change the epsilon for FGSM in the MNIST tutorial
py
diff --git a/tests/tests.py b/tests/tests.py index <HASH>..<HASH> 100755 --- a/tests/tests.py +++ b/tests/tests.py @@ -533,7 +533,7 @@ class GroupsTest(unittest.TestCase): def test_groups_for_jira(self): groups = self.jira.groups('jira') self.assertIsNotNone(find_by_name(groups['groups'], 'jira-u...
run again without IssuesTests
py
diff --git a/python/dllib/src/test/bigdl/keras/test_layer.py b/python/dllib/src/test/bigdl/keras/test_layer.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/test/bigdl/keras/test_layer.py +++ b/python/dllib/src/test/bigdl/keras/test_layer.py @@ -26,6 +26,7 @@ from keras.engine import merge as kmerge, Model as KMod...
added regularizers.py with l1 l2 regularization (#<I>) * added regularizers.py with l1 l2 regularization (encapsulation of bigdl regularizer) added test corresponded
py
diff --git a/src/parsec/__init__.py b/src/parsec/__init__.py index <HASH>..<HASH> 100644 --- a/src/parsec/__init__.py +++ b/src/parsec/__init__.py @@ -566,6 +566,17 @@ def sepEndBy1(p, sep): ########################################################################## +def any(): + '''Parses a arbitrary character....
Add a `any()` parser to consume any chars.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,11 +1,10 @@ # encoding: utf-8 from setuptools import setup -from datasift import __version__ setup( name="datasift", - version=__version__, + version="2.0.0", author="Courtney Robinson", author_e...
Modified setup.py to work properly
py
diff --git a/pyinfra/facts/devices.py b/pyinfra/facts/devices.py index <HASH>..<HASH> 100644 --- a/pyinfra/facts/devices.py +++ b/pyinfra/facts/devices.py @@ -60,7 +60,7 @@ nettools_1_regexes = [ nettools_2_regexes = [ ( - r'^inet ([0-9\.]+)\s+netmask ([0-9\.fx]+)\s+broadcast ([0-9\.]+)$', + r'^in...
Allow network interfaces to have no IPV4 broadcast address
py
diff --git a/beekeeper/variables.py b/beekeeper/variables.py index <HASH>..<HASH> 100644 --- a/beekeeper/variables.py +++ b/beekeeper/variables.py @@ -7,6 +7,7 @@ from __future__ import unicode_literals, print_function from functools import partial from keyword import iskeyword +from copy import deepcopy DEFAULT...
Fixing the problem of maintaining state for methods passed as variable values
py
diff --git a/src/you_get/extractors/universal.py b/src/you_get/extractors/universal.py index <HASH>..<HASH> 100644 --- a/src/you_get/extractors/universal.py +++ b/src/you_get/extractors/universal.py @@ -112,7 +112,7 @@ def universal_download(url, output_dir='.', merge=True, info_only=False, **kwarg for candy i...
[universal] fix my brain damage since <I> (2c7aa3b)
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.30.27" +__version__ = "0.30.28"
[release] Update version number to <I>
py
diff --git a/beets/mediafile.py b/beets/mediafile.py index <HASH>..<HASH> 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -453,15 +453,21 @@ class MP4StorageStyle(StorageStyle): class MP4BoolStorageStyle(MP4StorageStyle): - def fetch(self, mediafile): + def get(self, mediafile): try: ...
Simplify MP4 bool storage Original: beetbox/beets@8b<I>d
py
diff --git a/liquimigrate/management/commands/liquibase.py b/liquimigrate/management/commands/liquibase.py index <HASH>..<HASH> 100644 --- a/liquimigrate/management/commands/liquibase.py +++ b/liquimigrate/management/commands/liquibase.py @@ -128,7 +128,7 @@ class Command(BaseCommand): created_models = None ...
do not emit emit_pre_migrate_signal (not just post signals) when --no-signal is used
py
diff --git a/pedemath/vec2.py b/pedemath/vec2.py index <HASH>..<HASH> 100644 --- a/pedemath/vec2.py +++ b/pedemath/vec2.py @@ -118,15 +118,15 @@ class Vec2: """Initialize member variables x and y from args. Convert args to float if possible, otherwise ValueError should be raised. + + T...
Remove .copy(vec), use .set(*vec) Since python has its own copy functions, having Vec2.copy(vec) is a little confusing. Also, Vec2.set(*vec_a) can perform the same function.
py
diff --git a/doge/core.py b/doge/core.py index <HASH>..<HASH> 100755 --- a/doge/core.py +++ b/doge/core.py @@ -367,7 +367,7 @@ def main(): shibe.setup() shibe.print_doge() - except UnicodeEncodeError: + except (UnicodeEncodeError, UnicodeDecodeError): # Some kind of unicode error happ...
wow also unicode decode error catch
py
diff --git a/tests/test_dfg.py b/tests/test_dfg.py index <HASH>..<HASH> 100644 --- a/tests/test_dfg.py +++ b/tests/test_dfg.py @@ -35,7 +35,7 @@ def perform_one(binary_path): nose.tools.assert_not_equal(n.tag, 'Ist_AbiHint') nose.tools.assert_not_equal(n.tag, 'Ist_Exit') if n.tag ...
Expressions no longer have an arch on them
py
diff --git a/graphviz/backend.py b/graphviz/backend.py index <HASH>..<HASH> 100644 --- a/graphviz/backend.py +++ b/graphviz/backend.py @@ -90,7 +90,7 @@ def render(engine, format, filepath): args, rendered = command(engine, format, filepath) try: - proc = subprocess.Popen(args, startupinfo=STARTUPINF...
use subprocess.call, order alphabetically
py
diff --git a/phonopy/interface/__init__.py b/phonopy/interface/__init__.py index <HASH>..<HASH> 100644 --- a/phonopy/interface/__init__.py +++ b/phonopy/interface/__init__.py @@ -342,9 +342,9 @@ def create_FORCE_SETS(interface_mode, if disp_filename == 'disp.yaml': print('') print("NO...
Change the version number to show on making FORCE_SETS
py
diff --git a/mnemonic.py b/mnemonic.py index <HASH>..<HASH> 100644 --- a/mnemonic.py +++ b/mnemonic.py @@ -23,15 +23,33 @@ import struct import binascii +import os class Mnemonic(object): + directory = 'wordlist' def __init__(self, language): self.radix = 2048 - self.wordlist = [w.strip() for w in open('...
Added list_languages, detect_language
py
diff --git a/tensorbase/stoch.py b/tensorbase/stoch.py index <HASH>..<HASH> 100644 --- a/tensorbase/stoch.py +++ b/tensorbase/stoch.py @@ -75,13 +75,14 @@ class GaussianLayerConv(StochLayer): def compute_params(self): - # Infer mu and std with fully connected layer - model_mu = Layers(self.x) - ...
convnet and deconvnet
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ setup(name='watson-developer-cloud', version=__version__, description='Client library to use the IBM Watson Services', license='Apache 2.0', - install_requires=['requests>=2.0, <3.0', '...
updated to include pyOpenSSL as an install requirement in the setup.py
py
diff --git a/slither/core/declarations/function.py b/slither/core/declarations/function.py index <HASH>..<HASH> 100644 --- a/slither/core/declarations/function.py +++ b/slither/core/declarations/function.py @@ -1282,7 +1282,7 @@ class Function(ChildContract, ChildInheritance, SourceMapping): if node.irs: ...
declaration.function: minor refactor if IF/IFLOOP detection
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -899,9 +899,12 @@ class Config(): return _sep_lines("Configuration", "File : " + self.filename, "Base directo...
Only print Config.arch/srcarch if non-None. Also, Config.srctree cannot be None.
py
diff --git a/ml-agents/mlagents/trainers/torch/model_serialization.py b/ml-agents/mlagents/trainers/torch/model_serialization.py index <HASH>..<HASH> 100644 --- a/ml-agents/mlagents/trainers/torch/model_serialization.py +++ b/ml-agents/mlagents/trainers/torch/model_serialization.py @@ -1,4 +1,3 @@ -import os import th...
[Bug-fix] Remove extra directory created at checkpoint (#<I>) * [Bug-fix] Remove extra directory created at checkpoint * removing os import
py
diff --git a/peyotl/api/wrapper.py b/peyotl/api/wrapper.py index <HASH>..<HASH> 100644 --- a/peyotl/api/wrapper.py +++ b/peyotl/api/wrapper.py @@ -118,6 +118,7 @@ class APIWrapper(object): self.domains = domains self._phylografter = None self._phylesystem_api = None + self._collections...
More support for collections API in wrappers
py
diff --git a/wepay/api.py b/wepay/api.py index <HASH>..<HASH> 100644 --- a/wepay/api.py +++ b/wepay/api.py @@ -122,5 +122,13 @@ class WePay(object): if callback_uri: params.update({'callback_uri': callback_uri}) response = self.call('/oauth2/token', params) + + # The call to ...
Added error handeling to `api.get_token` `get_token` would make a request to /ouath2/token and then assume that the response from that call was valid. Added a simple check to raise an error if the request failed.
py
diff --git a/simple_history/models.py b/simple_history/models.py index <HASH>..<HASH> 100755 --- a/simple_history/models.py +++ b/simple_history/models.py @@ -76,6 +76,10 @@ class HistoricalRecords(object): fk = True else: fk = False + + # The histor...
Strip auto_add and auto_now from the historical model's copied fields.
py
diff --git a/mysql2pgsql/lib/mysql_reader.py b/mysql2pgsql/lib/mysql_reader.py index <HASH>..<HASH> 100644 --- a/mysql2pgsql/lib/mysql_reader.py +++ b/mysql2pgsql/lib/mysql_reader.py @@ -98,7 +98,7 @@ class MysqlReader(object): return 'boolean' elif re.search(r'^smallint.* unsigned', data_...
Remove binary check, as it's not part of this PR
py
diff --git a/pysis/setup.py b/pysis/setup.py index <HASH>..<HASH> 100644 --- a/pysis/setup.py +++ b/pysis/setup.py @@ -39,7 +39,8 @@ try: ISIS_VERSION_PATCH, ISIS_VERSION_BUILD) = map(int, ISIS_VERSION.split('.')) except: - sys.stderr.write('Warning! Could not find isis. Is `ISISROOT` set?\n') + impor...
Use python warnings module to warn for ISISROOT.
py
diff --git a/knights/parse.py b/knights/parse.py index <HASH>..<HASH> 100644 --- a/knights/parse.py +++ b/knights/parse.py @@ -2,7 +2,7 @@ import ast from importlib import import_module -from .lexer import tokenise, Token +from .lexer import tokenise, TokenType class Node(object): @@ -91,17 +91,17 @@ class Par...
Fix patch for Token class changeover
py
diff --git a/pyeda/expr.py b/pyeda/expr.py index <HASH>..<HASH> 100644 --- a/pyeda/expr.py +++ b/pyeda/expr.py @@ -141,7 +141,7 @@ def Xnor(*args, **kwargs): simplify = kwargs.get('simplify', True) factor = kwargs.get('factor', False) conj = kwargs.get('conj', False) - expr = ExprXnor(*args, **kwargs)...
Get rid of buggy **kwargs usage in Xnor/Equal The **kwargs in the calling function is simplify=True, etc, which is NOT the same as the **kwargs passed to the Expression subclass.
py
diff --git a/mr/awsome/__init__.py b/mr/awsome/__init__.py index <HASH>..<HASH> 100644 --- a/mr/awsome/__init__.py +++ b/mr/awsome/__init__.py @@ -312,6 +312,7 @@ class AWS(object): help="ssh options") iargs = enumerate(argv) sid_index = None + user = None ...
Handle arguments with option correctly and support ``-l`` for user override.
py
diff --git a/libraries/botframework-connector/botframework/connector/auth/jwt_token_extractor.py b/libraries/botframework-connector/botframework/connector/auth/jwt_token_extractor.py index <HASH>..<HASH> 100644 --- a/libraries/botframework-connector/botframework/connector/auth/jwt_token_extractor.py +++ b/libraries/bot...
Open id metadata cache refresh if key is missing (#<I>)
py
diff --git a/titlecase/__init__.py b/titlecase/__init__.py index <HASH>..<HASH> 100755 --- a/titlecase/__init__.py +++ b/titlecase/__init__.py @@ -18,7 +18,7 @@ import sys import regex __all__ = ['titlecase'] -__version__ = '1.1.0' +__version__ = '1.1.1' SMALL = r'a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|...
<I> - Fix setup/install requirements
py
diff --git a/can/interfaces/vector/xldefine.py b/can/interfaces/vector/xldefine.py index <HASH>..<HASH> 100644 --- a/can/interfaces/vector/xldefine.py +++ b/can/interfaces/vector/xldefine.py @@ -283,9 +283,11 @@ class XL_HardwareType(IntEnum): XL_HWTYPE_VN1640 = 59 XL_HWTYPE_VN8970 = 61 XL_HWTYPE_VN1611 ...
add missing vector devices (#<I>)
py
diff --git a/exchangelib/version.py b/exchangelib/version.py index <HASH>..<HASH> 100644 --- a/exchangelib/version.py +++ b/exchangelib/version.py @@ -1,8 +1,7 @@ import logging import re -from .errors import TransportError, ErrorInvalidSchemaVersionForMailboxVersion, ErrorInvalidServerVersion, \ - ErrorIncorrec...
To avoid deadlock, access protocol.config.version instead of protocol.version. Also, simplify logic, and print exception instance if we got one. Refs #<I>
py
diff --git a/rest_registration/__init__.py b/rest_registration/__init__.py index <HASH>..<HASH> 100644 --- a/rest_registration/__init__.py +++ b/rest_registration/__init__.py @@ -1,2 +1,2 @@ -__version__ = "0.3.9" +__version__ = "0.3.10" default_app_config = 'rest_registration.apps.RestRegistrationConfig'
Bumped version to <I> [skip ci]
py
diff --git a/tests/unit/states/archive_test.py b/tests/unit/states/archive_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/archive_test.py +++ b/tests/unit/states/archive_test.py @@ -11,12 +11,18 @@ import tempfile # Import Salt Testing libs from salttesting import TestCase, skipIf from salttesting.helpe...
Python 3 compat fix for states/archive_test.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( author_email='erikrose@grinchcentral.com', license='GPL', packages=find_packages(exclude=['ez_setup']), - install_requires=['Nose>=0.11.0', 'blessings>=1.1'], + install_requires=['Nos...
Stick to Blessings 1.x, just in case I change the API in <I>. (That's why I'd call in <I> in the first place.)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from os import path here = path.abspath(path.dirname(__file__)) __author__ = 'Magnus Knutas' -VERSION = '1.2.7' +VERSION = '1.2.8' with open("README.md", "r") as fh: long_description = fh.read()
Version bump Took 1 hour 9 minutes
py
diff --git a/hdbscan/validity.py b/hdbscan/validity.py index <HASH>..<HASH> 100644 --- a/hdbscan/validity.py +++ b/hdbscan/validity.py @@ -348,6 +348,10 @@ def validity_index(X, labels, metric='euclidean', internal_nodes_i = mst_nodes[i] for j in range(i + 1, max_cluster_id): + + if np.su...
Shouldn't have size zero clusters -- missed a case
py
diff --git a/eqcorrscan/core/match_filter.py b/eqcorrscan/core/match_filter.py index <HASH>..<HASH> 100644 --- a/eqcorrscan/core/match_filter.py +++ b/eqcorrscan/core/match_filter.py @@ -484,15 +484,12 @@ def match_filter(template_names, template_list, st, threshold, # Copy this here to keep it safe for stach...
Remove daylong NaN padding Instead remove traces from templates that are un-needed. Still pad templates with NaN traces, but this is a small increase in memory usage. We are able to do this now because we copy the stream in memory. Former-commit-id: a<I>bf3bc2a1ab<I>d7ca<I>e5aa1bb3d<I>b3
py
diff --git a/src/transformers/models/encoder_decoder/modeling_tf_encoder_decoder.py b/src/transformers/models/encoder_decoder/modeling_tf_encoder_decoder.py index <HASH>..<HASH> 100644 --- a/src/transformers/models/encoder_decoder/modeling_tf_encoder_decoder.py +++ b/src/transformers/models/encoder_decoder/modeling_tf_...
Fix #<I> (#<I>)
py
diff --git a/libexec/discovery/nmap_discovery_runner.py b/libexec/discovery/nmap_discovery_runner.py index <HASH>..<HASH> 100755 --- a/libexec/discovery/nmap_discovery_runner.py +++ b/libexec/discovery/nmap_discovery_runner.py @@ -356,6 +356,10 @@ for h in hosts: if ios: #print os.__dict__ cls = ...
bugfix for discovering linux hosts with recent nmap versions
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 @@ -2225,10 +2225,10 @@ def managed(name, follow_symlinks, skip_verify, keep_mode, - win_owner, - win_pe...
Pass win_* options as kwargs when calling file.manage_file in file.managed state Fixes #<I>
py
diff --git a/shinken/daemon.py b/shinken/daemon.py index <HASH>..<HASH> 100644 --- a/shinken/daemon.py +++ b/shinken/daemon.py @@ -1012,7 +1012,7 @@ class Daemon(object): return r @staticmethod - def print_unrecoverable(self, trace): + def print_unrecoverable(trace): logger.critical("I go...
Enh: Remove self in staticmethod
py
diff --git a/source/rafcon/gui/controllers/menu_bar.py b/source/rafcon/gui/controllers/menu_bar.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/controllers/menu_bar.py +++ b/source/rafcon/gui/controllers/menu_bar.py @@ -778,7 +778,7 @@ class MenuBarController(ExtendedController): self.shortcut_manager.t...
Menu Bar: Fixed add functionality in Menu bar Error occured due to renaming of shortcut actions
py
diff --git a/packaging/bin/generate_index.py b/packaging/bin/generate_index.py index <HASH>..<HASH> 100755 --- a/packaging/bin/generate_index.py +++ b/packaging/bin/generate_index.py @@ -310,7 +310,9 @@ def process_dir(top_dir, opts): </defs> </svg> <header> - <svg class="logo" viewBox="0 0 220.227 213.73...
Link k6 logo to home Resolves <URL>
py
diff --git a/salt/utils/gitfs.py b/salt/utils/gitfs.py index <HASH>..<HASH> 100644 --- a/salt/utils/gitfs.py +++ b/salt/utils/gitfs.py @@ -367,7 +367,12 @@ class GitProvider(object): ''' Programatically determine config value based on the desired saltenv ''' - def _getconf(self, tgt_en...
Fix winrepo root in develop It's not playing nicely with the new per-saltenv config overlay code that I wrote, this code is gitfs only so this commit adds a check for gitfs to keep this problem from occurring.
py