Mercurial > gub
changeset 2483:13450225da58
Usage print cleanup.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Tue, 24 Oct 2006 18:15:53 +0100 |
parents | e0bf4b79de26 |
children | 14558f3b7e54 |
files | gup-manager.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gup-manager.py Tue Oct 24 18:15:34 2006 +0100 +++ b/gup-manager.py Tue Oct 24 18:15:53 2006 +0100 @@ -96,9 +96,8 @@ if d[k].__doc__ and type (d[k]) == type (lambda x: x)] commands.sort () - commands.sort () - for (command,doc) in commands: - p.usage += " %s - %s\n" % (re.sub ('_', '-', command), doc) + for (command, doc) in commands: + p.usage += " %s - %s\n" % (re.sub ('_', '-', command), doc) p.add_option ('-B', '--branch', default="HEAD",