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
=== modified file 'bin/stack'
--- bin/stack 2011-03-24 19:42:46 +0000
+++ bin/stack 2011-05-18 21:28:28 +0000
@@ -65,7 +65,7 @@
65 indent = MAX_INDENT - 665 indent = MAX_INDENT - 6
6666
67 out = []67 out = []
68 for k, v in d.iteritems():68 for k, v in sorted(d.iteritems()):
69 if (len(k) + 6) > MAX_INDENT:69 if (len(k) + 6) > MAX_INDENT:
70 out.extend([' %s' % k])70 out.extend([' %s' % k])
71 initial_indent = ' ' * (indent + 6)71 initial_indent = ' ' * (indent + 6)