Merge "Replace six.itervalues with dict.values()"

This commit is contained in:
Jenkins 2017-02-15 05:41:15 +00:00 committed by Gerrit Code Review
commit fcd7edbaae
2 changed files with 2 additions and 2 deletions
senlinclient/v1

@ -997,7 +997,7 @@ class ClusterRun(command.Command):
"network.") % {'node': node_id}
return
else:
addresses = list(six.itervalues(addr))[0]
addresses = list(addr.values())[0]
# Select the address in the selected network.
# If the extension is not present, we assume the address to be

@ -632,7 +632,7 @@ def _run_script(node_id, addr, net, addr_type, port, user, ipv6, identity_file,
"network.") % {'node': node_id}
return
else:
addresses = list(six.itervalues(addr))[0]
addresses = list(addr.values())[0]
# Select the address in the selected network.
# If the extension is not present, we assume the address to be floating.