summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-03-21 10:59:11 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-03-21 10:59:11 -0400
commit4756df0f9095b2613c7ecb95ad9ecbc25d43ea7c (patch)
treec81525f2d00e2084ba96596496ba0c541ecd39d2 /tools
parent96d316e160e747c0f7e98a009dae6eef35a642f5 (diff)
downloadmongo-4756df0f9095b2613c7ecb95ad9ecbc25d43ea7c.tar.gz
Now there are multiple sets of objects, sort them so objects group
together.
Diffstat (limited to 'tools')
-rw-r--r--tools/statlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/statlog.py b/tools/statlog.py
index 79e50a21c46..ef74b2812aa 100644
--- a/tools/statlog.py
+++ b/tools/statlog.py
@@ -90,6 +90,6 @@ for line in fileinput.input(sys.argv[1:]):
# Plot each entry in the dictionary.
rno = 0
-for entry in d.iteritems():
+for entry in sorted(d.iteritems()):
rno = rno + 1
plot(entry[0], entry[1], "%03d" % rno)