Skip to content

Commit 86e8268

Browse files
committed
Show the list of config variables sorted by name
1 parent 5c0e011 commit 86e8268

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/deis.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,9 @@ def config_list(self, args):
804804
if len(items) == 0:
805805
print('No configuration')
806806
return
807-
for k, v in values.items():
807+
keys = sorted(values)
808+
for k in keys:
809+
v = values[k]
808810
print("{k}: {v}".format(**locals()))
809811
else:
810812
raise ResponseError(response)

0 commit comments

Comments
 (0)