diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pywb/rewrite/test/test_cookie_rewriter.py b/pywb/rewrite/test/test_cookie_rewriter.py index <HASH>..<HASH> 100644 --- a/pywb/rewrite/test/test_cookie_rewriter.py +++ b/pywb/rewrite/test/test_cookie_rewriter.py @@ -40,7 +40,8 @@ r""" >>> rewrite_cookie('some=value; Domain=.example.com; Path=/diff/path/; Ma...
rewrite cookie test: disable secure and httponly test as <I> doesn't handle these!
py
diff --git a/gutenberg/metainfo.py b/gutenberg/metainfo.py index <HASH>..<HASH> 100644 --- a/gutenberg/metainfo.py +++ b/gutenberg/metainfo.py @@ -5,6 +5,24 @@ import re import requests +def etextno(lines): + """Retrieves the id for an etext. + + Args: + lines (iter): the lines of the etext to search ...
Etext-uid generation method
py
diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py index <HASH>..<HASH> 100644 --- a/salt/utils/parsers.py +++ b/salt/utils/parsers.py @@ -1509,7 +1509,7 @@ class SaltSSHOptionParser(OptionParser, ConfigDirMixIn, MergeConfigMixIn, else: self.config['tgt'] = self.args[0] if len(sel...
arg_str needs to be a string of everything passed to salt-ssh
py
diff --git a/cyphi/subsystem.py b/cyphi/subsystem.py index <HASH>..<HASH> 100644 --- a/cyphi/subsystem.py +++ b/cyphi/subsystem.py @@ -101,6 +101,9 @@ class Subsystem: def __lt__(self, other): return len(self.nodes) < len(other.nodes) + def __len__(self): + return len(self.nodes) + def __...
Subsystem.__len__ is number of nodes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,10 @@ setup( package_data={ 'maltego_trx/template_dir': [ 'settings.csv', - 'transforms.csv' + 'transforms.csv', + 'docker-compose.yml', + 'Docke...
fix(template): add docker related files and requirements.txt to starter
py
diff --git a/imagesize.py b/imagesize.py index <HASH>..<HASH> 100644 --- a/imagesize.py +++ b/imagesize.py @@ -182,6 +182,24 @@ def get(filepath): break if width == -1 or height == -1: raise ValueError("Invalid TIFF file: width and/or height IDS entries are missing.") ...
Added support for little endian BigTIFF
py
diff --git a/LiSE/setup.py b/LiSE/setup.py index <HASH>..<HASH> 100644 --- a/LiSE/setup.py +++ b/LiSE/setup.py @@ -43,7 +43,7 @@ setup( }, install_requires=[ "astunparse==1.6.3", - "msgpack==1.0.0", + "msgpack>=1.0.0<1.1", "blinker", "networkx==2.4" ],
Be more permissive about msgpack version
py
diff --git a/openquake/hazardlib/geo/surface/gridded.py b/openquake/hazardlib/geo/surface/gridded.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/geo/surface/gridded.py +++ b/openquake/hazardlib/geo/surface/gridded.py @@ -17,7 +17,9 @@ Module :mod:`openquake.hazardlib.geo.surface.gridded` defines :class:`Gri...
Added method to gridded surface
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -66,11 +66,13 @@ setup( 'tensorflow-hub': ['tensorflow-hub>=0.1.1'], 'tests': [ 'absl-py', + # Needed to fix a Travis pytest error. + # https://github.com/Julian/jsonschema/...
Add attr in test deps to fix a travis issue and remove gsutil since it isn't being used in tests. PiperOrigin-RevId: <I>
py
diff --git a/jss/tools.py b/jss/tools.py index <HASH>..<HASH> 100644 --- a/jss/tools.py +++ b/jss/tools.py @@ -157,7 +157,7 @@ def element_str(elem): # deepcopy so we don't mess with the valid XML. pretty_data = copy.deepcopy(elem) indent_xml(pretty_data) - return ElementTree.tostring(pretty_data, enc...
'unicode' is not an encoding that ElementTree understands Switched this to 'UTF_8' as ElementTree returns errors otherwise
py
diff --git a/grimoire_elk/ocean/askbot.py b/grimoire_elk/ocean/askbot.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/ocean/askbot.py +++ b/grimoire_elk/ocean/askbot.py @@ -49,6 +49,14 @@ class Mapping(BaseMapping): "author": { "dynamic":fa...
[ocean] Add mappings for Askbot ocean This code includes the mappings to filter certain fields that may contain large text.
py
diff --git a/pymatgen/apps/borg/hive.py b/pymatgen/apps/borg/hive.py index <HASH>..<HASH> 100644 --- a/pymatgen/apps/borg/hive.py +++ b/pymatgen/apps/borg/hive.py @@ -242,7 +242,9 @@ class SimpleVaspToComputedEntryDrone(VaspToComputedEntryDrone): else: for filename in filenames: ...
Fix for missing DYNMAT. Fixes #<I>.
py
diff --git a/walrus/containers.py b/walrus/containers.py index <HASH>..<HASH> 100644 --- a/walrus/containers.py +++ b/walrus/containers.py @@ -1039,10 +1039,10 @@ class Stream(Container): To specify a maximum number of messages, use the "step" parameter of the slice. """ - if not isins...
Allow indexing stream to retrieve single item.
py
diff --git a/teamcity-messages/teamcity/__init__.py b/teamcity-messages/teamcity/__init__.py index <HASH>..<HASH> 100644 --- a/teamcity-messages/teamcity/__init__.py +++ b/teamcity-messages/teamcity/__init__.py @@ -1,8 +1,8 @@ -__all__ = ['underTeamcity'] +__all__ = ['is_running_under_teamcity'] import os TEAMCIT...
The function name did not match the guidelines in PEP 8.
py
diff --git a/enterprise/__init__.py b/enterprise/__init__.py index <HASH>..<HASH> 100644 --- a/enterprise/__init__.py +++ b/enterprise/__init__.py @@ -4,6 +4,6 @@ Your project description goes here. from __future__ import absolute_import, unicode_literals -__version__ = "0.23.0" +__version__ = "0.23.1" default_...
Version bumped edx-enterprise missed from #<I>
py
diff --git a/stl/__about__.py b/stl/__about__.py index <HASH>..<HASH> 100644 --- a/stl/__about__.py +++ b/stl/__about__.py @@ -1,6 +1,6 @@ __package_name__ = 'numpy-stl' __import_name__ = 'stl' -__version__ = '2.3.2' +__version__ = '2.4.0' __author__ = 'Rick van Hattem' __author_email__ = 'Wolph@Wol.ph' __descript...
Incrementing version to <I>
py
diff --git a/src/pybel/grounding.py b/src/pybel/grounding.py index <HASH>..<HASH> 100644 --- a/src/pybel/grounding.py +++ b/src/pybel/grounding.py @@ -309,6 +309,10 @@ def _remap_by_identifier(concept) -> bool: def _handle_identifier_not_name(*, concept, prefix, identifier) -> bool: + # Some namespaces are just...
Make grounding skip for identifiers
py
diff --git a/telephus/pool.py b/telephus/pool.py index <HASH>..<HASH> 100644 --- a/telephus/pool.py +++ b/telephus/pool.py @@ -734,7 +734,12 @@ class CassandraClusterPool(service.Service): def update_known_nodes(self, ring): for tokenrange in ring: for addr in tokenrange.endpoints: - ...
allow ring nodes to look like addr:port mostly for testing
py
diff --git a/internetarchive/cli/ia_metadata.py b/internetarchive/cli/ia_metadata.py index <HASH>..<HASH> 100644 --- a/internetarchive/cli/ia_metadata.py +++ b/internetarchive/cli/ia_metadata.py @@ -81,7 +81,6 @@ def modify_metadata(item: item.Item, metadata: Mapping, args: Mapping) -> Respon sys.exit(1) ...
Remove the use of typing.cast()
py
diff --git a/taipan/objective/__init__.py b/taipan/objective/__init__.py index <HASH>..<HASH> 100644 --- a/taipan/objective/__init__.py +++ b/taipan/objective/__init__.py @@ -3,7 +3,6 @@ Object-oriented programming utilities. """ import inspect -from taipan._compat import IS_PY26, IS_PY3 from taipan.functional imp...
Fix a bug in .objective utility function
py
diff --git a/moban/utils.py b/moban/utils.py index <HASH>..<HASH> 100644 --- a/moban/utils.py +++ b/moban/utils.py @@ -147,9 +147,7 @@ def verify_the_existence_of_directories(dirs): def find_file_in_template_dirs(src, template_dirs): LOG.debug(template_dirs) for folder in template_dirs: - path = folde...
:hammer: replace custom join with url_join
py
diff --git a/pythonforandroid/bootstraps/common/build/build.py b/pythonforandroid/bootstraps/common/build/build.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/bootstraps/common/build/build.py +++ b/pythonforandroid/bootstraps/common/build/build.py @@ -201,6 +201,7 @@ def make_tar(tfn, source_dirs, ignore_path=[]...
build.py: also clean() tarfile directory entries
py
diff --git a/extensions/management/commands/runjobs.py b/extensions/management/commands/runjobs.py index <HASH>..<HASH> 100644 --- a/extensions/management/commands/runjobs.py +++ b/extensions/management/commands/runjobs.py @@ -35,8 +35,8 @@ class Command(LabelCommand): traceback.print_exc() ...
Changed runjobs_by_dispatcher method to runjobs_by_signals after the signal refactor
py
diff --git a/src/ossos-pipeline/ossos/mpc.py b/src/ossos-pipeline/ossos/mpc.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/mpc.py +++ b/src/ossos-pipeline/ossos/mpc.py @@ -494,9 +494,10 @@ class Observation(object): # the provisional name. if self.minor_planet_number is None or self.m...
ensured tht the provisional name is correctly left justified, regardless of its length.
py
diff --git a/src/pybel/manager/cache_manager.py b/src/pybel/manager/cache_manager.py index <HASH>..<HASH> 100644 --- a/src/pybel/manager/cache_manager.py +++ b/src/pybel/manager/cache_manager.py @@ -885,6 +885,9 @@ class InsertManager(NamespaceManager, AnnotationManager): url = graph.annotation_owl[key...
Update handling of pattern annotations It shouldn’t fail, but it’s not implemented yet
py
diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py index <HASH>..<HASH> 100644 --- a/napalm_junos/junos.py +++ b/napalm_junos/junos.py @@ -854,20 +854,22 @@ class JunOSDriver(NetworkDriver): def get_mac_address_table(self): - mac_address_table = list() + mac_address_table = [] ...
Diffrent RPC for EX & QFX series
py
diff --git a/rawl/__init__.py b/rawl/__init__.py index <HASH>..<HASH> 100644 --- a/rawl/__init__.py +++ b/rawl/__init__.py @@ -117,6 +117,15 @@ class RawlResult(object): def keys(self): return self._data.keys() + def values(self): + return self._data.values() + + def to_dict(self): + ...
Added values, to_dict, and to_list to RawlResult.
py
diff --git a/tests/test_publish_heroku.py b/tests/test_publish_heroku.py index <HASH>..<HASH> 100644 --- a/tests/test_publish_heroku.py +++ b/tests/test_publish_heroku.py @@ -24,7 +24,7 @@ def test_publish_heroku_installs_plugin(mock_call, mock_check_output, mock_which with runner.isolated_filesystem(): o...
Fix for test failure with Click <I>
py
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index <HASH>..<HASH> 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -389,7 +389,7 @@ def write_toplevel_names(cmd, basename, filename): for k in cmd.distribution.iter_distribution_names() ...
make order of lines in top_level.txt deterministic like it was done for requirements and entry_points
py
diff --git a/telethon/tl/session.py b/telethon/tl/session.py index <HASH>..<HASH> 100644 --- a/telethon/tl/session.py +++ b/telethon/tl/session.py @@ -122,7 +122,7 @@ class Session: username text, phone integer, name text - )""" + ...
Don't use rowid for the entities table
py
diff --git a/backtrader/indicators/deviation.py b/backtrader/indicators/deviation.py index <HASH>..<HASH> 100644 --- a/backtrader/indicators/deviation.py +++ b/backtrader/indicators/deviation.py @@ -52,6 +52,11 @@ class StandardDeviation(Indicator): lines = ('stddev',) params = (('period', 20), ('movav', MovA...
XXXDeviations plotting labels improved
py
diff --git a/src/python/jpype/_darwin.py b/src/python/jpype/_darwin.py index <HASH>..<HASH> 100644 --- a/src/python/jpype/_darwin.py +++ b/src/python/jpype/_darwin.py @@ -52,14 +52,14 @@ class DarwinJVMFinder(LinuxJVMFinder): def _javahome_binary(self): """ for osx > 10.5 we have the nice util ...
enable method for <I> <= osx_version < <I> only, because tool is not available on <I> anymore
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ supports both textual and MIME-type output. test_suite='test', classifiers=[ 'Intended Audience :: Developers', - 'License :: OSI Approved :: Python Software Foundation License'...
fix license in setup.py to match LICENSE file
py
diff --git a/pyamg/multilevel.py b/pyamg/multilevel.py index <HASH>..<HASH> 100644 --- a/pyamg/multilevel.py +++ b/pyamg/multilevel.py @@ -187,7 +187,11 @@ def coarse_grid_solver(solver): fn = getattr(scipy.sparse.linalg.isolve, solver) def solve(self,A,b): return fn(A, b, tol=1e-12)[0] -...
support coarse_solver=None
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,4 +64,7 @@ setup( test_suite='tests', tests_require=test_requirements, setup_requires=setup_requirements, + scripts=[ + 'bin/summit.py' + ] )
Add scripts entry for bin/summit.py
py
diff --git a/MAVProxy/modules/lib/grapher.py b/MAVProxy/modules/lib/grapher.py index <HASH>..<HASH> 100755 --- a/MAVProxy/modules/lib/grapher.py +++ b/MAVProxy/modules/lib/grapher.py @@ -512,9 +512,9 @@ class MavGraph(object): def xlim_change_check(self, idx): '''handle xlim change requests from queue''...
grapher: catch poll error on windows
py
diff --git a/scs_core/sys/process_comms.py b/scs_core/sys/process_comms.py index <HASH>..<HASH> 100644 --- a/scs_core/sys/process_comms.py +++ b/scs_core/sys/process_comms.py @@ -17,15 +17,22 @@ class ProcessComms(object): # ------------------------------------------------------------------------------------------...
Upgraded osio_mqtt_client to use UDS.
py
diff --git a/etk/knowledge_graph/graph.py b/etk/knowledge_graph/graph.py index <HASH>..<HASH> 100644 --- a/etk/knowledge_graph/graph.py +++ b/etk/knowledge_graph/graph.py @@ -47,7 +47,9 @@ class Graph(object): b_string = self._g.serialize(format=format, contexts=namespace_manager, **kwargs) else: ...
handle strings vs bytes from rdflib
py
diff --git a/hypertools/tools/normalize.py b/hypertools/tools/normalize.py index <HASH>..<HASH> 100644 --- a/hypertools/tools/normalize.py +++ b/hypertools/tools/normalize.py @@ -3,8 +3,9 @@ from __future__ import division from builtins import range from sklearn.preprocessing import FunctionTransformer import numpy ...
added memoize decorator to normalize
py
diff --git a/buildbot/steps/shell.py b/buildbot/steps/shell.py index <HASH>..<HASH> 100644 --- a/buildbot/steps/shell.py +++ b/buildbot/steps/shell.py @@ -6,7 +6,7 @@ from buildbot import util from buildbot.process.buildstep import LoggingBuildStep, RemoteShellCommand from buildbot.status.builder import SUCCESS, WARN...
#<I>:Rename-_BuildPropertyDictionary-to-_BuildPropertyMap.patch Patch by Greg Ward <<EMAIL>>: Rename _BuildPropertyDictionary to _BuildPropertyMapping (because it's not actually a dict).
py
diff --git a/nhlib/correlation.py b/nhlib/correlation.py index <HASH>..<HASH> 100644 --- a/nhlib/correlation.py +++ b/nhlib/correlation.py @@ -65,6 +65,9 @@ class BaseCorrelationModel(object): 2d numpy array of sampled intra-event residuals, where first dimension represents sites (the length a...
correlation [doc]: added :returns: to BaseCorMo.apply_correlation()
py
diff --git a/pyeda/expr.py b/pyeda/expr.py index <HASH>..<HASH> 100644 --- a/pyeda/expr.py +++ b/pyeda/expr.py @@ -1663,7 +1663,7 @@ class ITE(Expression): def invert(self): s, a, b = self._args - return And(Or(Not(s), Not(a)), Or(s, Not(b))) + return ITE(s, Not(a), Not(b), simplify=self._...
Fix issue #<I> You can invert a mux using the following logic: f = s ? a : b -f == s ? -a : -b
py
diff --git a/glue/ligolw/types.py b/glue/ligolw/types.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/types.py +++ b/glue/ligolw/types.py @@ -124,6 +124,13 @@ ToPyType = { "double": float } +FromPyType = { + str: "lstring", + int: "int_4s", + long: "int_8s", + float: "real_8" +} + ToNumPyType = { "int_2s": "In...
Add FromPyType and FromSQLiteType dictionaries.
py
diff --git a/yandextank/plugins/Monitoring/collector.py b/yandextank/plugins/Monitoring/collector.py index <HASH>..<HASH> 100644 --- a/yandextank/plugins/Monitoring/collector.py +++ b/yandextank/plugins/Monitoring/collector.py @@ -10,6 +10,7 @@ import os.path import re import sys import tempfile +import socket impo...
catch ALL exceptions when trying to execute ssh command
py
diff --git a/py2pack/__init__.py b/py2pack/__init__.py index <HASH>..<HASH> 100644 --- a/py2pack/__init__.py +++ b/py2pack/__init__.py @@ -1,5 +1,5 @@ __doc__ = 'Generate distribution packages from Python packages on PyPI' __author__ = 'Sascha Peilicke <saschpe@gmx.de>' -__version__ = '0.2.4' +__version__ = '0.2.5' ...
Bump the version number to '<I>'.
py
diff --git a/windows_service/datadog_checks/windows_service/windows_service.py b/windows_service/datadog_checks/windows_service/windows_service.py index <HASH>..<HASH> 100644 --- a/windows_service/datadog_checks/windows_service/windows_service.py +++ b/windows_service/datadog_checks/windows_service/windows_service.py @...
[windows_service] decrease computation of ALL=true (#<I>)
py
diff --git a/fedmsg_meta_fedora_infrastructure/tests/fedimg.py b/fedmsg_meta_fedora_infrastructure/tests/fedimg.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/tests/fedimg.py +++ b/fedmsg_meta_fedora_infrastructure/tests/fedimg.py @@ -73,7 +73,7 @@ class TestImageUploadComplete(Base): expec...
oops -- need icons here, too
py
diff --git a/thinc/about.py b/thinc/about.py index <HASH>..<HASH> 100644 --- a/thinc/about.py +++ b/thinc/about.py @@ -1,2 +1,2 @@ -__version__ = "8.0.0a9" +__version__ = "8.0.0a10" __release__ = True
Set version to <I>a<I>
py
diff --git a/openquake/engine/export/hazard.py b/openquake/engine/export/hazard.py index <HASH>..<HASH> 100644 --- a/openquake/engine/export/hazard.py +++ b/openquake/engine/export/hazard.py @@ -95,7 +95,7 @@ def _get_result_export_path(calc_id, target_dir, result): calc_dir = 'calc_%s' % calc_id type_dir =...
export/hazard: Don't support gmf_scenario in _get_result_export_path. We need to handle export paths a bit differently. Former-commit-id: b5b<I>ceb0e0b1e<I>c7eda<I>b1d<I>f<I>adc
py
diff --git a/jutil/cache.py b/jutil/cache.py index <HASH>..<HASH> 100644 --- a/jutil/cache.py +++ b/jutil/cache.py @@ -18,7 +18,8 @@ class CachedFieldsMixin: if TYPE_CHECKING: pk: Any = None - def save(self, update_fields: Optional[Iterable[str]] = None): + def save(self, force_insert=Fals...
CachedFieldsMixin save() TYPE_CHECKING fix
py
diff --git a/eventsourcing/__init__.py b/eventsourcing/__init__.py index <HASH>..<HASH> 100644 --- a/eventsourcing/__init__.py +++ b/eventsourcing/__init__.py @@ -1 +1 @@ -__version__ = "8.1.0rc0" +__version__ = "8.1.0"
Increased version number to <I>.
py
diff --git a/salt/modules/freebsd_sysctl.py b/salt/modules/freebsd_sysctl.py index <HASH>..<HASH> 100644 --- a/salt/modules/freebsd_sysctl.py +++ b/salt/modules/freebsd_sysctl.py @@ -165,7 +165,7 @@ def persist(name, value, config='/etc/sysctl.conf'): if not edited: nlines.append("{0}\n".format(_formatfor...
Fix patching sysctl.conf on FreeBSD. In b3c1be<I>fb the lines were stripped of their ending \n, but the \n was never added back to the lines, so calling writelines generates a broken one line file.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ license: GNU-GPL2 from setuptools import setup setup(name='arguments', - version='46', + version='47', description='Argument parser based on docopt', url='https://github.com/erikdejonge...
Ludwig Mies van der Rohe: God is in the details. Wednesday <I> June <I> (week:<I> day:<I>), <I>:<I>:<I>
py
diff --git a/toml.py b/toml.py index <HASH>..<HASH> 100644 --- a/toml.py +++ b/toml.py @@ -1,6 +1,7 @@ import datetime def loads(s): + implicitgroups = [] """Returns a dictionary containing s, a string, parsed as toml.""" retval = {} currentlevel = retval @@ -65,8 +66,13 @@ def loads(s): ...
Fix implicit and explicit keygroups issue in #4. Does everything look good @BurntSushi?
py
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index <HASH>..<HASH> 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/packet/bgp.py @@ -2332,7 +2332,8 @@ class _FlowSpecPrefixBase(_FlowSpecComponentBase, IPAddrPrefix): def __init__(self, length, addr, type_=None): super(_FlowSpecPrefixBase, sel...
packet/bgp: Add the address converter for Flow Specification Argument "addr" of "_FlowSpecPrefixBase" must be specified in the network address. If argument "addr" specified in the host address, this patch converts the given address into the network address.
py
diff --git a/ccmlib/node.py b/ccmlib/node.py index <HASH>..<HASH> 100644 --- a/ccmlib/node.py +++ b/ccmlib/node.py @@ -243,6 +243,8 @@ class Node(object): else: self.__install_dir = self.node_setup(version, verbose=verbose) + self._cassandra_version = common.get_version_from_build(self.__...
Update node version on install_dir change
py
diff --git a/ella/newman/config.py b/ella/newman/config.py index <HASH>..<HASH> 100644 --- a/ella/newman/config.py +++ b/ella/newman/config.py @@ -39,7 +39,7 @@ BASE_URL = getattr(settings, 'NEWMAN_BASE_URL', '') AUTOSAVE_MAX_AMOUNT = getattr(settings, 'NEWMAN_AUTOSAVE_MAX_AMOUNT', 3) # List of applicable ContentTy...
CTs for box insertion can be predefined in settings.
py
diff --git a/payflowpro/tests/client.py b/payflowpro/tests/client.py index <HASH>..<HASH> 100644 --- a/payflowpro/tests/client.py +++ b/payflowpro/tests/client.py @@ -67,6 +67,9 @@ r""" >>> # Here is another example with a shipping address, new credit card and >>> # without the optional charge. +>>> new_acct = 510...
Assigned values to example variables as reported in issue #<I> Thanks for reporting, @michaelhelmick!
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup(name='usagestats', version='0.7', py_modules=['usagestats'], description="Anonymous usage statistics collector", - install_requires=['requests'], + install_requires=['request...
[Updated] Require to install `distro`
py
diff --git a/djangosaml2/views.py b/djangosaml2/views.py index <HASH>..<HASH> 100644 --- a/djangosaml2/views.py +++ b/djangosaml2/views.py @@ -349,7 +349,7 @@ class LoginView(SPConfigMixin, View): }, }) except TemplateDoesNotExist as e: - ...
Update views.py (#<I>) changed from error to debug
py
diff --git a/examples/sampleserver.py b/examples/sampleserver.py index <HASH>..<HASH> 100644 --- a/examples/sampleserver.py +++ b/examples/sampleserver.py @@ -25,7 +25,7 @@ class ConcreteServer(OpenIDServer): # This is reimplemented in the subclass so that extra # debugging/tracing information can be ...
[project @ Fix bug in tracing code]
py
diff --git a/crispy/gui/widgets/plotwidget.py b/crispy/gui/widgets/plotwidget.py index <HASH>..<HASH> 100644 --- a/crispy/gui/widgets/plotwidget.py +++ b/crispy/gui/widgets/plotwidget.py @@ -27,12 +27,13 @@ from __future__ import absolute_import, division, unicode_literals __authors__ = ['Marius Retegan'] __license...
Reduce the size of the icons on macOS
py
diff --git a/src/discoursegraphs/readwrite/tiger.py b/src/discoursegraphs/readwrite/tiger.py index <HASH>..<HASH> 100755 --- a/src/discoursegraphs/readwrite/tiger.py +++ b/src/discoursegraphs/readwrite/tiger.py @@ -186,11 +186,11 @@ class TigerSentenceGraph(DiscourseDocumentGraph): token_ids.append(termina...
copied tiger:word attribute to tiger:token for compatibility - cf. Issue #<I> - to fix the issue, the tiger:word attribute should be removed
py
diff --git a/base32_crockford.py b/base32_crockford.py index <HASH>..<HASH> 100644 --- a/base32_crockford.py +++ b/base32_crockford.py @@ -39,8 +39,8 @@ symbols = '0123456789ABCDEFGHJKMNPQRSTVWXYZ' # These five symbols are exclusively for checksum values check_symbols = '*~$=U' -encode_symbols = {i: ch for (i, ch) ...
Removed dict comprehension for Python <I> compatibility
py
diff --git a/youku/youku_upload.py b/youku/youku_upload.py index <HASH>..<HASH> 100644 --- a/youku/youku_upload.py +++ b/youku/youku_upload.py @@ -84,8 +84,8 @@ class YoukuUpload(object): params = {} if title is None: title = self.file_name - elif len(title) > 50: - titl...
the limitation is <I> for both english & chinese charaters
py
diff --git a/astroplan/scheduling.py b/astroplan/scheduling.py index <HASH>..<HASH> 100644 --- a/astroplan/scheduling.py +++ b/astroplan/scheduling.py @@ -849,7 +849,8 @@ class Transitioner(object): [oldblock.target, newblock.target])['altaz'] # TODO: make this [0] unn...
catch for very close targets which do not evaluate as equal
py
diff --git a/scripts/fastdupes.py b/scripts/fastdupes.py index <HASH>..<HASH> 100644 --- a/scripts/fastdupes.py +++ b/scripts/fastdupes.py @@ -375,7 +375,7 @@ def hashClassifier(path, limit=HEAD_SIZE): @rtype: C{str} """ - return hashFile(path, limit) + return hashFile(path, limit=limit) #TODO: Rew...
Whoops. fastdupes was way too slow because it wasn't hashing heads. (I accidentally passed limit in as want_hex and when calling hashFile() and, since Python's bool() is a subclass of int() for historical reasons, it didn't complain.)
py
diff --git a/clkhash/rest_client.py b/clkhash/rest_client.py index <HASH>..<HASH> 100644 --- a/clkhash/rest_client.py +++ b/clkhash/rest_client.py @@ -87,10 +87,14 @@ def run_get_status(server, project, run, apikey): def run_get_result_text(server, project, run, apikey): - return requests.get( + response = r...
Treat the results endpoint the same and raise an exception on != <I> status
py
diff --git a/dmf_control_board_firmware/__init__.py b/dmf_control_board_firmware/__init__.py index <HASH>..<HASH> 100755 --- a/dmf_control_board_firmware/__init__.py +++ b/dmf_control_board_firmware/__init__.py @@ -904,6 +904,8 @@ class DMFControlBoard(Base, SerialDevice): # from getting the opport...
Scan i2c before checking VGND A bad VGND error was causing the i2c scan to be skipped.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ version = __version__ __this__ = os.path.abspath(os.path.dirname(__file__)) # Get the long description from the relevant file -with open(os.path.join(__this__, 'README.md'), encoding='utf-8') as f: +with ope...
fix prob in setup.py after renaming README
py
diff --git a/smart_open/smart_open_lib.py b/smart_open/smart_open_lib.py index <HASH>..<HASH> 100644 --- a/smart_open/smart_open_lib.py +++ b/smart_open/smart_open_lib.py @@ -130,6 +130,11 @@ class ParseUri(object): Assume `default_scheme` if no scheme given in `uri`. """ + if os.name == 'nt'...
work around urlsplit issues on Windows paths; fixes #<I>
py
diff --git a/django_lab_members_site/settings.py b/django_lab_members_site/settings.py index <HASH>..<HASH> 100644 --- a/django_lab_members_site/settings.py +++ b/django_lab_members_site/settings.py @@ -29,7 +29,7 @@ ALLOWED_HOSTS = [] # Application definition -INSTALLED_APPS = ( +DEFAULT_APPS = ( 'django.con...
Split INSTALLED_APPS into default, 3rd party, and local
py
diff --git a/btb/tuning/hyperparams/boolean.py b/btb/tuning/hyperparams/boolean.py index <HASH>..<HASH> 100644 --- a/btb/tuning/hyperparams/boolean.py +++ b/btb/tuning/hyperparams/boolean.py @@ -21,9 +21,9 @@ class BooleanHyperParam(BaseHyperParam): K = 1 def _within_hyperparam_space(self, values): - ...
Avoid doing loop in case there is dtype bool.
py
diff --git a/pgmagick/api.py b/pgmagick/api.py index <HASH>..<HASH> 100644 --- a/pgmagick/api.py +++ b/pgmagick/api.py @@ -713,7 +713,7 @@ class Image(object): if filter_type: filter_type = getattr(pgmagick.FilterTypes, "%sFilter" % filter_type.title()) - ...
fixed: unable to filterType in pgmagick.api.Image.scale()
py
diff --git a/py/pysparkling/context.py b/py/pysparkling/context.py index <HASH>..<HASH> 100644 --- a/py/pysparkling/context.py +++ b/py/pysparkling/context.py @@ -191,7 +191,7 @@ class H2OContext(object): def stop(self): self.__stop() - exit() + sys.exit() def download_h2o_logs(self...
[SW-<I>] Change exit() to sys.exit() (#<I>) When running `hc.stop()` there is an error: `NameError: global name 'exit' is not defined`. The `exit()` is not correct refering its source package, change to `sys.exit()`.
py
diff --git a/mptt_urls/__init__.py b/mptt_urls/__init__.py index <HASH>..<HASH> 100644 --- a/mptt_urls/__init__.py +++ b/mptt_urls/__init__.py @@ -13,7 +13,7 @@ class view(): self.slug_field = slug_field # define 'get_path' method for model - self.model.get_path = lambda instance: '/'.join([g...
Add trailing slash to forward and reverse url resolutions
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ setuptools.setup( "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ), - python_requires=">=3.5", + python_requires=">=3.6", install_re...
Bump minimum python version.
py
diff --git a/crumbs/templatetags/breadcrumb_tags.py b/crumbs/templatetags/breadcrumb_tags.py index <HASH>..<HASH> 100644 --- a/crumbs/templatetags/breadcrumb_tags.py +++ b/crumbs/templatetags/breadcrumb_tags.py @@ -19,13 +19,11 @@ class AddCrumbNode(CaktNode): href = url else: ...
Moved from try keyerror to if in
py
diff --git a/install_tools.py b/install_tools.py index <HASH>..<HASH> 100644 --- a/install_tools.py +++ b/install_tools.py @@ -153,7 +153,7 @@ def download_dcm2niix(Cnt, path, os_type): os.path.join(path, 'dcm2niix.zip') ) zipf = zipfile.ZipFile(os.path.join(path, 'dcm2niix.zip'), 'r') - z...
fixed the next bug in downloading dcmniix
py
diff --git a/pydas/__init__.py b/pydas/__init__.py index <HASH>..<HASH> 100644 --- a/pydas/__init__.py +++ b/pydas/__init__.py @@ -22,6 +22,7 @@ def login(email=None, password=None, api_key=None, url=None): """ if url is None: url = raw_input('Server URL: ') + url = url.rstrip('/') pydas.comm...
BUG: Strip trailing slashes from user-provided URL Midas servers seem to accept URLs of the form: http://hostname/midas//api but requests will be cleaner with no superfluous seperators.
py
diff --git a/spyder/utils/icon_manager.py b/spyder/utils/icon_manager.py index <HASH>..<HASH> 100644 --- a/spyder/utils/icon_manager.py +++ b/spyder/utils/icon_manager.py @@ -265,7 +265,7 @@ class IconManager(): '1downarrow': [('mdi.chevron-down',), {'color': self.MAIN_FG_COLOR}], ...
Use mdi.dots-horizontal for toolbar extension button This was suggested in review.
py
diff --git a/Lib/fontParts/base/info.py b/Lib/fontParts/base/info.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/base/info.py +++ b/Lib/fontParts/base/info.py @@ -1,5 +1,3 @@ -from ufoLib import (fontInfoAttributesVersion3, - validateFontInfoVersion3ValueForAttribute) from fontParts.base.base im...
Forgot to remove import of ufoLib at head of file, after it was moved into the class.
py
diff --git a/magic.py b/magic.py index <HASH>..<HASH> 100644 --- a/magic.py +++ b/magic.py @@ -195,9 +195,9 @@ def coerce_filename(filename): # ctypes will implicitly convert unicode strings to bytes with # .encode('ascii'). A more useful default here is # getfilesystemencoding(). We need to leave byte...
Workaround sys.version_info not being a named tuple on py<I>
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -666,6 +666,11 @@ class ClassicalCalculator(base.HazardCalculator): parallel.Starmap( build_hazard, ...
Logged the number of slow tasks [skip CI]
py
diff --git a/deploy_stack.py b/deploy_stack.py index <HASH>..<HASH> 100755 --- a/deploy_stack.py +++ b/deploy_stack.py @@ -119,10 +119,12 @@ def deploy_dummy_stack(env, charm_prefix): env.wait_for_started(3600) else: env.wait_for_started() - # Wait up to 30 seconds for token to be created. + ...
The devel series is slower and needs more time to get the token.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ config = { 'author': "OpenTrons", 'url': 'http://opentrons.com', 'version': '0.1', - 'install_requires': ['nose'], + 'install_requires': ['nose', 'pyyaml'], 'packages': ['labware'], ...
Added PyYAML to requirements.
py
diff --git a/salt/modules/systemd.py b/salt/modules/systemd.py index <HASH>..<HASH> 100644 --- a/salt/modules/systemd.py +++ b/salt/modules/systemd.py @@ -35,7 +35,7 @@ def _sd_booted(): Return True if the system was booted with systemd, False otherwise. ''' # We can cache this for as long as the minion ...
Fix PEP8 E<I> - test for membership should be "not in"
py
diff --git a/bfg9000/builtins/find.py b/bfg9000/builtins/find.py index <HASH>..<HASH> 100644 --- a/bfg9000/builtins/find.py +++ b/bfg9000/builtins/find.py @@ -106,7 +106,7 @@ def _find_files(paths, filter, flat): # wouldn't be able to include a subset of their contents (--no-recursion # exists, but doesn't pl...
Fix filtering base dirs in find_files() This just makes sure that the "name" variable passed to the filter function is always the basename.
py
diff --git a/wikidataintegrator/wdi_fastrun.py b/wikidataintegrator/wdi_fastrun.py index <HASH>..<HASH> 100644 --- a/wikidataintegrator/wdi_fastrun.py +++ b/wikidataintegrator/wdi_fastrun.py @@ -56,6 +56,9 @@ class FastRunContainer(object): def reconstruct_statements(self, qid): reconstructed_statements...
if an item is not found in the fastrun container, and it has statements to be written, then should require write
py
diff --git a/redis_shard/shard.py b/redis_shard/shard.py index <HASH>..<HASH> 100644 --- a/redis_shard/shard.py +++ b/redis_shard/shard.py @@ -85,8 +85,8 @@ class RedisShardAPI(object): server = self.get_server(key) if method == "rpush_in": method = "rpush" - elif method == "lpop_i...
fix a bug of __qop_in()
py
diff --git a/cwltool/provenance.py b/cwltool/provenance.py index <HASH>..<HASH> 100644 --- a/cwltool/provenance.py +++ b/cwltool/provenance.py @@ -554,6 +554,16 @@ class CreateProvProfile(): {provM.PROV_TYPE: WFPROV["Artifact"], provM.PROV_VALUE: str(value)}) + elif isinstance...
bytes written as-is (should not really appear in CWL entities)
py
diff --git a/pyhpeimc/__init__.py b/pyhpeimc/__init__.py index <HASH>..<HASH> 100644 --- a/pyhpeimc/__init__.py +++ b/pyhpeimc/__init__.py @@ -1,3 +1,5 @@ +#!/usr/bin/python3 + '''Copyright 2015 Hewlett Packard Enterprise Development LP Licensed under the Apache License, Version 2.0 (the “License”); you may not use...
Added shebang in __init__.py
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -57,11 +57,30 @@ copyright = u'2014, Maarten A. Breddels' # |version| and |release|, also used in various other places throughout the # built documents. # -import gavi.vaex -# The...
two ways to get the versions, should work on readthedocs.org
py
diff --git a/OpenPNM/Base/__Tools__.py b/OpenPNM/Base/__Tools__.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Base/__Tools__.py +++ b/OpenPNM/Base/__Tools__.py @@ -98,7 +98,7 @@ class SetLocations(): def add(obj, element, locations): net = obj._net element = obj._parse_element(element, single=True...
The set_locations receives pores and throats for the Network, so the _parse_locations check in SetLocations should use net._parse_locations, not geom._parse_locations.
py
diff --git a/dallinger/config.py b/dallinger/config.py index <HASH>..<HASH> 100644 --- a/dallinger/config.py +++ b/dallinger/config.py @@ -44,7 +44,7 @@ default_keys = ( ('dyno_type', unicode, []), ('heroku_email_address', unicode, [], True), ('heroku_password', unicode, [], True), - ('heroku_team', u...
Make 'team' a synonym of 'heroku_team' (To improve backwards-compatibility with versions 2.x.)
py
diff --git a/localization_flow/jtlocalize/core/localization_utils.py b/localization_flow/jtlocalize/core/localization_utils.py index <HASH>..<HASH> 100755 --- a/localization_flow/jtlocalize/core/localization_utils.py +++ b/localization_flow/jtlocalize/core/localization_utils.py @@ -12,7 +12,7 @@ from localization_objec...
Allowing more flexibility in linefeeds between header and comment strings
py
diff --git a/stanza/utils/datasets/prepare_tokenizer_treebank.py b/stanza/utils/datasets/prepare_tokenizer_treebank.py index <HASH>..<HASH> 100755 --- a/stanza/utils/datasets/prepare_tokenizer_treebank.py +++ b/stanza/utils/datasets/prepare_tokenizer_treebank.py @@ -145,6 +145,9 @@ def convert_conllu_to_txt(tokenizer_d...
Add an error when the conllu can't be found, since the perl script apparently doesn't throw an error
py
diff --git a/demosys/project/base.py b/demosys/project/base.py index <HASH>..<HASH> 100644 --- a/demosys/project/base.py +++ b/demosys/project/base.py @@ -6,6 +6,8 @@ from demosys.conf import settings class BaseProject: """The Project""" + resources = [] + override_resources = {} def __init__...
Suggest using lists in class body for resources
py
diff --git a/klue_microservice/__init__.py b/klue_microservice/__init__.py index <HASH>..<HASH> 100644 --- a/klue_microservice/__init__.py +++ b/klue_microservice/__init__.py @@ -155,7 +155,7 @@ class API(object): def redirect_to_petstore(live_host, api_filename): def f(): - ...
Bug in publish() that made non default doc paths fail
py
diff --git a/codenerix_invoicing/models_sales.py b/codenerix_invoicing/models_sales.py index <HASH>..<HASH> 100644 --- a/codenerix_invoicing/models_sales.py +++ b/codenerix_invoicing/models_sales.py @@ -665,10 +665,10 @@ class GenVersion(CodenerixModel): # META: Abstract class equivalence_surcharg...
Compatibility between Decimal and JSON
py