# HG changeset patch
# User Pascal Volk <user@localhost.localdomain.org>
# Date 1345757253 0
# Node ID 3dc1764c23d284638850eaae026c55e403d5274e
# Parent  ef384bc8fde657f103dffb7581ec440a66aef795
VMM/cli/subcommands: Added 'missing' newline below domain notes.
This patch contains also a small code cleanup and PEP8-fix.

diff -r ef384bc8fde6 -r 3dc1764c23d2 VirtualMailManager/cli/subcommands.py
--- 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')