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:
Oleksandr Kyrylchuk 2015-04-21 15:10:33 +03:00
parent ca2fe0c554
commit c148555137

View File

@ -42,7 +42,7 @@ def print_raw(d, verbose):
print('')
def print_dict(d, verbose, property="Property"):
def print_dict(d, verbose=False, property="Property"):
pt = prettytable.PrettyTable([property, 'Value'], caching=False)
pt.align = 'l'