summaryrefslogtreecommitdiffstats
path: root/test/site_scons
diff options
context:
space:
mode:
Diffstat (limited to 'test/site_scons')
-rw-r--r--test/site_scons/site_init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/site_scons/site_init.py b/test/site_scons/site_init.py
index 9f2e411..45201ac 100644
--- a/test/site_scons/site_init.py
+++ b/test/site_scons/site_init.py
@@ -51,7 +51,7 @@ import os.path
import re
special = []
-for x in globals().keys():
+for x in list(globals().keys()):
if re.match("__[^_]+__", x):
if x in ("__builtins__", "__package__",):
# Ignore certain keywords, as they are known to be added by Python