Remove six

Python 2 is no longer supported, thus usage of six can be removed.

Change-Id: I7442242289f269d95432209e74caa3cd3917ac5d
This commit is contained in:
Takashi Kajinami 2022-05-17 22:01:33 +09:00
parent 00a54650d5
commit 5860dc8ffc
1 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@
from osc_lib.command import command
from osc_lib import utils
import six
from troveclient import exceptions
from troveclient.i18n import _
@ -94,4 +93,4 @@ class ShowDatabaseFlavor(command.ShowOne):
flavor = utils.find_resource(db_flavors,
parsed_args.flavor)
flavor = set_attributes_for_print_detail(flavor)
return zip(*sorted(six.iteritems(flavor)))
return zip(*sorted(list(flavor.items())))