projects
/
scons.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git]
/
test
/
Java
/
JAVACCOMSTR.py
diff --git
a/test/Java/JAVACCOMSTR.py
b/test/Java/JAVACCOMSTR.py
index 23e7dfbd225ff55b9df407c8c2d9520bd11e9a95..64402830be301f13cf687f1660b009d1d099a217 100644
(file)
--- a/
test/Java/JAVACCOMSTR.py
+++ b/
test/Java/JAVACCOMSTR.py
@@
-46,7
+46,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)
""")