diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-04-23 02:58:45 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-04-23 02:58:45 (GMT) |
commit | 591b78f0f314f11192fdf13d3baa66f81b160e44 (patch) | |
tree | a8babbca715c6770a4f2d0cf59ba5bdc16a53b71 /QMTest | |
parent | c86e4726d30ec4d7086f7fb002e960a2dc570490 (diff) | |
download | SCons-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 'QMTest')
-rw-r--r-- | QMTest/scons_tdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/QMTest/scons_tdb.py b/QMTest/scons_tdb.py index b5788c0..e56af3d 100644 --- a/QMTest/scons_tdb.py +++ b/QMTest/scons_tdb.py @@ -494,7 +494,7 @@ class Database(database.Database): dirs = [d for d in dircache.listdir(path) if os.path.isdir(os.path.join(path, d))] else: - dirs = self.is_a_test.keys() + dirs = list(self.is_a_test.keys()) dirs.sort() return dirs @@ -524,7 +524,7 @@ class Database(database.Database): for d in dircache.listdir(path) if os.path.isdir(os.path.join(path, d))] else: - ids = self.is_a_test.keys() + ids = list(self.is_a_test.keys()) if scan_subdirs: for d in dircache.listdir(path): |