summaryrefslogtreecommitdiff
path: root/bench/bench.py
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-20 15:05:06 -0400
committerWilliam Blevins <wblevins001@gmail.com>2016-09-20 15:05:06 -0400
commit226c34a47471c5c27bc9a0c262edd62d713acc81 (patch)
treea17ce5fe708b05dd585522c5d822a286ac8129d0 /bench/bench.py
parent2e74f8c28a15f64bad8429ebece227db285f07dc (diff)
downloadscons-git-226c34a47471c5c27bc9a0c262edd62d713acc81.tar.gz
Futurize stage 2 2to3 fixes only.
Diffstat (limited to 'bench/bench.py')
-rw-r--r--bench/bench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/bench.py b/bench/bench.py
index f1d18c616..cfdac2d2d 100644
--- a/bench/bench.py
+++ b/bench/bench.py
@@ -94,7 +94,7 @@ exec(open(args[0], 'rU').read())
try:
FunctionList
except NameError:
- function_names = sorted([x for x in locals().keys() if x[:4] == FunctionPrefix])
+ function_names = sorted([x for x in list(locals().keys()) if x[:4] == FunctionPrefix])
l = [locals()[f] for f in function_names]
FunctionList = [f for f in l if isinstance(f, types.FunctionType)]