Remove six from Zadara driver

Change-Id: I3816a6ec000ec0a11fa66ce9ff2fc4a17efae74c
This commit is contained in:
Takashi Kajinami
2024-02-01 16:19:03 +09:00
parent 2a18843ab9
commit 6b632a4992
2 changed files with 2 additions and 3 deletions

View File

@ -17,9 +17,9 @@ Tests for Zadara VPSA volume driver
"""
import copy
from unittest import mock
from urllib import parse
import requests
from six.moves.urllib import parse
from cinder import exception
from cinder.tests.unit import fake_constants as fake

View File

@ -20,7 +20,6 @@ This driver requires VPSA with API version 15.07 or higher.
from oslo_config import cfg
from oslo_log import log as logging
from oslo_utils import strutils
import six
from cinder.common import constants
from cinder import exception as cinder_exception
@ -519,7 +518,7 @@ class ZadaraVPSAISCSIDriver(driver.ISCSIDriver):
manageable_snapshots, marker, limit, offset,
sort_keys, sort_dirs)
except Exception as e:
msg = (_('Exception: %s') % six.text_type(e))
msg = (_('Exception: %s') % str(e))
LOG.error(msg)
raise