projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab08a53
)
Infos are ordered alphabetically
author
Frederic Massart
<fred@moodle.com>
Mon, 1 Jul 2013 03:10:03 +0000
(11:10 +0800)
committer
Frederic Massart
<fred@moodle.com>
Mon, 1 Jul 2013 03:10:03 +0000
(11:10 +0800)
lib/commands/info.py
patch
|
blob
|
history
diff --git
a/lib/commands/info.py
b/lib/commands/info.py
index
b5c323d
..
dcc514a
100644
(file)
--- a/
lib/commands/info.py
+++ b/
lib/commands/info.py
@@
-132,5
+132,6
@@
class InfoCommand(Command):
# Printing info
else:
- for key, info in M.info().items():
- print '{0:<20}: {1}'.format(key, info)
+ infos = M.info()
+ for key in sorted(infos.keys()):
+ print '{0:<20}: {1}'.format(key, infos[key])