]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/dashboard: drop "from __future__ import absolute_import" 41493/head
authorKefu Chai <kchai@redhat.com>
Mon, 24 May 2021 03:51:09 +0000 (11:51 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 24 May 2021 04:27:40 +0000 (12:27 +0800)
since we've migrated to python3, there is no need to import
absolute_import for accessing absolute import anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
87 files changed:
src/pybind/mgr/dashboard/__init__.py
src/pybind/mgr/dashboard/api/__init__.py
src/pybind/mgr/dashboard/controllers/__init__.py
src/pybind/mgr/dashboard/controllers/auth.py
src/pybind/mgr/dashboard/controllers/cluster_configuration.py
src/pybind/mgr/dashboard/controllers/crush_rule.py
src/pybind/mgr/dashboard/controllers/docs.py
src/pybind/mgr/dashboard/controllers/erasure_code_profile.py
src/pybind/mgr/dashboard/controllers/frontend_logging.py
src/pybind/mgr/dashboard/controllers/grafana.py
src/pybind/mgr/dashboard/controllers/health.py
src/pybind/mgr/dashboard/controllers/home.py
src/pybind/mgr/dashboard/controllers/host.py
src/pybind/mgr/dashboard/controllers/iscsi.py
src/pybind/mgr/dashboard/controllers/logs.py
src/pybind/mgr/dashboard/controllers/mgr_modules.py
src/pybind/mgr/dashboard/controllers/monitor.py
src/pybind/mgr/dashboard/controllers/nfsganesha.py
src/pybind/mgr/dashboard/controllers/orchestrator.py
src/pybind/mgr/dashboard/controllers/osd.py
src/pybind/mgr/dashboard/controllers/perf_counters.py
src/pybind/mgr/dashboard/controllers/pool.py
src/pybind/mgr/dashboard/controllers/prometheus.py
src/pybind/mgr/dashboard/controllers/rbd.py
src/pybind/mgr/dashboard/controllers/rbd_mirroring.py
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/controllers/role.py
src/pybind/mgr/dashboard/controllers/saml2.py
src/pybind/mgr/dashboard/controllers/settings.py
src/pybind/mgr/dashboard/controllers/summary.py
src/pybind/mgr/dashboard/controllers/task.py
src/pybind/mgr/dashboard/controllers/telemetry.py
src/pybind/mgr/dashboard/controllers/user.py
src/pybind/mgr/dashboard/exceptions.py
src/pybind/mgr/dashboard/grafana.py
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/plugins/__init__.py
src/pybind/mgr/dashboard/plugins/debug.py
src/pybind/mgr/dashboard/plugins/feature_toggles.py
src/pybind/mgr/dashboard/plugins/interfaces.py
src/pybind/mgr/dashboard/plugins/lru_cache.py
src/pybind/mgr/dashboard/plugins/ttl_cache.py
src/pybind/mgr/dashboard/rest_client.py
src/pybind/mgr/dashboard/security.py
src/pybind/mgr/dashboard/services/__init__.py
src/pybind/mgr/dashboard/services/access_control.py
src/pybind/mgr/dashboard/services/auth.py
src/pybind/mgr/dashboard/services/ceph_service.py
src/pybind/mgr/dashboard/services/cephfs.py
src/pybind/mgr/dashboard/services/cephx.py
src/pybind/mgr/dashboard/services/exception.py
src/pybind/mgr/dashboard/services/ganesha.py
src/pybind/mgr/dashboard/services/iscsi_cli.py
src/pybind/mgr/dashboard/services/iscsi_client.py
src/pybind/mgr/dashboard/services/iscsi_config.py
src/pybind/mgr/dashboard/services/orchestrator.py
src/pybind/mgr/dashboard/services/progress.py
src/pybind/mgr/dashboard/services/rbd.py
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/dashboard/services/sso.py
src/pybind/mgr/dashboard/settings.py
src/pybind/mgr/dashboard/tests/__init__.py
src/pybind/mgr/dashboard/tests/helper.py
src/pybind/mgr/dashboard/tests/test_access_control.py
src/pybind/mgr/dashboard/tests/test_api_auditing.py
src/pybind/mgr/dashboard/tests/test_ceph_service.py
src/pybind/mgr/dashboard/tests/test_controllers.py
src/pybind/mgr/dashboard/tests/test_docs.py
src/pybind/mgr/dashboard/tests/test_exceptions.py
src/pybind/mgr/dashboard/tests/test_feature_toggles.py
src/pybind/mgr/dashboard/tests/test_ganesha.py
src/pybind/mgr/dashboard/tests/test_home.py
src/pybind/mgr/dashboard/tests/test_notification.py
src/pybind/mgr/dashboard/tests/test_plugin_debug.py
src/pybind/mgr/dashboard/tests/test_rbd_mirroring.py
src/pybind/mgr/dashboard/tests/test_rbd_service.py
src/pybind/mgr/dashboard/tests/test_settings.py
src/pybind/mgr/dashboard/tests/test_sso.py
src/pybind/mgr/dashboard/tests/test_task.py
src/pybind/mgr/dashboard/tests/test_tools.py
src/pybind/mgr/dashboard/tests/test_versioning.py
src/pybind/mgr/dashboard/tools.py
src/pybind/mgr/orchestrator/tests/test_orchestrator.py
src/pybind/mgr/restful/decorators.py
src/pybind/mgr/restful/hooks.py
src/pybind/mgr/restful/module.py
src/pybind/mgr/tests/__init__.py

index 34485327e3535bac9d49194c191d7f60362c7360..cd36ecafa7cec43f2925bb5f0e298019f7e24014 100644 (file)
@@ -3,7 +3,6 @@
 """
 ceph dashboard module
 """
-from __future__ import absolute_import
 
 import os
 
index c3961685ab8defd1a28f2a2a7bb3b74fcafa4d6b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1 +0,0 @@
-from __future__ import absolute_import
index ee8d3bd7bb49d10f1ec0862850e11edc58bdbc37..2b1e9afdb131c240dd17d7b40d943b337091158a 100755 (executable)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=protected-access,too-many-branches,too-many-lines
-from __future__ import absolute_import
 
 import collections
 import importlib
index 2e45b7c92e1840c23392c5dd37d22c9ff1350f8f..ed219dc72b0b2d6c20440ed5cf39d5d00a112698 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import http.cookies
 import logging
index 8b0829b8402646fc36a80982ac2f789f192679b8..871b629ee4c2e3b2d909acfd531c3608132b1add 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import cherrypy
 
index ea5096cca0f178f38f901d9cd468f529d2e10433..7b0c17fde07f417a67413891d993e949ce9c7920 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from cherrypy import NotFound
 
index e7ed9742ab9d25e91915283c588dd9b4cdedd2fc..77dc6f4dafeeaef5f9974c2bab11603087754eed 100644 (file)
@@ -1,6 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
-
 import logging
 from typing import Any, Dict, List, Union
 
index 4b8264ef0bd5c7e78c7f378eb114384b9939c84a..a62f60c1a9052c3730b4df25ade2d93353f2140c 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from cherrypy import NotFound
 
index 421e36c02e744cb5a1c74b85691f539e94bba7f4..1d3e3cdd6255dde41fee8be95ddb7cf12ddc5535 100644 (file)
@@ -1,5 +1,3 @@
-from __future__ import absolute_import
-
 import logging
 
 from . import BaseController, Endpoint, UiApiController
index 94fe53d0f9774ef65838a364b6e00b6dbb61cf76..a92a390adee6f03526feddbe69f0091ad2df14d7 100644 (file)
@@ -1,6 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
-
 from .. import mgr
 from ..exceptions import DashboardException
 from ..grafana import GrafanaRestClient, push_local_dashboards
index 0ae0a5bf08b17d875dc6bece78ed819fbf488a9b..4e402ee65bd60f26c36a67dad7d171bf357cd572 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 
index 793b241dd75597ce63a9e0224b9c041af5a94a59..5f9454c85cf884380083161744fb2d16c773a53d 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import logging
index 590925ca58bf9cdef6c748f8dc3ff6c551d7553a..a40890602b92ab42e81913ed04def68267cb847a 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import copy
 import os
index 9ee76d7a13537ab528367259ed6f84cbffb5c8a7..1c9cd378f70dc38a492255d473837ff9ace6be6b 100644 (file)
@@ -2,7 +2,6 @@
 # pylint: disable=C0302
 # pylint: disable=too-many-branches
 # pylint: disable=too-many-lines
-from __future__ import absolute_import
 
 import json
 import re
index 97995110746f347433200f8b1cb2aeda4bb68f03..0efd37cfefc5c8d7a3d60637de08d2c2201e1b8c 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import collections
 
index b614612d0b72dd056662d575f8cd477ac237f3d7..e6095841ff95241e9ecb361474f5d38c7dd0fe1b 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from .. import mgr
 from ..security import Scope
index b61fcd4f393e26e45039e107f1395fc50caf01f1..986fddc7f730893a18eeae0ad97f4b866acfac8a 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 
index 91d079234e4608b3c9dc7b6a550471ed7812e29d..b2d9ae5505f00983ec77667b79042e1831099c40 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import logging
 import os
index 085870a0f4aac7bbbda82e87dc3d71e6c530bf18..a0c1d171d54093a5e498c5ef8c79a09854e53441 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from functools import wraps
 
index 1c6b2d26aeba11494cba796ec668492f809b94b9..ea5ccd0f809bc0b82403e531955a5f2c3163a58e 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import logging
index fca8e294ef51b44a184e217d2f8ecb06a01b2f62..b9c215c000d885286f04798176d71f2ade0d9f83 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from typing import Any, Dict
 
index 32ec6c198f8799476cefca9ff9331f7dcb2e90cb..4fef2b975d4aa6fc6067cf50d8f4ba9fae59b18c 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import time
 from typing import Any, Dict, Iterable, List, Optional, Union, cast
index 09aa42663179bddda4a1a7e1ed4d178b1ee60d0e..05b4ffc52354f3bf0d4b67a81b6736502f5c953e 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 from datetime import datetime
index 57fe06a00a65a5538ea63dcddd72f07646384992..a1fa9be3bdb8b6fb0c23cb58409c0e3bce8b6d5f 100644 (file)
@@ -1,7 +1,6 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=unused-argument
 # pylint: disable=too-many-statements,too-many-branches
-from __future__ import absolute_import
 
 import logging
 import math
index 832c97fda978e9b58fc9fb0ea567708476a83fdb..dffc513fdaa546387ffc6990afb8581e33ed6cb9 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import logging
index bd395f47315ae1b1f7083d14e2843b5a5a44109a..2dc301a406bb0e786f69d52199c37f45f577c2f3 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import logging
index 32404237c4a7c17bf3dafdc5632df53f7de3f7b3..44dcef75c765e9b1f1595962d61a09f7f66d6d80 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import cherrypy
 
index fb8278068b1a61a43bca095180cbb5e84b5ebe31..8939f6827243b317260df204abccfe6fd30f5c39 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import cherrypy
 
index 7d9ca9fb316a60e279347c94d49f4bfbe8c6e2a4..77d8eeb0ad7d76107c317053432fd97678e16650 100644 (file)
@@ -1,6 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
-
 from contextlib import contextmanager
 
 import cherrypy
index 4e240b9770bd022be848b35919f89aaf1c7202e5..becb91295f6a02a139e460ef9fc1dba43e1a4a88 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 
index 16c5017822e308c4adb40de4c365b159c0036863..9b477a659d2004a098a4a0ef8679ce570e441d7c 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from ..services import progress
 from ..tools import TaskManager
index 0a2743d111efca28ab1585fe13cfd246a07a295f..37ab98f1a56c811757033a03246ddf01d8f09a9e 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from .. import mgr
 from ..exceptions import DashboardException
index 8d340fedccb4a3fd9861c0d021546873741c3daf..dbd240f7c54101bf7511d2e47962a9ff0ef5bfda 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import time
 from datetime import datetime
index 8857c423cc4ecbb2c52858cdee7f6a92dedf56e4..96cbc52335613f59195a7657a9de884687f46da4 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 
 class ViewCacheNoDataException(Exception):
index 2ba28fbeb6f4c3ad94d4fd14c134db5bf3884097..6e3ae5a221bfc63ab8f05d5e1e0e5390b35db54a 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import logging
index c8e5ba4020a1202e2606beef1857a2810d772f07..4fa6d8163d37810d7f78394e05941577ea02a1db 100644 (file)
@@ -2,8 +2,6 @@
 """
 ceph dashboard mgr plugin (based on CherryPy)
 """
-from __future__ import absolute_import
-
 import collections
 import errno
 import logging
index 6cd03fa95385832b7570535685f0605c2e4c2db8..edc0b65946bdd1588b2b706d50e8dc66a11c2c5f 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import abc
 
index 8eb2bb1e6da08c0dd419dda4a0fa234ce7182061..da5a4fb9577a7c953741cbb9c11402167d6c3209 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 
-from __future__ import absolute_import
 
 import json
 from enum import Enum
index ea50652346a4a678147d0c68f8b9d2f985f1deec..8dc865096a45267d80e86a5d1d09eae4213cac8a 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from enum import Enum
 from typing import List, Optional
index 9c050074f7da87c7f26aa89abde2588afca6556e..0c106d2617cc33d164d0ea248330354c21b1e4b4 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from . import PLUGIN_MANAGER as PM  # pylint: disable=cyclic-import
 from . import Interface, Mixin
index 9b29a60124475636525567af7cb9e9568c9eee5d..4d8fc27b34a8b321b77ace0ca226dbb491e73422 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 collections import OrderedDict
 from functools import wraps
index b316151e7e08ef33522d4f57602f61bece7ad12d..ad3c36d1198dc1dda88231b186539391f7f9bbc6 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 collections import OrderedDict
 from functools import wraps
index 90cfd41ad77ebb925847b0fa998ba202bae1730b..e35ceb5474ee2c86ab668fc77edc7a2ba6ecfdee 100644 (file)
@@ -11,7 +11,6 @@
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *  GNU General Public License for more details.
 """
-from __future__ import absolute_import
 
 import inspect
 import logging
index cbeda6daec22515c7740617dab7d3bc9b3976b02..4c6e5c564af3f17b14001b95df51f351b1f6939f 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import inspect
 
index 139759b658ca10386fe66e2a391a4501341b7ea0..40a96afc6ff09d58a702b76e3f7dd412fe975e26 100644 (file)
@@ -1,2 +1 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
index dd32712494fc527664cdb58b3eb4446bc741e2c2..08bee8ec42917b2dfadd22c3ba819869b8272b0e 100644 (file)
@@ -1,7 +1,6 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=too-many-arguments,too-many-return-statements
 # pylint: disable=too-many-branches, too-many-locals, too-many-statements
-from __future__ import absolute_import
 
 import errno
 import json
index 55436afb6ad34f910520a806f12a66e204b38737..76ee740b1a73a8347fcff0f278e3d495a98a07c2 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import logging
index 4cf82f06696d87341b6694c06dafe70fbbbf6aa2..028368b765021718afad5ae4701adf899bdb2c5b 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import logging
index 604cf4a77fc823d2f90a0fb8373fed7f56f5b518..8e9a0736571dc83d29ce46bb711a3da2c2b6c0ff 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import datetime
 import logging
index 60303ad85fd68d835e7bb4337326264ac6b153cf..514173e53bec9c9f92c62b3b10e2d4b2b83f1b2d 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from .ceph_service import CephService
 
index 54aa8a7b4ccfc2b328af4c4746918d2555e75399..f027ed300b96a7bdcad0ff7c9048960467db3995 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import logging
index 9799f837a74f9b976a84362d42edc2a9f525e66c..fdbb497853b1b10093c80d3d8550c8def87951e7 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=too-many-lines
-from __future__ import absolute_import
 
 import logging
 import os
index 93abbcd190a329b84498a7ec1b90d0d81cd51207..e46924d8c3534f9acf6878886a0ee79e27db5c1c 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import errno
 import json
index 9cc2600e1217b720cbae4de136e7d6e026c16f10..c222fbb0d75b20a8aa5d225770f87e759c74e8e5 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=too-many-public-methods
-from __future__ import absolute_import
 
 import json
 import logging
index acc0c09362cee6dfeae858b658c494dc550ffb32..f1818c1986c2600703f5a23af0317a3595eb15ab 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 
index 7dfdfc2920f83d77f48cab6093530c10a82b0a40..45b0d32309268b42450136ccaaed211cbf924db4 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import logging
 from functools import wraps
index 96272beff7c451ce7ee2002b49cc0b204e00220e..d1afefbac0c99fbad0f8075d3b2eb71dd7006e05 100644 (file)
@@ -7,7 +7,6 @@ executing and completed tasks tacked by the progress mgr module
 using the same structure of dashboard tasks
 '''
 
-from __future__ import absolute_import
 
 import logging
 from datetime import datetime
index 08363191557550cc364ff3662e98b94479f04149..0356de8f5f44afc011150ac16786145389e50b36 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=unused-argument
-from __future__ import absolute_import
 
 import cherrypy
 import rbd
index 598d05ee39df9cfe5abda89d2eb58a71b50f7f18..3d5d1cdf073e3b73dbee3afdbf2b3410fa2b9663 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import ipaddress
 import logging
index fdc9b862b79abe0250ebefeff198c36509181536..74b1a3e52cf5c59025f6ea909b220d53d24ba506 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=too-many-return-statements,too-many-branches
-from __future__ import absolute_import
 
 import errno
 import json
index 6c1b90374fb72660ce5ee69160ca1616b52b8e74..26b8d638a765d9734415f00ddf24e098cc7e94e4 100644 (file)
@@ -1,6 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
-
 import errno
 import inspect
 from ast import literal_eval
index 2c8d3c68a5b21ab6dd5bb34c70be2b42c6e86a8c..64a71561ff8693ff279950680dbabcaaa18aa362 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=too-many-arguments
-from __future__ import absolute_import
 
 import json
 import logging
index e71133a108b73069fc128680127ef453ad195bac..67dd09fdfe1dad29adb80c94886c7b67d3c8d793 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 try:
     from typing import Any, Dict
index 9415d7e57064f7a738ec15d7069b689dd9dd5b16..f05490de52f99467e8b486f5f1d02f8de4d61260 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=dangerous-default-value,too-many-public-methods
-from __future__ import absolute_import
 
 import errno
 import json
index b2e83379efc8de3da51b70af3ab58427a59fde23..71121a06bcaf15478343dea9a026cc706773c64d 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import re
index 9a8ca674c23634639192b8ab5e46a00d9eb3c172..f3350337c74c5345c8a12a39bec53818c7564b7a 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=dangerous-default-value,too-many-public-methods
-from __future__ import absolute_import
 
 import logging
 import unittest
index bacef3677d787af894f69dee7730262fe5f14e1f..7bd0b1955a0612aef684a4f28ef38bb6c751002f 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from ..controllers import ApiController, BaseController, Controller, Endpoint, RESTController
 from . import ControllerTestCase  # pylint: disable=no-name-in-module
index 84cfddd629ec5f7ddd898ff805843de12077a2fd..b4210edff2047c7931f7aeebf143eeb9c83e2d32 100644 (file)
@@ -1,5 +1,4 @@
 # # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import unittest
 
index bbf9090957204ea2e386b5c2513a9ad5fe50721f..f28e2cd55d4dfe440c47694a3218f80a20e0165e 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import time
 
index 571b8c286c859893c2b058e894fa4016dd39fe8f..7a36269d87becaed4315ccafda976e39d47de7df 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import unittest
 
index f9cc44aa2738bbafa6f3b8d8779611e6aac76466..2d1136d2333b732c9c21864e129cd7d6d7c9fd8d 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=too-many-lines
-from __future__ import absolute_import
 
 import unittest
 from unittest.mock import MagicMock, Mock, patch
index 37e09b4b2af9e2fcbe2a203e695d688937ac3690..dc73a6d2ead62279d5725dc5f8706ea772519dfc 100644 (file)
@@ -1,4 +1,3 @@
-from __future__ import absolute_import
 
 import logging
 import os
index df303e455634f4a4afd63416f233ca1c05937259..0abca989c229bce0606f7681336219085fb6e4b5 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import random
 import time
index cb4d1afc21844f53c1c80d081bdba5b3250779b7..5010d9768ffeafe58a500c6a65318542d1f8d318 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 from . import CLICommandTestMixin, ControllerTestCase  # pylint: disable=no-name-in-module
 
index acb8336de7ecfc7a2ba0e9d5971e326d997cec03..490a8a6e2992aba427f2293ea1a1ed13d4751d53 100644 (file)
@@ -1,4 +1,3 @@
-from __future__ import absolute_import
 
 import json
 import unittest
index 99cf27d8214574466316c096dbdabc6bc0cd9f82..1772ac8cf1ca431630db698ffb7674407d06ef66 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=dangerous-default-value,too-many-public-methods
-from __future__ import absolute_import
 
 import unittest
 
index e92b580e3a6277d206ca72c349fb8d0dd3c2b058..0644ecb8833e46c5b19fc9de8d80105453399c28 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import errno
 import unittest
index c347f54200827a6e463a443838c61536b02c57e7..0aaa0e87478aad7f15c73168635f710e14831d54 100644 (file)
@@ -1,6 +1,5 @@
 # -*- coding: utf-8 -*-
 # pylint: disable=dangerous-default-value,too-many-public-methods
-from __future__ import absolute_import
 
 import errno
 import tempfile
index 0d51e2d3f889d06cbef28e3925c75e6bc012986d..2506c3913c2f39115bf239be76bbde62a1495573 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 import threading
index c9cd11bafc8333b457284f8827f00ba23e0aa00f..dbd87552e0b783cb7071658b3e028c962d0d58e7 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import unittest
 
index d051e0550a48819748ff1672b0240fc8c5c6b4c6..bf166e40dc48a5220afb5fb8f1a3dd232439b96d 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import unittest
 
index a6f14e82d00845a2a14b8ba27cde3c14b0a49003..a882a30cc005f7fa3dcb42f3f457790275484816 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import collections
 import fnmatch
index 35f4b64b8782df4ca866d630f258bdd0585eddf6..35154270449f83f658e67c07750073ef4118b519 100644 (file)
@@ -1,4 +1,3 @@
-from __future__ import absolute_import
 
 import json
 
index d1d3fbcd5178e5562bfb8f505a591f6a31ad6c8c..11840a9913a670dedd779aab1f8d6a5bf0c4e264 100644 (file)
@@ -1,4 +1,3 @@
-from __future__ import absolute_import
 
 from pecan import request, response
 from base64 import b64decode
index d677dcc2a15a7c55774165a11e010dabe40d78e6..c57cbcd404d0b22800b6d3fec6c86ced5cc2e835 100644 (file)
@@ -1,4 +1,3 @@
-from __future__ import absolute_import
 
 from pecan.hooks import PecanHook
 
index b5f9d6f0af9b28e10045b296652be70be9b4cb19..d259a85e5a677a7acacf22810f07ccd123a586cd 100644 (file)
@@ -1,7 +1,6 @@
 """
 A RESTful API for Ceph
 """
-from __future__ import absolute_import
 
 import os
 import json
index 9d5e2dcabea7335233861b7b10b62316d07c27ef..2725e4d643a1b5effea291de5b5fa25052fd1130 100644 (file)
@@ -1,5 +1,4 @@
 # type: ignore
-from __future__ import absolute_import
 
 import json
 import logging