summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 067d78089..4250aaf54 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -363,7 +363,8 @@ class textui(backend.Backend):
label = labels.get(key, key)
flag = flags.get(key, [])
value = entry[key]
- if 'suppress_empty' in flag and value in [u'', '', [], None]:
+ if ('suppress_empty' in flag and
+ value in [u'', '', (), [], None]):
continue
if isinstance(value, dict):
if frontend.entry_count(value) == 0: