Fixed bug of usage of listing functions in CLI
Reasons: - Some of functions provided by CLI ("list_*") crash Changes: - Added default value for "verbose" option in print_dict() function Change-Id: I00dfacf1e74ecc0fd44bb93fd4980a8504629ecc Closes-Bug: #1446567
This commit is contained in:
parent
ca2fe0c554
commit
c148555137
@ -42,7 +42,7 @@ def print_raw(d, verbose):
|
|||||||
print('')
|
print('')
|
||||||
|
|
||||||
|
|
||||||
def print_dict(d, verbose, property="Property"):
|
def print_dict(d, verbose=False, property="Property"):
|
||||||
pt = prettytable.PrettyTable([property, 'Value'], caching=False)
|
pt = prettytable.PrettyTable([property, 'Value'], caching=False)
|
||||||
pt.align = 'l'
|
pt.align = 'l'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user