diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-11-14 22:03:31 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-11-14 22:03:31 -0700 |
commit | e3fec8f2192019e9b16dcc8ef3e965bd13c1e1d4 (patch) | |
tree | 386e7a77e8f2d7ed9f3ffbd6978b7dc92937b6e0 /ipalib/cli.py | |
parent | 9de56d43f054bc5e509e38bda1a048e5af6d73d7 (diff) | |
download | freeipa-e3fec8f2192019e9b16dcc8ef3e965bd13c1e1d4.tar.gz freeipa-e3fec8f2192019e9b16dcc8ef3e965bd13c1e1d4.tar.xz freeipa-e3fec8f2192019e9b16dcc8ef3e965bd13c1e1d4.zip |
Fixed textui.print_keyval for cases when the row is a list instead of a tuple
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r-- | ipalib/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index 69a3c28fe..dd20b3654 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): """ |