diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/harvestingkit/jats_package.py b/harvestingkit/jats_package.py index <HASH>..<HASH> 100644 --- a/harvestingkit/jats_package.py +++ b/harvestingkit/jats_package.py @@ -130,7 +130,11 @@ class JatsPackage(object): corresp = '' for tag in contrib.getElementsByTagName('xref'): ...
jats_package: affiliations fix * Adds an extra check before adding the affiliations to the author.
py
diff --git a/snakeguice/__pkginfo__.py b/snakeguice/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/snakeguice/__pkginfo__.py +++ b/snakeguice/__pkginfo__.py @@ -5,8 +5,7 @@ libname = 'snake-guice' modname = 'snakeguice' packages = ['snakeguice'] -numversion = (0, 1, 0) -version = '.'.join([str(num) for num in num...
Updating the version to <I>a.
py
diff --git a/tests/test_api.py b/tests/test_api.py index <HASH>..<HASH> 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -88,6 +88,8 @@ class TestUser(unittest.TestCase): mock_response.status_code = 200 mock_get.return_value = mock_response actual_response = self.client.users() + ...
Set timeout to be in 1 second.
py
diff --git a/test/__init__.py b/test/__init__.py index <HASH>..<HASH> 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -103,7 +103,6 @@ def setup_package(): socketTimeoutMS=socketTimeoutMS, ssl=False) - env.is_replica_set = False response = env.sync_cx.admin.command('i...
No need to set env.is_replica_set to False twice.
py
diff --git a/udata/tests/__init__.py b/udata/tests/__init__.py index <HASH>..<HASH> 100644 --- a/udata/tests/__init__.py +++ b/udata/tests/__init__.py @@ -173,13 +173,21 @@ class WebTestMixin(object): class DBTestMixin(object): - - def tearDown(self): + def drop_db(self): '''Clear the database''' - ...
Ensure DB is clean before and after test
py
diff --git a/pout.py b/pout.py index <HASH>..<HASH> 100644 --- a/pout.py +++ b/pout.py @@ -37,10 +37,10 @@ import math import unicodedata import logging import json - +import platform import resource -__version__ = '0.5.4' +__version__ = '0.5.5' logger = logging.getLogger(__name__) # don't try and configure t...
turns out Linux reports memory in KB initially while OSX did bytes, so I've change pout.m() to jive with the output I was getting with Top in Linux
py
diff --git a/define.py b/define.py index <HASH>..<HASH> 100755 --- a/define.py +++ b/define.py @@ -1,4 +1,4 @@ -#! /usr/bin/env pypy +#! /usr/bin/env python #import wordnik # this is one weird library, importing it using import wordnik doesnt work from wordnik import swagger,WordApi from sys import argv
Changed from pypy to python in env
py
diff --git a/src/xopen/__init__.py b/src/xopen/__init__.py index <HASH>..<HASH> 100644 --- a/src/xopen/__init__.py +++ b/src/xopen/__init__.py @@ -326,6 +326,9 @@ def _open_bz2(filename, mode): def _open_xz(filename, mode): + if lzma is None: + raise ImportError( + "Cannot open xz files: The l...
Re add lzma is None
py
diff --git a/spyderlib/widgets/projectexplorer.py b/spyderlib/widgets/projectexplorer.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/projectexplorer.py +++ b/spyderlib/widgets/projectexplorer.py @@ -345,7 +345,12 @@ class Workspace(object): """Create project from root path, add it to workspace ...
Project explorer: handling errors when opening a workspace which has been moved
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -121,16 +121,21 @@ def include_config(include, opts, orig_path, verbose): # Catch situation where user typos path in config; also warns for # empty include dir (which might be by desig...
No need to define a `msg` is you could just log it right away.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +# coding: UTF-8 from distutils.core import setup from Cython.Build import cythonize
Add utf-8 coding to setup.py.
py
diff --git a/salt/modules/gnomedesktop.py b/salt/modules/gnomedesktop.py index <HASH>..<HASH> 100644 --- a/salt/modules/gnomedesktop.py +++ b/salt/modules/gnomedesktop.py @@ -351,6 +351,11 @@ def getIdleActivation(**kwargs): ''' + try: + user = kwargs['user'] + except KeyError: + user = Non...
Missed one try/catch
py
diff --git a/benchbuild/source/git.py b/benchbuild/source/git.py index <HASH>..<HASH> 100644 --- a/benchbuild/source/git.py +++ b/benchbuild/source/git.py @@ -7,7 +7,7 @@ import typing as tp import plumbum as pb from plumbum.commands.base import BoundCommand -from benchbuild.utils.cmd import git, mkdir +from benchb...
feat(source): Link to active location after version() This updates a symlink to our current active version inside the build directory.
py
diff --git a/tasklib/tests.py b/tasklib/tests.py index <HASH>..<HASH> 100644 --- a/tasklib/tests.py +++ b/tasklib/tests.py @@ -745,6 +745,15 @@ class TaskTest(TasklibTest): t.save() self.assertEqual(len(self.tw.tasks.pending()), 2) + def test_spawned_task_parent(self): + today = datetime.d...
tests: Add test for equality of the recurrence parents
py
diff --git a/rivescript/sorting.py b/rivescript/sorting.py index <HASH>..<HASH> 100644 --- a/rivescript/sorting.py +++ b/rivescript/sorting.py @@ -104,7 +104,7 @@ def sort_trigger_set(triggers, exclude_previous=True, say=None): say("\t\t\tTrigger belongs to a topic which inherits other topics: level=" + st...
replace sys.maxint by sys.maxsize to maintain compatability with Python 3
py
diff --git a/mbed/mbed.py b/mbed/mbed.py index <HASH>..<HASH> 100755 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -2925,7 +2925,7 @@ def test_(toolchain=None, target=None, macro=False, compile_list=False, run_list if icetea: proc = popen(icetea_command_base + ['--application-list'], st...
Add decode call to icetea application list output
py
diff --git a/tensor2tensor/utils/t2t_model.py b/tensor2tensor/utils/t2t_model.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/t2t_model.py +++ b/tensor2tensor/utils/t2t_model.py @@ -410,7 +410,7 @@ class T2TModel(base.Layer): last_position_body_output = tf.expand_dims( body_output[:, ...
Fix slicing during top_is_pointwise inference without decode_loop_step. PiperOrigin-RevId: <I>
py
diff --git a/indra/preassembler/__init__.py b/indra/preassembler/__init__.py index <HASH>..<HASH> 100644 --- a/indra/preassembler/__init__.py +++ b/indra/preassembler/__init__.py @@ -350,6 +350,7 @@ class Preassembler(object): def _generate_id_maps(self, unique_stmts, poolsize=None, size...
Make sure the ontology is initialized before grouping
py
diff --git a/abydos/distance/_indel.py b/abydos/distance/_indel.py index <HASH>..<HASH> 100644 --- a/abydos/distance/_indel.py +++ b/abydos/distance/_indel.py @@ -59,7 +59,7 @@ class Indel(Levenshtein): """ super(Indel, self).__init__( - mode='lev', cost=(1, 1, 9999, 9999), **kwargs + ...
made sub/trans costs explicitly infinity
py
diff --git a/discreteMarkovChain/markovChain.py b/discreteMarkovChain/markovChain.py index <HASH>..<HASH> 100644 --- a/discreteMarkovChain/markovChain.py +++ b/discreteMarkovChain/markovChain.py @@ -248,7 +248,7 @@ class markovChain(object): #First initialize state codes and the mapping with states. ...
Slight tweak that may lead to less resizing.
py
diff --git a/py/selenium/webdriver/firefox/webdriver.py b/py/selenium/webdriver/firefox/webdriver.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/firefox/webdriver.py +++ b/py/selenium/webdriver/firefox/webdriver.py @@ -52,7 +52,7 @@ class WebDriver(RemoteWebDriver): _web_element_cls = FirefoxWebEleme...
Correcting binary location commited by accident
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ setup( py_modules = ["flask-hmacauth"], long_description=read_md('README.md'), zip_safe=False, + tests_require = ['pytest', 'flask-testing'], classifiers=[ "Development Status :...
add flask-testing as a testing requirement
py
diff --git a/docx/section.py b/docx/section.py index <HASH>..<HASH> 100644 --- a/docx/section.py +++ b/docx/section.py @@ -211,20 +211,20 @@ class Section(object): self._sectPr.top_margin = value -class _Footer(BlockItemContainer): - """Page footer.""" +class _BaseHeaderFooter(BlockItemContainer): + ...
hdr: extract _BaseHeaderFooter Extract _BaseHeaderFooter as a common base class for _Header and _Footer to which common behaviors can be abstracted.
py
diff --git a/wonambi/ioeeg/brainvision.py b/wonambi/ioeeg/brainvision.py index <HASH>..<HASH> 100644 --- a/wonambi/ioeeg/brainvision.py +++ b/wonambi/ioeeg/brainvision.py @@ -300,7 +300,7 @@ def _write_vmrk(data, filename, markers): output = [] for i, mrk in enumerate(markers): - output.append(f'Mk{i...
start at Mk2 for vmrk
py
diff --git a/holoviews/core/io.py b/holoviews/core/io.py index <HASH>..<HASH> 100644 --- a/holoviews/core/io.py +++ b/holoviews/core/io.py @@ -564,9 +564,10 @@ class FileArchive(Archive): tarf.addfile(tarinfo, BytesIO(filedata)) def _single_file_archive(self, export_name, files, root): - ...
Single file archives now merges the archive and the supplied filename
py
diff --git a/fooster/web/web.py b/fooster/web/web.py index <HASH>..<HASH> 100644 --- a/fooster/web/web.py +++ b/fooster/web/web.py @@ -1063,7 +1063,7 @@ class HTTPServer(socketserver.TCPServer): while self.namespace.worker_shutdown != -1 and self.namespace.worker_shutdown != num: # wait for ready ...
make pipelining faster if there is no waiting request
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -266,6 +266,7 @@ class CleanCommand(Command): if f in self._clean_exclude: continue if os.path.splitext(f)[-1] in ('.pyc', '.so', '.o', + ...
BLD: also clean pyo files
py
diff --git a/quarkc/java.py b/quarkc/java.py index <HASH>..<HASH> 100644 --- a/quarkc/java.py +++ b/quarkc/java.py @@ -104,8 +104,24 @@ shade_plugin = """ </dependencyReducedPomLocation> <relocations> <relocation> - <pattern>com.acme.coyote</pattern> - ...
*Actually* do shading.
py
diff --git a/manticore/platforms/evm.py b/manticore/platforms/evm.py index <HASH>..<HASH> 100644 --- a/manticore/platforms/evm.py +++ b/manticore/platforms/evm.py @@ -660,7 +660,7 @@ class EVM(Eventful): except ConcretizeStack as ex: #Revert the stack and gas so it looks like before executing the ...
Fix gast (#<I>)
py
diff --git a/releasetests/build_package_lxd.py b/releasetests/build_package_lxd.py index <HASH>..<HASH> 100755 --- a/releasetests/build_package_lxd.py +++ b/releasetests/build_package_lxd.py @@ -31,8 +31,10 @@ SUPPORTED_RELEASES = """\ 15.04 vivid HISTORIC 15.10 wily HISTORIC 16.04 xenial LTS -16.10 yakkety SUPPORTE...
also build_package_lxd.py
py
diff --git a/fc/io.py b/fc/io.py index <HASH>..<HASH> 100644 --- a/fc/io.py +++ b/fc/io.py @@ -1020,8 +1020,14 @@ class FCSData(np.ndarray): channel_info.append(chi) - # Call constructor of numpy array - obj = fcs_file.data.view(cls) + # Create new array. Copy array from FCSFile so...
Made FCSData writeable. Fixes castillohair/fc#<I>.
py
diff --git a/performanceplatform/client.py b/performanceplatform/client.py index <HASH>..<HASH> 100644 --- a/performanceplatform/client.py +++ b/performanceplatform/client.py @@ -47,6 +47,13 @@ class DataSet(object): dry_run=dry_run, ) + def add_token(self, token): + if token is None: ...
Add `add_token` method - you may have been doing reads, then think 'oh no, I need to do writes', but how are you going to do writes? Your data-set instance doesn't have a token, does it? no.
py
diff --git a/malcolm/modules/stats/parts/statspart.py b/malcolm/modules/stats/parts/statspart.py index <HASH>..<HASH> 100644 --- a/malcolm/modules/stats/parts/statspart.py +++ b/malcolm/modules/stats/parts/statspart.py @@ -324,7 +324,12 @@ not_malcolm_logo_svg = """\ def start_ioc(stats, prefix): db_macros = "p...
add default value for epics_base since epicsuser doesnt seem to have this defined
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,7 +21,7 @@ import os import sys # sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) -import chainlet.__about__ +from chainlet imp...
docs metadata are fetched from package
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ tests_require = [] if sys.version_info[0] == 2 and sys.version_info[1] < 7: tests_require.append('unittest2==0.8.0') -insecure_pythons = '2.4, 2.5, 2.6' + ', '.join("2.7.{pv}".format(pv=pv) for pv in...
Fix insecure_pythons list in setup.py Before this it generated: '<I>, <I>, <I>, <I>, …'
py
diff --git a/buckets/utils.py b/buckets/utils.py index <HASH>..<HASH> 100644 --- a/buckets/utils.py +++ b/buckets/utils.py @@ -17,15 +17,24 @@ def validate_settings(): ID_FIELD_LENGTH = 24 alphabet = string.ascii_lowercase + string.digits +alphabet0 = string.ascii_lowercase + string.ascii_lowercase for loser in 'l...
Make random IDs start with a letter
py
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/cache.py +++ b/allegedb/allegedb/cache.py @@ -672,17 +672,13 @@ class EdgesCache(Cache): def has_successor(self, graph, orig, dest, branch, turn, tick): """Return whether an edge conn...
Get rid of the try blocks in has_successor and has_predecessor This optimization jag I'm on is diminishing its returns but I'm addicted
py
diff --git a/holoviews/plotting/bokeh/__init__.py b/holoviews/plotting/bokeh/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/__init__.py +++ b/holoviews/plotting/bokeh/__init__.py @@ -16,9 +16,6 @@ from .renderer import BokehRenderer Store.renderers['bokeh'] = BokehRenderer -def wrapper(obj)...
Removed unnecessary wrapper function from bokeh plot registration
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -1,6 +1,6 @@ # fmt: off __title__ = "spacy" -__version__ = "2.2.0.dev9" +__version__ = "2.2.0.dev10" __summary__ = "Industrial-strength Natural Language Processing (NLP) in Python" __uri__ = "https:...
Set version to <I>.de<I>
py
diff --git a/discord/abc.py b/discord/abc.py index <HASH>..<HASH> 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -296,7 +296,8 @@ class GuildChannel: # The operation first takes into consideration the denied # and then the allowed. - if member.id == self.guild.owner.id: + o = self...
Handle case when guild owner somehow doesn't exist in permissions_for
py
diff --git a/plugins/audit_logs/girder_audit_logs/__init__.py b/plugins/audit_logs/girder_audit_logs/__init__.py index <HASH>..<HASH> 100644 --- a/plugins/audit_logs/girder_audit_logs/__init__.py +++ b/plugins/audit_logs/girder_audit_logs/__init__.py @@ -4,6 +4,7 @@ import logging import six from six.moves import url...
Add compound index for audit logs records
py
diff --git a/tests/test_widgets.py b/tests/test_widgets.py index <HASH>..<HASH> 100644 --- a/tests/test_widgets.py +++ b/tests/test_widgets.py @@ -94,7 +94,14 @@ def test_staticfiles_url(settings): ) -def test_django_jquery(settings): +def test_django_jquery__bundled(settings): + settings.SELECT2_USE_BU...
tests: Cover SELECT2_USE_BUNDLED_JQUERY = True
py
diff --git a/procmail.py b/procmail.py index <HASH>..<HASH> 100644 --- a/procmail.py +++ b/procmail.py @@ -595,6 +595,10 @@ class ProcmailRc(list): return u"\n".join(s.render() for s in self) + def write(self, file, charset="utf-8"): + with open(file, 'w') as f: + f.write(self.render()...
Add function to write the procmailrc file
py
diff --git a/squad/core/models.py b/squad/core/models.py index <HASH>..<HASH> 100644 --- a/squad/core/models.py +++ b/squad/core/models.py @@ -270,12 +270,15 @@ class Build(models.Model): * it has no pending CI test jobs. * it has no submitted CI test jobs, and has at least N test runs for each of ...
code: clarify "documentation" for Environment.expected_test_runs
py
diff --git a/ckanutils/__init__.py b/ckanutils/__init__.py index <HASH>..<HASH> 100755 --- a/ckanutils/__init__.py +++ b/ckanutils/__init__.py @@ -21,6 +21,6 @@ __package_name__ = 'ckanutils' __author__ = 'Reuben Cummings' __description__ = 'Miscellaneous CKAN utility scripts' __email__ = 'reubano@gmail.com' -__vers...
Bump to version <I>
py
diff --git a/project_generator/tools/uvision.py b/project_generator/tools/uvision.py index <HASH>..<HASH> 100644 --- a/project_generator/tools/uvision.py +++ b/project_generator/tools/uvision.py @@ -288,7 +288,7 @@ class Uvision(Tool, Builder, Exporter): if os.path.splitext(template)[1] == '.uvproj' or...
uvision - Fix a second open templates as UTF-8
py
diff --git a/src/python/dxpy/utils/__init__.py b/src/python/dxpy/utils/__init__.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/utils/__init__.py +++ b/src/python/dxpy/utils/__init__.py @@ -49,6 +49,12 @@ def response_iterator(request_iterator, worker_pool, max_active_tasks=4): simultaneously. Unlike concurre...
add debug stub for reference
py
diff --git a/highcharts/highcharts/options.py b/highcharts/highcharts/options.py index <HASH>..<HASH> 100644 --- a/highcharts/highcharts/options.py +++ b/highcharts/highcharts/options.py @@ -435,6 +435,7 @@ class TooltipOptions(BaseOptions): "formatter": (Formatter, JSfunction), "headerFormat": basest...
Update options.py Support of pointFormatter introduced in <I>.
py
diff --git a/fontbakery-check-description.py b/fontbakery-check-description.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-description.py +++ b/fontbakery-check-description.py @@ -18,6 +18,7 @@ from __future__ import print_function import argparse import defusedxml.lxml +import logging import magic import o...
logging setup for check-description script
py
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -4,7 +4,7 @@ # fmt: off __title__ = "spacy-nightly" -__version__ = "2.1.0a7.dev3" +__version__ = "2.1.0a7.dev4" __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and ...
Set version to <I>a7.dev4
py
diff --git a/mama_cas/tests/views.py b/mama_cas/tests/views.py index <HASH>..<HASH> 100644 --- a/mama_cas/tests/views.py +++ b/mama_cas/tests/views.py @@ -282,6 +282,24 @@ class LogoutViewTests(TestCase): status_code=302, target_status_code=200) self.assertFalse('_auth_user_id' in...
Add test for new setting to follow logout URLs
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -219,7 +219,14 @@ class API(object): :allowed_param: """ f = kwargs.pop('file', None) - headers, post_data = API._pack_image(filename, 4883, + + file_type = imgh...
increase max image size for gif
py
diff --git a/libact/query_strategies/hintsvm.py b/libact/query_strategies/hintsvm.py index <HASH>..<HASH> 100644 --- a/libact/query_strategies/hintsvm.py +++ b/libact/query_strategies/hintsvm.py @@ -146,12 +146,15 @@ class HintSVM(QueryStrategy): weight = [1.0 for _ in range(len(labeled_pool))] +\ ...
make sure that data are float<I> before sending to hintsvm solver
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,12 +17,12 @@ setup( install_requires=["requests", "beautifulsoup4"], tests_require=['unittest', 'vcrpy'], classifiers=[ - 'Development Status :: Beta', + 'Development Status :: 4 - Beta', ...
<I> uploaded to pypi
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 @@ -4093,6 +4093,8 @@ class BaseCase(unittest.TestCase): if self.timeout_multiplier and timeout == settings.LARGE_TI...
Improve reliability of "self.set_value()"
py
diff --git a/unit_systems.py b/unit_systems.py index <HASH>..<HASH> 100644 --- a/unit_systems.py +++ b/unit_systems.py @@ -147,3 +147,14 @@ geometrized_unit_system = UnitSystem("geometrized", "l_geom", "m_geom", "t_geom" planck_unit_system = UnitSystem("planck", "l_pl", "m_pl", "t_pl", temperature_unit="T_pl") planck...
Add a cgs-ampere unit system. This system is only used internally, and is necessary because it's the only unit system where quantities with both CGS and SI EM units are representable. --HG-- branch : yt
py
diff --git a/fluent_contents/forms/widgets.py b/fluent_contents/forms/widgets.py index <HASH>..<HASH> 100644 --- a/fluent_contents/forms/widgets.py +++ b/fluent_contents/forms/widgets.py @@ -2,12 +2,16 @@ from django.contrib.admin.widgets import AdminTextareaWidget from django.forms.widgets import Widget from django....
Restore Django <I>- tests, though this begs for deprecation now..
py
diff --git a/ccmlib/node.py b/ccmlib/node.py index <HASH>..<HASH> 100644 --- a/ccmlib/node.py +++ b/ccmlib/node.py @@ -508,6 +508,7 @@ class Node(object): if common.is_win(): self.__clean_win_pid() self._update_pid(process) + print_("Started: {0} with pid: {1}".format(self....
Print pid of nodes when started on Windows
py
diff --git a/sentry_sdk/integrations/asgi.py b/sentry_sdk/integrations/asgi.py index <HASH>..<HASH> 100644 --- a/sentry_sdk/integrations/asgi.py +++ b/sentry_sdk/integrations/asgi.py @@ -130,7 +130,7 @@ class SentryAsgiMiddleware: if ty in ("http", "websocket"): transaction = Tra...
Decode headers before creating transaction (#<I>)
py
diff --git a/tests/test_gnome_screensaver.py b/tests/test_gnome_screensaver.py index <HASH>..<HASH> 100644 --- a/tests/test_gnome_screensaver.py +++ b/tests/test_gnome_screensaver.py @@ -52,7 +52,7 @@ class TestGnomeScreensaver(dbusmock.DBusTestCase): self.assertGreater(self.obj_ss.GetActiveTime(), 0) ...
fix remaining forgotten test case update after previous commit
py
diff --git a/src/oidcendpoint/session.py b/src/oidcendpoint/session.py index <HASH>..<HASH> 100644 --- a/src/oidcendpoint/session.py +++ b/src/oidcendpoint/session.py @@ -200,6 +200,12 @@ class SessionDB(object): def get_sids_by_sub(self, sub): return self.sso_db.get_sids_by_sub(sub) + def get_sid_by...
Useful method, getting from subject identifier and client_id to session ID.
py
diff --git a/pycbc/results/legacy_grb.py b/pycbc/results/legacy_grb.py index <HASH>..<HASH> 100755 --- a/pycbc/results/legacy_grb.py +++ b/pycbc/results/legacy_grb.py @@ -36,7 +36,6 @@ if 'matplotlib.backends' not in sys.modules: matplotlib.use('agg') import matplotlib.pyplot as plt from pycbc_glue import markup...
don't explicitly require lal gpstime python module (#<I>)
py
diff --git a/pymzn/mzn/minizinc.py b/pymzn/mzn/minizinc.py index <HASH>..<HASH> 100644 --- a/pymzn/mzn/minizinc.py +++ b/pymzn/mzn/minizinc.py @@ -100,7 +100,7 @@ class Solutions: def __repr__(self): self._fetch_all() - return 'Solutions({})'.format(repr(self._solns)) + return repr(self._s...
minizinc: update Solutions repr
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,4 +30,5 @@ setup( url='http://hg.hardcoded.net/send2trash/', license='LICENSE', description='Send file to trash natively under Mac OS X, Windows and Linux.', + zip_safe=False, ) \ No newline at end of fi...
Set zip_safe to False, as it causes problems when creating executables for Windows of apps using it.
py
diff --git a/wpull/version.py b/wpull/version.py index <HASH>..<HASH> 100644 --- a/wpull/version.py +++ b/wpull/version.py @@ -6,4 +6,4 @@ A string conforming to `Semantic Versioning Guidelines <http://semver.org/>`_ ''' -__version__ = '0.22.4' +__version__ = '0.22.5'
Bumps version to <I>.
py
diff --git a/honcho/command.py b/honcho/command.py index <HASH>..<HASH> 100644 --- a/honcho/command.py +++ b/honcho/command.py @@ -203,8 +203,6 @@ class Honcho(compat.with_metaclass(Commander, object)): type=str, metavar='process=num,process=num') @option('-u', '--user', help="Specify the...
Deal with crazy non-POSIX shells Heroku's shell violates POSIX by having neither USER nor LOGNAME environment variables exported. Catch this and provide a user-friendly error message rather than a KeyError. Fixes #<I>.
py
diff --git a/sos/report/plugins/pulpcore.py b/sos/report/plugins/pulpcore.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/pulpcore.py +++ b/sos/report/plugins/pulpcore.py @@ -115,6 +115,16 @@ class PulpCore(Plugin, IndependentPlugin): "/etc/pulp/settings.py", r"(PASSWORD\S*\s*:\s*)(.*)...
[pulpcore] obfuscate two passwords from 'dynaconf list' The command also prints content of /etc/pulp/settings.py where we need to also obfuscate the SECRET_KEY and PASSWORD values. Resolves: #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,6 @@ tests_requires = [ dev_requires = ['twine', 'sphinx', 'docutils', 'docopt'] - setup( name=__package__, version=main_ns['__version__'], @@ -57,12 +56,17 @@ setup( ] }, classifie...
Added a few classifiers
py
diff --git a/pyspelling/__init__.py b/pyspelling/__init__.py index <HASH>..<HASH> 100644 --- a/pyspelling/__init__.py +++ b/pyspelling/__init__.py @@ -452,7 +452,7 @@ class Aspell(SpellChecker): 'conf-dir', 'data-dir', 'add-dict-alias', 'rem-dict-alias', 'dict-dir', 'encoding', 'add-filter', '...
Fix typo (#<I>)
py
diff --git a/angr/calling_conventions.py b/angr/calling_conventions.py index <HASH>..<HASH> 100644 --- a/angr/calling_conventions.py +++ b/angr/calling_conventions.py @@ -802,7 +802,14 @@ class SimCC: if not isinstance(other, self.__class__): return False - return set(self.args) == set(ot...
SimCC: Do not crash during comparison if args is None.
py
diff --git a/hitch/key.py b/hitch/key.py index <HASH>..<HASH> 100644 --- a/hitch/key.py +++ b/hitch/key.py @@ -128,14 +128,14 @@ class Engine(BaseEngine): Command raises exception. """ import re - error = self.ipython_step_library.run( + self.error = self.ipython_step_library.ru...
HITCH : Added lint back.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +from __future__ import print_function import io import os import sys @@ -61,9 +62,9 @@ def find_package_data(where=".", package="", exclude=standard_exclude, ...
refactor(setup): Use print() function Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3.
py
diff --git a/doctr/travis.py b/doctr/travis.py index <HASH>..<HASH> 100644 --- a/doctr/travis.py +++ b/doctr/travis.py @@ -61,7 +61,9 @@ def setup_deploy_key(keypath='github_deploy_key', key_ext='.enc', env_name='DOCT raise RuntimeError("{env_name} or DOCTR_DEPLOY_ENCRYPTION_KEY environment variable is not set...
Better logic for falling back to the legacy deploy key filename This way if the file isn't found, the new file name is in the error message rather than the legacy one.
py
diff --git a/irc3/plugins/command.py b/irc3/plugins/command.py index <HASH>..<HASH> 100644 --- a/irc3/plugins/command.py +++ b/irc3/plugins/command.py @@ -156,10 +156,10 @@ For example, `error_format="Error for {cmd}".format` will work. **quiet**: if `True` don't show errors -**aliases**: this argument, when prese...
Fixed line length in docstrings
py
diff --git a/gridfs/grid_file.py b/gridfs/grid_file.py index <HASH>..<HASH> 100644 --- a/gridfs/grid_file.py +++ b/gridfs/grid_file.py @@ -297,7 +297,7 @@ class GridIn(object): raise ValueError("cannot write to a closed file") # With w=0, 'filemd5' might run before the final chunks are written. ...
PYTHON-<I> - Check Collection's write_concern in GridFS
py
diff --git a/virtualchain/lib/indexer.py b/virtualchain/lib/indexer.py index <HASH>..<HASH> 100644 --- a/virtualchain/lib/indexer.py +++ b/virtualchain/lib/indexer.py @@ -157,7 +157,7 @@ class StateEngine( object ): self.lastblock = self.impl.get_first_block_id() - 1 self.pool = None self.rej...
Use the 'snapshots' listing in expected_snapshots (which should be a .snapshots file loaded into memory)
py
diff --git a/appcore/utils/import_tools.py b/appcore/utils/import_tools.py index <HASH>..<HASH> 100644 --- a/appcore/utils/import_tools.py +++ b/appcore/utils/import_tools.py @@ -299,13 +299,13 @@ class ModulesDiscovery(object): f_args = entry_point.__code__.co_varnames[:entry_point.__code__.co_argcount] - ...
Fix passed wrong configuration class instead of instance
py
diff --git a/opbeat_python/contrib/django/views.py b/opbeat_python/contrib/django/views.py index <HASH>..<HASH> 100644 --- a/opbeat_python/contrib/django/views.py +++ b/opbeat_python/contrib/django/views.py @@ -9,7 +9,7 @@ opbeat_python.contrib.django.views try: import json -except: +except ImportError: im...
Make sure we only catch ImportErrors.
py
diff --git a/visidata/addons/freqtbl.py b/visidata/addons/freqtbl.py index <HASH>..<HASH> 100644 --- a/visidata/addons/freqtbl.py +++ b/visidata/addons/freqtbl.py @@ -19,7 +19,13 @@ class SheetFreqTable(Sheet): Column('percent', float, lambda r: len(r[1])*100/self.source.nRows), Column('histog...
Set default type for aggregator column to int
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -19,6 +19,8 @@ setup(name='salt', 'salt.modules', 'salt.cli', 'salt.returners', + 'salt.grains', + 'salt.states', ], scri...
Add states and grains to the setup.py
py
diff --git a/netmiko/fortinet/fortinet_ssh.py b/netmiko/fortinet/fortinet_ssh.py index <HASH>..<HASH> 100644 --- a/netmiko/fortinet/fortinet_ssh.py +++ b/netmiko/fortinet/fortinet_ssh.py @@ -41,7 +41,7 @@ class FortinetSSH(CiscoSSHConnection): new_output = '' if self.allow_disable_global: - ...
Adding additional end to fortinet driver so it exits global
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -1204,7 +1204,13 @@ class ColumnBase(Node): def _escape_like_expr(self, s, template): if s.find('_') >= 0 or s.find('%') >= 0 or s.find('\\') >= 0: s = s.replace('\\', '\\\\').replace('_', '\\_')...
Ensure that LIKE pattern does not get converted by field converter. Fixes #<I>
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -45,6 +45,20 @@ class Test_unfold_lines(unittest.TestCase): def test_last_line_folded(self): self.assertEqual(list(unfold_lines(cal6.split('\n'))),unfolded_cal6) + def test_simple(self): + dataset = { + ...
[test] Detect bug in unfold_lines with simple tests
py
diff --git a/tests/input/logictree_test.py b/tests/input/logictree_test.py index <HASH>..<HASH> 100644 --- a/tests/input/logictree_test.py +++ b/tests/input/logictree_test.py @@ -1009,7 +1009,7 @@ class GMPELogicTreeBrokenInputTestCase(unittest.TestCase): exc = self._assert_logic_tree_error('gmpe', gmpe, 'base...
tests/input/logictree_test: Fixed the expected error message in a test. Former-commit-id: b1e<I>c1bf<I>bc<I>caaf7a<I>e<I>c6
py
diff --git a/bika/lims/browser/fields/aranalysesfield.py b/bika/lims/browser/fields/aranalysesfield.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/fields/aranalysesfield.py +++ b/bika/lims/browser/fields/aranalysesfield.py @@ -100,7 +100,9 @@ class ARAnalysesField(ObjectField): service_uids is a list...
ARAnalysesField accepts objects in setter as well.
py
diff --git a/inflect.py b/inflect.py index <HASH>..<HASH> 100644 --- a/inflect.py +++ b/inflect.py @@ -21,7 +21,7 @@ The original Perl module Lingua::EN::Inflect by Damian Conway is available from http://search.cpan.org/~dconway/ - This module can be downloaded at http://pypi.python.org/pypi/inflect + ...
Update latent pypi reference.
py
diff --git a/qnet/misc/to_sympy_matrix.py b/qnet/misc/to_sympy_matrix.py index <HASH>..<HASH> 100644 --- a/qnet/misc/to_sympy_matrix.py +++ b/qnet/misc/to_sympy_matrix.py @@ -83,6 +83,8 @@ def convert_to_sympy_matrix(expr, full_space=None): return ((eta/2) * a**2 - (eta.conjugate()/2) * (a.H)**2).exp() ...
Fix LocalSigma -> Sympy conversion "labeled" basis states would not be recognized correctly
py
diff --git a/testnet/test/testServer.py b/testnet/test/testServer.py index <HASH>..<HASH> 100755 --- a/testnet/test/testServer.py +++ b/testnet/test/testServer.py @@ -18,7 +18,7 @@ except ImportError: UPSTREAM = "http://localhost:30001" -UPSTREAM_GET_PATHS = ['/config', '/operations', '/atlas-neighbors', '/blockHe...
fix test server for testnet to handle names and namespaces
py
diff --git a/salt/utils/network.py b/salt/utils/network.py index <HASH>..<HASH> 100644 --- a/salt/utils/network.py +++ b/salt/utils/network.py @@ -1299,7 +1299,7 @@ def _filter_interfaces(interface=None, interface_data=None): ret = { k: v for k, v in six.iteritems(ifaces) - ...
Use generator expression to appease pylint
py
diff --git a/tensor2tensor/utils/t2t_model.py b/tensor2tensor/utils/t2t_model.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/utils/t2t_model.py +++ b/tensor2tensor/utils/t2t_model.py @@ -269,6 +269,7 @@ class T2TModel(object): if last_position_only: cur_sample = samples[:, -1, :, :] else: + ...
Add comments that will use a new email name
py
diff --git a/mcfit/cosmology.py b/mcfit/cosmology.py index <HASH>..<HASH> 100644 --- a/mcfit/cosmology.py +++ b/mcfit/cosmology.py @@ -64,12 +64,12 @@ class DoubleSphericalBessel(mcfit): class TophatVar(mcfit): - """Variance in a top-hat window + r"""Variance in a top-hat window Examples --------...
fix non-ascii character in docstring
py
diff --git a/bika/lims/upgrade/v3_2_0_1705.py b/bika/lims/upgrade/v3_2_0_1705.py index <HASH>..<HASH> 100644 --- a/bika/lims/upgrade/v3_2_0_1705.py +++ b/bika/lims/upgrade/v3_2_0_1705.py @@ -55,6 +55,8 @@ def upgrade(tool): portal, catalog_definitions, force_no_reindex=True) logger.info("Catalogs updated ...
Last touch to migration script; remove logger messages
py
diff --git a/hypercorn/__about__.py b/hypercorn/__about__.py index <HASH>..<HASH> 100644 --- a/hypercorn/__about__.py +++ b/hypercorn/__about__.py @@ -1 +1 @@ -__version__ = "0.8.1" +__version__ = "0.8.1+dev"
Following the release of <I> bump to +dev
py
diff --git a/src/hamster/storage/db.py b/src/hamster/storage/db.py index <HASH>..<HASH> 100644 --- a/src/hamster/storage/db.py +++ b/src/hamster/storage/db.py @@ -83,7 +83,7 @@ class Storage(storage.Storage): elif event == gio.FileMonitorEvent.DELETED: self.con = None - ...
do not monitor redundant CREATED CHANGES_DONE_HINT is enough
py
diff --git a/airflow/version.py b/airflow/version.py index <HASH>..<HASH> 100644 --- a/airflow/version.py +++ b/airflow/version.py @@ -17,4 +17,4 @@ # under the License. # -version = '2.0.0.dev0' +version = '2.0.0a1'
Bump to Airflow <I>a1 (#<I>)
py
diff --git a/ailment/analyses/propagator.py b/ailment/analyses/propagator.py index <HASH>..<HASH> 100644 --- a/ailment/analyses/propagator.py +++ b/ailment/analyses/propagator.py @@ -12,7 +12,10 @@ from angr.analyses.forward_analysis import ForwardAnalysis, FunctionGraphVisitor l = logging.getLogger('ailment.analyses....
Rename SimEngineProp to SimEnginePropagator. (#<I>)
py
diff --git a/cassiopeia/__init__.py b/cassiopeia/__init__.py index <HASH>..<HASH> 100644 --- a/cassiopeia/__init__.py +++ b/cassiopeia/__init__.py @@ -1,6 +1,6 @@ import sys -if (sys.version_info.major == 2): +if sys.version_info.major == 2: import future.standard_library future.standard_library.install_...
Fixed last if with parens I think
py
diff --git a/src/umbra/components/factory/componentsManagerUi/componentsManagerUi.py b/src/umbra/components/factory/componentsManagerUi/componentsManagerUi.py index <HASH>..<HASH> 100644 --- a/src/umbra/components/factory/componentsManagerUi/componentsManagerUi.py +++ b/src/umbra/components/factory/componentsManagerUi/...
Remove unused import in "componentsManagerUi" component.
py
diff --git a/gnosis/safe/ethereum_service.py b/gnosis/safe/ethereum_service.py index <HASH>..<HASH> 100644 --- a/gnosis/safe/ethereum_service.py +++ b/gnosis/safe/ethereum_service.py @@ -141,15 +141,16 @@ class EthereumService: def get_transaction_receipt(self, tx_hash, timeout=None): if not timeout: - ...
Fix bug returning tx receipts Parity returns tx receipt even if tx is not confirmed. Now that is checked
py
diff --git a/python/mxnet/libinfo.py b/python/mxnet/libinfo.py index <HASH>..<HASH> 100644 --- a/python/mxnet/libinfo.py +++ b/python/mxnet/libinfo.py @@ -23,6 +23,8 @@ def find_lib_path(): else: dll_path.append(os.path.join(curr_path, '../../build', vs_configuration)) dll_path.append...
Add LD_LIBRARY_PATH into search paths for libmxnet.so.
py