diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/elifearticle/article.py b/elifearticle/article.py index <HASH>..<HASH> 100644 --- a/elifearticle/article.py +++ b/elifearticle/article.py @@ -60,6 +60,7 @@ class Article(BaseObject): self.journal_issn = None self.journal_title = None self.self_uri_list = [] + self.version ...
Add version property to the Article object, which can be set dynamically later.
py
diff --git a/salt/wheel/minions.py b/salt/wheel/minions.py index <HASH>..<HASH> 100644 --- a/salt/wheel/minions.py +++ b/salt/wheel/minions.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ''' -Wheel system wrapper for con_cache +Wheel system wrapper for connected minions ''' from salt.utils.cache import CacheCli
its for all minions, not just con_cache
py
diff --git a/src/saml2/sigver.py b/src/saml2/sigver.py index <HASH>..<HASH> 100644 --- a/src/saml2/sigver.py +++ b/src/saml2/sigver.py @@ -639,14 +639,11 @@ def verify_redirect_signature(saml_msg, cert): args = saml_msg.copy() del args["Signature"] # everything but the signature ...
Fixed security issues spotted by <EMAIL> .
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,11 +28,8 @@ numfig = True exclude_patterns = ['build-templates/*.rst'] from searx import webapp -import searx.engines -searx.engines.initialize_engines(searx.settings['engines']) jinja_contexts = { ...
[fix] revert PR #<I> and #<I>
py
diff --git a/airflow/utils/db.py b/airflow/utils/db.py index <HASH>..<HASH> 100644 --- a/airflow/utils/db.py +++ b/airflow/utils/db.py @@ -85,7 +85,7 @@ def merge_conn(conn, session=None): session.commit() -def initdb(rbac): +def initdb(rbac=False): session = settings.Session() from airflow imp...
[AIRFLOW-<I>] Set default rbac to initdb <I>e<I>e<I>de<I>f9a2c<I>cd<I>c5c<I>e1 breaks the api for any program directly importing airflow.utils. This sets a reasonable default. Closes #<I> from wrp/initdb
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ readme = open('README.rst').read() history = open('CHANGES.rst').read() requirements = [ - 'alembic>=0.6.6,<0.7', + 'alembic>=0.7,<0.8', 'Flask>=0.10.1', 'six>=1.7.2', 'invenio-base>=0.2...
installation: alembic version bump * FIX Upgrades pinned alembic version to allow the usage of `batch_alter_table` method.
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.13" +__version__ = "0.30.14"
Update version number to <I>
py
diff --git a/ld/tests/test_ld.py b/ld/tests/test_ld.py index <HASH>..<HASH> 100644 --- a/ld/tests/test_ld.py +++ b/ld/tests/test_ld.py @@ -158,7 +158,8 @@ class TestDistRelease(testtools.TestCase): super(TestDistRelease, self).setUp() def test_rhel7_release(self): - distro_release = os.path.join(...
FIxed flake issues with line length.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ METADATA = dict( SETUPTOOLS_METADATA = dict( - install_requires = ['setuptools', 'requests'], + install_requires = ['setuptools', 'requests', 'numpy', 'matplotlib'], include_package_data = True ) @@...
working towards python3 compatibility re #<I>
py
diff --git a/dvc/remote/local.py b/dvc/remote/local.py index <HASH>..<HASH> 100644 --- a/dvc/remote/local.py +++ b/dvc/remote/local.py @@ -91,17 +91,16 @@ class RemoteLOCAL(RemoteBase): if not os.path.exists(dname): os.makedirs(dname) - i = 0 - N = len(self.cache_types) - wh...
link: properly iterate cache types
py
diff --git a/napalm_logs/listener/kafka.py b/napalm_logs/listener/kafka.py index <HASH>..<HASH> 100644 --- a/napalm_logs/listener/kafka.py +++ b/napalm_logs/listener/kafka.py @@ -65,9 +65,10 @@ class KafkaListener(ListenerBase): raise ListenerException(error) log_source = msg.key try: - ...
Have kafka decode the message as utf-8
py
diff --git a/imgaug/parameters.py b/imgaug/parameters.py index <HASH>..<HASH> 100644 --- a/imgaug/parameters.py +++ b/imgaug/parameters.py @@ -655,20 +655,8 @@ class Normal(StochasticParameter): def __init__(self, loc, scale): super(Normal, self).__init__() - if isinstance(loc, StochasticParamete...
Refactor iap.Normal to use handle_continuous_param()
py
diff --git a/geotweet/osm.py b/geotweet/osm.py index <HASH>..<HASH> 100644 --- a/geotweet/osm.py +++ b/geotweet/osm.py @@ -30,8 +30,15 @@ class OSMRunner(object): self.states = DEFAULT_STATES self.output = args.output self.overwrite = False - self.loader = S3Loader(bucket=args.buck...
check environment variables for osm loader
py
diff --git a/pysnmp/smi/instrum.py b/pysnmp/smi/instrum.py index <HASH>..<HASH> 100644 --- a/pysnmp/smi/instrum.py +++ b/pysnmp/smi/instrum.py @@ -216,10 +216,11 @@ class MibInstrumController(AbstractMibInstrumController): # on subscription rval = f(tuple(name), val, idx, acInf...
FSM exception handling reworked
py
diff --git a/pipenv/installers.py b/pipenv/installers.py index <HASH>..<HASH> 100644 --- a/pipenv/installers.py +++ b/pipenv/installers.py @@ -169,7 +169,7 @@ class Pyenv(Installer): def iter_installable_versions(self): """Iterate through CPython versions available for Pipenv to install. """ - ...
fix the bug of reading output in pyenv installer
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,5 +34,5 @@ setup( description='Microservices builder', url='https://github.com/viatoriche/microservices', download_url='https://github.com/viatoriche/microservices/tarball/{}'.format(version), - install_r...
addict version >=<I> in setup
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='django-file-picker', - version='0.8.0', + version='0.9.0', author='Caktus Consulting Group', author_email='solutions@caktusgroup.com...
update version in setup.py too
py
diff --git a/everest/representers/xml.py b/everest/representers/xml.py index <HASH>..<HASH> 100644 --- a/everest/representers/xml.py +++ b/everest/representers/xml.py @@ -508,9 +508,9 @@ class XmlMappingRegistry(MappingRegistry): elif xml_ns != ns: raise ValueError('Prefix "%s" is ...
Reverted a change that rebuilt the XML namespace lookup over-eagerly when a mapping was changed.
py
diff --git a/utils/SSLyzeSSLConnection.py b/utils/SSLyzeSSLConnection.py index <HASH>..<HASH> 100644 --- a/utils/SSLyzeSSLConnection.py +++ b/utils/SSLyzeSSLConnection.py @@ -180,10 +180,12 @@ class SSLConnection(SslClient): for error_msg in self.HANDSHAKE_REJECTED_SOCKET_ERRORS.keys(): if...
Don't silently catch unknown socket errors
py
diff --git a/pytorch_pretrained_bert/tokenization.py b/pytorch_pretrained_bert/tokenization.py index <HASH>..<HASH> 100644 --- a/pytorch_pretrained_bert/tokenization.py +++ b/pytorch_pretrained_bert/tokenization.py @@ -182,7 +182,7 @@ class BasicTokenizer(object): orig_tokens = whitespace_tokenize(text) ...
text in never_split should not lowercase
py
diff --git a/beets/mediafile.py b/beets/mediafile.py index <HASH>..<HASH> 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -48,10 +48,10 @@ import math import struct import imghdr import os -from beets import logging import traceback import enum +from beets import logging from beets.util import displ...
Move "from beets import logging" statements Move the import next to other beets-related imports Original: beetbox/beets@<I>f<I>a
py
diff --git a/pysc2/lib/renderer_human.py b/pysc2/lib/renderer_human.py index <HASH>..<HASH> 100644 --- a/pysc2/lib/renderer_human.py +++ b/pysc2/lib/renderer_human.py @@ -1033,10 +1033,15 @@ class RendererHuman(object): creep_mask = creep > 0 creep_color = creep_feature.color(creep) - player_featur...
Render the players with colors when viewing in observer mode. PiperOrigin-RevId: <I>
py
diff --git a/pipenv/project.py b/pipenv/project.py index <HASH>..<HASH> 100644 --- a/pipenv/project.py +++ b/pipenv/project.py @@ -103,7 +103,7 @@ class Project(object): @property def virtualenv_exists(self): # TODO: Decouple project from existence of Pipfile. - if self.pipfile_exists: + ...
Check if virtualenv location really exists - Check if virtualenv_location exists as an os path as part of the virtualenv_exists check - Fixes #<I>
py
diff --git a/salt/client/__init__.py b/salt/client/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/__init__.py +++ b/salt/client/__init__.py @@ -57,11 +57,6 @@ from salt.exceptions import ( # Import third party libs from salt.ext import six # pylint: disable=import-error -try: - import zmq - HAS_ZMQ ...
Remove unnecessary ZMQ import and check for its presence
py
diff --git a/modopt/opt/algorithms.py b/modopt/opt/algorithms.py index <HASH>..<HASH> 100644 --- a/modopt/opt/algorithms.py +++ b/modopt/opt/algorithms.py @@ -337,6 +337,9 @@ class FISTA(object): restarting strategies. It has to be > 1. Defaults to None. + Returns + ------- + ...
corrected some bugs related to no restarting strategy being in place
py
diff --git a/pytradfri/device.py b/pytradfri/device.py index <HASH>..<HASH> 100644 --- a/pytradfri/device.py +++ b/pytradfri/device.py @@ -191,11 +191,8 @@ class LightControl: dimmer: Integer between 0..254 transition_time: Integer representing tenth of a second (default None) """ - # ...
Data validation (#<I>)
py
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -12092,7 +12092,7 @@ class BaseCase(unittest.TestCase): data_payload.browser = "N/A" ...
Fix bug with the env listed in the DB table
py
diff --git a/src/transformers/generation_logits_process.py b/src/transformers/generation_logits_process.py index <HASH>..<HASH> 100644 --- a/src/transformers/generation_logits_process.py +++ b/src/transformers/generation_logits_process.py @@ -146,13 +146,13 @@ class RepetitionPenaltyLogitsProcessor(LogitsProcessor): ...
Vectorize RepetitionPenaltyLogitsProcessor to improve performance (#<I>) * refactored exisiting nested loops to vectorized implementation * replaced explicit indexing with torch.where * modifying score for previous input_ids only
py
diff --git a/python/rez/release.py b/python/rez/release.py index <HASH>..<HASH> 100644 --- a/python/rez/release.py +++ b/python/rez/release.py @@ -768,7 +768,8 @@ class RezReleaseMode(object): self.validate_version() - self._get_commit_message() + if not self.commit_message: + self...
+ If the commit message has already been provided, don't prompt the user to enter one still.
py
diff --git a/safe/utilities/keyword_io.py b/safe/utilities/keyword_io.py index <HASH>..<HASH> 100644 --- a/safe/utilities/keyword_io.py +++ b/safe/utilities/keyword_io.py @@ -21,7 +21,8 @@ import sqlite3 as sqlite from sqlite3 import OperationalError from cPickle import loads, dumps, HIGHEST_PROTOCOL from ast import...
Show proper format of date in dock and wizard.
py
diff --git a/discord/app_commands/namespace.py b/discord/app_commands/namespace.py index <HASH>..<HASH> 100644 --- a/discord/app_commands/namespace.py +++ b/discord/app_commands/namespace.py @@ -137,6 +137,7 @@ class Namespace: for option in options: opt_type = option['type'] name = o...
Fix float focused autocomplete options being parsed According to the Discord docs these aren't validated
py
diff --git a/txampext/test/test_axiomtypes.py b/txampext/test/test_axiomtypes.py index <HASH>..<HASH> 100644 --- a/txampext/test/test_axiomtypes.py +++ b/txampext/test/test_axiomtypes.py @@ -1,7 +1,7 @@ try: from txampext import axiomtypes; axiomtypes from axiom import attributes -except ImportError: +except...
Add 'no cover' pragma to hide bogus missing code coverage
py
diff --git a/packages/vaex-core/vaex/test/dataset.py b/packages/vaex-core/vaex/test/dataset.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/test/dataset.py +++ b/packages/vaex-core/vaex/test/dataset.py @@ -1788,7 +1788,7 @@ class TestDataset(unittest.TestCase): dtype = compare.columns[column_...
test+win: windows still has the file in use
py
diff --git a/synapse/tests/test_lib_net.py b/synapse/tests/test_lib_net.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_lib_net.py +++ b/synapse/tests/test_lib_net.py @@ -119,7 +119,7 @@ class NetTest(SynTest): steps.done('conn') def onfini(self, msg): - ...
Fixed problems in net test after rebase
py
diff --git a/boatdclient/point.py b/boatdclient/point.py index <HASH>..<HASH> 100644 --- a/boatdclient/point.py +++ b/boatdclient/point.py @@ -137,7 +137,7 @@ class Point(object): :param distance: Distance from the current waypoint :return: The point described by the parameters ''' - b...
Offset bearing in relative_point to get it dooting the correct direction
py
diff --git a/py/testdir_single_jvm/test_rf_params_rand2_nostrata.py b/py/testdir_single_jvm/test_rf_params_rand2_nostrata.py index <HASH>..<HASH> 100644 --- a/py/testdir_single_jvm/test_rf_params_rand2_nostrata.py +++ b/py/testdir_single_jvm/test_rf_params_rand2_nostrata.py @@ -32,7 +32,7 @@ class Basic(unittest.TestCa...
increase java heap to <I>GB . default maybe slow on <I>
py
diff --git a/interest/service.py b/interest/service.py index <HASH>..<HASH> 100644 --- a/interest/service.py +++ b/interest/service.py @@ -135,11 +135,10 @@ class Service(Middleware): # Private def __add_middlewares(self, middlewares): - for middleware in middlewares: + for middleware in rever...
fixed middlewares/endpoints order in Service
py
diff --git a/c7n/cache.py b/c7n/cache.py index <HASH>..<HASH> 100644 --- a/c7n/cache.py +++ b/c7n/cache.py @@ -32,6 +32,9 @@ def factory(config): if not config.cache or not config.cache_period: log.debug("Disabling cache") return NullCache(config) + elif config.cache == 'memory': + log....
support additional option for in memory cache. (#<I>)
py
diff --git a/dvc/output.py b/dvc/output.py index <HASH>..<HASH> 100644 --- a/dvc/output.py +++ b/dvc/output.py @@ -342,18 +342,21 @@ class Output: def _parse_path(self, fs, fs_path): parsed = urlparse(self.def_path) - if parsed.scheme != "remote": + if ( + parsed.scheme != "remo...
output: resolve relative to stage.wdir only on the same fs Leftover from <URL>
py
diff --git a/splinter/driver/zopetestbrowser.py b/splinter/driver/zopetestbrowser.py index <HASH>..<HASH> 100644 --- a/splinter/driver/zopetestbrowser.py +++ b/splinter/driver/zopetestbrowser.py @@ -48,6 +48,10 @@ class ZopeTestBrowser(DriverAPI): link = self._browser.getLink(text=text) return ZopeTes...
implemented initial find_link_by_href
py
diff --git a/peer.py b/peer.py index <HASH>..<HASH> 100644 --- a/peer.py +++ b/peer.py @@ -243,8 +243,8 @@ class BasePeer: try: return await wait_with_token( self.reader.readexactly(n), token=self.cancel_token, timeout=self.conn_idle_timeout) - except (asyncio.IncompleteRea...
p2p: Handle BrokenPipeErrors when reading from remote peer (#<I>) That is another error that can be raised by reader.readexactly(), and it wasn't being handled before
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ required = [ setup( name='unwrapper', - version='0.0.8', + version='1.0.0', url='https://github.com/shaunvxc/unwrap', license='MIT', author='Shaun Viguerie',
bump to <I> :balloon:
py
diff --git a/ot/optim.py b/ot/optim.py index <HASH>..<HASH> 100644 --- a/ot/optim.py +++ b/ot/optim.py @@ -69,7 +69,7 @@ def line_search_armijo(f, xk, pk, gfk, old_fval, alpha, phi1 = scalar_search_armijo( phi, phi0, derphi0, c1=c1, alpha0=alpha0) - return alpha, fc[0], phi1 + return min(1, alpha)...
Restrict Armijo linesearch function step to be at most 1 (#<I>) Thanks for the modification @panpan2
py
diff --git a/factory/fuzzy.py b/factory/fuzzy.py index <HASH>..<HASH> 100644 --- a/factory/fuzzy.py +++ b/factory/fuzzy.py @@ -278,7 +278,7 @@ class BaseFuzzyDateTime(BaseFuzzyAttribute): class FuzzyNaiveDateTime(BaseFuzzyDateTime): """Random naive datetime within a given range. - If no upper bound is given,...
Fix doc string so that it is in line with doc and implementation.
py
diff --git a/mediasync/backends/rackspace_cloudfiles.py b/mediasync/backends/rackspace_cloudfiles.py index <HASH>..<HASH> 100644 --- a/mediasync/backends/rackspace_cloudfiles.py +++ b/mediasync/backends/rackspace_cloudfiles.py @@ -1,5 +1,7 @@ import cloudfiles +from django.core.exceptions import ImproperlyConfigured...
added checks for CLOUDFILES settings
py
diff --git a/HARK/core.py b/HARK/core.py index <HASH>..<HASH> 100644 --- a/HARK/core.py +++ b/HARK/core.py @@ -489,7 +489,8 @@ class AgentType(HARKobject): None ''' if not hasattr(self, 'solution'): - raise Exception('Model instance does not have a solution stored. To simulate, it ...
Conformed to PEP8 on lines <I> and <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,12 +9,12 @@ from setuptools import ( deps = { 'keyfile': [ - "eth-utils>=1.3.0,<2", - "eth-keys>=0.2.1,<0.3.0", + "eth-utils>=2,<3", + "eth-keys>=0.4.0,<0.5.0", "pycryptodome>=3....
Update pytest, pluggy, eth-utils, eth-keys
py
diff --git a/stimela/cargo/cab/pybdsm/src/run.py b/stimela/cargo/cab/pybdsm/src/run.py index <HASH>..<HASH> 100644 --- a/stimela/cargo/cab/pybdsm/src/run.py +++ b/stimela/cargo/cab/pybdsm/src/run.py @@ -60,7 +60,7 @@ if not port2tigger: tfile = tempfile.NamedTemporaryFile(suffix='.txt') tfile.flush() -prefix = outf...
Removing .lsm.html from outfile to formulate prefix
py
diff --git a/spikeextractors/extractors/nwbextractors/nwbextractors.py b/spikeextractors/extractors/nwbextractors/nwbextractors.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/nwbextractors/nwbextractors.py +++ b/spikeextractors/extractors/nwbextractors/nwbextractors.py @@ -587,7 +587,7 @@ class NwbReco...
added buffer_mb argument with auto-calculation of corresponding buffer_size
py
diff --git a/setuptools/lib2to3_ex.py b/setuptools/lib2to3_ex.py index <HASH>..<HASH> 100644 --- a/setuptools/lib2to3_ex.py +++ b/setuptools/lib2to3_ex.py @@ -13,6 +13,7 @@ from distutils import log from lib2to3.refactor import RefactoringTool, get_fixers_from_package import setuptools +from ._deprecation_warning i...
Use the SetuptoolsDeprecationWarning to make the warning more visible outside test runners.
py
diff --git a/src/kakasidict.py b/src/kakasidict.py index <HASH>..<HASH> 100644 --- a/src/kakasidict.py +++ b/src/kakasidict.py @@ -3,7 +3,6 @@ import re from typing import Dict, Tuple from klepto.archives import file_archive # type: ignore # noqa -from six import unichr root_dir = os.path.abspath(os.path.dirnam...
Fix kakasidict.py cannot find six
py
diff --git a/sdag2/sdag2.py b/sdag2/sdag2.py index <HASH>..<HASH> 100644 --- a/sdag2/sdag2.py +++ b/sdag2/sdag2.py @@ -162,7 +162,7 @@ class Vertex: is_connected = property(lambda self: self._is_connected()) def __str__(self): - return "Vertex{" + self.key + "}" + return "Vertex{%s}" % (se...
Do not raise TypeError trying to concatenate Vertex.key when key is not a string.
py
diff --git a/hyperas/optim.py b/hyperas/optim.py index <HASH>..<HASH> 100644 --- a/hyperas/optim.py +++ b/hyperas/optim.py @@ -77,7 +77,11 @@ def get_hyperopt_model_string(model, data): calling_script_file = os.path.abspath(inspect.stack()[-1][1]) with open(calling_script_file, 'r') as f: calling_lin...
use try/except with imports, as some python sources do
py
diff --git a/gitenberg/book.py b/gitenberg/book.py index <HASH>..<HASH> 100644 --- a/gitenberg/book.py +++ b/gitenberg/book.py @@ -22,7 +22,6 @@ from .parameters import GITHUB_ORG from .push import GithubRepo from .util import tenprintcover from .util.catalog import BookMetadata, get_repo_name, NoRDFError -from .met...
book.meta is now always a BookMetadata object
py
diff --git a/ocrd_utils/ocrd_utils/logging.py b/ocrd_utils/ocrd_utils/logging.py index <HASH>..<HASH> 100644 --- a/ocrd_utils/ocrd_utils/logging.py +++ b/ocrd_utils/ocrd_utils/logging.py @@ -151,7 +151,7 @@ def disableLogging(): global _overrideLogLevel # pylint: disable=global-statement _overrideLogLevel = N...
logging disable: CRITICAL->ERROR
py
diff --git a/bika/lims/browser/analysisservice.py b/bika/lims/browser/analysisservice.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/analysisservice.py +++ b/bika/lims/browser/analysisservice.py @@ -71,7 +71,7 @@ class ajaxServicePopup(BrowserView): else: self.log = [] - brains = ...
Fix #<I>: Clicking on AS to get Assay procedure information causes error
py
diff --git a/slack_sdk/rtm/__init__.py b/slack_sdk/rtm/__init__.py index <HASH>..<HASH> 100644 --- a/slack_sdk/rtm/__init__.py +++ b/slack_sdk/rtm/__init__.py @@ -136,6 +136,7 @@ class RTMClient(object): # skipcq: PYL-R0205 self._web_client = WebClient( token=self.token, base_url=sel...
Fix #<I> RTMClient does not pass timeout value to WebClient
py
diff --git a/DocumentController.py b/DocumentController.py index <HASH>..<HASH> 100644 --- a/DocumentController.py +++ b/DocumentController.py @@ -191,8 +191,9 @@ class DocumentController(Observable.Broadcaster): def periodic(self): # perform any pending operations self.__periodic_queue.perform_t...
Double check session for periodic during 'close'. svn r<I>
py
diff --git a/__winshell_version__.py b/__winshell_version__.py index <HASH>..<HASH> 100644 --- a/__winshell_version__.py +++ b/__winshell_version__.py @@ -1,3 +1,3 @@ # -*- coding: UTF8 -*- __VERSION__ = "0.6" -__RELEASE__ = "dev" \ No newline at end of file +__RELEASE__ = "" \ No newline at end of file
Tagged master for <I>
py
diff --git a/pyang/translators/cts.py b/pyang/translators/cts.py index <HASH>..<HASH> 100644 --- a/pyang/translators/cts.py +++ b/pyang/translators/cts.py @@ -336,6 +336,7 @@ class CTSTranslator(object): "decimal64": self.numeric_type, "enumeration": self.choice_type, "empty": sel...
CTS: Implemented basic handling of identityref type. This only covers the RELAX NG part (QName type constraint). The value will be checked in Schematron - we need a new annotation giving all possible values in the form (nsURI, identity_name).
py
diff --git a/pylint/reporters/__init__.py b/pylint/reporters/__init__.py index <HASH>..<HASH> 100644 --- a/pylint/reporters/__init__.py +++ b/pylint/reporters/__init__.py @@ -70,6 +70,7 @@ class BaseReporter(object): def add_message(self, msg_id, location, msg): """Deprecated, do not use.""" + # ...
Don't emit warnings in the deprecated method.
py
diff --git a/classic.py b/classic.py index <HASH>..<HASH> 100644 --- a/classic.py +++ b/classic.py @@ -649,6 +649,8 @@ class ClassicCollection(Collection): key = self.db.add_media(*tmp) with self.lock: self._media[key] = ClassicMedia(self, key, *tmp) + if len(self._media) == 1: + self.got_media_event.set...
classic: collection: trigger got_media_event on first add
py
diff --git a/phonopy/phonon/irreps.py b/phonopy/phonon/irreps.py index <HASH>..<HASH> 100644 --- a/phonopy/phonon/irreps.py +++ b/phonopy/phonon/irreps.py @@ -439,7 +439,30 @@ character_table = { ( 0, 0, 1 )),)}}], # S6 (17) - '-3': None, + '-3': + [{'rotation_list': ('E...
irreps -3 dataset is made.
py
diff --git a/crysp/bits.py b/crysp/bits.py index <HASH>..<HASH> 100644 --- a/crysp/bits.py +++ b/crysp/bits.py @@ -85,18 +85,15 @@ class Bits(object): if size!=None: self.size = size def load(self,bytestr,bitorder=-1): - if bitorder==1: - b,size = unpack(bytestr) - self.ival = b - self.size ...
revert load method (unpack is slower)
py
diff --git a/src/future/types/newobject.py b/src/future/types/newobject.py index <HASH>..<HASH> 100644 --- a/src/future/types/newobject.py +++ b/src/future/types/newobject.py @@ -37,24 +37,6 @@ Another example:: """ -import sys - -from future.utils import with_metaclass - - -_builtin_object = object -ver = sys.ver...
Remove unused newobject imports These are remnants of the earlier metaclass-based implementation.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ except Exception as e: setup( name='nessclient', version=version, - packages=['nessclient'], + packages=['nessclient', 'nessclient.cli', 'nessclient.cli.server'], author="Nick Whyte", ...
Fix cli package (#<I>)
py
diff --git a/singularity/package.py b/singularity/package.py index <HASH>..<HASH> 100644 --- a/singularity/package.py +++ b/singularity/package.py @@ -183,7 +183,10 @@ def load_package(package_path,get=None): filename,ext = os.path.splitext(g) if ext in [".img"]: - print("Found image %s, ...
modified: singularity/package.py
py
diff --git a/fontaine/builder.py b/fontaine/builder.py index <HASH>..<HASH> 100644 --- a/fontaine/builder.py +++ b/fontaine/builder.py @@ -60,11 +60,11 @@ class Director(object): 'glyphCount': font.glyph_num, 'characterCount': font.character_count } - orthgraph ...
fixed bug with output of only one orthography for each font
py
diff --git a/appinst/platforms/rh3.py b/appinst/platforms/rh3.py index <HASH>..<HASH> 100644 --- a/appinst/platforms/rh3.py +++ b/appinst/platforms/rh3.py @@ -218,8 +218,8 @@ class RH3(object): info_tree.write(vfolder_info) # Write out any shortcuts - file_browser = "nautilus" - self._...
Changing names to match pattern in other platform-specific files.
py
diff --git a/airflow/providers/samba/hooks/samba.py b/airflow/providers/samba/hooks/samba.py index <HASH>..<HASH> 100644 --- a/airflow/providers/samba/hooks/samba.py +++ b/airflow/providers/samba/hooks/samba.py @@ -243,5 +243,5 @@ class SambaHook(BaseHook): def push_from_local(self, destination_filepath: str, lo...
Open src and dst in binary for samba copy (#<I>)
py
diff --git a/test/pycantest.py b/test/pycantest.py index <HASH>..<HASH> 100644 --- a/test/pycantest.py +++ b/test/pycantest.py @@ -29,22 +29,26 @@ usb2can.send(msg) -rx = usb2can.recv(timeout=None) + counter = 0 -while True: + +while counter is 0: rx = usb2can.recv(timeout=None) - print (counter) - ...
Fixed up test to handle an object of None type
py
diff --git a/natsort/utils.py b/natsort/utils.py index <HASH>..<HASH> 100644 --- a/natsort/utils.py +++ b/natsort/utils.py @@ -660,8 +660,6 @@ def _do_decoding(s, encoding): """ try: return s.decode(encoding) - except UnicodeError: - raise except (AttributeError, TypeError): r...
Remove unneeded except block. Its only purpose was to raise the given error, which is not necessary.
py
diff --git a/wordfreq_builder/wordfreq_builder/ninja.py b/wordfreq_builder/wordfreq_builder/ninja.py index <HASH>..<HASH> 100644 --- a/wordfreq_builder/wordfreq_builder/ninja.py +++ b/wordfreq_builder/wordfreq_builder/ninja.py @@ -280,7 +280,7 @@ def combine_lists(languages): output_file = wordlist_filename('c...
We can put the cutoff back now I took it out when a step in the English SUBTLEX process was outputting frequencies instead of counts, but I've fixed that now. Former-commit-id: 5c7a7ea<I>e<I>eb<I>e<I>e8c<I>e<I>d<I>
py
diff --git a/LiSE/LiSE/proxy.py b/LiSE/LiSE/proxy.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/proxy.py +++ b/LiSE/LiSE/proxy.py @@ -2070,7 +2070,7 @@ class EngineProxy(AbstractEngine): self._handle_lock.release() r = self.json_load(result) if branching and r['branch'] != self._...
Fix a stale reference to tick where it should be turn
py
diff --git a/pingparsing/_parser.py b/pingparsing/_parser.py index <HASH>..<HASH> 100644 --- a/pingparsing/_parser.py +++ b/pingparsing/_parser.py @@ -137,7 +137,7 @@ class NullPingParser(PingParser): def parse(self, ping_message): # pragma: no cover pass - def _preprocess_parse(self): # pragma: no...
Fix a method override to coincides with the base class
py
diff --git a/plenum/test/consensus/view_change/test_view_change_service.py b/plenum/test/consensus/view_change/test_view_change_service.py index <HASH>..<HASH> 100644 --- a/plenum/test/consensus/view_change/test_view_change_service.py +++ b/plenum/test/consensus/view_change/test_view_change_service.py @@ -138,7 +138,7 ...
[INDY-<I>] Fix another consensus's test
py
diff --git a/tests/test_handlers.py b/tests/test_handlers.py index <HASH>..<HASH> 100644 --- a/tests/test_handlers.py +++ b/tests/test_handlers.py @@ -8,16 +8,17 @@ # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 globo.com timehome@corp.globo.com -import unittest +import os from os.path impor...
Allowing test_handlers to be used for profiling
py
diff --git a/inspire_dojson/hepnames/rules.py b/inspire_dojson/hepnames/rules.py index <HASH>..<HASH> 100644 --- a/inspire_dojson/hepnames/rules.py +++ b/inspire_dojson/hepnames/rules.py @@ -371,20 +371,13 @@ def _public_notes2marc(self, key, value): @hepnames.over('source', '^670..') +@utils.for_each_value def s...
hepnames: refactor source rule
py
diff --git a/openquake/hazardlib/geo/mesh.py b/openquake/hazardlib/geo/mesh.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/geo/mesh.py +++ b/openquake/hazardlib/geo/mesh.py @@ -277,10 +277,8 @@ class Mesh(object): lons = self.lons.take(min_idx) lats = self.lats.take(min_idx) if self...
Cleanup [skip CI]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,7 @@ from __future__ import print_function import sys +import warnings if __name__ == '__main__' and sys.argv[1] == "gevent_nosetests": print("Running gevent tests") @@ -64,6 +65,14 @@ else: class ev...
Add install warning when cqlengine present
py
diff --git a/test/test_execute.py b/test/test_execute.py index <HASH>..<HASH> 100644 --- a/test/test_execute.py +++ b/test/test_execute.py @@ -1020,7 +1020,7 @@ run: for f in ['a.txt', 'a.txt.bak']: self.assertTrue(FileTarget(f).exists()) with open(f) as ifile: - self.a...
Tweak tests for windows/AppVeyor
py
diff --git a/master/setup.py b/master/setup.py index <HASH>..<HASH> 100755 --- a/master/setup.py +++ b/master/setup.py @@ -399,7 +399,8 @@ setup_args = { ('buildbot.www.authz', [ 'Authz', 'fnmatchStrMatcher', 'reStrMatcher']), ('buildbot.www.authz.roles', [ - 'R...
Add information regarding RolesFromDomain to setup.py.
py
diff --git a/minio/api.py b/minio/api.py index <HASH>..<HASH> 100644 --- a/minio/api.py +++ b/minio/api.py @@ -248,9 +248,11 @@ class Minio(object): """ is_valid_bucket_name(bucket_name) - ## Region already set in constructor, validate if - ## caller requested bucket location is same. ...
make_bucket: Use correct region when signing requests (#<I>) make_bucket() uses new bucket location to sign make bucket requests, however region should be used instead, and 'us-east-1' if no region is specified.
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -732,6 +732,7 @@ class State(object): except AttributeError: pillar_enc = six.text_type(pillar_enc).lower() self._pillar_enc = pillar_enc + log.debug('Gathering...
Add some debug logging before and after states gather pillar data This will help definitively identify instances where a salt-call is delayed because it is waiting for pillar data from the master.
py
diff --git a/hangups/longpoll.py b/hangups/longpoll.py index <HASH>..<HASH> 100644 --- a/hangups/longpoll.py +++ b/hangups/longpoll.py @@ -172,7 +172,14 @@ def _parse_chat_message(message): # type. For now, let's ignore the types and just use the textual # representation, appending all the segments into one s...
Gracefully fail to parse some chat messages Fix video calls and changing conversation names breaking hangups.
py
diff --git a/rinoh/dimension.py b/rinoh/dimension.py index <HASH>..<HASH> 100644 --- a/rinoh/dimension.py +++ b/rinoh/dimension.py @@ -135,9 +135,17 @@ class DimensionMultiplication(DimensionBase): return float(self.multiplicand) * self.multiplier +class DimensionUnit(object): + def __init__(self, point...
Introduce DimensionUnit class - 1*PT now produces a Dimension instead of a DimensionMultiplication - Eliminates most of the DimensionMultiplication.__float__ calls - Allow only right-multiplication with a DimensionUnit
py
diff --git a/cognito/__init__.py b/cognito/__init__.py index <HASH>..<HASH> 100644 --- a/cognito/__init__.py +++ b/cognito/__init__.py @@ -18,7 +18,13 @@ class UserObj(object): class User(object): - def __init__(self,user_pool_id,client_id,username,password,access_key=None,secret_key=None,extra_fields=[]): + ...
Username+password or access_key+secret_key is required for User instantiation.
py
diff --git a/tests/integration/test_pipenv.py b/tests/integration/test_pipenv.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_pipenv.py +++ b/tests/integration/test_pipenv.py @@ -98,7 +98,7 @@ def test_directory_with_leading_dash(PipenvInstance): prefix = '-dir-with-leading-dash' retur...
Update test to patch new mkdtemp target
py
diff --git a/tenant_schemas_celery/registry_test.py b/tenant_schemas_celery/registry_test.py index <HASH>..<HASH> 100644 --- a/tenant_schemas_celery/registry_test.py +++ b/tenant_schemas_celery/registry_test.py @@ -45,6 +45,6 @@ def test_schema_class_legacy_task_registration(transactional_db): task = app._t...
tested that the DynamicTenantTask wrapper is used for LegacyTasks
py
diff --git a/gwpy/table/io/ascii.py b/gwpy/table/io/ascii.py index <HASH>..<HASH> 100644 --- a/gwpy/table/io/ascii.py +++ b/gwpy/table/io/ascii.py @@ -121,7 +121,12 @@ def table_from_ascii_factory(table, format, trig_func, cols=None, **kwargs): else: columns = list(columns) # and translat...
table.io.ascii: improved error reporting
py
diff --git a/udata/forms/validators.py b/udata/forms/validators.py index <HASH>..<HASH> 100644 --- a/udata/forms/validators.py +++ b/udata/forms/validators.py @@ -7,8 +7,6 @@ from wtforms import validators from wtforms.validators import * # noqa from wtforms.validators import ValidationError, StopValidation # noqa ...
Fix URL extractor (#<I>) Related to #<I>
py
diff --git a/baco.py b/baco.py index <HASH>..<HASH> 100644 --- a/baco.py +++ b/baco.py @@ -3,6 +3,7 @@ from string import digits, ascii_uppercase, ascii_lowercase base2 = '01' base8 = digits[:7] +base10 = digits base16 = digits + 'abcdef' base36 = digits + ascii_lowercase base62 = digits + ascii_uppercase + asci...
Added base<I>, just for convention
py
diff --git a/eventsourcing/domain.py b/eventsourcing/domain.py index <HASH>..<HASH> 100644 --- a/eventsourcing/domain.py +++ b/eventsourcing/domain.py @@ -1051,9 +1051,6 @@ class Aggregate(ABC, metaclass=MetaAggregate): class Created(Event[TAggregate], AggregateCreated[TAggregate]): pass - def __new_...
Removed redundant __new__ method.
py
diff --git a/mtp_common/nomis.py b/mtp_common/nomis.py index <HASH>..<HASH> 100644 --- a/mtp_common/nomis.py +++ b/mtp_common/nomis.py @@ -100,3 +100,10 @@ class NomisClient(): ), data ) + + def get_photograph_data(self, prisoner_number): + result = self.get( + '/...
Add method to retrieve prisoner photograph from NOMIS API
py
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/spyder.py +++ b/spyderlib/spyder.py @@ -1603,6 +1603,8 @@ class MainWindow(QMainWindow): if not self.isMaximized() and not self.fullscreen_flag: self.window_size = self.size() QMainWindow....
Added comments to new signals emmited in resize and move event of main window
py
diff --git a/safe/gui/widgets/dock.py b/safe/gui/widgets/dock.py index <HASH>..<HASH> 100644 --- a/safe/gui/widgets/dock.py +++ b/safe/gui/widgets/dock.py @@ -1455,14 +1455,12 @@ class Dock(QtGui.QDockWidget, FORM_CLASS): :param value: A list of dictionary. :type value: dict, list, tuple, set ...
Remove too complex provenance from project variable. Fix #<I>
py
diff --git a/libsubmit/providers/slurm/slurm.py b/libsubmit/providers/slurm/slurm.py index <HASH>..<HASH> 100644 --- a/libsubmit/providers/slurm/slurm.py +++ b/libsubmit/providers/slurm/slurm.py @@ -244,7 +244,7 @@ class Slurm(ExecutionProvider): channel_script_path = self.channel.push_file(script_path, self.c...
Increasing execute walltime to <I>s
py
diff --git a/django_extensions/management/commands/reset_db.py b/django_extensions/management/commands/reset_db.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/reset_db.py +++ b/django_extensions/management/commands/reset_db.py @@ -95,7 +95,7 @@ Type 'yes' to continue, or 'no' to cancel: """ ...
small addition to pull request <I>, print correct engine name for spatialite
py
diff --git a/smtLayer/vmUtils.py b/smtLayer/vmUtils.py index <HASH>..<HASH> 100644 --- a/smtLayer/vmUtils.py +++ b/smtLayer/vmUtils.py @@ -520,8 +520,26 @@ def installFS(rh, vaddr, mode, fileSystem, diskType): strCmd = ' '.join(cmd) rh.printSysLog("Invoking: " + strCmd) try: - ...
Add retry for `mkfs` when install fs on vm's dasd This is related to: <URL>
py
diff --git a/test/test_change_dictpath.py b/test/test_change_dictpath.py index <HASH>..<HASH> 100644 --- a/test/test_change_dictpath.py +++ b/test/test_change_dictpath.py @@ -5,7 +5,7 @@ import jieba def cuttest(test_sent): result = jieba.cut(test_sent) - print " ".join(result) + print(" ".join(result) ) def ...
fix a test script in jieba3k
py