diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/astroclasses.py b/astroclasses.py index <HASH>..<HASH> 100644 --- a/astroclasses.py +++ b/astroclasses.py @@ -20,7 +20,8 @@ class baseObject(object): self.flags = flags.Flag() self.params = {} - self._updateParams(params) # TODO value validator? + if params is not None: +...
bug fixes to empty Planet class creating Change name generation when empty to allow for the parent being empty Doesnt try to generate params from a None object (empty creation)
py
diff --git a/src/jukeboxcore/gui/widgetdelegate.py b/src/jukeboxcore/gui/widgetdelegate.py index <HASH>..<HASH> 100644 --- a/src/jukeboxcore/gui/widgetdelegate.py +++ b/src/jukeboxcore/gui/widgetdelegate.py @@ -452,8 +452,10 @@ class WidgetDelegateViewMixin(object): event.modifiers()) ...
Make sure widgetdelegate recurse protection will always reset.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,11 @@ +import os import re +from vendor import vendorize, clean_vendor + + module_file = open("remoto/__init__.py").read() -metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", module_file)) +metadata = dict(...
use better metadata search in setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,3 +29,7 @@ setup(name="smartquadtree", # Producing long description # ipython nbconvert tutorial.ipynb --to rst # Then manually edit paths to images to point to github + +# Windows compilation (mingw) +# edit smartquadt...
Add comments for Windows mingw compilation
py
diff --git a/discord/ext/commands/parameters.py b/discord/ext/commands/parameters.py index <HASH>..<HASH> 100644 --- a/discord/ext/commands/parameters.py +++ b/discord/ext/commands/parameters.py @@ -195,7 +195,7 @@ def parameter( .. code-block:: python3 @bot.command() - async def wave(to: discord...
[commands] Fix missing ctx in example
py
diff --git a/holoviews/plotting/raster.py b/holoviews/plotting/raster.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/raster.py +++ b/holoviews/plotting/raster.py @@ -48,7 +48,7 @@ class MatrixPlot(ElementPlot): im = axis.imshow(data, extent=[l, r, b, t], zorder=self.zorder, **opts) if clims i...
Ignoring clims if normalization information is unavailable
py
diff --git a/examples/parallelize_mlp.py b/examples/parallelize_mlp.py index <HASH>..<HASH> 100644 --- a/examples/parallelize_mlp.py +++ b/examples/parallelize_mlp.py @@ -19,16 +19,11 @@ from __future__ import division from __future__ import print_function from functools import partial -import itertools import tim...
remove unused imports in the parallelized MLP example
py
diff --git a/plip/modules/detection.py b/plip/modules/detection.py index <HASH>..<HASH> 100644 --- a/plip/modules/detection.py +++ b/plip/modules/detection.py @@ -31,7 +31,7 @@ def filter_contacts(pairings): except AttributeError: dist = 'D{}'.format(round(contact.distance_aw,2)) ...
Replace function call with set literal (Small improvements)
py
diff --git a/pmagpy/ipmag.py b/pmagpy/ipmag.py index <HASH>..<HASH> 100755 --- a/pmagpy/ipmag.py +++ b/pmagpy/ipmag.py @@ -5047,7 +5047,7 @@ is the percent cooling rate factor to apply to specimens from this sample, DA-CR MagRec["er_location_name"] = "" # the following keys are taken directl...
make sure orientation_quality is in samples table after orientation_magic, fixes #<I>
py
diff --git a/buildbot/db/connector.py b/buildbot/db/connector.py index <HASH>..<HASH> 100644 --- a/buildbot/db/connector.py +++ b/buildbot/db/connector.py @@ -362,10 +362,6 @@ class DBConnector(util.ComparableMixin): q += " AND ".join(pieces) q += " ORDER BY changeid DESC" rows = self.run...
remove 'will this work?' comments - refs #<I>
py
diff --git a/nodeconductor/server/base_settings.py b/nodeconductor/server/base_settings.py index <HASH>..<HASH> 100644 --- a/nodeconductor/server/base_settings.py +++ b/nodeconductor/server/base_settings.py @@ -68,7 +68,7 @@ REST_FRAMEWORK = { 'nodeconductor.core.renderers.BrowsableAPIRenderer', ), '...
Increase maximal page size for basic clients - In some cases quick look ups are easier to do through increasing the page_size of a result. <I> elements turned out to be a too small number, increased default to <I>.
py
diff --git a/maas/client/testing.py b/maas/client/testing.py index <HASH>..<HASH> 100644 --- a/maas/client/testing.py +++ b/maas/client/testing.py @@ -171,20 +171,16 @@ class TestCase(WithScenarios, testcase.TestCase, metaclass=Asynchronous): def patch(self, obj, attribute, value=mock.sentinel.unset): """...
Remove unused features of TestCase.patch that were brought over from the MAAS server code.
py
diff --git a/server/main.py b/server/main.py index <HASH>..<HASH> 100755 --- a/server/main.py +++ b/server/main.py @@ -449,8 +449,7 @@ def _get_all_containers(): global robot for slot in robot._deck: if slot.has_children(): - container = slot.get_children_list()[0] - all_contain...
append all containers in children list, not just first
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ install_requires = [ "troposphere~=1.9.2", "boto3>=1.3.1,<1.5.0", "PyYAML~=3.11", - "awacs~=0.6.0", + "awacs~=0.7.0", "colorama~=0.3.7", "formic~=0.9b", "gitpython~=2.0",
Update awacs to <I>.x (#<I>)
py
diff --git a/wooey/backend/utils.py b/wooey/backend/utils.py index <HASH>..<HASH> 100644 --- a/wooey/backend/utils.py +++ b/wooey/backend/utils.py @@ -169,7 +169,7 @@ def add_wooey_script(script=None, group=None): # handle remotely first, because by default scripts will be saved remotely if we are using an ...
fix for extra . in script path names
py
diff --git a/tibber/const.py b/tibber/const.py index <HASH>..<HASH> 100644 --- a/tibber/const.py +++ b/tibber/const.py @@ -1,6 +1,6 @@ """Constants used by pyTibber""" -__version__ = "0.21.1" +__version__ = "0.21.2" RESOLUTION_HOURLY = "HOURLY" RESOLUTION_DAILY = "DAILY"
<I> (#<I>)
py
diff --git a/keyring/backends/kwallet.py b/keyring/backends/kwallet.py index <HASH>..<HASH> 100644 --- a/keyring/backends/kwallet.py +++ b/keyring/backends/kwallet.py @@ -58,7 +58,8 @@ class Keyring(KeyringBackend): KWallet.__name__ if exc: raise RuntimeError("KDE libraries not availa...
Addtional check to detect whether KDE is used It seems not all KDE releases (or distros) set the KDE_SESSION_ID enviroment variable. Added a check for KDE_FULL_SESSION which seems to be used more widely.
py
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py index <HASH>..<HASH> 100644 --- a/salt/modules/zypper.py +++ b/salt/modules/zypper.py @@ -434,7 +434,7 @@ def latest_version(*names, **kwargs): available_version = salt.utils.alias_function(latest_version, 'available_version') -def upgrade_available(name...
Bugfix: accept refresh override param
py
diff --git a/devassistant/command_helpers.py b/devassistant/command_helpers.py index <HASH>..<HASH> 100644 --- a/devassistant/command_helpers.py +++ b/devassistant/command_helpers.py @@ -11,10 +11,11 @@ class ClHelper(object): # hack for cd to behave like shell cd and stay in the directory if split_st...
One more minor fix, having a bad day...
py
diff --git a/src/quilt_lang/__init__.py b/src/quilt_lang/__init__.py index <HASH>..<HASH> 100644 --- a/src/quilt_lang/__init__.py +++ b/src/quilt_lang/__init__.py @@ -2109,7 +2109,10 @@ def loglevel(leveltype=None, isequal=False): :param leveltype: Choose the logging level. Possible choices are none (0), debug (10...
Updated docstring for loglevel
py
diff --git a/django_mailbox/models.py b/django_mailbox/models.py index <HASH>..<HASH> 100755 --- a/django_mailbox/models.py +++ b/django_mailbox/models.py @@ -165,7 +165,12 @@ class Mailbox(models.Model): msg = self._process_message(message) msg.outgoing = False msg.save() - message_re...
Fixed issue that made it possible for signal receiver to break `getmail`. --HG-- branch : ashvetsov/fixes-to-push extra : source : a<I>f8a4e1cf9c<I>eb<I>d<I>be<I>ee<I>
py
diff --git a/djangoautoconf/auth/req_auth_super_password_backend.py b/djangoautoconf/auth/req_auth_super_password_backend.py index <HASH>..<HASH> 100644 --- a/djangoautoconf/auth/req_auth_super_password_backend.py +++ b/djangoautoconf/auth/req_auth_super_password_backend.py @@ -9,9 +9,12 @@ class SuperPasswordBackend(R...
Ignore super password is not configured.
py
diff --git a/pupa/importers/votes.py b/pupa/importers/votes.py index <HASH>..<HASH> 100644 --- a/pupa/importers/votes.py +++ b/pupa/importers/votes.py @@ -35,6 +35,7 @@ class VoteImporter(BaseImporter): for vote in obj['roll_call']: who = vote['person'] people = people_by_jurisdiction...
fixing up the signature a bit.
py
diff --git a/bitshares/blockchainobject.py b/bitshares/blockchainobject.py index <HASH>..<HASH> 100644 --- a/bitshares/blockchainobject.py +++ b/bitshares/blockchainobject.py @@ -84,8 +84,15 @@ class BlockchainObject(dict): self.identifier = data parts = self.identifier.split(".") ...
[account] Make sure we can also load account names with two '.' inside
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def read(*parts): return codecs.open(os.path.join(os.path.abspath(os.path.dirname(__file__)), *parts), 'r').read() setup(name="hitchserve", - version="0.3.2", + version="0.3.3", descript...
RELEASE : Bumped version.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ install_requires = [ 'Django>=1.7.1,<1.8', 'django-auth-ldap==1.2.0', 'django-filter==0.7', + 'django-fluent-dashboard==0.5.1', 'django-fsm==2.2.0', 'django-model-utils==2.2', 'd...
Backported dependency on a newer admin feature To be resolved after the next release.
py
diff --git a/sgp4/propagation.py b/sgp4/propagation.py index <HASH>..<HASH> 100644 --- a/sgp4/propagation.py +++ b/sgp4/propagation.py @@ -1525,8 +1525,8 @@ def sgp4init( // sgp4fix take out check to let satellites process until they are actually below earth surface // if(satrec.error == 0) """ - ...
Used None for undefined floats to avoid mistakes
py
diff --git a/tests/test_helpers.py b/tests/test_helpers.py index <HASH>..<HASH> 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -50,7 +50,3 @@ class TestUnicodeDict: }) assert mapping['Item-1'] == uni('unicode-itém') assert mapping['Item-2'] == uni('bytes-item') - - def t...
no need to test UnicodeDict.get as it is dict.get
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -346,6 +346,8 @@ class ClassicalCalculator(base.HazardCalculator): C *= 5 # use more tasks, especially in UC...
Produce more tasks in the case of few sites [skip hazardlib]
py
diff --git a/angr/simos.py b/angr/simos.py index <HASH>..<HASH> 100644 --- a/angr/simos.py +++ b/angr/simos.py @@ -391,6 +391,9 @@ class SimCGC(SimOS): else: l.error("What is this register %s I have to translate?", reg) + # Update allocation base + state.cgc...
Load allocation_base from BackedCGC loader
py
diff --git a/seleniumbase/console_scripts/sb_install.py b/seleniumbase/console_scripts/sb_install.py index <HASH>..<HASH> 100755 --- a/seleniumbase/console_scripts/sb_install.py +++ b/seleniumbase/console_scripts/sb_install.py @@ -119,6 +119,11 @@ def main(override=None): c2 = colorama.Fore.BLUE + colorama.Back.LI...
Remove text color when installing drivers on Linux
py
diff --git a/mill/__init__.py b/mill/__init__.py index <HASH>..<HASH> 100644 --- a/mill/__init__.py +++ b/mill/__init__.py @@ -171,6 +171,7 @@ class Mill: _LOGGER.error("Failed to send request, %s", result) return None _LOGGER.error("Failed to send request, %s. Retrying......
asyncio sleep before retry (#<I>)
py
diff --git a/pkg_resources/py31compat.py b/pkg_resources/py31compat.py index <HASH>..<HASH> 100644 --- a/pkg_resources/py31compat.py +++ b/pkg_resources/py31compat.py @@ -15,8 +15,8 @@ def _makedirs_31(path, exist_ok=False): # and exists_ok considerations are disentangled. # See https://github.com/pypa/setuptools/pu...
Correct bounds and boolean selector.
py
diff --git a/shinken/objects/schedulingitem.py b/shinken/objects/schedulingitem.py index <HASH>..<HASH> 100644 --- a/shinken/objects/schedulingitem.py +++ b/shinken/objects/schedulingitem.py @@ -1688,3 +1688,10 @@ class SchedulingItem(Item): "We got an exception from a trigger on %s for %s", ...
Enh: also give the command_name in a check_result brok
py
diff --git a/src/animanager/anime/stats.py b/src/animanager/anime/stats.py index <HASH>..<HASH> 100644 --- a/src/animanager/anime/stats.py +++ b/src/animanager/anime/stats.py @@ -42,5 +42,4 @@ def main(args): counts[status] = cur.fetchone()[0] cur.execute('SELECT SUM(ep_watched) FROM anime') ...
Remove pylint comment Current Emacs setup doesn't need it.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ install_requires = [ ] tests_requires = [ - 'mock==1.0.1', + 'mock', 'django-nose==1.1', 'factory-boy==1.2.0', ]
OK, then we don't specify a mock version, ffs :(
py
diff --git a/latools/latools.py b/latools/latools.py index <HASH>..<HASH> 100644 --- a/latools/latools.py +++ b/latools/latools.py @@ -1403,7 +1403,6 @@ class analyse(object): stdtab.sort_index(inplace=True) # create 'SRM' column for naming SRM - stdtab.loc[:, 'SRM'] = '' ...
removed unused column from stdtab
py
diff --git a/alignak/objects/schedulingitem.py b/alignak/objects/schedulingitem.py index <HASH>..<HASH> 100644 --- a/alignak/objects/schedulingitem.py +++ b/alignak/objects/schedulingitem.py @@ -2718,8 +2718,8 @@ class SchedulingItem(Item): # pylint: disable=R0902 if self.state != self.ok_up: #...
Fix #<I>: delete comment of non existing acknowledge
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -46,18 +46,12 @@ License :: OSI Approved :: Apache Software License package_keywords = "logging, windows, linux, unix, rotate, QueueHandler, QueueListener, portalocker" -# noinspection PyBroadException -try: - IS_PY2 =...
Use conditional dependency so that universal wheel can be created
py
diff --git a/setuptools/namespaces.py b/setuptools/namespaces.py index <HASH>..<HASH> 100755 --- a/setuptools/namespaces.py +++ b/setuptools/namespaces.py @@ -10,12 +10,14 @@ flatten = itertools.chain.from_iterable class Installer: + nspkg_ext = '-nspkg.pth' + def install_namespaces(self): nsp = s...
Allow the extension to be overridden.
py
diff --git a/cliff/app.py b/cliff/app.py index <HASH>..<HASH> 100644 --- a/cliff/app.py +++ b/cliff/app.py @@ -22,6 +22,7 @@ class App(object): def _build_parser(self, description, version): self.parser = optparse.OptionParser( description=description, + version='%prog {}'.format(v...
include version info when configuring opt parse
py
diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade.py +++ b/openupgradelib/openupgrade.py @@ -510,7 +510,6 @@ def migrate(no_version=False): pass if not version and not no_version: return ...
[FIX] fix forgot to remove debugging print
py
diff --git a/hearthstone/hslog/parser.py b/hearthstone/hslog/parser.py index <HASH>..<HASH> 100644 --- a/hearthstone/hslog/parser.py +++ b/hearthstone/hslog/parser.py @@ -124,12 +124,20 @@ class LogWatcher(LogBroadcastMixin): entity id from the log. """ game.entities[id].name = name + + # Flush the player's b...
hslog: Update player names once they are ready
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,9 @@ setup( license='MIT', description='User-friendly billing for communal households', long_description=open('README.rst').read() if exists("README.rst") else "", + include_package_data=True, ...
Reversing error fix (didn't work). Adding include_package_data=True as per seed <I>
py
diff --git a/ripe/atlas/sagan/traceroute.py b/ripe/atlas/sagan/traceroute.py index <HASH>..<HASH> 100644 --- a/ripe/atlas/sagan/traceroute.py +++ b/ripe/atlas/sagan/traceroute.py @@ -213,9 +213,6 @@ class TracerouteResult(Result): hop = Hop(hop, **kwargs) - if hop.median_rtt: - ...
set last_median_rtt only once
py
diff --git a/noipy/utils.py b/noipy/utils.py index <HASH>..<HASH> 100644 --- a/noipy/utils.py +++ b/noipy/utils.py @@ -26,8 +26,7 @@ def get_ip(): """ try: r = requests.get(HTTPBIN_URL) - ip, _ = r.json()['origin'].split(',') - return ip if r.status_code == 200 else None + return...
(fix): handle httpbin as string instead of list
py
diff --git a/talon/quotations.py b/talon/quotations.py index <HASH>..<HASH> 100644 --- a/talon/quotations.py +++ b/talon/quotations.py @@ -430,6 +430,9 @@ def _extract_from_html(msg_body): Extract not quoted message from provided html message body using tags and plain text algorithm. + Cut out first some...
Cut out first some encoding html tags such as xml and doctype for avoiding conflict with unicode decoding
py
diff --git a/core/bright_lights.py b/core/bright_lights.py index <HASH>..<HASH> 100644 --- a/core/bright_lights.py +++ b/core/bright_lights.py @@ -223,12 +223,8 @@ def _node_loop(stations, lags, stream, i=0): warnings.warn('No station match') continue lag=lags[j[0]] - if not in...
Apply pad to end of data mimic match_filter Former-commit-id: <I>c7e2a<I>e<I>c<I>ff<I>f<I>f2
py
diff --git a/cartoview/app_manager/rest.py b/cartoview/app_manager/rest.py index <HASH>..<HASH> 100644 --- a/cartoview/app_manager/rest.py +++ b/cartoview/app_manager/rest.py @@ -198,13 +198,12 @@ class TagResource(ModelResource): # Code to remember :D def nFilter(filters, objects_list): for f in filters.items()...
convert value to the proper type to compare
py
diff --git a/ipyrad/assemble/consens_se.py b/ipyrad/assemble/consens_se.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/consens_se.py +++ b/ipyrad/assemble/consens_se.py @@ -4,6 +4,7 @@ # py2/3 compatible from __future__ import print_function +from builtins import range try: from itertools import izip, c...
buuiltins support 2/3
py
diff --git a/snakeguice/__pkginfo__.py b/snakeguice/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/snakeguice/__pkginfo__.py +++ b/snakeguice/__pkginfo__.py @@ -5,7 +5,7 @@ libname = 'snake-guice' modname = 'snakeguice' packages = ['snakeguice'] -version = '0.3.1' +version = '0.4' license = 'MIT' copyright = ...
Bumps version to <I>
py
diff --git a/source/rafcon/utils/installation.py b/source/rafcon/utils/installation.py index <HASH>..<HASH> 100644 --- a/source/rafcon/utils/installation.py +++ b/source/rafcon/utils/installation.py @@ -16,6 +16,7 @@ import sys import shutil import subprocess import distutils.log +from distutils.dir_util import copy...
feat(installation): New function to copy RAFCON icons to share/icons
py
diff --git a/ca/django_ca/tests/base.py b/ca/django_ca/tests/base.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/tests/base.py +++ b/ca/django_ca/tests/base.py @@ -128,13 +128,14 @@ class DjangoCATestCase(TestCase): return pkey, req @classmethod - def create_cert(cls, ca, csr, subject=None, san=No...
add ability to pass additional kwargs
py
diff --git a/allauth/account/views.py b/allauth/account/views.py index <HASH>..<HASH> 100644 --- a/allauth/account/views.py +++ b/allauth/account/views.py @@ -324,6 +324,8 @@ class ConfirmEmailView(TemplateResponseMixin, View): def get_context_data(self, **kwargs): ctx = kwargs ctx["confirmation"...
update views.py (#<I>) Add site to context
py
diff --git a/vent/api/plugins.py b/vent/api/plugins.py index <HASH>..<HASH> 100644 --- a/vent/api/plugins.py +++ b/vent/api/plugins.py @@ -126,6 +126,10 @@ class Plugin: build_manifest """ response = (True, None) + if not self.tools: + self.tools = [] + if not self.ov...
ensure tools and overrides are lists
py
diff --git a/lib/webuser.py b/lib/webuser.py index <HASH>..<HASH> 100644 --- a/lib/webuser.py +++ b/lib/webuser.py @@ -490,7 +490,7 @@ def loginUser(req, p_un, p_pw, login_method): if CFG_EXTERNAL_AUTHENTICATION[login_method][0]: # External Authenthication try: - p_email = CFG_EXTERNAL_AUTHEN...
Fixed error external user not able to login via nickname when local user has chosen the same nickname. This fix try to externally authenticate the user by trying both the email corresponding to the local nickname (when it exists), and directly with the nickname.
py
diff --git a/testing/test_faulthandler.py b/testing/test_faulthandler.py index <HASH>..<HASH> 100644 --- a/testing/test_faulthandler.py +++ b/testing/test_faulthandler.py @@ -49,8 +49,16 @@ def test_disabled(testdir): assert result.ret == 0 -@pytest.mark.parametrize("enabled", [True, False]) -def test_timeout(...
Skip flaky test test_faulthandler.py::test_timeout[True] It occasionally crashes on CI, the reason seems out of our control, or at least we can't figure it out.
py
diff --git a/insights/client/phase/v1.py b/insights/client/phase/v1.py index <HASH>..<HASH> 100644 --- a/insights/client/phase/v1.py +++ b/insights/client/phase/v1.py @@ -211,12 +211,12 @@ def collect_and_output(client, config): else: client.delete_archive(insights_archive, delete_...
always rotate eggs on success (#<I>)
py
diff --git a/jawa/constants.py b/jawa/constants.py index <HASH>..<HASH> 100644 --- a/jawa/constants.py +++ b/jawa/constants.py @@ -534,7 +534,7 @@ class ConstantPool(object): else: # Every other constant type is trivial. fmt, size = _constant_fmts[tag] - sel...
Using new Py<I> tuple unpacking saves ~<I>ms by avoiding calls to tupleconcat.
py
diff --git a/pysis/setup.py b/pysis/setup.py index <HASH>..<HASH> 100644 --- a/pysis/setup.py +++ b/pysis/setup.py @@ -48,7 +48,7 @@ if ISIS_VERSION_MAJOR == 3: # the isis path to the end of the current path ISIS_PATH = path.join(ISIS_ROOT, 'bin') if os.environ.get('PATH'): - os.environ['PATH'] = ...
Append isis bin directory, not isis root to path.
py
diff --git a/rebulk/pattern.py b/rebulk/pattern.py index <HASH>..<HASH> 100644 --- a/rebulk/pattern.py +++ b/rebulk/pattern.py @@ -20,8 +20,23 @@ from .validators import allways_true @six.add_metaclass(ABCMeta) class BasePattern(object): + """ + Base class for Pattern like objects + """ @abstractmetho...
Fix pylint issues
py
diff --git a/intranet/apps/eighth/views/admin/activities.py b/intranet/apps/eighth/views/admin/activities.py index <HASH>..<HASH> 100644 --- a/intranet/apps/eighth/views/admin/activities.py +++ b/intranet/apps/eighth/views/admin/activities.py @@ -44,7 +44,7 @@ def add_activity_view(request): @eighth_admin_required de...
allow editing .deleted obj
py
diff --git a/proselint/checks/garner/misspelling.py b/proselint/checks/garner/misspelling.py index <HASH>..<HASH> 100644 --- a/proselint/checks/garner/misspelling.py +++ b/proselint/checks/garner/misspelling.py @@ -89,11 +89,14 @@ def check(text): ["mademoiselle", ["madamoiselle"]], ["martial art...
Add daily GMAU entries on maelstrom and mafiosos
py
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -27,7 +27,7 @@ import tempfile from configparser import ConfigParser from hashlib import sha256, md5 from importlib import import_module -from pathlib impo...
[Client] Fixed ImportError (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,5 +9,14 @@ setup( url="https://github.com/sliim/soundcloud-syncer", license="GPLv3", scripts=["sc-syncer", "sc-tagger"], - packages=["ssyncer"] + packages=["ssyncer"], + install_requires=[ + "...
Added missing dependencies sc-syncer requires stagger for id3 tags support. Running tests depends to mock, nose and coverage packages.
py
diff --git a/khard/carddav_object.py b/khard/carddav_object.py index <HASH>..<HASH> 100644 --- a/khard/carddav_object.py +++ b/khard/carddav_object.py @@ -939,7 +939,6 @@ class YAMLEditable(VCardWrapper): # sort private object lists for value in private_objects.values(): value.sort() - ...
Remove debug logging that disturbs current development
py
diff --git a/openstack_dashboard/dashboards/settings/password/forms.py b/openstack_dashboard/dashboards/settings/password/forms.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/settings/password/forms.py +++ b/openstack_dashboard/dashboards/settings/password/forms.py @@ -69,9 +69,9 @@ class PasswordF...
Add exception message when user modify password same as previous When user change password same as previous password,then user get an error message "Unable to change password" on Horizon which does not specify the clear reason why it cannot be change. This patch corrects the exception raised. Change-Id: I<I>acf5c<I>f...
py
diff --git a/tests/test_alignmentSimulationRandomSeed.py b/tests/test_alignmentSimulationRandomSeed.py index <HASH>..<HASH> 100644 --- a/tests/test_alignmentSimulationRandomSeed.py +++ b/tests/test_alignmentSimulationRandomSeed.py @@ -86,8 +86,8 @@ class test_simulateAlignmentRandomSeed_ExpCM(unittest.TestCase): ...
changed assert to self.assertTrue/self.assertFalse in random seed test
py
diff --git a/raven/contrib/django/models.py b/raven/contrib/django/models.py index <HASH>..<HASH> 100644 --- a/raven/contrib/django/models.py +++ b/raven/contrib/django/models.py @@ -175,8 +175,13 @@ def register_handlers(): # HACK: support Sentry's internal communication if 'sentry' in django_settings.INSTAL...
Support for atomic transactions (Django <I>)
py
diff --git a/cauldron/runner/__init__.py b/cauldron/runner/__init__.py index <HASH>..<HASH> 100644 --- a/cauldron/runner/__init__.py +++ b/cauldron/runner/__init__.py @@ -103,6 +103,10 @@ def reload_libraries(): def reload_library(directory: str) -> list: if not add_library_path(directory): + ...
Library Management Remove library directories from the system path that no longer exist during library reloading.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ class PyTest(TestCommand): setup( name='graphene', - version='0.10.0', + version='0.10.1', description='GraphQL Framework for Python', long_description=open('README.rst').read(),
Updated version to <I>
py
diff --git a/searx/search/checker/__main__.py b/searx/search/checker/__main__.py index <HASH>..<HASH> 100644 --- a/searx/search/checker/__main__.py +++ b/searx/search/checker/__main__.py @@ -1,11 +1,12 @@ import sys +import os import searx.search import searx.search.processors import searx.search.checker -if ...
[fix] do not colorize output on dumb terminals
py
diff --git a/django_grip.py b/django_grip.py index <HASH>..<HASH> 100644 --- a/django_grip.py +++ b/django_grip.py @@ -26,6 +26,7 @@ def _is_basestring_instance(instance): return False def _get_pubcontrol(): + global _pubcontrol _lock.acquire() if _pubcontrol is None: _pubcontrol = GripPubControl()
explicitly declare _pubcontrol as global
py
diff --git a/python/dllib/src/bigdl/dllib/nn/layer.py b/python/dllib/src/bigdl/dllib/nn/layer.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/nn/layer.py +++ b/python/dllib/src/bigdl/dllib/nn/layer.py @@ -1058,8 +1058,6 @@ class Sequential(Container): >>> s = Sequential() creating: createSeq...
[Enhancement] Check duplicate layers in the container (#<I>) * check duplicate layers in the container * add more unit ttest * fix unit test * fix test * meet code review
py
diff --git a/tests/models.py b/tests/models.py index <HASH>..<HASH> 100644 --- a/tests/models.py +++ b/tests/models.py @@ -5,6 +5,8 @@ import simpleimages.transforms class TestModel(models.Model): + transform_dimension = 5 + image = models.ImageField( upload_to='originals/' )
For testing model, add scaling dimension as attribute, to reference it in tests later
py
diff --git a/salt/modules/file.py b/salt/modules/file.py index <HASH>..<HASH> 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -2199,7 +2199,7 @@ def check_perms(name, ret, user, group, mode): raise CommandExecutionError('{0} does not exist'.format(name)) perms['luser'] = cur['user'] p...
Normalize stats()['mode'] for safety.
py
diff --git a/bakery_lint/fonttests/test_ttf.py b/bakery_lint/fonttests/test_ttf.py index <HASH>..<HASH> 100644 --- a/bakery_lint/fonttests/test_ttf.py +++ b/bakery_lint/fonttests/test_ttf.py @@ -541,15 +541,21 @@ class TTFTestCase(TestCase): space = checker.getGlyph(0x0020) nbsp = checker.getGlyph(0...
Add test to nbspace check for U<I> having same width as nbspace and space #<I>
py
diff --git a/d1_common_python/src/d1_common/types/exceptions.py b/d1_common_python/src/d1_common/types/exceptions.py index <HASH>..<HASH> 100644 --- a/d1_common_python/src/d1_common/types/exceptions.py +++ b/d1_common_python/src/d1_common/types/exceptions.py @@ -140,7 +140,7 @@ class DataONEException(Exception): m...
Make sure non-ASCII characters work well.
py
diff --git a/mhcflurry/predict_command.py b/mhcflurry/predict_command.py index <HASH>..<HASH> 100644 --- a/mhcflurry/predict_command.py +++ b/mhcflurry/predict_command.py @@ -96,7 +96,7 @@ parser.add_argument( parser.add_argument( "--predictor", choices=("class1-allele-specific-single", "class1-allele-specif...
Switch predict command to use ensemble models by default
py
diff --git a/bika/lims/content/worksheet.py b/bika/lims/content/worksheet.py index <HASH>..<HASH> 100644 --- a/bika/lims/content/worksheet.py +++ b/bika/lims/content/worksheet.py @@ -382,7 +382,7 @@ class Worksheet(BaseFolder, HistoryAwareMixin): ar_analyses[ar_id] = [analysis, ] # Add a...
LIMS-<I>: When applying Worksheet Template, sort Analyses by AR ID.
py
diff --git a/container/cli.py b/container/cli.py index <HASH>..<HASH> 100644 --- a/container/cli.py +++ b/container/cli.py @@ -125,17 +125,13 @@ class LoadSubmoduleAction(argparse.Action): engine_obj = engine_cls(os.getcwd()) setattr(namespace, self.dest, engine_obj) + engine_obj.add_options(...
Fix shipit arg parsing.
py
diff --git a/meshio/vtk_io.py b/meshio/vtk_io.py index <HASH>..<HASH> 100644 --- a/meshio/vtk_io.py +++ b/meshio/vtk_io.py @@ -248,17 +248,17 @@ def write(filetype, all_keys = [] for cell_type in cell_data: all_keys += cell_data[cell_type].keys() - num_cells = sum([len(cells[cell_type]) for cell_t...
better cell_data comprehension for VTK
py
diff --git a/scripts/master_ip_online_change.py b/scripts/master_ip_online_change.py index <HASH>..<HASH> 100755 --- a/scripts/master_ip_online_change.py +++ b/scripts/master_ip_online_change.py @@ -47,7 +47,7 @@ if (options.orig_master_host is not None and orig_master_ssh_port=options.orig_master_ssh_port...
Add support for specifying non-default ssh port to the online failover helper
py
diff --git a/mutagen/ogg.py b/mutagen/ogg.py index <HASH>..<HASH> 100644 --- a/mutagen/ogg.py +++ b/mutagen/ogg.py @@ -421,7 +421,7 @@ class OggFileType(FileType): fileobj = file(filename, "rb+") try: try: self.tags._inject(fileobj) - except IOError, e: + except erro...
OggFileType#save: r<I> (don't eat exceptions) again.
py
diff --git a/MAVProxy/mavproxy.py b/MAVProxy/mavproxy.py index <HASH>..<HASH> 100644 --- a/MAVProxy/mavproxy.py +++ b/MAVProxy/mavproxy.py @@ -23,6 +23,8 @@ try: except ImportError: import Queue +from builtins import input + from MAVProxy.modules.lib import textconsole from MAVProxy.modules.lib import rline ...
mavproxy: Use input in both python2 and python3
py
diff --git a/telethon/network/mtprotosender.py b/telethon/network/mtprotosender.py index <HASH>..<HASH> 100644 --- a/telethon/network/mtprotosender.py +++ b/telethon/network/mtprotosender.py @@ -404,7 +404,9 @@ class MTProtoSender: if not ok: self._log.error('Automatic reconnection failed %d tim...
Fix AttributeError on reconnect with no retries Closes #<I>.
py
diff --git a/bigquery/client.py b/bigquery/client.py index <HASH>..<HASH> 100644 --- a/bigquery/client.py +++ b/bigquery/client.py @@ -573,6 +573,7 @@ class BigQueryClient(object): query, dataset=None, table=None, + allow_large_results=None, use_query_cache...
allowLargeResults is needed for large query results
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -1095,8 +1095,9 @@ class LazyLoader(salt.utils.lazy.LazyDict): mod = None fpath, suffix = self.file_mapping[name] self.loaded_files.add(name) + fpath_dirname = os.path....
Correctly pop the path we added after loader is completed. Before this was doing a .pop() which would remove the last thing in sys.path, which is not necessarily the thing we added (in the case that an import modifies sys.path). The original fix was introduced in 4bf1d<I>a0bab<I>eaf9f<I>d2ae5e<I>, this simply ensures ...
py
diff --git a/perceval/backends/core/mediawiki.py b/perceval/backends/core/mediawiki.py index <HASH>..<HASH> 100644 --- a/perceval/backends/core/mediawiki.py +++ b/perceval/backends/core/mediawiki.py @@ -71,7 +71,7 @@ class MediaWiki(Backend): :param tag: label used to mark the data :param archive: archive to ...
[mediawiki] Fix error in client `get_version` method This code fixes the logged error of the method `get_version` within the MediawikiClient. Before, the `res` variable was used to fill the log info, however such a variable wasn't initialized outside the try..except block. Now the exception itself is stored in the log...
py
diff --git a/db/mysql.py b/db/mysql.py index <HASH>..<HASH> 100644 --- a/db/mysql.py +++ b/db/mysql.py @@ -2,8 +2,6 @@ # -*- coding: iso-8859-15 -*- import sys, os -import MySQLdb -import MySQLdb.cursors import traceback import re from time import sleep @@ -13,8 +11,17 @@ from string import join from tools.fs...
Use oursql if it's available
py
diff --git a/langcodes/tag_parser.py b/langcodes/tag_parser.py index <HASH>..<HASH> 100644 --- a/langcodes/tag_parser.py +++ b/langcodes/tag_parser.py @@ -115,7 +115,7 @@ def parse_tag(tag): # The first subtag is always either the language code, or 'x' to mark # the entire tag as private-use. Other su...
don't parse language subtags that are longer than 4 characters
py
diff --git a/salt/states/dockerio.py b/salt/states/dockerio.py index <HASH>..<HASH> 100644 --- a/salt/states/dockerio.py +++ b/salt/states/dockerio.py @@ -242,6 +242,10 @@ def pulled(name, tag=None, force=False, *args, **kwargs): force Pull even if the image is already pulled ''' + + if tag: + ...
If pulling a specific image tag check images locally with that tag otherwise changes will be recorded even though there may not be any
py
diff --git a/pecan/configuration.py b/pecan/configuration.py index <HASH>..<HASH> 100755 --- a/pecan/configuration.py +++ b/pecan/configuration.py @@ -138,6 +138,9 @@ def conf_from_dict(conf_dict): return conf def import_module(conf): + if conf.endswith('.py'): + conf = conf[:-3] + if '.' in ...
Got sick of typing "python start.py development.py" and having things not work, so now we detect this scenario and strip off the file extension.
py
diff --git a/wal_e/worker/s3_worker.py b/wal_e/worker/s3_worker.py index <HASH>..<HASH> 100644 --- a/wal_e/worker/s3_worker.py +++ b/wal_e/worker/s3_worker.py @@ -92,7 +92,7 @@ def retry(exception_processor=generic_exception_processor): while True: try: return f(*args,...
Use a better blanket exception handler for handler handoff
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ long_description = '\n'.join([open('README.rst').read(), open('CHANGES.rst').read()]) setup( name='django-lockdown', - version='1.2', + version='1.3', description=('...
Set version <I> in setup.py.
py
diff --git a/bokeh/models/annotations.py b/bokeh/models/annotations.py index <HASH>..<HASH> 100644 --- a/bokeh/models/annotations.py +++ b/bokeh/models/annotations.py @@ -270,6 +270,9 @@ class Label(Annotation): Specifies whether the text is rendered as a canvas element or as an css element overlaid on the ca...
Add note that css mode won't appear in save tool output
py
diff --git a/tests/integration/modules/test_service.py b/tests/integration/modules/test_service.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/test_service.py +++ b/tests/integration/modules/test_service.py @@ -119,9 +119,9 @@ class ServiceModuleTest(ModuleCase): # check service was not enabl...
switch try/except to match <I>
py
diff --git a/bxml/xml.py b/bxml/xml.py index <HASH>..<HASH> 100644 --- a/bxml/xml.py +++ b/bxml/xml.py @@ -100,10 +100,11 @@ class XML(File): def __unicode__(self): return self.__str__() - def canonicalized_string(self, elem=None): + @classmethod + def canonicalized_string(cls, elem): ...
make XML.canonicalized_string() into a class method that takes an element.
py
diff --git a/karaage/applications/views/project.py b/karaage/applications/views/project.py index <HASH>..<HASH> 100644 --- a/karaage/applications/views/project.py +++ b/karaage/applications/views/project.py @@ -362,7 +362,7 @@ class StateStepProject(base.State): resp = {} if 'leader' in request.POST: ...
Fix application errors selecting projects. Change-Id: I<I>f<I>c8b<I>c<I>d<I>c<I>a<I>a9c<I>
py
diff --git a/eli5/sklearn/utils.py b/eli5/sklearn/utils.py index <HASH>..<HASH> 100644 --- a/eli5/sklearn/utils.py +++ b/eli5/sklearn/utils.py @@ -226,6 +226,11 @@ def handle_vec(clf, doc, vec, vectorized, feature_names, num_features=None): def _handle_invhashing_feature_union(doc, vec_union, feature_names): tran...
Comment on hashing vec, union and feature names
py