fix watcher actionplan show command

This patch set is intended for Python 3.x support and replace
itervalues() method with values().

Change-Id: I6852239d2d6634a4304c87a1694e64479f560de1
Closes-Bug: #1786784
This commit is contained in:
Alexander Chadin 2018-08-13 17:30:56 +03:00
parent eed22ea2bb
commit c1fd569b76
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class ShowActionPlan(command.ShowOne):
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,
)