Fix OSC protectable show formatting

Change-Id: I353a9e2938335e1de3d1b2902a780039e03e5b7c
This commit is contained in:
Yuval Brik
2017-08-14 13:34:59 +03:00
parent 888008676c
commit 41d93cdca0

View File

@@ -63,6 +63,9 @@ class ShowProtectable(command.ShowOne):
parsed_args.protectable_type)
protectable._info.pop("links", None)
if 'dependent_types' in protectable._info:
protectable._info['dependent_types'] = "\n".join(
protectable._info['dependent_types'])
return zip(*sorted(protectable._info.items()))