summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Scanner/ScannerTests.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-04-23 02:58:45 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-04-23 02:58:45 (GMT)
commit591b78f0f314f11192fdf13d3baa66f81b160e44 (patch)
treea8babbca715c6770a4f2d0cf59ba5bdc16a53b71 /src/engine/SCons/Scanner/ScannerTests.py
parentc86e4726d30ec4d7086f7fb002e960a2dc570490 (diff)
downloadSCons-591b78f0f314f11192fdf13d3baa66f81b160e44.zip
SCons-591b78f0f314f11192fdf13d3baa66f81b160e44.tar.gz
SCons-591b78f0f314f11192fdf13d3baa66f81b160e44.tar.bz2
http://scons.tigris.org/issues/show_bug.cgi?id=2317
Apply the refactorings from the 'dict' fixer, less occurrences that were manually audited to be safe. Also pick up changes in bin/sfsum, a Python file that was not being scanned before.
Diffstat (limited to 'src/engine/SCons/Scanner/ScannerTests.py')
-rw-r--r--src/engine/SCons/Scanner/ScannerTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Scanner/ScannerTests.py b/src/engine/SCons/Scanner/ScannerTests.py
index 922c221..a356308 100644
--- a/src/engine/SCons/Scanner/ScannerTests.py
+++ b/src/engine/SCons/Scanner/ScannerTests.py
@@ -244,7 +244,7 @@ class BaseTestCase(unittest.TestCase):
dict = {}
dict[s] = 777
i = hash(id(s))
- h = hash(dict.keys()[0])
+ h = hash(list(dict.keys())[0])
self.failUnless(h == i,
"hash Scanner base class expected %s, got %s" % (i, h))