diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-04-23 02:58:45 +0000 |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-04-23 02:58:45 +0000 |
commit | f7ac1212e72b65e2840b9b116b962e3872e30e8e (patch) | |
tree | a8babbca715c6770a4f2d0cf59ba5bdc16a53b71 /QMTest | |
parent | 19ae84b077893a395e60568dfa660f5f84e3e839 (diff) | |
download | scons-f7ac1212e72b65e2840b9b116b962e3872e30e8e.tar.gz |
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 b5788c00..e56af3d4 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): |