]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/services/rbd.py
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / services / rbd.py
index 4e628342282eb1ed5e92aa1ac3fe843f852c043f..08363191557550cc364ff3662e98b94479f04149 100644 (file)
@@ -2,10 +2,7 @@
 # pylint: disable=unused-argument
 from __future__ import absolute_import
 
-import six
-
 import cherrypy
-
 import rbd
 
 from .. import mgr
@@ -57,7 +54,7 @@ def format_features(features):
     @DISABLEDOCTEST: >>> format_features('deep-flatten, exclusive-lock')
     32
     """
-    if isinstance(features, six.string_types):
+    if isinstance(features, str):
         features = features.split(',')
 
     if not isinstance(features, list):