VMM/cli/subcommands: Print usable password schemes in sorted order. v0.7.x
authorPascal Volk <user@localhost.localdomain.org>
Sat, 01 Dec 2012 17:25:11 +0000
branchv0.7.x
changeset 656 4bbca60e0ba4
parent 655 2bf68600e914
child 657 6515e3b88dec
VMM/cli/subcommands: Print usable password schemes in sorted order.
VirtualMailManager/cli/subcommands.py
--- a/VirtualMailManager/cli/subcommands.py	Mon Nov 26 22:07:20 2012 +0000
+++ b/VirtualMailManager/cli/subcommands.py	Sat Dec 01 17:25:11 2012 +0000
@@ -507,7 +507,7 @@
 
     for key, value in zip(keys, list_schemes()):
         w_std(key, len(key) * '-')
-        w_std('\n'.join(txt_wrpr.wrap(' '.join(value))), '')
+        w_std('\n'.join(txt_wrpr.wrap(' '.join(sorted(value)))), '')
 
     txt_wrpr.initial_indent, txt_wrpr.subsequent_indent = old_ii, old_si
     txt_wrpr.width = txt_wrpr.width + 8