Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / Java / RMICCOM.py
index 6bc50da4049ed6c1c04495758839bd8a2fb4d051..ba7f965d0e158a5d9f41f21212ea4d6f4ba0d8ea 100644 (file)
@@ -51,7 +51,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 != '/*rmic*/\n', infile.readlines()):
+    for l in [l for l in infile.readlines() if l != '/*rmic*/\n']:
         outfile.write(l)
 sys.exit(0)
 """)