summaryrefslogtreecommitdiffstats
path: root/test/Java/JAVACCOM.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Java/JAVACCOM.py')
-rw-r--r--test/Java/JAVACCOM.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Java/JAVACCOM.py b/test/Java/JAVACCOM.py
index c4eaa92..064feed 100644
--- a/test/Java/JAVACCOM.py
+++ b/test/Java/JAVACCOM.py
@@ -43,7 +43,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 != '/*javac*/\n', infile.readlines()):
+ for l in [l for l in infile.readlines() if l != '/*javac*/\n']:
outfile.write(l)
sys.exit(0)
""")