VMM/cli/subcommands: Added 'missing' newline below domain notes.
This patch contains also a small code cleanup and PEP8-fix.
--- a/VirtualMailManager/cli/subcommands.py Sun Aug 19 11:47:21 2012 +0000
+++ b/VirtualMailManager/cli/subcommands.py Thu Aug 23 21:27:33 2012 +0000
@@ -943,9 +943,10 @@
else:
w_std(u'\t%s: %s' % (key.title().ljust(17, u'.'), info[key]))
print
- note = info.get('note', None)
- if note is not None:
- _print_note(note)
+ note = info.get('note')
+ if note:
+ _print_note(note + '\n')
+
def _print_note(note):
msg = _(u'Note')