VirtualMailManager/cli/subcommands.py
changeset 593 3dc1764c23d2
parent 568 14abdd04ddf5
child 596 607aa5c2acc4
equal deleted inserted replaced
592:ef384bc8fde6 593:3dc1764c23d2
   941         if upper:
   941         if upper:
   942             w_std(u'\t%s: %s' % (key.upper().ljust(17, u'.'), info[key]))
   942             w_std(u'\t%s: %s' % (key.upper().ljust(17, u'.'), info[key]))
   943         else:
   943         else:
   944             w_std(u'\t%s: %s' % (key.title().ljust(17, u'.'), info[key]))
   944             w_std(u'\t%s: %s' % (key.title().ljust(17, u'.'), info[key]))
   945     print
   945     print
   946     note = info.get('note', None)
   946     note = info.get('note')
   947     if note is not None:
   947     if note:
   948         _print_note(note)
   948         _print_note(note + '\n')
       
   949 
   949 
   950 
   950 def _print_note(note):
   951 def _print_note(note):
   951     msg = _(u'Note')
   952     msg = _(u'Note')
   952     w_std(msg, u'-' * len(msg))
   953     w_std(msg, u'-' * len(msg))
   953     old_ii = txt_wrpr.initial_indent
   954     old_ii = txt_wrpr.initial_indent