VMM/cli/subcommands: Print usable password schemes in sorted order.
--- 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