Merge "Don't call PrettyTable add_row with a tuple."
This commit is contained in:
@@ -45,7 +45,7 @@ def print_dict(d):
|
||||
for (prop, value) in d.iteritems():
|
||||
if value is None:
|
||||
value = ''
|
||||
pt.add_row((prop, value))
|
||||
pt.add_row([prop, value])
|
||||
print pt.get_string(sortby='Property')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user