diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/totembionet/discrete-model/discrete_model/parser.py b/totembionet/discrete-model/discrete_model/parser.py index <HASH>..<HASH> 100644 --- a/totembionet/discrete-model/discrete_model/parser.py +++ b/totembionet/discrete-model/discrete_model/parser.py @@ -24,7 +24,7 @@ def parse_smbionet_output_string(string...
Suppression of the re.Pattern typing in the parser. Because the re.pattern class only exists since python <I>, the parser is not compatible with other python versions. So we remove it.
py
diff --git a/pydvdid/__init__.py b/pydvdid/__init__.py index <HASH>..<HASH> 100644 --- a/pydvdid/__init__.py +++ b/pydvdid/__init__.py @@ -0,0 +1 @@ +impor sys
test syntactic error in py file
py
diff --git a/binstar_client/scripts/cli.py b/binstar_client/scripts/cli.py index <HASH>..<HASH> 100644 --- a/binstar_client/scripts/cli.py +++ b/binstar_client/scripts/cli.py @@ -52,7 +52,7 @@ def main(args=None, exit=True): for command in sub_commands(): command.add_parser(subparsers) - args, unknow...
FIX: don't allow unknown args
py
diff --git a/demands/service.py b/demands/service.py index <HASH>..<HASH> 100644 --- a/demands/service.py +++ b/demands/service.py @@ -28,10 +28,7 @@ class Request(object): arguments['cookies'] = self.cookies arguments['headers'] = self.headers arguments['auth'] = self.auth - - if self...
Refactor how "verify" is set
py
diff --git a/beets/mediafile.py b/beets/mediafile.py index <HASH>..<HASH> 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -329,7 +329,7 @@ class Image(object): try: type = list(ImageType)[type] except IndexError: - log.warn("ignoring unknown image ty...
Changelog and style for #<I> Original: beetbox/beets@1a<I>
py
diff --git a/girc/features.py b/girc/features.py index <HASH>..<HASH> 100644 --- a/girc/features.py +++ b/girc/features.py @@ -3,6 +3,14 @@ # Released under the ISC license from .utils import CaseInsensitiveDict +_limits = [ + 'nicklen', + 'channellen', + 'topiclen', + 'userlen', + 'linelen', +] + ...
[features] Add *LENs
py
diff --git a/harvesters/frontend/pyqt5.py b/harvesters/frontend/pyqt5.py index <HASH>..<HASH> 100755 --- a/harvesters/frontend/pyqt5.py +++ b/harvesters/frontend/pyqt5.py @@ -19,6 +19,7 @@ # Standard library imports +import os import sys # Related third party imports @@ -56,8 +57,10 @@ class Harvester(QMainWin...
Make the profiling feature configurable through an environment variable Set HARVESTER_PROFILE if you want to profile Harvester. If it didn't find it in the list, Harvester disables the profiling feature.
py
diff --git a/cumulusci/cli/cci.py b/cumulusci/cli/cci.py index <HASH>..<HASH> 100644 --- a/cumulusci/cli/cci.py +++ b/cumulusci/cli/cci.py @@ -968,7 +968,9 @@ def org_list(config, plain): domain = urlparse(instance_url).hostname or "" if domain: domain = domain.rep...
Correct CCI.py to match new API name.
py
diff --git a/src/feat/common/log.py b/src/feat/common/log.py index <HASH>..<HASH> 100644 --- a/src/feat/common/log.py +++ b/src/feat/common/log.py @@ -259,15 +259,23 @@ class PythonLogKeeper(object): def __init__(self, logger): self._logger = logger + from feat.extern.log import log as flulog + ...
Make category, file, line available to standard python logger
py
diff --git a/uptick/vesting.py b/uptick/vesting.py index <HASH>..<HASH> 100644 --- a/uptick/vesting.py +++ b/uptick/vesting.py @@ -53,3 +53,21 @@ def claim(ctx, vestingid, account, amount): amount=amount, account=vesting["owner"] )) + + +@main.command() +@click.option("--account", default=None) +...
[reserve] allow to reserve asset
py
diff --git a/scapy/layers/netflow.py b/scapy/layers/netflow.py index <HASH>..<HASH> 100644 --- a/scapy/layers/netflow.py +++ b/scapy/layers/netflow.py @@ -25,6 +25,7 @@ Using the netflowv9_defragment/ipfix_defragment commands: >>> sniff(session=NetflowSession, prn=[...]) """ +import socket import struct from sc...
Do not rely on IP_PROTOS[tcp]
py
diff --git a/dbt/main.py b/dbt/main.py index <HASH>..<HASH> 100644 --- a/dbt/main.py +++ b/dbt/main.py @@ -477,6 +477,7 @@ def parse_args(args): for sub in [run_sub, compile_sub, generate_sub]: sub.add_argument( + '-m', '--models', required=False, nargs=...
add "-m" shorthand for models
py
diff --git a/cnxpublishing/db.py b/cnxpublishing/db.py index <HASH>..<HASH> 100644 --- a/cnxpublishing/db.py +++ b/cnxpublishing/db.py @@ -652,7 +652,7 @@ FROM pending_resources WHERE hash = %s""", (hash,)) data, media_type = cursor.fetchone() document.resources.append(cnxepub.Resourc...
Fixes TypeError for a non-buffer interface.
py
diff --git a/Lib/ufo2ft/maxContextCalc.py b/Lib/ufo2ft/maxContextCalc.py index <HASH>..<HASH> 100644 --- a/Lib/ufo2ft/maxContextCalc.py +++ b/Lib/ufo2ft/maxContextCalc.py @@ -59,7 +59,7 @@ def maxCtxSubtable(maxCtx, tag, lookupType, st): # reverse-chained context elif tag == 'GSUB' and lookupType == 8: - ...
maxContextCalc: Reverse chained sub lookup has GlyphCount instead of InputGlyphCount
py
diff --git a/atrcopy/segments.py b/atrcopy/segments.py index <HASH>..<HASH> 100755 --- a/atrcopy/segments.py +++ b/atrcopy/segments.py @@ -77,6 +77,17 @@ class DefaultSegment(object): start, end = end, start s[start:end] |= style_bits + def get_style_ranges(self, **kwargs): + ...
Added function to return ranges of selected styles
py
diff --git a/owslib/util.py b/owslib/util.py index <HASH>..<HASH> 100644 --- a/owslib/util.py +++ b/owslib/util.py @@ -144,8 +144,10 @@ def testXMLValue(val, attrib=False): if val is not None: if attrib == True: return val.strip() - else: + elif val.text: return v...
strip can not been called on empty element, for example '<Abstract />', we need to check first if the element has a text content
py
diff --git a/tests/test_check_parallel.py b/tests/test_check_parallel.py index <HASH>..<HASH> 100644 --- a/tests/test_check_parallel.py +++ b/tests/test_check_parallel.py @@ -313,17 +313,6 @@ class TestCheckParallel: This test becomes mre important if we want to change how we paraterise the checkers...
review fixes| Remvoes debug print in test
py
diff --git a/wd_property_store.py b/wd_property_store.py index <HASH>..<HASH> 100755 --- a/wd_property_store.py +++ b/wd_property_store.py @@ -286,6 +286,12 @@ wd_properties = { 'name': 'Ensembl Protein ID', 'domain': ['proteins'], 'core_id': 'False' + }, + 'P702': { + 'datatype'...
extended ProteinBos with: - encoded by (P<I>) - EC Number (P<I>)
py
diff --git a/setuptools/command/install.py b/setuptools/command/install.py index <HASH>..<HASH> 100644 --- a/setuptools/command/install.py +++ b/setuptools/command/install.py @@ -91,14 +91,21 @@ class install(orig.install): msg = "For best results, pass -X:Frames to enable call stack." ...
Make install consider dist.run_command is overwritten in <I> Starting in <I>, setuptools.dist overwrites distutils.dist.run_command to add auto-discovery functionality on top of the original implementation. This change modifies the existing code in setuptools.command.install to consider that previous change when tryi...
py
diff --git a/law/task/base.py b/law/task/base.py index <HASH>..<HASH> 100644 --- a/law/task/base.py +++ b/law/task/base.py @@ -40,14 +40,22 @@ class BaseRegister(luigi.task_register.Register): # default attributes, irrespective of inheritance classdict.setdefault("exclude_index", False) - # u...
Add mechanism to further control excluded parameters in tasks.
py
diff --git a/create_app.py b/create_app.py index <HASH>..<HASH> 100644 --- a/create_app.py +++ b/create_app.py @@ -75,7 +75,7 @@ APP = ['Spyder.py'] DEPS = ['pylint', 'logilab_astng', 'logilab_common', 'pep8', 'setuptools'] EXCLUDES = DEPS + ['mercurial', 'nose'] PACKAGES = ['spyderlib', 'spyderplugins', 'sphinx', '...
Mac app: Add PyQt to the app's packages - This lets the user to load and interact with PyQt. It'll be weird if this wouldn't be possible since it comes with app.
py
diff --git a/confidence.py b/confidence.py index <HASH>..<HASH> 100644 --- a/confidence.py +++ b/confidence.py @@ -121,6 +121,7 @@ class Configuration(Mapping): between keys """ self._separator = separator + self._root = self self._source = {} for source in sour...
Add a _root member to Configuration
py
diff --git a/tests/integration/py2/nupic/engine/vector_file_sensor_test.py b/tests/integration/py2/nupic/engine/vector_file_sensor_test.py index <HASH>..<HASH> 100755 --- a/tests/integration/py2/nupic/engine/vector_file_sensor_test.py +++ b/tests/integration/py2/nupic/engine/vector_file_sensor_test.py @@ -31,7 +31,6 @@...
Slight simplification of vector file sensor test.
py
diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py index <HASH>..<HASH> 100644 --- a/netmiko/base_connection.py +++ b/netmiko/base_connection.py @@ -275,11 +275,12 @@ class BaseSSHConnection(object): # Check if the only thing you received was a newline count = 0 - while coun...
Fixing bug with find_prompt and trailing newline
py
diff --git a/enlighten/_counter.py b/enlighten/_counter.py index <HASH>..<HASH> 100644 --- a/enlighten/_counter.py +++ b/enlighten/_counter.py @@ -427,11 +427,9 @@ class Counter(PrintableCounter): # Clock stops running when total is reached if self.count == self.total: - elapsed = self.la...
Simplify Counter.elapsed
py
diff --git a/Test/function_test.py b/Test/function_test.py index <HASH>..<HASH> 100644 --- a/Test/function_test.py +++ b/Test/function_test.py @@ -545,5 +545,10 @@ Example : online_help("J") or online_help(2) 0.5016 >>> cm.GM[1] 0.722841614740048 +>>> cm = ConfusionMatrix(matrix={1:{1:22,0:18},0:{1:2,0:14}}) # Verif...
fix : Pearson's C verified testcase added #<I>
py
diff --git a/zinnia/__init__.py b/zinnia/__init__.py index <HASH>..<HASH> 100644 --- a/zinnia/__init__.py +++ b/zinnia/__init__.py @@ -1,5 +1,5 @@ """Zinnia""" -__version__ = '0.15.2.dev0' +__version__ = '0.15.2' __license__ = 'BSD License' __author__ = 'Fantomas42'
Bumping to version <I>
py
diff --git a/mmcv/runner/base_module.py b/mmcv/runner/base_module.py index <HASH>..<HASH> 100644 --- a/mmcv/runner/base_module.py +++ b/mmcv/runner/base_module.py @@ -47,8 +47,8 @@ class BaseModule(nn.Module, metaclass=ABCMeta): module.init_weight() self._is_init = True else: ...
[Enhancement]: add more detail of warning in basemodule (#<I>)
py
diff --git a/spikeextractors/extractors/cellexplorersortingextractor/cellexplorersortingextractor.py b/spikeextractors/extractors/cellexplorersortingextractor/cellexplorersortingextractor.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/cellexplorersortingextractor/cellexplorersortingextractor.py +++ b/s...
Eliminated erronous nesting in non scipy reading
py
diff --git a/pypsa/components.py b/pypsa/components.py index <HASH>..<HASH> 100644 --- a/pypsa/components.py +++ b/pypsa/components.py @@ -57,8 +57,9 @@ from .io import (export_to_csv_folder, import_from_csv_folder, import_series_from_dataframe, import_from_pandapower_net) from .pf import (network_...
components: find cycles when determining network topology
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup(name = "aiodns", license = "MIT", long_description = codecs.open("README.rst", encoding="utf-8").read(), long_description_content_type = "text/x-rst", - insta...
Bump pycares dependency
py
diff --git a/wpull/builder.py b/wpull/builder.py index <HASH>..<HASH> 100644 --- a/wpull/builder.py +++ b/wpull/builder.py @@ -101,7 +101,7 @@ class Builder(object): 'DemuxDocumentScraper': DemuxDocumentScraper, 'DemuxRecorder': DemuxRecorder, 'DemuxURLFilter': DemuxURLFilter, - ...
fixup! builder: Stub in FTP functions.
py
diff --git a/pyt/__main__.py b/pyt/__main__.py index <HASH>..<HASH> 100644 --- a/pyt/__main__.py +++ b/pyt/__main__.py @@ -65,11 +65,9 @@ def retrieve_nosec_lines( def main(command_line_args=sys.argv[1:]): # noqa: C901 args = parse_args(command_line_args) - ui_mode = UImode.NORMAL + ui_mode = UImode.TRIM...
Removed reference to UImode.NORMAL
py
diff --git a/rootpy/io/pickler.py b/rootpy/io/pickler.py index <HASH>..<HASH> 100644 --- a/rootpy/io/pickler.py +++ b/rootpy/io/pickler.py @@ -293,7 +293,8 @@ class Unpickler(pickle.Unpickler): return obj def persistent_load(self, pid): - pid = pid.decode('utf-8') + if sys.version_info[0] ...
fix broken pickler test due to py2 compat string handling
py
diff --git a/sphinx_hwt/sphinx_hwt.py b/sphinx_hwt/sphinx_hwt.py index <HASH>..<HASH> 100644 --- a/sphinx_hwt/sphinx_hwt.py +++ b/sphinx_hwt/sphinx_hwt.py @@ -18,6 +18,7 @@ import logging # http://www.sphinx-doc.org/en/stable/extdev/index.html#dev-extensions + def synthesised(u: Unit, targetPlatform=DummyPlatform...
SchematicLink: use names instead ids * it seems that on some platforms ids are lowercase
py
diff --git a/greenhouse/backdoor.py b/greenhouse/backdoor.py index <HASH>..<HASH> 100644 --- a/greenhouse/backdoor.py +++ b/greenhouse/backdoor.py @@ -50,7 +50,7 @@ def backdoor_handler(clientsock, namespace=None): namespace is optionally a dictionary that will serve as the execution context for the interpret...
go for just one send() call after each input line
py
diff --git a/holoviews/core/traversal.py b/holoviews/core/traversal.py index <HASH>..<HASH> 100644 --- a/holoviews/core/traversal.py +++ b/holoviews/core/traversal.py @@ -23,8 +23,9 @@ def uniform(obj): dim_groups = obj.traverse(lambda x: tuple(x.key_dimensions), ('HoloMap',)) i...
uniform and unique_dimkeys utils now work with Dimension strings
py
diff --git a/ddsc/core/handover.py b/ddsc/core/handover.py index <HASH>..<HASH> 100644 --- a/ddsc/core/handover.py +++ b/ddsc/core/handover.py @@ -8,7 +8,7 @@ import requests from ddsc.core.upload import ProjectUpload from ddsc.core.download import ProjectDownload -DRAFT_USER_ACCESS_ROLE = 'project_viewer' +DRAFT_U...
file_downloader for mail_draft
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ if __name__ == '__main__': license = 'GPLv2', install_requires=['ctypes', ], py_modules = ['vmguestlib', ], - scripts=[ 'bin/vmguest-stats', ], + scripts=[ 'vmguest-stats...
Update setup.py fixed path of script. Not in bin directory.
py
diff --git a/bids/modeling/statsmodels.py b/bids/modeling/statsmodels.py index <HASH>..<HASH> 100644 --- a/bids/modeling/statsmodels.py +++ b/bids/modeling/statsmodels.py @@ -713,7 +713,7 @@ class BIDSStatsModelsNodeOutput: # Dummy contrasts first, they are over-ridden if a contrast with the same # na...
Use in_contrasts which includes dummy contrasts
py
diff --git a/vasppy/procar.py b/vasppy/procar.py index <HASH>..<HASH> 100644 --- a/vasppy/procar.py +++ b/vasppy/procar.py @@ -36,7 +36,7 @@ class Procar: else: raise self.projection_data = np.array( projection_data, dtype = float ) - self.number_of_projections = self.proje...
Ensured that a Procar instance has an integer number_of_projections attribute after parsing a PROCAR file
py
diff --git a/goose/text.py b/goose/text.py index <HASH>..<HASH> 100644 --- a/goose/text.py +++ b/goose/text.py @@ -95,7 +95,12 @@ class StopWords(object): # to generate dynamic path for file to load if not language in self._cached_stop_words: path = os.path.join('text', 'stopwords-%s.txt'...
Do not fail when stopword list is not available for a certain language
py
diff --git a/peyotl/phylesystem/__init__.py b/peyotl/phylesystem/__init__.py index <HASH>..<HASH> 100644 --- a/peyotl/phylesystem/__init__.py +++ b/peyotl/phylesystem/__init__.py @@ -564,6 +564,12 @@ class _Phylesystem(object): self._study2shard_map[new_study_id] = self._growing_shard return new_s...
get_study_ids method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ #!/usr/bin/env python import re -from distutils.command.build import build from glob import glob from itertools import chain from os.path import basename @@ -12,6 +11,11 @@ from os.path import splitext fro...
migrate build command from distutils to setuptools
py
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index <HASH>..<HASH> 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -361,6 +361,7 @@ def setup_cluster(conn, master_nodes, slave_nodes, zoo_nodes, opts, deploy_ssh_k print "Copying SSH key %s to master..." % opts.identity_file ssh(master, opts, 'mkdir ...
Make sure the SSH key we copy to EC2 has permissions <I>. SPARK-<I> #resolve
py
diff --git a/validator/testcases/regex.py b/validator/testcases/regex.py index <HASH>..<HASH> 100644 --- a/validator/testcases/regex.py +++ b/validator/testcases/regex.py @@ -737,6 +737,8 @@ class Gecko18RegexTests(CompatRegexTestHelper): VERSION = FX18_DEFINITION + BLOB_URL = "https://developer.mozilla.org...
Added additional link to BlobBuilder compat test
py
diff --git a/bitshares/aio/market.py b/bitshares/aio/market.py index <HASH>..<HASH> 100644 --- a/bitshares/aio/market.py +++ b/bitshares/aio/market.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- from datetime import datetime, timedelta +from asyncinit import asyncinit from bitsharesbase import operations @@ -12,6 +1...
Async Market needs asyncinit
py
diff --git a/doctr/local.py b/doctr/local.py index <HASH>..<HASH> 100644 --- a/doctr/local.py +++ b/doctr/local.py @@ -264,7 +264,7 @@ def guess_github_repo(): Returns False if no guess can be made. """ - p = subprocess.run(['git', 'remote', 'get-url', 'origin'], + p = subprocess.run(['git', 'ls-remot...
Use a git command to find the remote that works on older versions of git
py
diff --git a/sos/remote.py b/sos/remote.py index <HASH>..<HASH> 100755 --- a/sos/remote.py +++ b/sos/remote.py @@ -103,7 +103,7 @@ class RemoteHost: def map_path(self, source): result = {} if isinstance(source, str): - dest = os.path.abspath(source) + dest = os.path.abspath(...
Handle ~ in path_map
py
diff --git a/psiturk/models.py b/psiturk/models.py index <HASH>..<HASH> 100644 --- a/psiturk/models.py +++ b/psiturk/models.py @@ -34,7 +34,7 @@ class Participant(Base): endhit = Column(DateTime) bonus = Column(Float, default = 0) status = Column(Integer, default = 1) - datastring = Column(Text(429496...
Removed the length specification for the datastring column in the participant model. Database creation fails for postgreSQL when a length is specified for TEXT type columns.
py
diff --git a/attitude/error/axes.py b/attitude/error/axes.py index <HASH>..<HASH> 100644 --- a/attitude/error/axes.py +++ b/attitude/error/axes.py @@ -82,7 +82,7 @@ def noise_axes(fit, confidence_level=0.95, dof=2): e = fit.eigenvalues return apply_error_scaling(e, sigma*N.sqrt(cov)) -def __angular_error(hy...
Changed the name of a private function to make it public
py
diff --git a/tests/models/test_renderedtifields.py b/tests/models/test_renderedtifields.py index <HASH>..<HASH> 100644 --- a/tests/models/test_renderedtifields.py +++ b/tests/models/test_renderedtifields.py @@ -211,7 +211,7 @@ class TestRenderedTaskInstanceFields: for a given task_id and dag_id with mapped tas...
Fix RTIF test against the apply-expand (#<I>)
py
diff --git a/utils/check_repo.py b/utils/check_repo.py index <HASH>..<HASH> 100644 --- a/utils/check_repo.py +++ b/utils/check_repo.py @@ -315,7 +315,7 @@ def find_all_documented_objects(): """ Parse the content of all doc files to detect which classes and functions it documents""" documented_obj = [] fo...
Fix open (#<I>)
py
diff --git a/trakt/__init__.py b/trakt/__init__.py index <HASH>..<HASH> 100644 --- a/trakt/__init__.py +++ b/trakt/__init__.py @@ -1,7 +1,7 @@ from trakt.client import TraktClient from trakt.helpers import has_attribute -__version__ = '0.5.2-develop' +__version__ = '0.5.3-beta' class TraktMeta(type):
Bumped version to <I>
py
diff --git a/datascience/table.py b/datascience/table.py index <HASH>..<HASH> 100644 --- a/datascience/table.py +++ b/datascience/table.py @@ -749,17 +749,22 @@ def _zero_on_type_error(column_fn): return wrapped -def _fill_with_zeroes(order, rows, zero=None): - """Return a column of the index-1 elements in ...
Add support for compound keys to _fill_with_zeroes
py
diff --git a/myql/myql.py b/myql/myql.py index <HASH>..<HASH> 100755 --- a/myql/myql.py +++ b/myql/myql.py @@ -106,10 +106,12 @@ class MYQL(object): args is a list of ['column', 'operator', 'value'] ''' if cond[1].lower() == 'in': - #cond[2] = "({0})".format(','.join(map(str,[ "'{0}'".format(e) f...
fix #<I>: IN condition fixed
py
diff --git a/openquake/calculators/hazard/general.py b/openquake/calculators/hazard/general.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/general.py +++ b/openquake/calculators/hazard/general.py @@ -245,7 +245,6 @@ class BaseHazardCalculator(Calculator): site_model = models.inputs4job( ...
Removed a breakpoint; it shouldn't have been committed. Former-commit-id: a<I>d<I>b<I>abc<I>bd5e<I>ed<I>b6dae<I>
py
diff --git a/scapy/utils.py b/scapy/utils.py index <HASH>..<HASH> 100644 --- a/scapy/utils.py +++ b/scapy/utils.py @@ -622,7 +622,7 @@ class RawPcapReader: return self def __exit__(self, exc_type, exc_value, tracback): - pass + self.close() class PcapReader(RawPcapReader): @@ -744,6 +...
Closing file on __exit__ in RawPcapReader, RawPcapWriter
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ setup( license='License :: OSI Approved :: ISC License (ISCL)', long_description=long_description, name='aslack', - packages=['aslack'], + packages=['aslack', 'aslack.slack_bot'], platf...
Fix missing setup.py package Fixing an issue with not well working pip install command
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -179,7 +179,8 @@ def init_demo(): print(green('Creating database...')) manage('migrate', verbosity=0) print(green('Initiating CA...')) - manage('init_ca', 'Root CA', 'AT', 'Vienna', 'Vienna', 'example...
main CA must have pathlen=1
py
diff --git a/tests/test_transforms.py b/tests/test_transforms.py index <HASH>..<HASH> 100644 --- a/tests/test_transforms.py +++ b/tests/test_transforms.py @@ -2,6 +2,8 @@ from datetime import timedelta from collections import defaultdict from unittest2 import TestCase +from logbook.compat import LoggingHandler + i...
Logging compat for test_transforms.
py
diff --git a/recordext/functions/set_record_documents.py b/recordext/functions/set_record_documents.py index <HASH>..<HASH> 100644 --- a/recordext/functions/set_record_documents.py +++ b/recordext/functions/set_record_documents.py @@ -24,7 +24,7 @@ import os from invenio.base.utils import toposort_depends from inveni...
pidstore: removal of recid provider * INCOMPATIBLE Removes recid provider, reserve recid function and * datacite tasks as they were ported to invenio-records package. (addresses inveniosoftware/invenio-records#6)
py
diff --git a/iktomi/cli/base.py b/iktomi/cli/base.py index <HASH>..<HASH> 100644 --- a/iktomi/cli/base.py +++ b/iktomi/cli/base.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import sys +import os import datetime @@ -27,6 +28,15 @@ def manage(commands, argv=None, delim=':'): are passed to the method. For deta...
stub for autocompletion; the interface should be the same as for django
py
diff --git a/cloudvolume/secrets.py b/cloudvolume/secrets.py index <HASH>..<HASH> 100644 --- a/cloudvolume/secrets.py +++ b/cloudvolume/secrets.py @@ -5,9 +5,19 @@ import json from google.oauth2 import service_account -from .lib import mkdir +from .lib import mkdir, colorize + +backwards_compatible_path = os.path....
feat: backwards compatibility with ~/.neuroglancer (#<I>)
py
diff --git a/tcconfig/parser.py b/tcconfig/parser.py index <HASH>..<HASH> 100644 --- a/tcconfig/parser.py +++ b/tcconfig/parser.py @@ -20,7 +20,7 @@ class TcFilterParser(object): __FILTER_PATTERN = ( pp.Literal("filter parent") + pp.SkipTo("flowid", include=True) + - pp.Word(pp.alphanums +...
Modify parsing pattern of id (hex)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import find_packages, setup package_name = 'grift' setup(name=package_name, - version='0.6.0', + version='0.7.0', description='A clean approach to app configuration', ke...
updating requests restriction (#<I>)
py
diff --git a/pyvera/subscribe.py b/pyvera/subscribe.py index <HASH>..<HASH> 100644 --- a/pyvera/subscribe.py +++ b/pyvera/subscribe.py @@ -86,6 +86,8 @@ class SubscriptionRegistry(object): if not (state == STATE_JOB_DONE or state == STATE_NOT_PRESENT or state == STATE_NO_JOB o...
Include missing lines Includes missing lines in the commit
py
diff --git a/tsfresh/feature_extraction/feature_calculators.py b/tsfresh/feature_extraction/feature_calculators.py index <HASH>..<HASH> 100644 --- a/tsfresh/feature_extraction/feature_calculators.py +++ b/tsfresh/feature_extraction/feature_calculators.py @@ -696,7 +696,7 @@ def fft_coefficient(x, c, param): if...
Fixed bug that was introduced in 3b<I>eb<I>ccabb1d<I>edcf5b<I>bee<I>f3
py
diff --git a/vent/core/rq_worker/watch.py b/vent/core/rq_worker/watch.py index <HASH>..<HASH> 100644 --- a/vent/core/rq_worker/watch.py +++ b/vent/core/rq_worker/watch.py @@ -83,11 +83,11 @@ def gpu_queue(options): # check for vent usage/processes running if (dedicated and ...
dict key is an int not a string :(
py
diff --git a/paramiko/packet.py b/paramiko/packet.py index <HASH>..<HASH> 100644 --- a/paramiko/packet.py +++ b/paramiko/packet.py @@ -172,7 +172,7 @@ class Packetizer(object): mac_engine, mac_size, mac_key, - etm=False + etm=False, ): """ Switch inbound d...
Make black - py<I> happy.
py
diff --git a/anpy/dossier_like_senapy.py b/anpy/dossier_like_senapy.py index <HASH>..<HASH> 100644 --- a/anpy/dossier_like_senapy.py +++ b/anpy/dossier_like_senapy.py @@ -149,7 +149,7 @@ def parse(html, url_an=None, verbose=True, first_dosleg_in_page=True): no_step_but_good_link = False if 'Rapport po...
dossier_like_senapy: force matching a link for a projet de loi a bit hacky but it does it's work ex for failure case: <URL>
py
diff --git a/zipline/transforms/utils.py b/zipline/transforms/utils.py index <HASH>..<HASH> 100644 --- a/zipline/transforms/utils.py +++ b/zipline/transforms/utils.py @@ -17,6 +17,7 @@ """ Generator versions of transforms. """ +import functools import types import logbook import numpy @@ -594,6 +595,7 @@ def batc...
BUG: Preseve docstring in batch functions The batch_transform decorator wipes out the doc string of the function it wraps. Decorate the creator with functools.wraps to preserve function metadata.
py
diff --git a/locksmith/hub/models.py b/locksmith/hub/models.py index <HASH>..<HASH> 100644 --- a/locksmith/hub/models.py +++ b/locksmith/hub/models.py @@ -44,6 +44,7 @@ class Api(models.Model): status_message = models.TextField('A more detailed status message', null=True, blank=True) display_name = models.Tex...
changed api model to have tools text field
py
diff --git a/fusesoc/section.py b/fusesoc/section.py index <HASH>..<HASH> 100644 --- a/fusesoc/section.py +++ b/fusesoc/section.py @@ -93,12 +93,15 @@ class Section(object): class ScriptsSection(Section): TAG = 'scripts' - def __init__(self): + def __init__(self, items=None): super(ScriptsSection...
Add item loading in ScriptsSection
py
diff --git a/ansible/modules/hashivault/hashivault_aws_role_create.py b/ansible/modules/hashivault/hashivault_aws_role_create.py index <HASH>..<HASH> 100644 --- a/ansible/modules/hashivault/hashivault_aws_role_create.py +++ b/ansible/modules/hashivault/hashivault_aws_role_create.py @@ -164,10 +164,11 @@ def hashivault_...
added exception handler which then creates the role is none found
py
diff --git a/sonnet/python/modules/basic.py b/sonnet/python/modules/basic.py index <HASH>..<HASH> 100644 --- a/sonnet/python/modules/basic.py +++ b/sonnet/python/modules/basic.py @@ -73,7 +73,7 @@ def merge_leading_dims(array_or_tensor, n_dims=2): # Shape can't be inferred statically. tensor_shape = tf.shape(te...
Replace keep_dims with keepdims in call to tf.reduce_prod() PiperOrigin-RevId: <I>
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -301,9 +301,16 @@ def _windows_platform_data(osdata): grains['osrelease'] = osrelease if osversion: grains['osversion'] = osversion - get_these_grains = { '...
Made some cosmetic changes to improve readability per some suggestions from SEJeff.
py
diff --git a/RAPIDpy/inflow/generate_return_periods.py b/RAPIDpy/inflow/generate_return_periods.py index <HASH>..<HASH> 100644 --- a/RAPIDpy/inflow/generate_return_periods.py +++ b/RAPIDpy/inflow/generate_return_periods.py @@ -122,13 +122,14 @@ def generate_return_periods(qout_file, return_period_file, num_cpus, storm_...
fixed bug generating list where there is a job to do
py
diff --git a/fs/opener/sshfs.py b/fs/opener/sshfs.py index <HASH>..<HASH> 100644 --- a/fs/opener/sshfs.py +++ b/fs/opener/sshfs.py @@ -1,6 +1,6 @@ from ._base import Opener from ._registry import registry - +from ..subfs import ClosingSubFS @registry.install class SSHOpener(Opener): @@ -18,4 +18,8 @@ class SSHOpe...
Fix SSHOpener to use the new ClosingSubFS
py
diff --git a/optlang/cplex_interface.py b/optlang/cplex_interface.py index <HASH>..<HASH> 100644 --- a/optlang/cplex_interface.py +++ b/optlang/cplex_interface.py @@ -178,6 +178,8 @@ class Variable(interface.Variable): @property def dual(self): if self.problem is not None: + if self.proble...
In the cplex interface don't try to access reduced costs if problem type is MILP
py
diff --git a/rwslib/__init__.py b/rwslib/__init__.py index <HASH>..<HASH> 100644 --- a/rwslib/__init__.py +++ b/rwslib/__init__.py @@ -2,7 +2,7 @@ __title__ = 'rwslib' __author__ = 'Ian Sparks (isparks@mdsol.com)' -__version__ = '1.0.4' +__version__ = '1.0.5' __license__ = 'MIT' __copyright__ = 'Copyright 2015 Me...
Bumped Version Check for XML-like content
py
diff --git a/scapy/tools/UTscapy.py b/scapy/tools/UTscapy.py index <HASH>..<HASH> 100644 --- a/scapy/tools/UTscapy.py +++ b/scapy/tools/UTscapy.py @@ -724,7 +724,7 @@ def usage(): -D\t\t: dump campaign and stop -C\t\t: don't calculate CRC and SHA -c\t\t: load a .utsc config file --i\t\t: drop into python interpreter...
s/python/Python
py
diff --git a/pymysql/connections.py b/pymysql/connections.py index <HASH>..<HASH> 100644 --- a/pymysql/connections.py +++ b/pymysql/connections.py @@ -319,6 +319,9 @@ class Connection(object): argv = getattr(sys, "argv") if argv: program_name = argv[0] + if PY2:...
Support non-ascii program_name on Python 2 (#<I>) Fixes #<I>
py
diff --git a/saltcloud/cloud.py b/saltcloud/cloud.py index <HASH>..<HASH> 100644 --- a/saltcloud/cloud.py +++ b/saltcloud/cloud.py @@ -17,6 +17,8 @@ import salt.utils # Import third party libs import yaml +try: + from mako.template import Template # Get logging started log = logging.getLogger(__name__) @@ -3...
added mako support to salt-cloud map files. if mako is installed, salt-cloud will take advantage of it by default and try to render map files as mako first and then output as yaml. should probably extend to work with a config file option renderer='mako'.
py
diff --git a/nolearn/lasagne.py b/nolearn/lasagne.py index <HASH>..<HASH> 100644 --- a/nolearn/lasagne.py +++ b/nolearn/lasagne.py @@ -149,7 +149,7 @@ class NeuralNet(BaseEstimator): try: self.train_loop(X, y) except KeyboardInterrupt: - pdb.set_trace() + pass ...
Fix #<I>: Don't use pdb when ^C is pressed.
py
diff --git a/pybooru/resources.py b/pybooru/resources.py index <HASH>..<HASH> 100644 --- a/pybooru/resources.py +++ b/pybooru/resources.py @@ -5,9 +5,9 @@ This module contains all resources for Pybooru. SITE_LIST (dict): - Is a dict that contains various based Moebooru, default sites. + Contains various Moebo...
Improves resources.py docstrings
py
diff --git a/partridge/config.py b/partridge/config.py index <HASH>..<HASH> 100644 --- a/partridge/config.py +++ b/partridge/config.py @@ -323,11 +323,8 @@ def add_node_config(g): def reroot_graph(G, node): """Return a copy of the graph rooted at the given node""" G = G.copy() - to_add, to_remove = [], []...
Simplify function to re-root the graph
py
diff --git a/sprinter/injections.py b/sprinter/injections.py index <HASH>..<HASH> 100644 --- a/sprinter/injections.py +++ b/sprinter/injections.py @@ -22,7 +22,7 @@ class Injections(object): logger = None # logging object wrapper = None # the string to wrap around the content. inject_dict = {} # dicti...
more verbose logging for injections
py
diff --git a/iopipe/contrib/logger/plugin.py b/iopipe/contrib/logger/plugin.py index <HASH>..<HASH> 100644 --- a/iopipe/contrib/logger/plugin.py +++ b/iopipe/contrib/logger/plugin.py @@ -82,6 +82,8 @@ class LoggerPlugin(Plugin): def pre_report(self, report): if self.handler.stream.tell(): str...
Make a copy of in-memory buffer to avoid it being mutated before upload
py
diff --git a/nifstd/nifstd_tools/docs.py b/nifstd/nifstd_tools/docs.py index <HASH>..<HASH> 100755 --- a/nifstd/nifstd_tools/docs.py +++ b/nifstd/nifstd_tools/docs.py @@ -400,7 +400,8 @@ def spell(filenames, debug=False): # NOTE if emacs does not point to /usr/bin/emacs or similar this will fail orgstrap_init = (au...
ont-docs use auth resources path instead of working dir hack
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( author='Marcos Cardoso', author_email='vrcmarcos@gmail.com', description='Python Elasticsearch Mock for test purposes', - packages=find_packages(), + packages=find_packages(exclude=('...
Add excludes to setup.py
py
diff --git a/tests/eventlisten.py b/tests/eventlisten.py index <HASH>..<HASH> 100644 --- a/tests/eventlisten.py +++ b/tests/eventlisten.py @@ -63,14 +63,15 @@ def parse(): return opts -def listen(sock_dir, node, id=None): +#def listen(sock_dir, node): +def listen(opts): ''' Attach to the pub socket a...
Fix broken eventlisten and small refactor.
py
diff --git a/sentry_sdk/_compat.py b/sentry_sdk/_compat.py index <HASH>..<HASH> 100644 --- a/sentry_sdk/_compat.py +++ b/sentry_sdk/_compat.py @@ -87,6 +87,6 @@ def check_thread_support(): "We detected the use of uwsgi with disabled threads. " "This will cause issues with the transpor...
Clarify console warning (#<I>)
py
diff --git a/graphistry/tests/test_protobuf.py b/graphistry/tests/test_protobuf.py index <HASH>..<HASH> 100644 --- a/graphistry/tests/test_protobuf.py +++ b/graphistry/tests/test_protobuf.py @@ -3,6 +3,7 @@ import unittest import pandas import numpy +import datetime import graphistry import graphistry.plotter fro...
Test: Added test for NaT in etl2
py
diff --git a/nodemcu_uploader/main.py b/nodemcu_uploader/main.py index <HASH>..<HASH> 100644 --- a/nodemcu_uploader/main.py +++ b/nodemcu_uploader/main.py @@ -5,6 +5,7 @@ import argparse import logging import os +import glob from .uploader import Uploader from .term import terminal from serial import VERSION as s...
use glob on sources without rename. Closes #<I>
py
diff --git a/tests/functional_tests/t0_main/imports/05-batch5.py b/tests/functional_tests/t0_main/imports/05-batch5.py index <HASH>..<HASH> 100644 --- a/tests/functional_tests/t0_main/imports/05-batch5.py +++ b/tests/functional_tests/t0_main/imports/05-batch5.py @@ -11,6 +11,7 @@ depend: pip_install_timeout: 1500 #...
Hotfix for <I>-batch5.py (#<I>)
py
diff --git a/digsandpaper/search_server.py b/digsandpaper/search_server.py index <HASH>..<HASH> 100644 --- a/digsandpaper/search_server.py +++ b/digsandpaper/search_server.py @@ -306,16 +306,16 @@ def apply_config_from_project(url, project, endpoint, index=None, for field_name, spec in project_config["fi...
Consistently lower case types when generating config from mydig
py
diff --git a/pyeda/boolalg/expr.py b/pyeda/boolalg/expr.py index <HASH>..<HASH> 100644 --- a/pyeda/boolalg/expr.py +++ b/pyeda/boolalg/expr.py @@ -24,7 +24,6 @@ abstract syntax tree | 'xor' | 'eq' - Interface Functions: * :func:`exprvar` --- Return a unique Expression variable @@ -36,6 +...
Fix problem with latexpdf nesting depth
py
diff --git a/bokeh/plotting.py b/bokeh/plotting.py index <HASH>..<HASH> 100644 --- a/bokeh/plotting.py +++ b/bokeh/plotting.py @@ -208,6 +208,12 @@ def hold(val=None): val = not _config["hold"] _config["hold"] = val +def curplot(): + """ Returns a reference to the current plot, i.e. the most recently...
Implementing curplot() in plotting.py
py
diff --git a/pygam/links.py b/pygam/links.py index <HASH>..<HASH> 100644 --- a/pygam/links.py +++ b/pygam/links.py @@ -45,7 +45,7 @@ class LogitLink(Link): glm link function this is useful for going from mu to the linear prediction """ - return np.log(mu / (dist.levels - mu)) + ...
changing log(a/b) to log(a) - log(b) to eliminate div by 0 warning
py