Javier <javier.coll...@gmail.com> added the comment: It contains a patch that worked for me to preserve the ordering used in the code.
To make that possible it uses action._choices_actions (a list) instead of action.choices (a dictionary). ---------- keywords: +patch Added file: http://bugs.python.org/file17705/ordered_subcommands.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9026> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com