Fixed textui.print_keyval for cases when the row is a list instead of a tuple
This commit is contained in:
1 parent
9de56d43f0
commit
e3fec8f219
1 file changed
+2
-2
+2
-2
@@ -195,8 +195,8 @@ class textui(backend.Backend):
|
||||
|
||||
Also see `textui.print_indented`.
|
||||
"""
|
||||
for row in rows:
|
||||
self.print_indented('%s = %r' % row, indent)
|
||||
for (key, value) in rows:
|
||||
self.print_indented('%s = %r' % (key, value), indent)
|
||||
|
||||
def print_dashed(self, string, above=True, below=True):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user