]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Cleanup Python code 26743/head
authorVolker Theile <vtheile@suse.com>
Mon, 4 Mar 2019 16:20:32 +0000 (17:20 +0100)
committerVolker Theile <vtheile@suse.com>
Mon, 4 Mar 2019 16:21:35 +0000 (17:21 +0100)
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/controllers/__init__.py
src/pybind/mgr/dashboard/controllers/iscsi.py
src/pybind/mgr/dashboard/controllers/pool.py
src/pybind/mgr/dashboard/controllers/settings.py
src/pybind/mgr/dashboard/controllers/summary.py
src/pybind/mgr/dashboard/plugins/lru_cache.py
src/pybind/mgr/dashboard/plugins/ttl_cache.py

index af79f8ac2aba49d2ed02ea1e5db8f5552228aad9..28f5998e876c7c2c6fb27b7324a0459dc6e2f6e0 100644 (file)
@@ -9,7 +9,6 @@ import json
 import os
 import pkgutil
 import sys
-from six import add_metaclass
 
 if sys.version_info >= (3, 0):
     from urllib.parse import unquote  # pylint: disable=no-name-in-module,import-error
index b57b1d809efe99cc72f4820feabf1543e7fa006d..4568355d4236f7ce81097273997b5dbe2a183ffa 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=too-many-branches
-
 from __future__ import absolute_import
 
 from copy import deepcopy
index b20e19842f1732cd8cc4b3387eafca679ddc5449..5732674b01a2caf25a5eb6f9d8ec1e953d8ac89b 100644 (file)
@@ -1,7 +1,6 @@
 # -*- coding: utf-8 -*-
 from __future__ import absolute_import
 
-
 import cherrypy
 
 from . import ApiController, RESTController, Endpoint, ReadPermission, Task
index 2f2ec3e902ee52c9033746447617ecb52fce6279..a484580ee1c1a65887b5bc795851469e217361b4 100644 (file)
@@ -4,7 +4,6 @@ from contextlib import contextmanager
 
 import cherrypy
 
-
 from . import ApiController, RESTController
 from ..settings import Settings as SettingsModule, Options
 from ..security import Scope
index 2571b281cfd2001bf328306bdd6c75825fdfa927..0b2d51e52747366dca08873b16d3ff9e861cfda6 100644 (file)
@@ -3,7 +3,6 @@ from __future__ import absolute_import
 
 import json
 
-
 from . import ApiController, Endpoint, BaseController
 from .. import mgr
 from ..security import Permission, Scope
index 82ec0c74983f03bfa49d49fd1b26ce5d084f7b78..19ad1b85062d34afa29c02dd0af5b78225a8179f 100644 (file)
@@ -4,7 +4,6 @@ This is a minimal implementation of lru_cache function.
 
 Based on Python 3 functools and backports.functools_lru_cache.
 """
-
 from __future__ import absolute_import
 
 from functools import wraps
index 8a7715b10b5244ec54dc3fe49647c7492233ae73..a0698542b43a82219612cdce23ec30f195346470 100644 (file)
@@ -3,7 +3,6 @@ This is a minimal implementation of TTL-ed lru_cache function.
 
 Based on Python 3 functools and backports.functools_lru_cache.
 """
-
 from __future__ import absolute_import
 
 from functools import wraps