Remove six
Python 2 is no longer supported, thus usage of six can be removed. Change-Id: I7442242289f269d95432209e74caa3cd3917ac5d
This commit is contained in:
parent
00a54650d5
commit
5860dc8ffc
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
from osc_lib.command import command
|
from osc_lib.command import command
|
||||||
from osc_lib import utils
|
from osc_lib import utils
|
||||||
import six
|
|
||||||
|
|
||||||
from troveclient import exceptions
|
from troveclient import exceptions
|
||||||
from troveclient.i18n import _
|
from troveclient.i18n import _
|
||||||
|
@ -94,4 +93,4 @@ class ShowDatabaseFlavor(command.ShowOne):
|
||||||
flavor = utils.find_resource(db_flavors,
|
flavor = utils.find_resource(db_flavors,
|
||||||
parsed_args.flavor)
|
parsed_args.flavor)
|
||||||
flavor = set_attributes_for_print_detail(flavor)
|
flavor = set_attributes_for_print_detail(flavor)
|
||||||
return zip(*sorted(six.iteritems(flavor)))
|
return zip(*sorted(list(flavor.items())))
|
||||||
|
|
Loading…
Reference in New Issue