]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
pybind/mgr/rook: drop python2 support
authorKefu Chai <kchai@redhat.com>
Sun, 19 Jul 2020 09:40:48 +0000 (17:40 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 22 Jul 2020 03:55:49 +0000 (11:55 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/rook/rook_cluster.py

index 05c533ae85762a0ea78c381120df0df1b0083651..6ee1c7d6d47e2a622ffaccd8d197bc67706420a4 100644 (file)
@@ -14,7 +14,7 @@ from contextlib import contextmanager
 from time import sleep
 
 import jsonpatch
-from six.moves.urllib.parse import urljoin  # pylint: disable=import-error
+from urllib.parse import urljoin
 
 # Optional kubernetes imports to enable MgrModule.can_run
 # to behave cleanly.