diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/drizzlepac/hlautils/quality_analysis.py b/drizzlepac/hlautils/quality_analysis.py index <HASH>..<HASH> 100644 --- a/drizzlepac/hlautils/quality_analysis.py +++ b/drizzlepac/hlautils/quality_analysis.py @@ -78,7 +78,7 @@ def determine_alignment_residuals(input, files, max_srcs=2000): num_srcs.appen...
Fix an error condition for QA code (#<I>)
py
diff --git a/tornado/escape.py b/tornado/escape.py index <HASH>..<HASH> 100644 --- a/tornado/escape.py +++ b/tornado/escape.py @@ -64,6 +64,9 @@ def xhtml_unescape(value): return re.sub(r"&(#?)(\w+?);", _convert_entity, _unicode(value)) +# The fact that json_encode wraps json.dumps is an implementation detail....
Add note about frequently-seen pull request to add **kwargs to json_encode.
py
diff --git a/ReText/__init__.py b/ReText/__init__.py index <HASH>..<HASH> 100644 --- a/ReText/__init__.py +++ b/ReText/__init__.py @@ -38,12 +38,16 @@ if not str(settings.fileName()).endswith('.conf'): try: import enchant - enchant.Dict() -except: + import enchant.errors +except ImportError: enchant_available = ...
Get rid of "Except:" statement in __init__.py
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100755 --- a/runtests.py +++ b/runtests.py @@ -23,6 +23,15 @@ if not settings.configured: TEMPLATE_DIRS = ( path.join(BASE_DIR, 'test_templates'), ), + TEMPLATES = [ + { + 'BACKEND': 'django.templ...
fixed "RemovedInDjango<I>Warning: You haven't defined a TEMPLATES setting..."
py
diff --git a/celery_progress/urls.py b/celery_progress/urls.py index <HASH>..<HASH> 100644 --- a/celery_progress/urls.py +++ b/celery_progress/urls.py @@ -1,7 +1,7 @@ -from django.urls import repath +from django.urls import re_path from . import views app_name = 'celery_progress' urlpatterns = [ - repath(r'^(?P...
Changed django.conf.urls.url to django.urls.re_path in respect to latest Django release : RemovedInDjango<I>Warning
py
diff --git a/tests/extensions/test_check_docs.py b/tests/extensions/test_check_docs.py index <HASH>..<HASH> 100644 --- a/tests/extensions/test_check_docs.py +++ b/tests/extensions/test_check_docs.py @@ -1609,7 +1609,7 @@ class TestParamDocChecker(CheckerTestCase): @foo.setter def foo(self, v...
Fix the broken tests: raises do not exist in Python Closes #<I>
py
diff --git a/salt/states/boto_elb.py b/salt/states/boto_elb.py index <HASH>..<HASH> 100644 --- a/salt/states/boto_elb.py +++ b/salt/states/boto_elb.py @@ -202,6 +202,9 @@ def _elb_present( if not (availability_zones or subnets): raise SaltInvocationError('Either availability_zones or subnets must' ...
Ensure both availability_zones and subnets are not provided
py
diff --git a/octodns/record.py b/octodns/record.py index <HASH>..<HASH> 100644 --- a/octodns/record.py +++ b/octodns/record.py @@ -127,9 +127,6 @@ class Record(object): self.ttl = int(data['ttl']) self._octodns = data.get('octodns', {}) - self.ignored = self._octodns.get('ignored', False) - ...
Remove extraxted Record.ignored, extract excluded and included Make the Record.octodns bits more consistent
py
diff --git a/ncclient/transport/ssh.py b/ncclient/transport/ssh.py index <HASH>..<HASH> 100644 --- a/ncclient/transport/ssh.py +++ b/ncclient/transport/ssh.py @@ -47,7 +47,7 @@ def default_unknown_host_cb(host, fingerprint): This default callback always returns `False`, which would lead to :meth:`connect` raisin...
Fix some typos in transport/ssh.py
py
diff --git a/src/PySQLPool/__init__.py b/src/PySQLPool/__init__.py index <HASH>..<HASH> 100644 --- a/src/PySQLPool/__init__.py +++ b/src/PySQLPool/__init__.py @@ -69,7 +69,7 @@ def getNewPool(): @author: Nick Verbeck @since: 5/12/2008 """ - return pool.PySQLPool() + return pool.Pool() def terminatePool(): ""...
Finished class name change in helper functions
py
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -183,6 +183,7 @@ class Client: self.rnd_id = MsgId self.get_dialogs() + self.get_contacts() for i in range(self.UPDATES_...
Call get_contacts when starting the client
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='citrination-client', - version='1.5.3', + version='2.0.0', url='http://github.com/CitrineInformatics/python-citrination-client', ...
We made a breaking change back there, so bump the major version
py
diff --git a/molo/commenting/tests/test_models.py b/molo/commenting/tests/test_models.py index <HASH>..<HASH> 100644 --- a/molo/commenting/tests/test_models.py +++ b/molo/commenting/tests/test_models.py @@ -72,3 +72,24 @@ class MoloCommentTest(TestCase): ) altered_comment = MoloComment.objects.get...
added a test to check that approved comments are not automatically removed
py
diff --git a/linkcheck/checker/httpurl.py b/linkcheck/checker/httpurl.py index <HASH>..<HASH> 100644 --- a/linkcheck/checker/httpurl.py +++ b/linkcheck/checker/httpurl.py @@ -259,7 +259,7 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport): @return: True if checker should use GET, else ...
Use GET in case a HEAD method does not succeed, even if robots.txt content checkes denied the page. This way proper check results are achieved (but the content is still not checked, so it's ok).
py
diff --git a/django_countries/tests/test_settings.py b/django_countries/tests/test_settings.py index <HASH>..<HASH> 100644 --- a/django_countries/tests/test_settings.py +++ b/django_countries/tests/test_settings.py @@ -28,4 +28,4 @@ class TestSettings(TestCase): def test_override_only(self): with self.set...
Fix test for override_only
py
diff --git a/photutils/psf/building/epsf.py b/photutils/psf/building/epsf.py index <HASH>..<HASH> 100644 --- a/photutils/psf/building/epsf.py +++ b/photutils/psf/building/epsf.py @@ -756,7 +756,13 @@ class EPSFBuilder(object): epsf = self._build_epsf_step(stars, epsf=epsf) # fit the new ePSF...
Catch ePSF fit warnings during the build step
py
diff --git a/permission/decorators/__init__.py b/permission/decorators/__init__.py index <HASH>..<HASH> 100644 --- a/permission/decorators/__init__.py +++ b/permission/decorators/__init__.py @@ -1,5 +1,5 @@ import inspect -from django.db.models.base import ModelBase +from django.db.models import Model from class_de...
Fix permission_required decorator issue
py
diff --git a/src/saml2/client.py b/src/saml2/client.py index <HASH>..<HASH> 100644 --- a/src/saml2/client.py +++ b/src/saml2/client.py @@ -522,7 +522,8 @@ class Saml2Client(object): log.info("Request, created: %s" % request) soapclient = SOAPClient(destination, self.config.key_file, - ...
Added ca certs to use for HTTPS client certificate verification
py
diff --git a/moto/logs/models.py b/moto/logs/models.py index <HASH>..<HASH> 100644 --- a/moto/logs/models.py +++ b/moto/logs/models.py @@ -1,6 +1,6 @@ from boto3 import Session -from moto.core import BaseBackend +from moto.core import BaseBackend, BaseModel from moto.core.utils import unix_time_millis from .except...
Register classes in `logs/models.py` as models (#<I>) This change allows these object types to appear in the Moto API dashboard
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -4,6 +4,8 @@ from datetime import datetime, timedelta from functools import lru_cache from mimetypes import guess_type from threading import Thread...
Add a small sleep when trying to reconnect forever
py
diff --git a/fuzzysearch/fuzzysearch.py b/fuzzysearch/fuzzysearch.py index <HASH>..<HASH> 100644 --- a/fuzzysearch/fuzzysearch.py +++ b/fuzzysearch/fuzzysearch.py @@ -136,12 +136,6 @@ def _expand(subsequence, sequence, max_l_dist): return (min_score, min_score_idx + 1) if min_score is not None and min_score <= m...
removed a piece of unused code
py
diff --git a/wampy/testing/pytest_plugin.py b/wampy/testing/pytest_plugin.py index <HASH>..<HASH> 100644 --- a/wampy/testing/pytest_plugin.py +++ b/wampy/testing/pytest_plugin.py @@ -5,6 +5,7 @@ import atexit import logging import os +import psutil import signal import subprocess from time import sleep @@ -125,6 ...
see if psutil is more reliable and iterate through any process children
py
diff --git a/ca/django_ca/extensions.py b/ca/django_ca/extensions.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/extensions.py +++ b/ca/django_ca/extensions.py @@ -861,8 +861,31 @@ class OCSPNoCheck(NullExtension): if ca_settings.CRYPTOGRAPHY_HAS_PRECERT_POISON: # pragma: only cryptography>=2.4 class Precer...
document PrecertPoison, must always be critical
py
diff --git a/vaex/test/dataset.py b/vaex/test/dataset.py index <HASH>..<HASH> 100644 --- a/vaex/test/dataset.py +++ b/vaex/test/dataset.py @@ -510,7 +510,7 @@ class TestDataset(unittest.TestCase): self.assertEqual(values.tolist(), self.dataset("x", "y").mutual_information(limits=minmax[0]).flatten().tolist()) d...
moved legacy code to legacy.py
py
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py index <HASH>..<HASH> 100644 --- a/sos/plugins/yum.py +++ b/sos/plugins/yum.py @@ -50,15 +50,17 @@ class Yum(Plugin, RedHatPlugin): # Get list of available plugins and their configuration files. if os.path.exists(YUM_PLUGIN_PATH) and os.path.isdir(YU...
[yum] fix yum plugin data collection Don't attempt to add a null string if there are no plugins to report on, and improve the formatting of the plugin-names and plugin-packages files.
py
diff --git a/tcex/playbooks/playbooks_base.py b/tcex/playbooks/playbooks_base.py index <HASH>..<HASH> 100644 --- a/tcex/playbooks/playbooks_base.py +++ b/tcex/playbooks/playbooks_base.py @@ -118,12 +118,15 @@ class PlaybooksBase: if validate and not isinstance(value, list): raise RuntimeEr...
+ ADI-<I> - fixed issue with coercing StringArray values.
py
diff --git a/salt/runners/vault.py b/salt/runners/vault.py index <HASH>..<HASH> 100644 --- a/salt/runners/vault.py +++ b/salt/runners/vault.py @@ -63,7 +63,12 @@ def generate_token(minion_id, signature, impersonated_by_master=False): return {'error': response.reason} config['auth']...
added named roles feature for module.vault
py
diff --git a/api_commons/common.py b/api_commons/common.py index <HASH>..<HASH> 100644 --- a/api_commons/common.py +++ b/api_commons/common.py @@ -37,7 +37,7 @@ from rest_framework.exceptions import NotAuthenticated, AuthenticationFailed, Me from rest_framework.renderers import JSONRenderer from rest_framework.respon...
error code shouldn't be a zero in case response status code is <I> (zero is successful response)
py
diff --git a/src/kba/pipeline/_task_queues.py b/src/kba/pipeline/_task_queues.py index <HASH>..<HASH> 100644 --- a/src/kba/pipeline/_task_queues.py +++ b/src/kba/pipeline/_task_queues.py @@ -266,6 +266,8 @@ class ZookeeperTaskQueue(object): ## get a task task_key = self._random_available_task(...
always log the early parts of the task queue
py
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -2357,7 +2357,7 @@ class Board(BaseBoard): epd.append(f" {operand};") elif isinstance(operand, float): assert math.isfinite(operand), f"expecte...
Give up on supressing scientific notation
py
diff --git a/txdbus/test/test_client_against_internal_bus.py b/txdbus/test/test_client_against_internal_bus.py index <HASH>..<HASH> 100644 --- a/txdbus/test/test_client_against_internal_bus.py +++ b/txdbus/test/test_client_against_internal_bus.py @@ -52,8 +52,9 @@ class InternalBusMixin (object): # "Copy" the objects ...
Disabled internal bus tests due to broken signal handling
py
diff --git a/pylint/config.py b/pylint/config.py index <HASH>..<HASH> 100644 --- a/pylint/config.py +++ b/pylint/config.py @@ -679,7 +679,7 @@ class OptionsManagerMixIn(object): else: args = list(args) (options, args) = self.cmdline_parser.parse_args(args=args) - fo...
Iterate over the dictionary itself.
py
diff --git a/tests/integration/output/test_output.py b/tests/integration/output/test_output.py index <HASH>..<HASH> 100644 --- a/tests/integration/output/test_output.py +++ b/tests/integration/output/test_output.py @@ -15,6 +15,7 @@ from tests.support.mixins import RUNTIME_VARS # Import Salt libs import salt.config ...
Python 3 doesn't have 'u' before unicode strings
py
diff --git a/aiodocker/docker.py b/aiodocker/docker.py index <HASH>..<HASH> 100644 --- a/aiodocker/docker.py +++ b/aiodocker/docker.py @@ -48,10 +48,8 @@ class Docker: def _endpoint(self, path, **kwargs): string = "/".join([self.url, path]) - string = path if kwargs: string ...
fix endpoint foolishness (WTF is fnord?)
py
diff --git a/librosa/onset.py b/librosa/onset.py index <HASH>..<HASH> 100644 --- a/librosa/onset.py +++ b/librosa/onset.py @@ -127,11 +127,11 @@ def onset_detect(y=None, sr=22050, onset_envelope=None, hop_length=64, onset_envelope /= onset_envelope.max() # These parameter settings found by large-scale searc...
Adding one to post args, really we should re-do param sweep
py
diff --git a/plex/interfaces/core/base.py b/plex/interfaces/core/base.py index <HASH>..<HASH> 100644 --- a/plex/interfaces/core/base.py +++ b/plex/interfaces/core/base.py @@ -1,3 +1,4 @@ +from plex.core.six import string_types from plex.core.six.moves.urllib_parse import urlparse from functools import wraps @@ -66,...
Use "six.string_types" when testing if a variable is a string
py
diff --git a/alphalens/tears.py b/alphalens/tears.py index <HASH>..<HASH> 100644 --- a/alphalens/tears.py +++ b/alphalens/tears.py @@ -412,7 +412,7 @@ def create_turnover_tear_sheet(factor_data, turnover_periods=None): quantile_turnover = \ {p: pd.concat([perf.quantile_turnover(quantile_factor, q, p) - ...
Addressing issue #<I> Added code to address issue #<I>. link: <URL>
py
diff --git a/pandoc_fignos.py b/pandoc_fignos.py index <HASH>..<HASH> 100644 --- a/pandoc_fignos.py +++ b/pandoc_fignos.py @@ -233,7 +233,8 @@ def process_figures(key, value, fmt, meta): # pylint: disable=unused-argument return [pre, Para(value), post] elif fig['is_unreferenceable']: ...
No need for html anchors for pandoc >= <I>.
py
diff --git a/saltcloud/clouds/openstack.py b/saltcloud/clouds/openstack.py index <HASH>..<HASH> 100644 --- a/saltcloud/clouds/openstack.py +++ b/saltcloud/clouds/openstack.py @@ -255,7 +255,8 @@ def ignore_ip_addr(vm_, ip): Return True if we are to ignore the specified IP. Compatible with IPv4. ''' if HA...
Properly log error if netaddr is not installed
py
diff --git a/law/decorator.py b/law/decorator.py index <HASH>..<HASH> 100644 --- a/law/decorator.py +++ b/law/decorator.py @@ -30,6 +30,7 @@ import random import luigi +from law.task.base import ProxyTask from law.parameter import NO_STR from law.target.local import LocalFileTarget @@ -51,7 +52,7 @@ def factor...
Fix task getter in decorators.
py
diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index <HASH>..<HASH> 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -661,8 +661,6 @@ class Escpos(object): be attempted. Note however, that not all models can do a partial cut. See the documentation of your printer for details. ...
I verified that this works. Both modes cut the paper <I>% of the way through.
py
diff --git a/src/future/builtins/new_min_max.py b/src/future/builtins/new_min_max.py index <HASH>..<HASH> 100644 --- a/src/future/builtins/new_min_max.py +++ b/src/future/builtins/new_min_max.py @@ -1,3 +1,5 @@ +import itertools + from future import utils if utils.PY2: from __builtin__ import max as _builtin_max...
Fix behavior of new min/max with generators. fix #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -62,9 +62,6 @@ install_requires = [ "setuptools-git-version", ] -if os.environ.get('TRAVIS') == 'true': - install_requires.pop(install_requires.index("pyNastran")) - CLASSIFIERS = """\ Development St...
BLD: removing pyNastran dependency
py
diff --git a/gns3server/controller/project.py b/gns3server/controller/project.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/project.py +++ b/gns3server/controller/project.py @@ -94,6 +94,7 @@ class Project: self._supplier = supplier self._loading = False + self._closing = False ...
Fix issue when loading and quickly closing a project and opening it again. Fixes #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ with open(os.path.join(PACKAGE_DIR, 'version_info.json'), 'w') as version_file: setup( - name='superset', + name='apache-superset', description=( 'A modern, enterprise-ready business int...
Fix setup.py ASF issues (#<I>) * This renames the package to apache-superset instead of superset. This is required. * It sets the download location to the official ASF repositories
py
diff --git a/egoio/tools/db.py b/egoio/tools/db.py index <HASH>..<HASH> 100644 --- a/egoio/tools/db.py +++ b/egoio/tools/db.py @@ -115,7 +115,7 @@ def get_connection_details(section): Used for configuration file parser language. """ print('Please enter your connection details:') - dialect = 'psyco...
Allow to set dialect while creating config.ini
py
diff --git a/rllib/examples/centralized_critic.py b/rllib/examples/centralized_critic.py index <HASH>..<HASH> 100644 --- a/rllib/examples/centralized_critic.py +++ b/rllib/examples/centralized_critic.py @@ -96,8 +96,6 @@ def centralized_critic_postprocessing(policy, other_agent_ba...
[rllib] Fix truncate episodes mode in central critic example (#<I>)
py
diff --git a/basic/distributions.py b/basic/distributions.py index <HASH>..<HASH> 100644 --- a/basic/distributions.py +++ b/basic/distributions.py @@ -54,7 +54,7 @@ class NegativeBinomialDuration(NegativeBinomial, DurationDistribution): return super(NegativeBinomialDuration,self).resample([d-1 for d in dat...
Delay inherits from DurationDistribution
py
diff --git a/colorise/cluts.py b/colorise/cluts.py index <HASH>..<HASH> 100644 --- a/colorise/cluts.py +++ b/colorise/cluts.py @@ -226,6 +226,7 @@ else: __NUM_COLORS__ = 2**24 if color_count == 'true-color' else\ color_count + # NOTE: Can use TERM_PROGRAM/TERM_PROGRAM_VERSION to detect termin...
Added note about TERM_PROGRAM and TERM_PROGRAM_VERSION on Mac
py
diff --git a/openquake/hazardlib/sourceconverter.py b/openquake/hazardlib/sourceconverter.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/sourceconverter.py +++ b/openquake/hazardlib/sourceconverter.py @@ -1177,6 +1177,9 @@ class SourceConverter(RuptureConverter): grp_attrs = {k: v for k, v in node.at...
Ignoring srcs_weights for non-mutex
py
diff --git a/DocumentController.py b/DocumentController.py index <HASH>..<HASH> 100644 --- a/DocumentController.py +++ b/DocumentController.py @@ -844,7 +844,7 @@ class DocumentController(Observable.Broadcaster): def show_source(): self.sync_data_item(data_item.data_source) de...
Fix bug when opening new window by right clicking on data item. svn r<I>
py
diff --git a/sc2gameLobby/__init__.py b/sc2gameLobby/__init__.py index <HASH>..<HASH> 100644 --- a/sc2gameLobby/__init__.py +++ b/sc2gameLobby/__init__.py @@ -32,18 +32,13 @@ from sc2gameLobby import joinGame from sc2gameLobby import replay from sc2gameLobby import versions - -######################################...
fixed a few pep8 changes
py
diff --git a/misc/ninja_syntax.py b/misc/ninja_syntax.py index <HASH>..<HASH> 100644 --- a/misc/ninja_syntax.py +++ b/misc/ninja_syntax.py @@ -54,6 +54,12 @@ class Writer(object): return outputs + def include(self, path): + self._line('include %s' % path) + + def subninja(self, path): + ...
ninja_syntax.py: add include and subninja
py
diff --git a/holoviews/plotting/pandas.py b/holoviews/plotting/pandas.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/pandas.py +++ b/holoviews/plotting/pandas.py @@ -60,12 +60,12 @@ class DFrameViewPlot(Plot): self.plot_type = self._map.last.plot_type - def __call__(self, axis=None, cyclic_...
Fixed stray cyclic_index in plotting
py
diff --git a/openid/oidutil.py b/openid/oidutil.py index <HASH>..<HASH> 100644 --- a/openid/oidutil.py +++ b/openid/oidutil.py @@ -21,8 +21,21 @@ elementtree_modules = [ 'elementtree.ElementTree', ] -def importElementTree(): - for mod_name in elementtree_modules: +def importElementTree(module_names=None)...
[project @ Document importElementTree and allow the user to specify the list of module to try as ElementTree]
py
diff --git a/AlphaTwirl/Loop/EventReader.py b/AlphaTwirl/Loop/EventReader.py index <HASH>..<HASH> 100755 --- a/AlphaTwirl/Loop/EventReader.py +++ b/AlphaTwirl/Loop/EventReader.py @@ -2,7 +2,6 @@ import copy from .EventLoop import EventLoop -from .Associator import Associator ##___________________________________...
don't use an associator
py
diff --git a/azure/http/httpclient.py b/azure/http/httpclient.py index <HASH>..<HASH> 100644 --- a/azure/http/httpclient.py +++ b/azure/http/httpclient.py @@ -124,7 +124,7 @@ class _HTTPClient(object): proxy_port = self.proxy_port else: if ':' in target_host: - target_h...
Retrieve port number in a safe manner
py
diff --git a/glimix_core/glmm/glmm.py b/glimix_core/glmm/glmm.py index <HASH>..<HASH> 100644 --- a/glimix_core/glmm/glmm.py +++ b/glimix_core/glmm/glmm.py @@ -95,7 +95,7 @@ class GLMM(EP, Function): logscale.listen(self._clear_cache) logitdelta = self.variables()['logitdelta'] - logitdelta.bo...
delta can go to 0 or 1
py
diff --git a/deployment/freebsd/__init__.py b/deployment/freebsd/__init__.py index <HASH>..<HASH> 100644 --- a/deployment/freebsd/__init__.py +++ b/deployment/freebsd/__init__.py @@ -26,6 +26,7 @@ class JailHost(api.JailHost): with prefix("export PACKAGESITE=\'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/pa...
bugfix: we need to install rsync ourselves
py
diff --git a/datajoint/erd.py b/datajoint/erd.py index <HASH>..<HASH> 100644 --- a/datajoint/erd.py +++ b/datajoint/erd.py @@ -260,7 +260,7 @@ else: '-'*30 if q.startswith('---') else q.replace('->', '&#8594;') if '->' in q else q.split(':')[0] for q in description if n...
Highlight distinguished classes in the ERD #<I>
py
diff --git a/src/ossos-pipeline/pipeline/combine.py b/src/ossos-pipeline/pipeline/combine.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/pipeline/combine.py +++ b/src/ossos-pipeline/pipeline/combine.py @@ -1,5 +1,5 @@ #!python -# ###############################################################################...
added the prefix to the status check when running combine
py
diff --git a/tests/test_race.py b/tests/test_race.py index <HASH>..<HASH> 100644 --- a/tests/test_race.py +++ b/tests/test_race.py @@ -26,32 +26,22 @@ def check_N(N): sleep(3) - alive_count = 0 - alive_ls = [] + good_count = 0 for p in ls: - if p.is_alive(): - ...
test_race: close Xvfb instances after test
py
diff --git a/porespy/io/__funcs__.py b/porespy/io/__funcs__.py index <HASH>..<HASH> 100644 --- a/porespy/io/__funcs__.py +++ b/porespy/io/__funcs__.py @@ -52,7 +52,7 @@ def to_openpnm(net, filename): try: p = Path(filename) - p = p.resolve(strict=False) + p = p.resolve() # If exte...
oi vey, this is annoying
py
diff --git a/openstack_dashboard/api/keystone.py b/openstack_dashboard/api/keystone.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/api/keystone.py +++ b/openstack_dashboard/api/keystone.py @@ -113,13 +113,11 @@ def keystoneclient(request, admin=False): conn = getattr(request, cache_attr) else: ...
Allow insecure authentication Pass through the value of OPENSTACK_SSL_NO_VERIFY from settings.py to keystoneclient. This allows connecting to servers with self-signed or otherwise invalid certificates for testing purposes. Bug #<I> Change-Id: I<I>fae<I>c<I>af<I>e<I>f<I>fba<I>e0e<I>c
py
diff --git a/productmd/images.py b/productmd/images.py index <HASH>..<HASH> 100644 --- a/productmd/images.py +++ b/productmd/images.py @@ -51,8 +51,8 @@ SUPPORTED_IMAGE_TYPES = ['boot', 'cd', 'docker', 'dvd', # ostree-based distribution 'dvd-ostree', ...
Add rhevm-ova as valid type
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 @@ -205,14 +205,7 @@ class ThingProxy(NodeProxy): @location.setter def location(self, v): - self._cache['location'] = v.name - self.engine.handle( - com...
Remove redundancy when setting ThingProxy locations
py
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index <HASH>..<HASH> 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -802,9 +802,8 @@ class Gitlab(object): request = requests.post(self.projects_url + "/" + str(id_) + "/issues", headers=self.headers, data=data, ...
Resolves Issue #<I> No longer discard the JSON coming back from gitlab on issue creation.
py
diff --git a/flask_indieauth.py b/flask_indieauth.py index <HASH>..<HASH> 100644 --- a/flask_indieauth.py +++ b/flask_indieauth.py @@ -19,7 +19,7 @@ Example Usage ------------- - + from flask_indieauth import requires_indieauth @app.route('/micropub', methods=['GET','POST']) @...
Get the decoded unicode string from the request. This fixes a problem in Python3 where JSON expects a unicode string, not a raw byte string.
py
diff --git a/mistletoe/block_token.py b/mistletoe/block_token.py index <HASH>..<HASH> 100644 --- a/mistletoe/block_token.py +++ b/mistletoe/block_token.py @@ -208,7 +208,7 @@ class Paragraph(BlockToken): and not Heading.start(next_line) and not CodeFence.start(next_line) ...
typo in Paragraph.read (#<I>)
py
diff --git a/cablemap.core/cablemap/core/reader.py b/cablemap.core/cablemap/core/reader.py index <HASH>..<HASH> 100644 --- a/cablemap.core/cablemap/core/reader.py +++ b/cablemap.core/cablemap/core/reader.py @@ -110,7 +110,8 @@ _CABLES_WITHOUT_TID = ( '09ULAANBAATAR234', '09ISLAMABAD2185', '09ISLAMABAD2295', '09JED...
Updated cables w/o tid
py
diff --git a/tests/test_indices.py b/tests/test_indices.py index <HASH>..<HASH> 100644 --- a/tests/test_indices.py +++ b/tests/test_indices.py @@ -149,7 +149,7 @@ class TestColdSpellFreq: assert out.units == "" -class TestConsecutiveFrostDays: +class TestMaxConsecutiveFrostDays: def test_one_freeze_da...
Update tests/test_indices.py
py
diff --git a/sos/sos_task.py b/sos/sos_task.py index <HASH>..<HASH> 100644 --- a/sos/sos_task.py +++ b/sos/sos_task.py @@ -637,9 +637,11 @@ class TaskEngine(threading.Thread): if self.pending_tasks: to_run = [] # check status - num_active_tasks = len([x for ...
Fix excessive running jobs caused by quicker job submission
py
diff --git a/emoticons/__init__.py b/emoticons/__init__.py index <HASH>..<HASH> 100644 --- a/emoticons/__init__.py +++ b/emoticons/__init__.py @@ -1,5 +1,5 @@ """django-emoticons""" -__version__ = '0.1' +__version__ = '0.1.1' __license__ = 'BSD License' __author__ = 'Fantomas42'
Bumping to version <I>
py
diff --git a/gtfspy/import_loaders/day_trips_materializer.py b/gtfspy/import_loaders/day_trips_materializer.py index <HASH>..<HASH> 100644 --- a/gtfspy/import_loaders/day_trips_materializer.py +++ b/gtfspy/import_loaders/day_trips_materializer.py @@ -29,8 +29,10 @@ class DayTripsMaterializer(TableLoader): ...
Adjust day trips materializer by deleting those trips that do not have valid stop_times
py
diff --git a/headintheclouds/digitalocean.py b/headintheclouds/digitalocean.py index <HASH>..<HASH> 100644 --- a/headintheclouds/digitalocean.py +++ b/headintheclouds/digitalocean.py @@ -22,7 +22,8 @@ DEPRECATED_IMAGE_IDS = { 284203: 'Ubuntu 12.04', 1505447: 'Ubuntu 12.04.3 x64', 3101045: 'Ubuntu 12.04.4...
added deprecated digital ocean <I> id
py
diff --git a/arcana/repository/local.py b/arcana/repository/local.py index <HASH>..<HASH> 100644 --- a/arcana/repository/local.py +++ b/arcana/repository/local.py @@ -458,7 +458,7 @@ class LocalRepository(Repository): def fields_from_json(self, fname, frequency, subject_id=None, visit_i...
hopefully fixed problem with json loading bytes that was causing problems with Python <I>
py
diff --git a/salt/modules/grains.py b/salt/modules/grains.py index <HASH>..<HASH> 100644 --- a/salt/modules/grains.py +++ b/salt/modules/grains.py @@ -280,7 +280,7 @@ def append(key, val, convert=False): salt '*' grains.append key val ''' - grains = get(key) + grains = get(key, []) if not isi...
Allow to append if the grain doesn't exist.
py
diff --git a/rest_framework_swagger/views.py b/rest_framework_swagger/views.py index <HASH>..<HASH> 100644 --- a/rest_framework_swagger/views.py +++ b/rest_framework_swagger/views.py @@ -132,7 +132,8 @@ class SwaggerResourcesView(APIDocView): exclude_namespaces = rfs.SWAGGER_SETTINGS.get('exclude_namespaces') ...
Cast filter result to list for python3 compatibility
py
diff --git a/private_storage/views.py b/private_storage/views.py index <HASH>..<HASH> 100644 --- a/private_storage/views.py +++ b/private_storage/views.py @@ -46,6 +46,12 @@ class PrivateStorageView(View): """ return self.kwargs['path'] + def get_storage(self): + """ + Tell which st...
Make sure PrivateStorageDetailView uses the storage class from the model
py
diff --git a/plenum/server/node.py b/plenum/server/node.py index <HASH>..<HASH> 100644 --- a/plenum/server/node.py +++ b/plenum/server/node.py @@ -2719,7 +2719,7 @@ class Node(HasActionQueue, Motor, Propagator, MessageProcessor, HasFileStorage, if inst_id < len(self.primaries_disconnection_times) \ ...
INDY-<I>: Backup replica removal on primary loss - Fixed a PEP 8 warning.
py
diff --git a/django_rq/tests/test_views.py b/django_rq/tests/test_views.py index <HASH>..<HASH> 100644 --- a/django_rq/tests/test_views.py +++ b/django_rq/tests/test_views.py @@ -85,7 +85,7 @@ class ViewTest(TestCase): def test_requeue_all(self): """ - Ensure that requeueing all failed job work p...
docs: Fix simple typo, requeueing -> requeuing (#<I>) There is a small typo in django_rq/tests/test_views.py. Should read `requeuing` rather than `requeueing`.
py
diff --git a/minion/routers.py b/minion/routers.py index <HASH>..<HASH> 100644 --- a/minion/routers.py +++ b/minion/routers.py @@ -1,11 +1,8 @@ """ -Fundamental routing building blocks: routers and dispatchers. +Fundamental routing building blocks. -This module defines implementations of the two central routing obje...
Let's not get ahead of ourselves.
py
diff --git a/after_response/tests.py b/after_response/tests.py index <HASH>..<HASH> 100644 --- a/after_response/tests.py +++ b/after_response/tests.py @@ -16,12 +16,14 @@ class AfterResponseTest(TestCase): self.assertEqual(self.executed, 0) self.client.get('/') + time.sleep(0.1) self...
add a small sleep to make sync tests pass
py
diff --git a/kafka/conn.py b/kafka/conn.py index <HASH>..<HASH> 100644 --- a/kafka/conn.py +++ b/kafka/conn.py @@ -374,7 +374,8 @@ def get_ip_port_afi(host_and_port_str): if host_and_port_str.strip()[0] == '[': afi = socket.AF_INET6 res = host_and_port_str.split("]:") - res[0] = res[0].tra...
Changed transltae to replace to support python 3
py
diff --git a/provider/constants.py b/provider/constants.py index <HASH>..<HASH> 100644 --- a/provider/constants.py +++ b/provider/constants.py @@ -18,7 +18,7 @@ READ_WRITE = READ | WRITE DEFAULT_SCOPES = ( (READ, 'read'), (WRITE, 'write'), - (READ_WRITE, 'read-write'), + (READ_WRITE, 'read+write'), ) ...
Change 'read-write' scope to 'read+write'.
py
diff --git a/jss/jss.py b/jss/jss.py index <HASH>..<HASH> 100755 --- a/jss/jss.py +++ b/jss/jss.py @@ -517,15 +517,6 @@ class JSSObject(ElementTree.Element): def new(self, name, **kwargs): raise NotImplementedError - def makeelement(self, tag, attrib): - """Return an Element.""" - # We ...
Remove method override makeelement on JSSObject.
py
diff --git a/graphenecommon/transactionbuilder.py b/graphenecommon/transactionbuilder.py index <HASH>..<HASH> 100644 --- a/graphenecommon/transactionbuilder.py +++ b/graphenecommon/transactionbuilder.py @@ -452,14 +452,15 @@ class TransactionBuilder(dict, AbstractBlockchainInstanceProvider): :param tx tx...
operations are empty in case we build proposals, hence, sign first
py
diff --git a/django_limits/middleware.py b/django_limits/middleware.py index <HASH>..<HASH> 100644 --- a/django_limits/middleware.py +++ b/django_limits/middleware.py @@ -3,6 +3,14 @@ from django_limits.views import limit_exceeded_view class LimitExceededMiddleware(object): + + def __init__(self, get_response):...
Updated middleware for newer django versions
py
diff --git a/treeCl/parsers.py b/treeCl/parsers.py index <HASH>..<HASH> 100755 --- a/treeCl/parsers.py +++ b/treeCl/parsers.py @@ -189,6 +189,7 @@ class RaxmlParser(object): subdict['name'] = name subdict['rates'] = rates subdict['frequencies'] = freqs + subdict['model'...
Added model to RAxML parser
py
diff --git a/cme/protocols/mssql.py b/cme/protocols/mssql.py index <HASH>..<HASH> 100755 --- a/cme/protocols/mssql.py +++ b/cme/protocols/mssql.py @@ -67,8 +67,12 @@ class mssql(connection): }) def enum_host_info(self): - # Probably a better way of doing this, grab...
Add try catch for issue #<I>
py
diff --git a/tensor2tensor/visualization/attention.py b/tensor2tensor/visualization/attention.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/visualization/attention.py +++ b/tensor2tensor/visualization/attention.py @@ -21,8 +21,7 @@ This module is deigned to be called from an ipython notebook. import json import ...
Use more robust method for showing the visualizations. PiperOrigin-RevId: <I>
py
diff --git a/xray/core/formatting.py b/xray/core/formatting.py index <HASH>..<HASH> 100644 --- a/xray/core/formatting.py +++ b/xray/core/formatting.py @@ -46,6 +46,11 @@ def first_n_items(x, n_desired): # get them in a single call to __getitem__ using only slices. if n_desired < 1: raise ValueError('...
work around numpy crash with size 0 arrays here's the numpy issue: <URL>
py
diff --git a/bigfile/tests/test_bigfile.py b/bigfile/tests/test_bigfile.py index <HASH>..<HASH> 100644 --- a/bigfile/tests/test_bigfile.py +++ b/bigfile/tests/test_bigfile.py @@ -98,6 +98,18 @@ def test_casts(comm): b.write(0, numpy.array(True, dtype='?')) @MPITest([1]) +def test_passby(comm): + fname = ...
Add tests on pass-by dtypes. This should ensure we don't break imaginglss in the future.
py
diff --git a/docs/examples/led_button_remote_2.py b/docs/examples/led_button_remote_2.py index <HASH>..<HASH> 100644 --- a/docs/examples/led_button_remote_2.py +++ b/docs/examples/led_button_remote_2.py @@ -4,7 +4,7 @@ from gpiozero.tools import all_values from signal import pause factory3 = PiGPIOFactory(host='192...
Stupid mistakes... Spotted by @lurch's eagle eyes as usual :)
py
diff --git a/tools/metrics.py b/tools/metrics.py index <HASH>..<HASH> 100755 --- a/tools/metrics.py +++ b/tools/metrics.py @@ -78,7 +78,7 @@ def syscmd(*args): a2.append(a) elif a: a2.extend(a) - subprocess.run(a2) + subprocess.check_call(a2) def parse_port_list(args):
tools/metrics.py: Use check_call instead of run to error out on error.
py
diff --git a/userena/decorators.py b/userena/decorators.py index <HASH>..<HASH> 100644 --- a/userena/decorators.py +++ b/userena/decorators.py @@ -23,12 +23,6 @@ def secure_required(view_func): """ def _wrapped_view(request, *args, **kwargs): - if 'HTTP_X_FORWARDED_SSL' in request.META: - ...
Moved hacks from ``secure_required``. SSL should be configured in WSGI.
py
diff --git a/mongo_orchestration/server.py b/mongo_orchestration/server.py index <HASH>..<HASH> 100644 --- a/mongo_orchestration/server.py +++ b/mongo_orchestration/server.py @@ -28,6 +28,9 @@ from mongo_orchestration.servers import Server # How many times to attempt connecting to mongo-orchestration server. CONNEC...
Add 5 second create_connection timeout
py
diff --git a/tests/main.py b/tests/main.py index <HASH>..<HASH> 100644 --- a/tests/main.py +++ b/tests/main.py @@ -12,13 +12,11 @@ from __future__ import absolute_import from __future__ import unicode_literals -import os import sys import unittest -# Set up the path so that we can import our google.datalab.* pa...
rm os (#<I>)
py
diff --git a/airflow/version.py b/airflow/version.py index <HASH>..<HASH> 100644 --- a/airflow/version.py +++ b/airflow/version.py @@ -13,4 +13,4 @@ # limitations under the License. # -version = '1.9.0dev0+incubating' +version = '1.10.0dev0+incubating'
[AIRFLOW-XXX] Bumping Airflow <I>dev0+incubating version
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -VERSION = "0.1" +VERSION = "0.3.0" from setuptools import setup, find_packages
Setting version number to follow a 0.x.y format, where x=api_version and y=library_revision
py