summaryrefslogtreecommitdiff
path: root/troveclient/auth_plugin.py
diff options
context:
space:
mode:
authorwangzihao <wangzihao@yovole.com>2020-10-12 19:30:57 +0800
committerwangzihao <wangzihao@yovole.com>2020-10-13 11:02:06 +0800
commit17d2d5175e322519da96c41c761027e49c10c766 (patch)
treef8b336d26b6699f0069d5eea70126a02ae2a24fa /troveclient/auth_plugin.py
parentdfb45e2b663008e4c4901417ff8d3e9966bae11d (diff)
downloadpython-troveclient-17d2d5175e322519da96c41c761027e49c10c766.tar.gz
Remove six
Remove all usages of six. Change-Id: I6ea8d1cdc3060d5c2a4311c7454b66ba75109b0c
Diffstat (limited to 'troveclient/auth_plugin.py')
-rw-r--r--troveclient/auth_plugin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/troveclient/auth_plugin.py b/troveclient/auth_plugin.py
index 4b78f21..ab0d2d8 100644
--- a/troveclient/auth_plugin.py
+++ b/troveclient/auth_plugin.py
@@ -18,7 +18,6 @@
import logging
import pkg_resources
-import six
from troveclient import exceptions
@@ -51,7 +50,7 @@ def load_auth_system_opts(parser):
This function will try to populate the parser with options from the
available plugins.
"""
- for name, auth_plugin in six.iteritems(_discovered_plugins):
+ for name, auth_plugin in _discovered_plugins.items():
add_opts_fn = getattr(auth_plugin, "add_opts", None)
if add_opts_fn:
group = parser.add_argument_group("Auth-system '%s' options" %