diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/lambdautils/monitor.py b/lambdautils/monitor.py index <HASH>..<HASH> 100644 --- a/lambdautils/monitor.py +++ b/lambdautils/monitor.py @@ -21,7 +21,7 @@ rlogger = logging.getLogger() rlogger.setLevel(logging.INFO) try: - SENTRY_SAMPLE_RATE = float(os.environ.get("SENTRY_SAMPLE_RATE")) + SENTRY_SAM...
[fix]: still broken Sentry sample rate
py
diff --git a/salt/utils/minions.py b/salt/utils/minions.py index <HASH>..<HASH> 100644 --- a/salt/utils/minions.py +++ b/salt/utils/minions.py @@ -963,7 +963,7 @@ class CkMinions(object): for item in auth_list: if isinstance(item, six.string_types): continue - ou_names....
Fixed typo in filtering LDAP's potential_ous
py
diff --git a/utils/twarc-archive.py b/utils/twarc-archive.py index <HASH>..<HASH> 100755 --- a/utils/twarc-archive.py +++ b/utils/twarc-archive.py @@ -107,9 +107,18 @@ def main(): last_archive = get_last_archive(args.archive_dir) if last_archive: last_id = json.loads(next(open(last_archive)))['id_str...
handle screen_names and user ids when fetching timeline
py
diff --git a/master/buildbot/steps/vstudio.py b/master/buildbot/steps/vstudio.py index <HASH>..<HASH> 100644 --- a/master/buildbot/steps/vstudio.py +++ b/master/buildbot/steps/vstudio.py @@ -392,7 +392,7 @@ VS2013 = VC12 class MsBuild4(VisualStudio): platform = None vcenv_bat = "\"${VS110COMNTOOLS}..\\..\\VC...
Removed unnecessary semi-colon. Because after years of using them, you forget sometimes...
py
diff --git a/yandextank/plugins/JMeter/plugin.py b/yandextank/plugins/JMeter/plugin.py index <HASH>..<HASH> 100644 --- a/yandextank/plugins/JMeter/plugin.py +++ b/yandextank/plugins/JMeter/plugin.py @@ -149,6 +149,7 @@ class Plugin(GeneratorPlugin): return -1 elif aggregator.reader.jmeter_finished...
Fix JMeter reader not closing causing tank to hang
py
diff --git a/map/version.py b/map/version.py index <HASH>..<HASH> 100644 --- a/map/version.py +++ b/map/version.py @@ -4,7 +4,7 @@ This is the version file for the map project. More information about map is available at https://github.com/THLO/map. """ -__version__ = "1.2.0" +__version__ = "1.2.1" __version_text...
Updated the version to <I>.
py
diff --git a/bundle_to_yaml.py b/bundle_to_yaml.py index <HASH>..<HASH> 100755 --- a/bundle_to_yaml.py +++ b/bundle_to_yaml.py @@ -23,6 +23,10 @@ def objectpointer_representer(dumper, data): yaml.add_representer(unitypack.ObjectPointer, objectpointer_representer) +def unityobj_representer(dumper, data): + return d...
Add a generic Unity Object representation in yaml
py
diff --git a/anycast_healthchecker/main.py b/anycast_healthchecker/main.py index <HASH>..<HASH> 100644 --- a/anycast_healthchecker/main.py +++ b/anycast_healthchecker/main.py @@ -124,8 +124,6 @@ def main(): if not touch(args.bird_conf_file): sys.exit(1) - # Get a PID lock file. - pid_lockfile = PI...
allocate a pid file after all checks has been passed
py
diff --git a/aiozk/connection.py b/aiozk/connection.py index <HASH>..<HASH> 100644 --- a/aiozk/connection.py +++ b/aiozk/connection.py @@ -12,7 +12,7 @@ from aiozk import protocol, iterables, exc DEFAULT_READ_TIMEOUT = 3 -version_regex = re.compile(rb'Zookeeper version: (\d)\.(\d)\.(\d)-.*') +version_regex = re.co...
connection: allow multiple-digit version numbers (#<I>) This allows using Zookeeper <I>.
py
diff --git a/.travis/complementary/api_file_generation.py b/.travis/complementary/api_file_generation.py index <HASH>..<HASH> 100644 --- a/.travis/complementary/api_file_generation.py +++ b/.travis/complementary/api_file_generation.py @@ -9,7 +9,7 @@ import PyFunceble PyFunceble.initiate_colorama(True) PyFunceble.l...
Deactivation of the directory structure generation as the system should handle everything.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup(name='graftm', keywords="", packages=find_packages(exclude='docs'), install_requires=('biopython >=1.64', - 'seqmagick >=0.5.0', + 'seqmag...
setup.py: Restrict seqmagick version to <<I>.
py
diff --git a/smartmin/users/urls.py b/smartmin/users/urls.py index <HASH>..<HASH> 100644 --- a/smartmin/users/urls.py +++ b/smartmin/users/urls.py @@ -2,10 +2,13 @@ from django.conf.urls.defaults import * from .views import * from django.contrib.auth.views import login, logout +from django.conf import settings + +l...
add a LOGOUT_REDIRECT_URL settings to settings.py for those that have that defined
py
diff --git a/sigal/templates/sigal.conf.py b/sigal/templates/sigal.conf.py index <HASH>..<HASH> 100644 --- a/sigal/templates/sigal.conf.py +++ b/sigal/templates/sigal.conf.py @@ -72,7 +72,7 @@ thumb_size = (280, 210) # Be aware of the fact these options need to be passed as strings. If you are # using avconv (for exa...
Remove extra comma in the sample config file (fix #<I>).
py
diff --git a/revproxy/transformer.py b/revproxy/transformer.py index <HASH>..<HASH> 100644 --- a/revproxy/transformer.py +++ b/revproxy/transformer.py @@ -24,7 +24,7 @@ DIAZO_OFF_RESPONSE_HEADER = 'X-Diazo-Off' def asbool(value): try: # pragma: no cover is_string = isinstance(value, basestring) - exc...
Removing if statement from method set_html5_doctype
py
diff --git a/insights/parsers/ls_var_tmp.py b/insights/parsers/ls_var_tmp.py index <HASH>..<HASH> 100644 --- a/insights/parsers/ls_var_tmp.py +++ b/insights/parsers/ls_var_tmp.py @@ -28,11 +28,15 @@ Examples: from insights.specs import Specs +from insights.core.filters import add_filter from .. import FileListi...
Make ls_var_tmp a filtered file (#<I>)
py
diff --git a/SoftLayer/managers/image.py b/SoftLayer/managers/image.py index <HASH>..<HASH> 100644 --- a/SoftLayer/managers/image.py +++ b/SoftLayer/managers/image.py @@ -16,7 +16,7 @@ class ImageManager(utils.IdentifierMixin, object): """Manages SoftLayer server images. See product information here: - h...
#<I> fixed documentation link in image manager
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,13 @@ from rabird_bootstrap import use_pip use_pip() +# Prepare six module +try: + import six +except ImportError: + import pip + pip.main(["install", "six"]) + import os import os.path import sys
We depends on module "six" to run our setup.py
py
diff --git a/django_braintree/models.py b/django_braintree/models.py index <HASH>..<HASH> 100644 --- a/django_braintree/models.py +++ b/django_braintree/models.py @@ -57,6 +57,8 @@ class UserVault(models.Model): ) if result.is_success: + # create a payment log + ...
create a payment log on every charge automagically
py
diff --git a/pre_commit_hooks/no_commit_to_branch.py b/pre_commit_hooks/no_commit_to_branch.py index <HASH>..<HASH> 100644 --- a/pre_commit_hooks/no_commit_to_branch.py +++ b/pre_commit_hooks/no_commit_to_branch.py @@ -2,7 +2,7 @@ from __future__ import print_function import argparse import re -from typing import F...
Use AbstractSet to appease mypy
py
diff --git a/spyderlib/widgets/externalshell/monitor.py b/spyderlib/widgets/externalshell/monitor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/monitor.py +++ b/spyderlib/widgets/externalshell/monitor.py @@ -23,7 +23,7 @@ from spyderlib.baseconfig import get_conf_path, get_supported_types, DEBUG ...
External Console: Prevent pandas from being imported too early when creating a console - This was making pandas to set an incorrect encoding for the console - See this SO question for the problem: <URL>
py
diff --git a/tools/kit_tools/build_kits.py b/tools/kit_tools/build_kits.py index <HASH>..<HASH> 100755 --- a/tools/kit_tools/build_kits.py +++ b/tools/kit_tools/build_kits.py @@ -124,9 +124,9 @@ def buildRabbitMQExport(version, dist_type): # Untar with cd(paths[dist_type]): run ("pwd") - run (...
ENG-<I>. Cleanup.
py
diff --git a/rest_framework_simplejwt/tokens.py b/rest_framework_simplejwt/tokens.py index <HASH>..<HASH> 100644 --- a/rest_framework_simplejwt/tokens.py +++ b/rest_framework_simplejwt/tokens.py @@ -212,7 +212,7 @@ class SlidingToken(BlacklistMixin, Token): class RefreshToken(BlacklistMixin, Token): token_type = ...
Fix same jti between refresh parent and access child
py
diff --git a/src/main/python/rlbot/setup_manager.py b/src/main/python/rlbot/setup_manager.py index <HASH>..<HASH> 100644 --- a/src/main/python/rlbot/setup_manager.py +++ b/src/main/python/rlbot/setup_manager.py @@ -249,7 +249,7 @@ class SetupManager: self.teams = [bot.team for bot in match_config.player_config...
Allow Psyonix bots to be preconfigured with a loadout If a PlayerConfig is a psyonix bot then it's loadout config was always being overwrriten. However, if the loadout was specifically set, then we should just respect it.
py
diff --git a/tests/test_utils_strptime.py b/tests/test_utils_strptime.py index <HASH>..<HASH> 100644 --- a/tests/test_utils_strptime.py +++ b/tests/test_utils_strptime.py @@ -73,7 +73,15 @@ class TestStrptime(BaseTestCase): param('12 Dec 10 10:30:55.000011', '%d %b %y %H:%M:%S.%f', expected=datetime(2010, 12, ...
test for utils/strptime.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. """ from distutils.core import setup -from . import fedex +import fedex LONG_DESCRIPTION = \ """A light wrapper around Fedex's...
Fixing up setup.py in preparation for distribution.
py
diff --git a/metal/modules/lstm_module.py b/metal/modules/lstm_module.py index <HASH>..<HASH> 100644 --- a/metal/modules/lstm_module.py +++ b/metal/modules/lstm_module.py @@ -14,7 +14,7 @@ class Encoder(nn.Module): encoded_size: (int) Output feature dimension of the Encoder """ - def __init__(self, e...
Adds default verbose argument to Encoder class for consistency with LSTMModule usages
py
diff --git a/hcalendar.py b/hcalendar.py index <HASH>..<HASH> 100644 --- a/hcalendar.py +++ b/hcalendar.py @@ -2,8 +2,10 @@ import bs4 from vcalendar import vCalendar class hCalendar(object): - def __init__(self, markup): + def __init__(self, markup, value=None, key='id'): self._soup = bs4.Beaut...
Added keyword argument to pre-filter input by searching for a subelement
py
diff --git a/src/ossos-pipeline/pipeline/astrom_mag_check.py b/src/ossos-pipeline/pipeline/astrom_mag_check.py index <HASH>..<HASH> 100755 --- a/src/ossos-pipeline/pipeline/astrom_mag_check.py +++ b/src/ossos-pipeline/pipeline/astrom_mag_check.py @@ -9,7 +9,6 @@ import math import os from ossos import astrom -from ...
now uses the storage package instead of ossos.downloads
py
diff --git a/tangelo/tangelo/__main__.py b/tangelo/tangelo/__main__.py index <HASH>..<HASH> 100644 --- a/tangelo/tangelo/__main__.py +++ b/tangelo/tangelo/__main__.py @@ -259,6 +259,22 @@ def main(): tangelo.log_critical("ERROR", "can't specify both --show-py and --no-show-py together") return 1 + ...
Report the logging level when Tangelo starts up. This may be helpful for helping users with bug reports etc.
py
diff --git a/gwpy/table/io/root.py b/gwpy/table/io/root.py index <HASH>..<HASH> 100644 --- a/gwpy/table/io/root.py +++ b/gwpy/table/io/root.py @@ -81,7 +81,7 @@ def _import_uproot_that_can_write_root_files(): """ import uproot try: - uproot.create + uproot.newtree except AttributeError...
gwpy.table: fix detection of uproot4 writing
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -7,7 +7,7 @@ import os import subprocess -_BASE_VERSION = "0.92.1" +_BASE_VERSION = "0.93.0" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/sos/plugins/pcp.py b/sos/plugins/pcp.py index <HASH>..<HASH> 100644 --- a/sos/plugins/pcp.py +++ b/sos/plugins/pcp.py @@ -128,8 +128,8 @@ class Pcp(Plugin, RedHatPlugin, DebianPlugin): path = os.path.join(self.pcp_log_dir, 'pmlogger', self.pcp_hostname, '*') ...
[pcp] fix pmloger_ls output processing
py
diff --git a/gnupg/_parsers.py b/gnupg/_parsers.py index <HASH>..<HASH> 100644 --- a/gnupg/_parsers.py +++ b/gnupg/_parsers.py @@ -1341,13 +1341,14 @@ class ExportResult(object): :raises ValueError: if the status message is unknown. """ + informational_keys = ["KEY_CONSIDERED"] if ke...
Fix for KEY_CONSIDERED issue
py
diff --git a/safe/common/qgis_interface.py b/safe/common/qgis_interface.py index <HASH>..<HASH> 100644 --- a/safe/common/qgis_interface.py +++ b/safe/common/qgis_interface.py @@ -61,7 +61,8 @@ class QgisInterface(QObject): def __getattr__(self, *args, **kwargs): # It's for processing module - def...
pylint, but why not just do def __getattr__(self, *args, **kwargs): _ = args, kwargs return QgisInterface(self.canvas)
py
diff --git a/cumulusci/tasks/salesforce/tests/test_PublishCommunity.py b/cumulusci/tasks/salesforce/tests/test_PublishCommunity.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/salesforce/tests/test_PublishCommunity.py +++ b/cumulusci/tasks/salesforce/tests/test_PublishCommunity.py @@ -31,8 +31,8 @@ class test_Publ...
Fix problems with non-ascii and self.sf
py
diff --git a/seleniumbase/core/settings_parser.py b/seleniumbase/core/settings_parser.py index <HASH>..<HASH> 100755 --- a/seleniumbase/core/settings_parser.py +++ b/seleniumbase/core/settings_parser.py @@ -111,6 +111,14 @@ def set_settings(settings_file): settings.RAISE_INVALID_PROXY_STRING_EXCEPTION = ov...
Fix parsing of custom_settings files
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='Legobot', - version='1.0.0dev1', + version='1.0.0dev3', py_modules=['Legobot'],
Version bump to <I>dev3
py
diff --git a/asyncio_xmpp/ssl_transport.py b/asyncio_xmpp/ssl_transport.py index <HASH>..<HASH> 100644 --- a/asyncio_xmpp/ssl_transport.py +++ b/asyncio_xmpp/ssl_transport.py @@ -434,7 +434,7 @@ class STARTTLSTransport(asyncio.Transport): if self._buffer: try: - nsent = self._sock...
Work around an issue in recent PyOpenSSL versions
py
diff --git a/openquake/server/views.py b/openquake/server/views.py index <HASH>..<HASH> 100644 --- a/openquake/server/views.py +++ b/openquake/server/views.py @@ -224,8 +224,8 @@ def calc_info(request, calc_id): calc = oqe_models.OqJob.objects.get(pk=calc_id) response_data = vars(calc.get_oqparam()) ...
Remove jobstats from server's view Fixes #<I>
py
diff --git a/ropetest/refactor/renametest.py b/ropetest/refactor/renametest.py index <HASH>..<HASH> 100644 --- a/ropetest/refactor/renametest.py +++ b/ropetest/refactor/renametest.py @@ -22,7 +22,7 @@ class RenameRefactoringTest(unittest.TestCase): testmod = testutils.create_module(self.project, 'testmod') ...
renametest: changed tests not to use deprecated in_file
py
diff --git a/smartfilesorter/sfs.py b/smartfilesorter/sfs.py index <HASH>..<HASH> 100755 --- a/smartfilesorter/sfs.py +++ b/smartfilesorter/sfs.py @@ -187,11 +187,16 @@ if __name__ == '__main__': rules = m.build_rules(rule_yaml, match_plugins, action_plugins) + files_analyzed = 0 + files_matched = 0 + ...
Added summary statistics (files matched/total)
py
diff --git a/lib/search_engine.py b/lib/search_engine.py index <HASH>..<HASH> 100644 --- a/lib/search_engine.py +++ b/lib/search_engine.py @@ -2781,7 +2781,16 @@ def intersect_results_with_collrecs(req, hitset_in_any_collection, colls, ap=0, user_info = collect_user_info(req) policy = CFG_WEBSEARCH_V...
WebSearch: permitted restricted colls for guests * Guests users might be authorized to view restricted collections by virtue of a FireRole specifying an IP address. For this reason the permitted_restricted_collections variable in intersect_results_with_collrecs() is now computed explicitly without using the pr...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ setup( # There are some restrictions on what makes a valid project name # specification here: # https://packaging.python.org/specifications/core-metadata/#name - name='HARK', # Required + n...
Change name to econ-ark which is available on PyPI
py
diff --git a/examples/lock_context.py b/examples/lock_context.py index <HASH>..<HASH> 100755 --- a/examples/lock_context.py +++ b/examples/lock_context.py @@ -1,4 +1,6 @@ import asyncio +import logging + from aioredlock import Aioredlock, LockError @@ -26,5 +28,6 @@ async def lock_context(): if __name__ == "...
logging for lock_context example
py
diff --git a/django_libs/models_mixins.py b/django_libs/models_mixins.py index <HASH>..<HASH> 100644 --- a/django_libs/models_mixins.py +++ b/django_libs/models_mixins.py @@ -22,7 +22,7 @@ class HvadPublishedManager(TranslationManager): if not language: self.model.objects.none() ...
Update models_mixins.py
py
diff --git a/proso_models/models.py b/proso_models/models.py index <HASH>..<HASH> 100644 --- a/proso_models/models.py +++ b/proso_models/models.py @@ -168,10 +168,11 @@ class DatabaseEnvironment(CommonEnvironment): variable = Variable.objects.get(**data) except Variable.DoesNotExist: ...
call database only if something is changed
py
diff --git a/openquake/risklib/scientific.py b/openquake/risklib/scientific.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/scientific.py +++ b/openquake/risklib/scientific.py @@ -63,6 +63,13 @@ class VulnerabilityFunction(object): self.imls = numpy.array(imls) self.mean_loss_ratios = numpy.arr...
scientific: Check for an invalid loss ratio/CoV configuration and raise an exception if found.
py
diff --git a/add_images_ads.py b/add_images_ads.py index <HASH>..<HASH> 100644 --- a/add_images_ads.py +++ b/add_images_ads.py @@ -47,8 +47,9 @@ class Janitor(object): ad['_source'] = source new_ads.append(ad) else: - self.o_file.write(ad['_id']) - ...
dnt write ad ids to log
py
diff --git a/coreir/module.py b/coreir/module.py index <HASH>..<HASH> 100644 --- a/coreir/module.py +++ b/coreir/module.py @@ -78,6 +78,8 @@ class Module(CoreIRType): @property def directed_module(self): + if not libcoreir_c.COREModuleHasDef(self.ptr): + return None return Directe...
Check for module def before getting directed view Fixes #<I>
py
diff --git a/stl/base.py b/stl/base.py index <HASH>..<HASH> 100644 --- a/stl/base.py +++ b/stl/base.py @@ -206,11 +206,15 @@ class BaseMesh(logger.Logged, collections.Mapping): self.areas = areas.reshape((areas.size, 1)) def get_mass_properties(self): - # returns a tuple with the following elemen...
Added docstring for method get_mass_properties
py
diff --git a/quart/app.py b/quart/app.py index <HASH>..<HASH> 100644 --- a/quart/app.py +++ b/quart/app.py @@ -1388,7 +1388,7 @@ class Quart(PackageStatic): for key, value in self.teardown_websocket_funcs.items(): self.teardown_websocket_funcs[key] = list(reversed(value)) - with await sel...
Switch ``with await lock`` to ``async with lock`` As the former is deprecated.
py
diff --git a/lib/ansiblelint/rules/RoleNames.py b/lib/ansiblelint/rules/RoleNames.py index <HASH>..<HASH> 100644 --- a/lib/ansiblelint/rules/RoleNames.py +++ b/lib/ansiblelint/rules/RoleNames.py @@ -48,8 +48,8 @@ class RoleNames(AnsibleLintRule): def match(self, file, text): path = file['path'].split("/...
E<I>: Role name should be the parent dir of tasks (#<I>)
py
diff --git a/pyhomematic/devicetypes/actors.py b/pyhomematic/devicetypes/actors.py index <HASH>..<HASH> 100644 --- a/pyhomematic/devicetypes/actors.py +++ b/pyhomematic/devicetypes/actors.py @@ -54,7 +54,7 @@ class KeyBlind(Blind, HelperActionPress, HelperWired): # init metadata self.WRITENODE.update(...
Fixed event for HMW-LC-Bl1-DR
py
diff --git a/influxdb/tests/test_line_protocol.py b/influxdb/tests/test_line_protocol.py index <HASH>..<HASH> 100644 --- a/influxdb/tests/test_line_protocol.py +++ b/influxdb/tests/test_line_protocol.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +from __future__ import unicode_literals import sys if sys.version_info ...
tests: add unicode test for line_protocol.make_line. I'm discovered problems, while try to write data, with tags in unicode.
py
diff --git a/labkey/messageboard.py b/labkey/messageboard.py index <HASH>..<HASH> 100644 --- a/labkey/messageboard.py +++ b/labkey/messageboard.py @@ -28,16 +28,16 @@ to Message Boards/Forums on the LabKey Server Documentation: LabKey Python API: -https://www.labkey.org/wiki/home/Documentation/Archive/15.2/page.vie...
Update messageboard.py Oops, rolling back last change -- was on wrong branch.
py
diff --git a/microcosm_flask/matchers.py b/microcosm_flask/matchers.py index <HASH>..<HASH> 100644 --- a/microcosm_flask/matchers.py +++ b/microcosm_flask/matchers.py @@ -58,7 +58,7 @@ class JSONMatcher(BaseMatcher): def __init__(self, resource): self.resource = resource self.schema = self.schema...
fix a marshmallow <I> incompatability in JSONMatcher
py
diff --git a/src/canari/entrypoints.py b/src/canari/entrypoints.py index <HASH>..<HASH> 100644 --- a/src/canari/entrypoints.py +++ b/src/canari/entrypoints.py @@ -296,13 +296,12 @@ def pysudo(): if __name__ == '__main__': - os.environ.setdefault('TERM', 'dumb') + term = os.environ.setdefault('TERM', 'dumb') ...
added default TERM env in case it's missing
py
diff --git a/nose/orbitint4sigint.py b/nose/orbitint4sigint.py index <HASH>..<HASH> 100644 --- a/nose/orbitint4sigint.py +++ b/nose/orbitint4sigint.py @@ -6,7 +6,7 @@ from galpy.potential import MiyamotoNagaiPotential if __name__ == '__main__': # python orbitint4sigint.py symplec4_c full mp= MiyamotoNagaiPo...
Make integration longer bc now ends before interrupt?
py
diff --git a/d1_libclient_python/src/setup.py b/d1_libclient_python/src/setup.py index <HASH>..<HASH> 100644 --- a/d1_libclient_python/src/setup.py +++ b/d1_libclient_python/src/setup.py @@ -12,12 +12,13 @@ from setuptools import setup, find_packages import d1_client setup( - name='Python DataONE Investigator Tool...
* Change name from 'Python DataONE Investigator Toolkit' to 'Python DataONE Client Library' * Use version as defined in d1_client/__init__.py * Add license info
py
diff --git a/charmhelpers/payload/execd.py b/charmhelpers/payload/execd.py index <HASH>..<HASH> 100644 --- a/charmhelpers/payload/execd.py +++ b/charmhelpers/payload/execd.py @@ -51,7 +51,8 @@ def execd_run(command, execd_dir=None, die_on_error=True, stderr=subprocess.STDO """Run command for each module within exe...
set universal_newlines=True to get the same log output with py2 and py3
py
diff --git a/aiohttp_devtools/runserver/config.py b/aiohttp_devtools/runserver/config.py index <HASH>..<HASH> 100644 --- a/aiohttp_devtools/runserver/config.py +++ b/aiohttp_devtools/runserver/config.py @@ -43,7 +43,7 @@ class Config: self.root_path = Path(root_path).resolve() logger.debug('Ro...
Fixed typo (#<I>)
py
diff --git a/pymc3/model.py b/pymc3/model.py index <HASH>..<HASH> 100644 --- a/pymc3/model.py +++ b/pymc3/model.py @@ -713,7 +713,7 @@ class ValueGradFunction: return args_joined, theano.clone(cost, replace=replace) -class Model(Factor, WithMemoization, metaclass=ContextMeta, context_class='Model'): +class...
Fix for <I>. (#<I>)
py
diff --git a/hendrix/hendrix-devserver.py b/hendrix/hendrix-devserver.py index <HASH>..<HASH> 100644 --- a/hendrix/hendrix-devserver.py +++ b/hendrix/hendrix-devserver.py @@ -1,13 +1,14 @@ +from hendrix.path_settings import * #Just to set the appropriate sys.path + import os, sys import imp -# import autoreload +impo...
virtualenv path needs to be set to get autoreload to work
py
diff --git a/patchboard/resource.py b/patchboard/resource.py index <HASH>..<HASH> 100644 --- a/patchboard/resource.py +++ b/patchboard/resource.py @@ -45,12 +45,14 @@ class ResourceType(type): # The 'is not False' only matters if additionalProperties is # None, basically--are these semantics c...
Re-implement the analog of Ruby method_missing
py
diff --git a/jira/client.py b/jira/client.py index <HASH>..<HASH> 100644 --- a/jira/client.py +++ b/jira/client.py @@ -81,6 +81,10 @@ class JIRA(object): self._options = JIRA.DEFAULT_OPTIONS self._options.update(options) + # rip off trailing slash since all urls depend on that + if sel...
rip off trailing slash on server urls and add auth.
py
diff --git a/spyder/widgets/switcher.py b/spyder/widgets/switcher.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/switcher.py +++ b/spyder/widgets/switcher.py @@ -483,7 +483,7 @@ class SwitcherProxyModel(QSortFilterProxyModel): self.invalidateFilter() def filterAcceptsRow(self, source_row, source_pa...
Correct a typo in a docstring
py
diff --git a/radiusauth/__init__.py b/radiusauth/__init__.py index <HASH>..<HASH> 100644 --- a/radiusauth/__init__.py +++ b/radiusauth/__init__.py @@ -1 +1 @@ -VERSION = '0.1.0' +VERSION = '0.1.1dev'
The next version will be <I>
py
diff --git a/LiSE/LiSE/allegedb/__init__.py b/LiSE/LiSE/allegedb/__init__.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/allegedb/__init__.py +++ b/LiSE/LiSE/allegedb/__init__.py @@ -1765,6 +1765,7 @@ class ORM(object): """Write changes to database and close the connection""" if hasattr(self, 'cache_a...
Avoid joining unstarted _cache_arrange_thread
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ test_requirements, dependency_links = parse_requirements( setup( name='nameko', - version='0.6.0', + version='0.7.0', description='service framework supporting multiple' 'mess...
Update setup.py version bump for release
py
diff --git a/sporco/admm/cbpdn.py b/sporco/admm/cbpdn.py index <HASH>..<HASH> 100644 --- a/sporco/admm/cbpdn.py +++ b/sporco/admm/cbpdn.py @@ -1711,8 +1711,12 @@ class ConvTwoBlockCnstrnt(admm.ADMMTwoBlockCnstrnt): # should be possible to disable relevant diagnostic information # (dual residual) to av...
Make cnst_A0T consistent with relevant section in xstep
py
diff --git a/oceansdb/__init__.py b/oceansdb/__init__.py index <HASH>..<HASH> 100755 --- a/oceansdb/__init__.py +++ b/oceansdb/__init__.py @@ -7,6 +7,7 @@ __version__ = '0.5.0' from oceansdb.woa import WOA from oceansdb.etopo import ETOPO +from oceansdb.cars import CARS #from WOA.woa import woa_profile #from WOA....
Adding alias to CARS.
py
diff --git a/src/fonduer/candidates/candidates.py b/src/fonduer/candidates/candidates.py index <HASH>..<HASH> 100644 --- a/src/fonduer/candidates/candidates.py +++ b/src/fonduer/candidates/candidates.py @@ -252,6 +252,9 @@ class CandidateExtractorUDF(UDF): :param clear: Whether or not to clear the existing dat...
Reattach doc with the current session otherwise doc remains detached when PARALLEL>=2
py
diff --git a/tests/unit/modules/localemod_test.py b/tests/unit/modules/localemod_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/localemod_test.py +++ b/tests/unit/modules/localemod_test.py @@ -157,6 +157,7 @@ class LocalemodTestCase(TestCase): with patch.dict(localemod.__grains__, {'os': 'Ubu...
Properly mock localemod unit tests locale_gentoo* unit tests only pass on Linux systems because the localedef is in the search path.
py
diff --git a/integration_tests/blockstack_integration_tests/scenarios/testlib.py b/integration_tests/blockstack_integration_tests/scenarios/testlib.py index <HASH>..<HASH> 100644 --- a/integration_tests/blockstack_integration_tests/scenarios/testlib.py +++ b/integration_tests/blockstack_integration_tests/scenarios/test...
blockstack-core, not blockstack-server
py
diff --git a/pyrogram/client/types/object.py b/pyrogram/client/types/object.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/types/object.py +++ b/pyrogram/client/types/object.py @@ -32,8 +32,15 @@ class Object(metaclass=Meta): def __init__(self, client: "pyrogram.BaseClient" = None): self._client = c...
Add .bind() method to re-enable bound-methods after deserialization
py
diff --git a/pyemma/coordinates/data/util/frames_from_file.py b/pyemma/coordinates/data/util/frames_from_file.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/data/util/frames_from_file.py +++ b/pyemma/coordinates/data/util/frames_from_file.py @@ -23,7 +23,6 @@ from logging import getLogger import mdtraj as md ...
[frames_from_files] removed progress bar (#<I>)
py
diff --git a/kernel_tuner/opencl.py b/kernel_tuner/opencl.py index <HASH>..<HASH> 100644 --- a/kernel_tuner/opencl.py +++ b/kernel_tuner/opencl.py @@ -115,7 +115,7 @@ class OpenCLFunctions(object): :returns: A robust average for the kernel execution time. :rtype: float """ - global_siz...
fix for 3D grids in opencl
py
diff --git a/glue/pipeline.py b/glue/pipeline.py index <HASH>..<HASH> 100644 --- a/glue/pipeline.py +++ b/glue/pipeline.py @@ -441,17 +441,11 @@ class CondorJob: subfile.write( 'arguments = "' ) for c in self.__options.keys(): if self.__options[c]: - if ' ' in self.__options[c] and '$(ma...
Fix PR<I> partially revert <I>
py
diff --git a/timepiece/models.py b/timepiece/models.py index <HASH>..<HASH> 100644 --- a/timepiece/models.py +++ b/timepiece/models.py @@ -530,6 +530,17 @@ class Entry(models.Model): end.strftime('%H:%M:%S') ) raise ValidationError(err_msg) + month_start = utils...
Reject entries if approved entries exist for the month of the start time
py
diff --git a/pyflakes/checker.py b/pyflakes/checker.py index <HASH>..<HASH> 100644 --- a/pyflakes/checker.py +++ b/pyflakes/checker.py @@ -163,7 +163,8 @@ class ModuleScope(Scope): pass -# Globally defined names which are not attributes of the __builtin__ module. +# Globally defined names which are not attribu...
Adjust the comment about _MAGIC_GLOBALS, explaining that it also papers over cross-platform __builtin__ differences.
py
diff --git a/tohu/v6/derived_generators.py b/tohu/v6/derived_generators.py index <HASH>..<HASH> 100644 --- a/tohu/v6/derived_generators.py +++ b/tohu/v6/derived_generators.py @@ -31,4 +31,4 @@ class Apply(DerivedGenerator): super().reset(seed) def spawn(self): - return Apply(self.callable, *self....
Pass on internal generators when spawning Apply to ensure the spawn is in the same state and produces the same elements even before resetting
py
diff --git a/alpaca_trade_api/rest_async.py b/alpaca_trade_api/rest_async.py index <HASH>..<HASH> 100644 --- a/alpaca_trade_api/rest_async.py +++ b/alpaca_trade_api/rest_async.py @@ -4,7 +4,7 @@ import asyncio from alpaca_trade_api.entity_v2 import BarsV2, QuotesV2, TradesV2, \ EntityList, TradeV2, QuoteV2 impor...
Read credentials from environment for async rest client
py
diff --git a/pyes/facets.py b/pyes/facets.py index <HASH>..<HASH> 100644 --- a/pyes/facets.py +++ b/pyes/facets.py @@ -4,7 +4,7 @@ __author__ = 'Alberto Paro' from utils import EqualityComparableUsingAttributeDictionary -from filters import Filter, TermFilter, TermsFilter, ANDFilter +from filters import Filter, Ter...
add NotFilter as facet filter
py
diff --git a/acceptancetests/jujupy/client.py b/acceptancetests/jujupy/client.py index <HASH>..<HASH> 100644 --- a/acceptancetests/jujupy/client.py +++ b/acceptancetests/jujupy/client.py @@ -1109,6 +1109,12 @@ class ModelClient: :raises: subprocess.CalledProcessError if the operation fails. :return: T...
Ensures that acceptance tests untrack controller models before issuing a destroy model command. This prevents calling status on models that are dying/dead, which causes test errors.
py
diff --git a/u2flib_host/hid_transport.py b/u2flib_host/hid_transport.py index <HASH>..<HASH> 100644 --- a/u2flib_host/hid_transport.py +++ b/u2flib_host/hid_transport.py @@ -38,6 +38,7 @@ from u2flib_host.yubicommon.compat import byte2int, int2byte from u2flib_host import exc DEVICES = [ + (0x096e, 0x0850), # ...
Add Feitian Technologies, Inc. ePass FIDO to devices
py
diff --git a/peng3d/util/__init__.py b/peng3d/util/__init__.py index <HASH>..<HASH> 100644 --- a/peng3d/util/__init__.py +++ b/peng3d/util/__init__.py @@ -195,12 +195,12 @@ class calculated_from(object): *args ) self.multiargs: bool = len(args) != 1 - self.func: Optional[Callable[[...
Fixed broken tests/RTD builds on Python <= <I>
py
diff --git a/discord/app_commands/commands.py b/discord/app_commands/commands.py index <HASH>..<HASH> 100644 --- a/discord/app_commands/commands.py +++ b/discord/app_commands/commands.py @@ -556,10 +556,10 @@ class Command(Generic[GroupT, P, T]): parent = self.parent if parent is not None: - ...
Remove command parameter from Group.on_error callback Similar to the CommandTree.on_error removal, this one can be retrieved using Interaction.command
py
diff --git a/python/segyio/segy.py b/python/segyio/segy.py index <HASH>..<HASH> 100644 --- a/python/segyio/segy.py +++ b/python/segyio/segy.py @@ -1,18 +1,3 @@ -"""segyio modes - -Welcome to segyio modes. Here you will find references and examples for the -various segy modes and how to interact with segy files. To star...
Remove segyio.segy module doc, move to SegyFile This was largely a help text on how to use pydoc, but documentation is largely now meant to be consumed on readthedocs, so this intro is unnecessary.
py
diff --git a/pycbc/workflow/configuration.py b/pycbc/workflow/configuration.py index <HASH>..<HASH> 100644 --- a/pycbc/workflow/configuration.py +++ b/pycbc/workflow/configuration.py @@ -152,7 +152,10 @@ def resolve_url(url, directory=None, permissions=None): if u.scheme == '' or u.scheme == 'file': # for...
handle src and dest are same
py
diff --git a/jax/tree_util.py b/jax/tree_util.py index <HASH>..<HASH> 100644 --- a/jax/tree_util.py +++ b/jax/tree_util.py @@ -266,15 +266,8 @@ class Partial(functools.partial): functools.partial different semantics than normal function closures.) """ -def _partial_to_iterable(partial_): - values = partial_.ar...
Define partial to pytree in terms of tuple and dict
py
diff --git a/src/python/dxpy/bindings/dxgtable.py b/src/python/dxpy/bindings/dxgtable.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/bindings/dxgtable.py +++ b/src/python/dxpy/bindings/dxgtable.py @@ -409,10 +409,12 @@ class DXGTable(DXDataObject): if len(self._http_threadpool_futures) > 0: ...
Clean up http_threadpool_futures when there was an error.
py
diff --git a/wva/test/test_stream.py b/wva/test/test_stream.py index <HASH>..<HASH> 100644 --- a/wva/test/test_stream.py +++ b/wva/test/test_stream.py @@ -19,7 +19,9 @@ from wva.test.test_utilities import WVATestBase class TestWVAEventStream(WVATestBase): def setUp(self): WVATestBase.setUp(self) - ...
stream: avoid hitting network by providing default error response Tests were failing on my laptop running OSX as requests were running for a long time trying to talk to an actual device at <I>. This change avoids hitting the network by providing a response for the requests made by the library.
py
diff --git a/zengine/models.py b/zengine/models.py index <HASH>..<HASH> 100644 --- a/zengine/models.py +++ b/zengine/models.py @@ -26,6 +26,9 @@ class User(Model): password = field.String("Password") superuser = field.Boolean("Super user", default=False) + class Meta: + list_fields = ['username', ...
added list_fields definition to zengine's default user model
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ setup( long_description=readme_text, packages=["geojson"], package_dir={"geojson": "geojson"}, - package_data={"geojson": ["VERSION.txt"]}, + package_data={"geojson": ["*.rst"]}, setup_...
include all rst in package_data
py
diff --git a/src/qinfer/smc.py b/src/qinfer/smc.py index <HASH>..<HASH> 100644 --- a/src/qinfer/smc.py +++ b/src/qinfer/smc.py @@ -152,14 +152,21 @@ class SMCUpdater(object): a, h = self.resample_a, self.resample_h S = h * la.sqrtm(cov) Sd = diag(S) + n_mp = self.model.n_modelparams...
Added implementation of resampler.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ setup( maintainer_email='thiagocavila@gmail.com', packages=find_packages(), include_package_data=True, + zip_safe=False, scripts=[], url='https://github.com/staticdev/django-paginatio...
Update setup.py Fixing setup issues and adding keywords
py
diff --git a/stun/__init__.py b/stun/__init__.py index <HASH>..<HASH> 100644 --- a/stun/__init__.py +++ b/stun/__init__.py @@ -251,13 +251,3 @@ def get_ip_info(source_ip="0.0.0.0", source_port=54320, stun_host=None, external_port = nat['ExternalPort'] s.close() return (nat_type, external_ip, external_por...
Remove main from __init__.
py
diff --git a/pycoin/tx/script/vm.py b/pycoin/tx/script/vm.py index <HASH>..<HASH> 100644 --- a/pycoin/tx/script/vm.py +++ b/pycoin/tx/script/vm.py @@ -276,6 +276,8 @@ def witness_program_version(script): if l < 4 or l > 42: return None first_opcode = byte_to_int(script[0]) + if byte_to_int(script[...
Be more careful when finding segwit transactions.
py
diff --git a/rtv/terminal.py b/rtv/terminal.py index <HASH>..<HASH> 100644 --- a/rtv/terminal.py +++ b/rtv/terminal.py @@ -455,6 +455,16 @@ class Terminal(object): p.communicate(input=data.encode('utf-8')) except KeyboardInterrupt: p.terminate() + + ...
Better handling for urlview errors. #<I>.
py
diff --git a/pecan/pecan.py b/pecan/pecan.py index <HASH>..<HASH> 100644 --- a/pecan/pecan.py +++ b/pecan/pecan.py @@ -204,6 +204,7 @@ class Pecan(MonitorableProcess): # get the result from the controller result = controller(*positional_params, **params) + raw_namespace = result ...
Storing a bit of metadata into environ['paste.testing'] to ease testing WebOb TestResponse objects. Now TestResponse objects have a `namespace` attribute which contains the raw controller response value.
py