Merge "Don't call PrettyTable add_row with a tuple."

This commit is contained in:
Jenkins
2012-07-03 18:40:44 +00:00
committed by Gerrit Code Review

View File

@@ -45,7 +45,7 @@ def print_dict(d):
for (prop, value) in d.iteritems(): for (prop, value) in d.iteritems():
if value is None: if value is None:
value = '' value = ''
pt.add_row((prop, value)) pt.add_row([prop, value])
print pt.get_string(sortby='Property') print pt.get_string(sortby='Property')