utils.ShellWriter: Don't indent empty lines
authorMichael Hanselmann <hansmi@google.com>
Fri, 21 Oct 2011 11:32:17 +0000 (13:32 +0200)
committerMichael Hanselmann <hansmi@google.com>
Mon, 24 Oct 2011 12:49:57 +0000 (14:49 +0200)
commitdce200787ec1d7e00d13ccfa2b4e3c4b7c709969
tree40a2449fc72048329f5cf8e10a1e0102362271d8
parentbac6ea51eaf69644a958991d1759e6c00ba94e7d
utils.ShellWriter: Don't indent empty lines

Empty lines shouldn't get indented. Unittest included.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/utils/text.py
test/ganeti.utils.text_unittest.py