sort output
This commit is contained in:
parent
405c92903c
commit
028be2669e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ def info(event):
|
||||||
data[dbkey] += 1
|
data[dbkey] += 1
|
||||||
total += 1
|
total += 1
|
||||||
print('Total registered: %d' % total)
|
print('Total registered: %d' % total)
|
||||||
for key, value in data.items():
|
for key, value in sorted(data.items()):
|
||||||
print('%s: %s' % (key, value))
|
print('%s: %s' % (key, value))
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue