Davide Alberani 7 gadi atpakaļ
vecāks
revīzija
028be2669e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tools/count.py

+ 1 - 1
tools/count.py

@@ -27,7 +27,7 @@ def info(event):
                 data[dbkey] += 1
         total += 1
     print('Total registered: %d' % total)
-    for key, value in data.items():
+    for key, value in sorted(data.items()):
         print('%s: %s' % (key, value))
     print('')