summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 85282a039..7913512f9 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -263,7 +263,7 @@ class textui(backend.Backend):
else:
text = ', '.join(value)
line_len = self.get_tty_width()
- if line_len:
+ if line_len and text:
s_indent = '%s%s' % (
CLI_TAB * indent, ' ' * (len(attr) + 2)
)