From e3fec8f2192019e9b16dcc8ef3e965bd13c1e1d4 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 14 Nov 2008 22:03:31 -0700 Subject: Fixed textui.print_keyval for cases when the row is a list instead of a tuple --- ipalib/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/cli.py') diff --git a/ipalib/cli.py b/ipalib/cli.py index 69a3c28f..dd20b365 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -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): """ -- cgit