summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/SConfTests.py
diff options
context:
space:
mode:
authorStefan Zimmermann <zimmermann.code@gmail.com>2013-12-27 13:30:45 (GMT)
committerStefan Zimmermann <zimmermann.code@gmail.com>2013-12-27 13:30:45 (GMT)
commit2d2df48b33045bb15b543264114c6ef35773ef29 (patch)
treeb32b72cf654dfe65b74dd9ef004d9cd123ddbdc2 /src/engine/SCons/SConfTests.py
parent6c1162f68d4682a045d35806a49dee50fba62808 (diff)
downloadSCons-2d2df48b33045bb15b543264114c6ef35773ef29.zip
SCons-2d2df48b33045bb15b543264114c6ef35773ef29.tar.gz
SCons-2d2df48b33045bb15b543264114c6ef35773ef29.tar.bz2
Another list(*.keys()) for item deletion loop.
Diffstat (limited to 'src/engine/SCons/SConfTests.py')
-rw-r--r--src/engine/SCons/SConfTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/SConfTests.py b/src/engine/SCons/SConfTests.py
index e604886..ba524fd 100644
--- a/src/engine/SCons/SConfTests.py
+++ b/src/engine/SCons/SConfTests.py
@@ -60,7 +60,7 @@ class SConfTestCase(unittest.TestCase):
# We try to reset scons' state (including all global variables)
import SCons.SConsign
SCons.SConsign.write() # simulate normal scons-finish
- for n in sys.modules.keys():
+ for n in list(sys.modules.keys()):
if n.split('.')[0] == 'SCons' and n[:12] != 'SCons.compat':
m = sys.modules[n]
if isinstance(m, ModuleType):