mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-27 00:26:33 -06:00
Fix: Local variable s_indent might be referenced before defined
Sanity fix to make sure we do not hit UnboundLocalError and fail terribly https://fedorahosted.org/freeipa/ticket/5921 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
3bac6de49e
commit
493ae1e502
@ -324,6 +324,7 @@ class textui(backend.Backend):
|
||||
if len(text) == 0:
|
||||
text = [u'']
|
||||
else:
|
||||
s_indent = u''
|
||||
text = [text]
|
||||
self.print_indented(format % (attr, text[0]), indent)
|
||||
for line in text[1:]:
|
||||
|
Loading…
Reference in New Issue
Block a user