2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Sort output from confetty

Sorting can greatly improve the readability of some
confluent functionality.
This commit is contained in:
Jarrod Johnson 2017-10-04 09:09:03 -04:00
parent db89cdc62c
commit 9c6b10a166

View File

@ -284,7 +284,7 @@ def print_result(res):
if 'databynode' in res:
print_result(res['databynode'])
return
for key in res.iterkeys():
for key in sorted(res):
notes = []
if res[key] is None:
attrstr = '%s=""' % key