Fix watcher actionplan list command
This patch set replaces itervalues() method with values() to get py3.* compatibility. Closes-Bug: #1738772 Change-Id: Ie13d15d6f407b08ba087168ac647669c0df2c30a
This commit is contained in:
@@ -157,7 +157,7 @@ class ListActionPlan(command.Lister):
|
||||
yaml_format.YAMLFormatter().emit_one(
|
||||
column_names=list(resource.capitalize()
|
||||
for resource in formatted_global_efficacy),
|
||||
data=[value for value in formatted_global_efficacy.itervalues()],
|
||||
data=[value for value in formatted_global_efficacy.values()],
|
||||
stdout=out,
|
||||
parsed_args=parsed_args,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user