summaryrefslogtreecommitdiffstats
path: root/bin/sfsum
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 /bin/sfsum
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 'bin/sfsum')
-rw-r--r--bin/sfsum4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sfsum b/bin/sfsum
index 22f43d7..aa4f291 100644
--- a/bin/sfsum
+++ b/bin/sfsum
@@ -119,9 +119,9 @@ if __name__ == '__main__':
# Hard-coded search for 'Open' bugs. This should be easily
# generalized once we figure out other things for this script to do.
- bugs = filter(lambda x: x.status == 'Open', Artifacts['Bugs'])
+ bugs = [x for x in Artifacts['Bugs'] if x.status == 'Open']
- print Artifacts.keys()
+ print list(Artifacts.keys())
print "%d open bugs" % len(bugs)