From: Kefu Chai Date: Sun, 19 Jul 2020 09:40:48 +0000 (+0800) Subject: pybind/mgr/rook: drop python2 support X-Git-Tag: wip-pdonnell-testing-20200918.022351~591^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5891b56ad6c7115e6a0a96e315456a799a5a5e88;p=ceph-ci.git pybind/mgr/rook: drop python2 support Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/rook/rook_cluster.py b/src/pybind/mgr/rook/rook_cluster.py index 05c533ae857..6ee1c7d6d47 100644 --- a/src/pybind/mgr/rook/rook_cluster.py +++ b/src/pybind/mgr/rook/rook_cluster.py @@ -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.