diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/integration/test_arctic_multithreading.py b/tests/integration/test_arctic_multithreading.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_arctic_multithreading.py +++ b/tests/integration/test_arctic_multithreading.py @@ -42,7 +42,7 @@ def my_auth_hook(host, app_name, database_name): A...
increased the multiprocessing tests timeout
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,8 @@ def get_long_description(): try: import github2pypi + if github2pypi.__file__ is None: + raise ImportError except ImportError: return long_description
Check if github2pypi is correctly installed or not
py
diff --git a/gui/test_is_dock.py b/gui/test_is_dock.py index <HASH>..<HASH> 100644 --- a/gui/test_is_dock.py +++ b/gui/test_is_dock.py @@ -67,8 +67,8 @@ except Exception, e: QGISAPP, CANVAS, IFACE, PARENT = getQgisTestApp() DOCK = ISDock(IFACE) -YOGYA2006_title = 'Earthquake in Yogyakarta like in 2006' -PADANG2009_...
Work on errors introduced when renaming titles
py
diff --git a/master/buildbot/changes/gitpoller.py b/master/buildbot/changes/gitpoller.py index <HASH>..<HASH> 100644 --- a/master/buildbot/changes/gitpoller.py +++ b/master/buildbot/changes/gitpoller.py @@ -296,12 +296,18 @@ class GitPoller(base.PollingChangeSource, StateMixin): d = utils.getProcessOutputAndVa...
Print detailed information if _dovccmd() in GitPoller fails Otherwise the outputted information often isn't sufficient to debug the problem.
py
diff --git a/aiosmtplib/smtp.py b/aiosmtplib/smtp.py index <HASH>..<HASH> 100644 --- a/aiosmtplib/smtp.py +++ b/aiosmtplib/smtp.py @@ -35,7 +35,7 @@ class SMTP(SMTPAuth): Basic usage: >>> loop = asyncio.get_event_loop() - >>> smtp = aiosmtplib.SMTP(hostname="127.0.0.1", port=1025, loop=loop) + ...
Avoid explict loop in doctest
py
diff --git a/heron/statemgrs/src/python/configloader.py b/heron/statemgrs/src/python/configloader.py index <HASH>..<HASH> 100644 --- a/heron/statemgrs/src/python/configloader.py +++ b/heron/statemgrs/src/python/configloader.py @@ -26,7 +26,7 @@ def load_state_manager_locations(cluster, state_manager_config_file='heron-...
Change python statemanager home resolution (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ setup( name="populous", version=populous.__version__, url=populous.__url__, - description=populous.__doc__, + description="Populate your database with god-like powers", author=populous....
Add short description to setup.py
py
diff --git a/AegeanTools/angle_tools.py b/AegeanTools/angle_tools.py index <HASH>..<HASH> 100644 --- a/AegeanTools/angle_tools.py +++ b/AegeanTools/angle_tools.py @@ -19,13 +19,10 @@ import numpy as np def ra2dec(ra): """ - Accepts a string right ascention and converts it to decimal degrees + Accepts a st...
dec2dec now works with spaces as well as colons ra2dec is now just dec2dec*<I>
py
diff --git a/elasticutils/__init__.py b/elasticutils/__init__.py index <HASH>..<HASH> 100644 --- a/elasticutils/__init__.py +++ b/elasticutils/__init__.py @@ -25,7 +25,7 @@ def es_required(f): @wraps(f) def wrapper(*args, **kw): if settings.ES_DISABLED: - log.warning('Search not available ...
Making things less alarming if they are disabled.
py
diff --git a/PBB_Core.py b/PBB_Core.py index <HASH>..<HASH> 100755 --- a/PBB_Core.py +++ b/PBB_Core.py @@ -552,7 +552,7 @@ class WDItemEngine(object): 'value': description } - def set_sitelink(self, site, title): + def set_sitelink(self, site, title, badges): """ Set site...
added badges to set_sitelink in PBB_Core
py
diff --git a/src/api/constants.py b/src/api/constants.py index <HASH>..<HASH> 100644 --- a/src/api/constants.py +++ b/src/api/constants.py @@ -12,7 +12,7 @@ import enum import os -from typing import Optional +from typing import Optional, Union from .decorator import classproperty @@ -179,29 +179,22 @@ class TY...
refact: use Python's Enum for SCOPEs
py
diff --git a/bigchaindb_driver/driver.py b/bigchaindb_driver/driver.py index <HASH>..<HASH> 100644 --- a/bigchaindb_driver/driver.py +++ b/bigchaindb_driver/driver.py @@ -230,11 +230,11 @@ class UnspentsEndpoint(NamespacedDriver): """ path = '/unspents/' - def get(self, owner_after): + def get(self, p...
Rename owner_after to public_key
py
diff --git a/tests/unit/resources/servers/test_logical_enclosures.py b/tests/unit/resources/servers/test_logical_enclosures.py index <HASH>..<HASH> 100644 --- a/tests/unit/resources/servers/test_logical_enclosures.py +++ b/tests/unit/resources/servers/test_logical_enclosures.py @@ -127,7 +127,7 @@ class LogicalEnclosur...
Added default value for custom header in unit test file
py
diff --git a/transformers/commands/run.py b/transformers/commands/run.py index <HASH>..<HASH> 100644 --- a/transformers/commands/run.py +++ b/transformers/commands/run.py @@ -50,9 +50,9 @@ class RunCommand(BaseTransformersCLICommand): nlp, output = self._nlp, [] for entry in self._reader: ...
Fix leading axis added when saving through the command run
py
diff --git a/ccmlib/cmds/command.py b/ccmlib/cmds/command.py index <HASH>..<HASH> 100644 --- a/ccmlib/cmds/command.py +++ b/ccmlib/cmds/command.py @@ -62,7 +62,7 @@ class Cmd(object): self.name = args[0] if load_cluster: - self.cluster = self.load_current_cluster() + self.clu...
Fix call to _load_current_cluster
py
diff --git a/bedup/tracking_model.py b/bedup/tracking_model.py index <HASH>..<HASH> 100644 --- a/bedup/tracking_model.py +++ b/bedup/tracking_model.py @@ -84,6 +84,7 @@ class Commonality1(Base): func.count().label('inode_count'), func.max(Inode.has_updates).label('has_updates'), ]).group_by( + ...
A few more logic errors in the SQL
py
diff --git a/vincent/vega.py b/vincent/vega.py index <HASH>..<HASH> 100644 --- a/vincent/vega.py +++ b/vincent/vega.py @@ -908,6 +908,51 @@ class Data(GrammarClass): return super(self.__class__, self).to_json(validate, pretty_print) +class Transform(GrammarClass): + """Container to Transforma metrics + ...
Started Transform class in vega.py
py
diff --git a/bugzilla/base.py b/bugzilla/base.py index <HASH>..<HASH> 100644 --- a/bugzilla/base.py +++ b/bugzilla/base.py @@ -652,7 +652,9 @@ class Bugzilla(object): We test if this session is authenticated by calling the User.get() XMLRPC method with ids set. Logged-out users cannot pass the 'ids'...
base: handle incorrect token in logged_in() If a user had a token in ~/.bugzillatoken, but it was wrong or expired, then logged_in() would raise an unhandled xmlrpclib exception. xmlrpclib.Fault: <Fault <I>: 'The cookies or token provide were not valid or have expired. You may login again to get new cookies or a ...
py
diff --git a/openquake/logs.py b/openquake/logs.py index <HASH>..<HASH> 100644 --- a/openquake/logs.py +++ b/openquake/logs.py @@ -45,8 +45,7 @@ LEVELS = {'debug': logging.DEBUG, flags.DEFINE_string('logfile', '', 'Path to the log file. Leave empty to log to stderr.') -RISK_LOG = logging.getLogger("risk") -HAZA...
RISK_LOG and HAZARD_LOG are removed, LOG is deprecated and will be removed once logging configuration is ready Former-commit-id: 1dfa<I>ed4e<I>e<I>ddc1b2fe<I>bcf<I>
py
diff --git a/lunafind/__about__.py b/lunafind/__about__.py index <HASH>..<HASH> 100644 --- a/lunafind/__about__.py +++ b/lunafind/__about__.py @@ -6,7 +6,7 @@ them back from the command line without setting up any service or database.""" __project_name__ = "lunakit" __pkg_name__ = "lunafind" -__version__ =...
Change version to <I>-1
py
diff --git a/pypeerassets/provider/explorer.py b/pypeerassets/provider/explorer.py index <HASH>..<HASH> 100644 --- a/pypeerassets/provider/explorer.py +++ b/pypeerassets/provider/explorer.py @@ -107,7 +107,7 @@ class Explorer(Provider): '''Returns unspent transactions for given address.''' try: - ...
ommitted return for some reason, silly me.
py
diff --git a/horsephrase/_guess_guess.py b/horsephrase/_guess_guess.py index <HASH>..<HASH> 100644 --- a/horsephrase/_guess_guess.py +++ b/horsephrase/_guess_guess.py @@ -48,10 +48,13 @@ def redivmod(initial_value, factors): # depluralize label = label[:-1] addition = unicode(remainde...
better formatting for very short time intervals
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( keywords=["breakpoint graph", "data structures", "python"], url="https://github.com/aganezov/bg", classifiers=[ - "Development status :: 5 - Production/Stable", + "Development...
typo correction for the pypi classifier
py
diff --git a/spyder/plugins/completion/kite/plugin.py b/spyder/plugins/completion/kite/plugin.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/kite/plugin.py +++ b/spyder/plugins/completion/kite/plugin.py @@ -167,7 +167,8 @@ class KiteCompletionPlugin(SpyderCompletionPlugin): """Request the onboa...
Kite Onboarding: Prevent reload of kite onboarding file
py
diff --git a/tofu/pathfile.py b/tofu/pathfile.py index <HASH>..<HASH> 100644 --- a/tofu/pathfile.py +++ b/tofu/pathfile.py @@ -744,7 +744,6 @@ def SelectFromListId(LId, Val=None, Crit='Name', return ind - #def _Id_todict(Id): # IdTxt = {'version':Id._version, 'Cls':Id.Cls, 'Name':Id.Name, 'SaveName':Id.Sa...
[flake8] pep8 3rd round
py
diff --git a/bzr_exporter.py b/bzr_exporter.py index <HASH>..<HASH> 100755 --- a/bzr_exporter.py +++ b/bzr_exporter.py @@ -243,7 +243,8 @@ class BzrFastExporter(object): # Print the commit git_ref = 'refs/heads/%s' % (git_branch,) - mark = self.revid_to_mark[revid] = ncommits + 1 + mar...
add the missing ":" since revid_to_mark are "committish"
py
diff --git a/src/psd_tools/decoder/tagged_blocks.py b/src/psd_tools/decoder/tagged_blocks.py index <HASH>..<HASH> 100644 --- a/src/psd_tools/decoder/tagged_blocks.py +++ b/src/psd_tools/decoder/tagged_blocks.py @@ -333,7 +333,8 @@ def _decode_pattern(data): pattern_id = read_pascal_string(fp, 'ascii') color_t...
Fix pattern decoding with indexed color
py
diff --git a/openpnm/algorithms/FickianDiffusion.py b/openpnm/algorithms/FickianDiffusion.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/FickianDiffusion.py +++ b/openpnm/algorithms/FickianDiffusion.py @@ -61,7 +61,4 @@ class FickianDiffusion(ReactiveTransport): This calculates the effective diffusivi...
calc_eff_diffusivity is no longer normalized by molar density Since we no longer include molar density in diffusive_conductance calculation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,4 +23,5 @@ setup( 'Topic :: Internet :: WWW/HTTP' ], py_modules=['wtforms_html5', 'test_wtforms_html5'], + requires=['wtforms'] )
added dependencies to setup.py
py
diff --git a/angr/procedures/libc/fopen.py b/angr/procedures/libc/fopen.py index <HASH>..<HASH> 100644 --- a/angr/procedures/libc/fopen.py +++ b/angr/procedures/libc/fopen.py @@ -10,6 +10,8 @@ def mode_to_flag(mode): # TODO improve this: handle mode = strings if mode[-1] == ord('b'): # lol who uses windows ...
Support for explicit text modes "rt" and "wt" in fopen (#<I>) Rarely modes rt or wt are used, but identical to r and w - see also <URL>
py
diff --git a/curtsies/formatstring.py b/curtsies/formatstring.py index <HASH>..<HASH> 100644 --- a/curtsies/formatstring.py +++ b/curtsies/formatstring.py @@ -43,6 +43,7 @@ xforms = { 'fg' : lambda s, v: '%s%s%s' % (seq(v), s, seq(RESET_FG)), 'bg' : lambda s, v: seq(v)+s+seq(RESET_BG), 'bol...
implement dark (wasn't working before)
py
diff --git a/ailment/expression.py b/ailment/expression.py index <HASH>..<HASH> 100644 --- a/ailment/expression.py +++ b/ailment/expression.py @@ -490,9 +490,9 @@ class Load(Expression): class ITE(Expression): - __slots__ = ('cond', 'iffalse', 'iftrue', 'bits', ) + __slots__ = ('cond', 'iffalse', 'iftrue', '...
Add .variable and .variable_offset to ITE (although they will likely always be None).
py
diff --git a/blogit/blogit.py b/blogit/blogit.py index <HASH>..<HASH> 100755 --- a/blogit/blogit.py +++ b/blogit/blogit.py @@ -60,10 +60,11 @@ DB = DataBase(os.path.join(CONFIG['content_root'], 'blogit.db')) class Tag(object): + table = DB.tags + def __init__(self, name): - self.name = name + ...
Database is now a class property, * All tags are stored in the same database
py
diff --git a/validator/sawtooth_validator/journal/publisher.py b/validator/sawtooth_validator/journal/publisher.py index <HASH>..<HASH> 100644 --- a/validator/sawtooth_validator/journal/publisher.py +++ b/validator/sawtooth_validator/journal/publisher.py @@ -319,7 +319,7 @@ class _CandidateBlock(object): signa...
Rename finalize_block to finalize The fact that it is a block is already obvious from the name of the class. Also, cancel and finalize should have consistent names.
py
diff --git a/pyemu/utils/helpers.py b/pyemu/utils/helpers.py index <HASH>..<HASH> 100644 --- a/pyemu/utils/helpers.py +++ b/pyemu/utils/helpers.py @@ -2777,8 +2777,8 @@ class PstFromFlopyModel(object): self.logger.lraise("no parameters found for spatial list k,pak,attr {0}, {1}, {2}". ...
back to org group naming scheme sigh
py
diff --git a/sockjs/cyclone/transports/rawwebsocket.py b/sockjs/cyclone/transports/rawwebsocket.py index <HASH>..<HASH> 100644 --- a/sockjs/cyclone/transports/rawwebsocket.py +++ b/sockjs/cyclone/transports/rawwebsocket.py @@ -10,7 +10,7 @@ class RawSession(session.BaseSession): """ Raw session without any sockjs ...
fixed some method names in rawwebsocket transport
py
diff --git a/mutant/tests/runners.py b/mutant/tests/runners.py index <HASH>..<HASH> 100644 --- a/mutant/tests/runners.py +++ b/mutant/tests/runners.py @@ -35,7 +35,7 @@ class MutantTestSuiteRunner(DiscoverRunner): if not test_labels: test_labels = [ "%s.tests" % app for app in set...
Avoid running South and polymodels tests.
py
diff --git a/gitlint/tests/test_cli.py b/gitlint/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/gitlint/tests/test_cli.py +++ b/gitlint/tests/test_cli.py @@ -88,7 +88,7 @@ class CLITests(BaseTestCase): result = self.cli.invoke(cli.cli, ["--generate-config"], input="testfile\n") self.assertEqual(r...
Fix: use absolute path in CLITests.test_generate_config Previously, the expected path of the test was hardcoded to /vagrant/testfile which caused failures in travis.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ - 'numpy', + 'numpy>"1.13.0"', 'sympy', 'six', 'backports.functools_lru_cache;python_version<...
add minimum required numpy to setup.py
py
diff --git a/tcod/console.py b/tcod/console.py index <HASH>..<HASH> 100644 --- a/tcod/console.py +++ b/tcod/console.py @@ -1300,7 +1300,7 @@ def load_xp(path: Union[str, Path], order: Literal["C", "F"] = "C") -> Tuple[Con # Apply REXPaint's alpha key color. KEY_COLOR = (255, 0, 255) - is_tran...
Fix REXPaint loading example. The boolean array was the wrong shape with an extra dimension along the color channels.
py
diff --git a/test/buildbot/buildbot_config/master/buildsteps.py b/test/buildbot/buildbot_config/master/buildsteps.py index <HASH>..<HASH> 100644 --- a/test/buildbot/buildbot_config/master/buildsteps.py +++ b/test/buildbot/buildbot_config/master/buildsteps.py @@ -96,4 +96,5 @@ class AcceptanceTests(ShellCommand): ...
buildbot: Set timeout to <I> seconds for acceptance tests
py
diff --git a/salesforce/dbapi/driver.py b/salesforce/dbapi/driver.py index <HASH>..<HASH> 100644 --- a/salesforce/dbapi/driver.py +++ b/salesforce/dbapi/driver.py @@ -792,7 +792,7 @@ register_conversion(str, json_conv=lambda o: o, sql_conv register_conversion(bool, json_conv=lambda s...
Fix the TimeField in BusinessHours object for Salesforce version Winter '<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -171,15 +171,15 @@ def do_setup(): }, description='Inspire JSON schemas and utilities to use them.', install_requires=[ + 'Unidecode~=1.0,>=1.0.22', 'autosemver', ...
setup: bump inspire-utils Sem-ver: breaks compatibility
py
diff --git a/tests/integration/modules/test_sysrc.py b/tests/integration/modules/test_sysrc.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/test_sysrc.py +++ b/tests/integration/modules/test_sysrc.py @@ -1,11 +1,5 @@ -# -*- coding: utf-8 -*- - -# Import python libs -from __future__ import absolute_import...
Drop Py2 and six on tests/integration/modules/test_sysrc.py
py
diff --git a/amqplib/client_0_8/connection.py b/amqplib/client_0_8/connection.py index <HASH>..<HASH> 100644 --- a/amqplib/client_0_8/connection.py +++ b/amqplib/client_0_8/connection.py @@ -65,9 +65,9 @@ class Connection(AbstractChannel): """ def __init__(self, - host, - userid=None, - ...
Have the Connection initializer actually behave the way the docs have implied for a long time - supplying default values for host (localhost) userid and password (guest, guest).
py
diff --git a/anyconfig/api.py b/anyconfig/api.py index <HASH>..<HASH> 100644 --- a/anyconfig/api.py +++ b/anyconfig/api.py @@ -59,6 +59,7 @@ r"""Public APIs of anyconfig module. from __future__ import absolute_import import os.path +import warnings # Import some global constants will be re-exported: from anycon...
change: warn with DeprecationWarning if 'ignore_missing' is used change to warn users with DeprecationWarning if keyword option 'ignore_missing' is used in *load APIs and suggest to use the another keyword option 'ac_ignore_missing' instead. this code will be kept for a while and will be removed.
py
diff --git a/beets/mediafile.py b/beets/mediafile.py index <HASH>..<HASH> 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -738,6 +738,11 @@ class MediaFile(object): mp4 = StorageStyle("\xa9ART"), etc = StorageStyle('artist'), ) + artist_sort_name = Med...
Added artist sort name - MP3 tag saved - Available template field as $artist_sort_name Original: beetbox/beets@<I>
py
diff --git a/nameko/__init__.py b/nameko/__init__.py index <HASH>..<HASH> 100644 --- a/nameko/__init__.py +++ b/nameko/__init__.py @@ -23,13 +23,13 @@ To make it respond to an event, we have to make ``hello`` an event handler: .. code:: python - from nameko.events import event_handler + from nameko.events impo...
fixed indentation in docs
py
diff --git a/examples/plotting/file/burtin.py b/examples/plotting/file/burtin.py index <HASH>..<HASH> 100644 --- a/examples/plotting/file/burtin.py +++ b/examples/plotting/file/burtin.py @@ -38,7 +38,10 @@ gram_color = { "negative" : "#e69584", } -df = pd.read_csv(StringIO(antibiotics), skiprows=1, skipinitials...
Added option to correct parsing.
py
diff --git a/superset/views/core.py b/superset/views/core.py index <HASH>..<HASH> 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -1546,7 +1546,7 @@ class Superset(BaseSupersetView): metrics = col.get_metrics().values() col.datasource.add_missing_metrics(metrics) ...
[testconn] Fixing response (#<I>)
py
diff --git a/bigquery/google/cloud/bigquery/job.py b/bigquery/google/cloud/bigquery/job.py index <HASH>..<HASH> 100644 --- a/bigquery/google/cloud/bigquery/job.py +++ b/bigquery/google/cloud/bigquery/job.py @@ -129,7 +129,8 @@ class DestinationFormat(_EnumApiResourceProperty): class Encoding(_EnumApiResourceProperty...
Fix encoding variable and strings UTF-8 and ISO-<I>-1 difference documentation (#<I>)
py
diff --git a/openpnm/core/Workspace.py b/openpnm/core/Workspace.py index <HASH>..<HASH> 100644 --- a/openpnm/core/Workspace.py +++ b/openpnm/core/Workspace.py @@ -3,6 +3,7 @@ import openpnm import time import copy from openpnm.core import logging +from openpnm.utils.misc import PrintableDict logger = logging.getLog...
Small tweak to workspace.settings to print nicer
py
diff --git a/httpwatcher/__init__.py b/httpwatcher/__init__.py index <HASH>..<HASH> 100644 --- a/httpwatcher/__init__.py +++ b/httpwatcher/__init__.py @@ -1,6 +1,6 @@ # -*- coding:utf-8 -*- -__version__ = "0.1.2" +__version__ = "0.1.3" from httpwatcher.cmdline import * from httpwatcher.server import *
bumping version to <I> - unit tests now finally working with travis ci, albeit super slow due to massive delays
py
diff --git a/intranet/apps/groups/models.py b/intranet/apps/groups/models.py index <HASH>..<HASH> 100644 --- a/intranet/apps/groups/models.py +++ b/intranet/apps/groups/models.py @@ -9,7 +9,7 @@ class GroupManager(auth_models.GroupManager): def student_visible(self): """Return a QuerySet of groups that ar...
refactor(groups): apply @anonymoose2's change
py
diff --git a/cwr/parser/decoder/cwrjson.py b/cwr/parser/decoder/cwrjson.py index <HASH>..<HASH> 100644 --- a/cwr/parser/decoder/cwrjson.py +++ b/cwr/parser/decoder/cwrjson.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- from cwr.parser.decoder.common import Decoder +from cwr.parser.decoder.dictionary import FileDictiona...
Added a basic JSON decoder.
py
diff --git a/py/_io/terminalwriter.py b/py/_io/terminalwriter.py index <HASH>..<HASH> 100644 --- a/py/_io/terminalwriter.py +++ b/py/_io/terminalwriter.py @@ -204,6 +204,8 @@ class Win32ConsoleWriter(TerminalWriter): attr |= FOREGROUND_BLACK # (oldcolors & 0x0007) SetConsoleTextA...
fix bug on writing out objects with terminalwriter on windows --HG-- branch : trunk
py
diff --git a/py/selenium/webdriver/common/service.py b/py/selenium/webdriver/common/service.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/common/service.py +++ b/py/selenium/webdriver/common/service.py @@ -46,6 +46,7 @@ class Service(object): self.start_error_message = start_error_message ...
Added new argument creationflags in Service class for common, chrome, and firefox (#<I>)
py
diff --git a/pppd.py b/pppd.py index <HASH>..<HASH> 100644 --- a/pppd.py +++ b/pppd.py @@ -1,11 +1,12 @@ import fcntl import os +import signal import re import time from subprocess import Popen, PIPE, STDOUT -__version__ = '1.0.1' +__version__ = '1.0.2' PPPD_RETURNCODES = { 1: 'Fatal error occured',
Importing signal module to fix the disconnect() SIGHUP signal
py
diff --git a/simuvex/s_arch.py b/simuvex/s_arch.py index <HASH>..<HASH> 100755 --- a/simuvex/s_arch.py +++ b/simuvex/s_arch.py @@ -42,6 +42,7 @@ class SimArch: self.default_register_values = [ ] self.default_symbolic_registers = [ ] self.registers = { } + self.persistent_regs = [ ] ...
add t9 to persistent registers in mips, and include a default for everything else
py
diff --git a/numexpr/version.py b/numexpr/version.py index <HASH>..<HASH> 100644 --- a/numexpr/version.py +++ b/numexpr/version.py @@ -8,8 +8,8 @@ # rights to use. #################################################################### -version='2.1' -release=True +version='2.1b1' +release=False if not release: ...
Let's tag a b1, as many PyTables tests does not pass yet...
py
diff --git a/tests/integration/modules/cp.py b/tests/integration/modules/cp.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/cp.py +++ b/tests/integration/modules/cp.py @@ -277,7 +277,7 @@ class CPModuleTest(integration.ModuleCase): hashlib.md5(fn_.read()).hexdigest() ...
Add a test case to check for proper env selection when passing `?env=foo`. Refs #<I>.
py
diff --git a/gwpy/timeseries/timeseries.py b/gwpy/timeseries/timeseries.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/timeseries.py +++ b/gwpy/timeseries/timeseries.py @@ -1720,8 +1720,8 @@ class TimeSeries(TimeSeriesBase): out.q = peakq # interpolate rows for i, row in enumerate(norms...
TimeSeries.q_transform: don't crop when interpolating it can leave the interpolator with not enough data to operate at all
py
diff --git a/claripy/operations.py b/claripy/operations.py index <HASH>..<HASH> 100644 --- a/claripy/operations.py +++ b/claripy/operations.py @@ -374,6 +374,10 @@ def boolean_and_simplifier(*args): flattened = _flatten_simplifier('And', _flattening_filter, *args) fargs = flattened.args if flattened is not No...
boolean_and_simplifier: Check if there is only one argument again after simplification. (#<I>) Thanks Ben Rodes from Kudu Dynamics for reporting this bug.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import subprocess from setuptools import find_packages, setup -__version__ = "0.2.9" +__version__ = "0.2.10" extras_require = { "test": [
chore: bumpversion to <I>
py
diff --git a/torchvision/models/squeezenet.py b/torchvision/models/squeezenet.py index <HASH>..<HASH> 100644 --- a/torchvision/models/squeezenet.py +++ b/torchvision/models/squeezenet.py @@ -99,7 +99,7 @@ class SqueezeNet(nn.Module): def forward(self, x): x = self.features(x) x = self.classifier(...
Auto calculating return dimension of squeezenet forward method (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( install_requires=[ 'Django==1.11;python_version<"3.0"', 'Django>=1.11,<2.1;python_version<"3.5"', - 'Django>=1.11,<2.2;python_version>"3.5"', + 'Django>=1.11,<2.2;pyth...
fix typo of python version
py
diff --git a/error.py b/error.py index <HASH>..<HASH> 100644 --- a/error.py +++ b/error.py @@ -304,6 +304,10 @@ class HESSError(OPANError): freq_block : Malformed or missing frequencies block modes_block : Malformed or missing normal modes block dipder_block: Malformed or missing...
HESSError: Added remaining tcs for ORCA .hess files Added all remaining anticipated typecodes for the upgraded import capability on ORCA .hess files to error.HESSError `
py
diff --git a/girder/models/item.py b/girder/models/item.py index <HASH>..<HASH> 100644 --- a/girder/models/item.py +++ b/girder/models/item.py @@ -221,11 +221,8 @@ class Item(Model): # Add new metadata to existing metadata item['meta'].update(meta.items()) - # Remove metadata fields that were...
Using a comprehension for more pythonic code.
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 @@ -111,7 +111,7 @@ def generate_minion_id(): def first(self): return self and self[0] or None - hosts = DistinctList().append(socket.getfqdn()).appen...
Use FQDN at last, as it may differ
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,5 +46,11 @@ setup(name='django-plugins', 'GNU Library or Lesser General Public License (LGPL)', 'Operating System :: OS Independent', 'Programming Language :: Python', + 'Programmi...
Added Python 3 support information to setup.py. Will be added to pypi in the next release.
py
diff --git a/tests/test_pipeline.py b/tests/test_pipeline.py index <HASH>..<HASH> 100644 --- a/tests/test_pipeline.py +++ b/tests/test_pipeline.py @@ -342,7 +342,7 @@ class MostBasicPipelineTests: argvalues=range(len(BASIC_ACTIONS) - 1)) @named_param(argnames="start_spec_type", ...
correct the pairing between filepath and expected contents
py
diff --git a/salt/modules/file.py b/salt/modules/file.py index <HASH>..<HASH> 100755 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -1710,11 +1710,12 @@ def _regex_to_static(src, regex): return None try: - src = re.search(regex, src, re.M) + compiled = re.compile(regex, re.DOTALL...
_regex_to_static refactored to work on lists
py
diff --git a/setuptools/build_meta.py b/setuptools/build_meta.py index <HASH>..<HASH> 100644 --- a/setuptools/build_meta.py +++ b/setuptools/build_meta.py @@ -160,11 +160,11 @@ def build_wheel(wheel_directory, config_settings=None, shutil.rmtree(wheel_directory) shutil.copytree('dist', wheel_directory...
Rely on iterable unpacking to extract one element from generator expression.
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -215,7 +215,7 @@ DEFAULT_MINION_OPTS = { 'cython_enable': False, 'state_verbose': True, 'state_output': 'full', - 'state_auto_order': False, + 'state_auto_order': True, 'accept...
Set state_auto_order to True by default This will require a bit of a warning on the release since it changes the default evaluation order of states
py
diff --git a/discord/http.py b/discord/http.py index <HASH>..<HASH> 100644 --- a/discord/http.py +++ b/discord/http.py @@ -403,7 +403,7 @@ class HTTPClient: channel_id=channel_id, message_id=message_id)) def pins_from(self, channel_id): - return self.request(Route('GET', '/cha...
Fix <I>s in pins_from and create_role routes.
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -20,6 +20,11 @@ import sphinx_rtd_theme on_rtd = os.environ.get('READTHEDOCS', None) == 'True' +if on_rtd: + import shutil + shutil.rmtree('/generated') + + # Mock module...
DOC: Remove generated if on rtd
py
diff --git a/onnx/test/shape_inference_test.py b/onnx/test/shape_inference_test.py index <HASH>..<HASH> 100644 --- a/onnx/test/shape_inference_test.py +++ b/onnx/test/shape_inference_test.py @@ -386,7 +386,7 @@ class TestShapeInference(unittest.TestCase): ('var', TensorProto.FLOAT, (4,))], [m...
fix test (#<I>)
py
diff --git a/src/cr/cube/cube.py b/src/cr/cube/cube.py index <HASH>..<HASH> 100644 --- a/src/cr/cube/cube.py +++ b/src/cr/cube/cube.py @@ -790,16 +790,9 @@ class _WeightedCountMeasure(_BaseMeasure): @lazyproperty def _flat_values(self): """Optional 1D np.ndarray of np.float64 numeric counts after wei...
oops I guess this wasn't needed
py
diff --git a/src/nupic/research/monitor_mixin/plot.py b/src/nupic/research/monitor_mixin/plot.py index <HASH>..<HASH> 100644 --- a/src/nupic/research/monitor_mixin/plot.py +++ b/src/nupic/research/monitor_mixin/plot.py @@ -31,10 +31,12 @@ try: import matplotlib.pyplot as plt import matplotlib.cm as cm except Imp...
Suppress this optional dependency on matplotlib without logging, because python logging implicitly adds the StreamHandler to root logger when calling `logging.debug`, etc., which may undermine an application's logging configuration
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,8 +20,8 @@ setup( 'Twisted', 'PyYaml', 'protobuf', - 'construct', - 'pysnmp', + 'construct<2.6', + 'pysnmp==4.2.5', ], classifiers=[ 'Development St...
Fix the dependency versions in setup.py
py
diff --git a/lib/webinterface_handler_flask.py b/lib/webinterface_handler_flask.py index <HASH>..<HASH> 100644 --- a/lib/webinterface_handler_flask.py +++ b/lib/webinterface_handler_flask.py @@ -197,8 +197,11 @@ def create_invenio_flask_app(**kwargs_config): class InvenioDebugToolbarExtension(DebugToolbarExten...
WebStyle: debug-toolbar display condition fix * The Flask debug-toolbar is shown iff it is added in CFG_DEVEL_TOOLS and CFG_DEVEL_SITE == 9 (shown to ALL users), or the current user is super admin (regardless of CFG_DEVEL_SITE).
py
diff --git a/github_search.py b/github_search.py index <HASH>..<HASH> 100644 --- a/github_search.py +++ b/github_search.py @@ -68,9 +68,9 @@ class Search(metaclass=ABCMeta): def _request(self, query_string): r = requests.get(query_string) json = r.json() - print(query_string) - impo...
Print should not only be there for testing..
py
diff --git a/wscript.py b/wscript.py index <HASH>..<HASH> 100755 --- a/wscript.py +++ b/wscript.py @@ -4,12 +4,16 @@ def default(context): minifyfiles(context) def minifyfiles(context): + src = context.Node('jspdf.js') + + addImagePlugin = src - '.js' + '.plugin.addimage.js' + minified = src - '.js...
Build script catches up with plugins
py
diff --git a/python_modules/dagster-graphql/dagster_graphql/cli.py b/python_modules/dagster-graphql/dagster_graphql/cli.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster-graphql/dagster_graphql/cli.py +++ b/python_modules/dagster-graphql/dagster_graphql/cli.py @@ -123,7 +123,7 @@ def execute_query_against_rem...
[dagster-graphql] make --remote use post Summary: mutations need to be posted Test Plan: use a mutation like `-p startPipelineExecution` with --remote Reviewers: max, prha, natekupp, schrockn Reviewed By: prha Differential Revision: <URL>
py
diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -242,6 +242,7 @@ COMPR...
Set COMPRESS_ROOT to STATIC_ROOT for compressor Django compressor also recommends the `COMPRESS_ROOT` be the STATIC_ROOT. This also makes sure the utils is set up properly so that the CACHE directory is actually publicly available (it'll be inside the static directory as a subdirectory).
py
diff --git a/lambda_local/main.py b/lambda_local/main.py index <HASH>..<HASH> 100644 --- a/lambda_local/main.py +++ b/lambda_local/main.py @@ -49,6 +49,11 @@ def load_lib(path): def load(request_id, path, function_name): mod_name = 'request-' + str(request_id) + + file_path = os.path.abspath(path) + file_...
Add project root directory to python path.
py
diff --git a/sos/plugins/as7.py b/sos/plugins/as7.py index <HASH>..<HASH> 100644 --- a/sos/plugins/as7.py +++ b/sos/plugins/as7.py @@ -2,6 +2,7 @@ import os import re import zipfile import urllib2 +import tempfile try: import json @@ -282,6 +283,23 @@ class AS7(Plugin, IndependentPlugin): ...
adding a tree of all zipped deployments
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -1722,28 +1722,26 @@ def managed(name, if not context: context = {} context['accumulator'] = accum_data[name] - if 'file.check_managed_changes' in _...
**Summary of Changes** Noticed that file.managed was rendering all of our templates twice because of calculation of pchanges value. Moved the file.check_managed_changes inside of the `if __opts__['test']:` section so this pchanges are only ran when `test=True`.
py
diff --git a/jax/nn/initializers.py b/jax/nn/initializers.py index <HASH>..<HASH> 100644 --- a/jax/nn/initializers.py +++ b/jax/nn/initializers.py @@ -86,13 +86,13 @@ def orthogonal(scale=1.0, column_axis=-1): def init(key, shape, dtype=np.float32): if len(shape) < 2: raise ValueError("orthogonal initial...
fix two typos in orthogonal init
py
diff --git a/bugzoo/dataset.py b/bugzoo/dataset.py index <HASH>..<HASH> 100644 --- a/bugzoo/dataset.py +++ b/bugzoo/dataset.py @@ -36,7 +36,7 @@ class Dataset(Source): # find all bugs - fns = '{}/**/*.bug.yaml'.format(self.abs_path) + fns = '{}/**/*.bug.yml'.format(self.abs_path) for...
Modified bug.yaml to bug.yml (#<I>) * updated path var * modified bug.yaml to bug.yml
py
diff --git a/salt/client/__init__.py b/salt/client/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/__init__.py +++ b/salt/client/__init__.py @@ -803,24 +803,19 @@ class LocalClient(object): event = self.event jid_tag = 'salt/job/{0}'.format(jid) while True: - if HAS_Z...
Misc cleanup-- this is cleaner logic IMO
py
diff --git a/vcr/errors.py b/vcr/errors.py index <HASH>..<HASH> 100644 --- a/vcr/errors.py +++ b/vcr/errors.py @@ -1,5 +1,7 @@ class CannotOverwriteExistingCassetteException(Exception): def __init__(self, *args, **kwargs): + self.cassette = kwargs["cassette"] + self.failed_request = kwargs["failed_r...
Add cassette and failed request as properties of thrown CannotOverwriteCassetteException
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ install_requires = [ setup( name='nodeconductor', - version='0.11.0.dev0', + version='0.11.0', author='OpenNode Team', author_email='info@opennodecloud.com', url='https://github.com/...
Preparing new release: <I>
py
diff --git a/content_placeholders/rendering.py b/content_placeholders/rendering.py index <HASH>..<HASH> 100644 --- a/content_placeholders/rendering.py +++ b/content_placeholders/rendering.py @@ -14,15 +14,23 @@ def render_placeholder(request, placeholder, parent_object=None): # Filter the items both by placeholder...
Smallfix - rendering code rename. renamed render_placeholder_items to render_content_items, because that is what the function actually does. Also removes the unneeded slotname parameter.
py
diff --git a/libusb1.py b/libusb1.py index <HASH>..<HASH> 100644 --- a/libusb1.py +++ b/libusb1.py @@ -67,9 +67,7 @@ def _loadLibrary(): if libusb_path is None and system == 'Darwin': # macport standard library path libusb_path = '/opt/local/lib/libusb-1.0.dylib' - if not o...
Move isfile check out of OSX special case.
py
diff --git a/holoviews/plotting/bokeh/callbacks.py b/holoviews/plotting/bokeh/callbacks.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/callbacks.py +++ b/holoviews/plotting/bokeh/callbacks.py @@ -155,7 +155,7 @@ class CustomJSCallback(MessageCallback): var unique_events = []; fo...
Replaced usage of Array.includes with Array.indexOf in callbacks (#<I>)
py
diff --git a/peyotl/phylesystem/git_actions.py b/peyotl/phylesystem/git_actions.py index <HASH>..<HASH> 100644 --- a/peyotl/phylesystem/git_actions.py +++ b/peyotl/phylesystem/git_actions.py @@ -347,8 +347,8 @@ class GitAction(object): """ # define the desired fields for logout output, matching the ...
Gather full body of multi-line commit messages.
py
diff --git a/buildbot/process/buildstep.py b/buildbot/process/buildstep.py index <HASH>..<HASH> 100644 --- a/buildbot/process/buildstep.py +++ b/buildbot/process/buildstep.py @@ -1061,11 +1061,3 @@ class LoggingBuildStep(BuildStep): self.step_status.setText(self.getText(cmd, results)) self.step_status...
duh, actually remove the old imports from buildstep.py
py
diff --git a/txdbus/test/test_authentication.py b/txdbus/test/test_authentication.py index <HASH>..<HASH> 100644 --- a/txdbus/test/test_authentication.py +++ b/txdbus/test/test_authentication.py @@ -61,7 +61,7 @@ class ClientAuthenticatorTester(unittest.TestCase): self.are( 'AUTH DBUS_COOKIE_SHA1 ' + tohex('te...
Updated unit tests for previous authentication change
py
diff --git a/scripts/pipeline_source_only.py b/scripts/pipeline_source_only.py index <HASH>..<HASH> 100644 --- a/scripts/pipeline_source_only.py +++ b/scripts/pipeline_source_only.py @@ -1,3 +1,7 @@ +import sys + +sys.path.append("../") + from auto_lens.imaging import image as im from auto_lens.imaging import mask as...
datapath and pythonpath for script
py