Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / LINK / LINKCOM.py
index b3c56d6451787b00559021033becb42063833679..f09e8f870b0df8e39412d76bafd8a54839f16317 100644 (file)
@@ -42,7 +42,7 @@ import sys
 outfile = open(sys.argv[1], 'wb')
 for f in sys.argv[2:]:
     infile = open(f, 'rb')
-    for l in filter(lambda l: l != '/*link*/\n', infile.readlines()):
+    for l in [l for l in infile.readlines() if l != '/*link*/\n']:
         outfile.write(l)
 sys.exit(0)
 """)