Remove all usage of six library
Replace six with Python 3 style code.
Change-Id: I724eba28d1a88317655f9cb7da94716772cd01ab
diff --git a/manila_tempest_tests/tests/scenario/manager.py b/manila_tempest_tests/tests/scenario/manager.py
index 1fa03f4..947d0e6 100644
--- a/manila_tempest_tests/tests/scenario/manager.py
+++ b/manila_tempest_tests/tests/scenario/manager.py
@@ -20,7 +20,6 @@
from oslo_log import log
from oslo_utils import netutils
from oslo_utils import uuidutils
-import six
from tempest.common import compute
from tempest.common import image as common_image
from tempest.common.utils.linux import remote_client
@@ -630,7 +629,7 @@
try:
return subnets_client.create_subnet(**subnet)
except lib_exc.Conflict as e:
- if 'overlaps with another subnet' not in six.text_type(e):
+ if 'overlaps with another subnet' not in str(e):
raise
result = None