Skip to content

Commit 5860dc8

Browse files
committed
Remove six
Python 2 is no longer supported, thus usage of six can be removed. Change-Id: I7442242289f269d95432209e74caa3cd3917ac5d
1 parent 00a5465 commit 5860dc8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

troveclient/osc/v1/database_flavors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from osc_lib.command import command
1616
from osc_lib import utils
17-
import six
1817

1918
from troveclient import exceptions
2019
from troveclient.i18n import _
@@ -94,4 +93,4 @@ def take_action(self, parsed_args):
9493
flavor = utils.find_resource(db_flavors,
9594
parsed_args.flavor)
9695
flavor = set_attributes_for_print_detail(flavor)
97-
return zip(*sorted(six.iteritems(flavor)))
96+
return zip(*sorted(list(flavor.items())))

0 commit comments

Comments
 (0)