diff options
author | Martin Basti <mbasti@redhat.com> | 2016-06-01 15:26:43 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-13 13:58:36 +0200 |
commit | 493ae1e5028c6ce8a0888146ee3de6c798caa55f (patch) | |
tree | 15449303d2e968959024c87d132b02dd2da609a7 | |
parent | 3bac6de49e49d702e07a4ef3e85013e3cbd2e82b (diff) | |
download | freeipa-493ae1e5028c6ce8a0888146ee3de6c798caa55f.tar.gz freeipa-493ae1e5028c6ce8a0888146ee3de6c798caa55f.tar.xz freeipa-493ae1e5028c6ce8a0888146ee3de6c798caa55f.zip |
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>
-rw-r--r-- | ipalib/cli.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index 33e982ef9..0de268249 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -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:]: |