Remove six from kaminario driver

Change-Id: I4763435723a77cd49015c8802164e5564cc5f157
This commit is contained in:
Eric Harney
2023-05-30 09:12:06 -04:00
parent 592e31d232
commit 93d042962f

View File

@ -26,7 +26,6 @@ from oslo_utils import importutils
from oslo_utils import units
from oslo_utils import versionutils
import requests
import six
import cinder
from cinder import exception
@ -100,7 +99,7 @@ if krest:
err_msg = err.response.text
if self._should_retry(err_code, err_msg):
raise KaminarioRetryableException(
reason=six.text_type(err_msg))
reason=str(err_msg))
raise
finally:
self.krestlock.release()