Merge lp:~johannes.erdfelt/nova/lp707224 into lp:~hudson-openstack/nova/trunk

Proposed by Johannes Erdfelt
Status: Merged
Approved by: Devin Carlen
Approved revision: 1086
Merged at revision: 1087
Proposed branch: lp:~johannes.erdfelt/nova/lp707224
Merge into: lp:~hudson-openstack/nova/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
bin/stack (+1/-1)
To merge this branch: bzr merge lp:~johannes.erdfelt/nova/lp707224
Reviewer Review Type Date Requested Status
Devin Carlen (community) Approve
termie (community) Approve
Review via email: mp+61482@code.launchpad.net

Description of the change

Simple change to sort the list of controllers/methods before printing to make it easier to read

To post a comment you must log in.
Revision history for this message
termie (termie) wrote :

lgtm

review: Approve
Revision history for this message
Devin Carlen (devcamcar) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/stack'
2--- bin/stack 2011-03-24 19:42:46 +0000
3+++ bin/stack 2011-05-18 21:28:28 +0000
4@@ -65,7 +65,7 @@
5 indent = MAX_INDENT - 6
6
7 out = []
8- for k, v in d.iteritems():
9+ for k, v in sorted(d.iteritems()):
10 if (len(k) + 6) > MAX_INDENT:
11 out.extend([' %s' % k])
12 initial_indent = ' ' * (indent + 6)