Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / DVIPS / PSCOM.py
index 3e1e5e9fa90d257615ef1ac5c65789477e8c2881..fe4832bd0573ce46b74a13cbbfe1454209b66440 100644 (file)
@@ -41,7 +41,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 != '/*ps*/\\n', infile.readlines()):
+    for l in [l for l in infile.readlines() if l != '/*ps*/\\n']:
         outfile.write(l)
 sys.exit(0)
 """)