summaryrefslogtreecommitdiffstats
path: root/timings/SCons_Bars.py
diff options
context:
space:
mode:
Diffstat (limited to 'timings/SCons_Bars.py')
-rw-r--r--timings/SCons_Bars.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/timings/SCons_Bars.py b/timings/SCons_Bars.py
index 820d3ce..2b677e9 100644
--- a/timings/SCons_Bars.py
+++ b/timings/SCons_Bars.py
@@ -42,8 +42,7 @@ class Bars(dict):
if color is None:
color = self.color
if revs is None:
- revs = self.keys()
- revs.sort()
+ revs = sorted(self.keys())
if labels:
result = [ (r, color, None, self[r]) for r in revs ]
else: