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:
parent
eed22ea2bb
commit
c1fd569b76
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue