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
/
CC
/
CCCOM.py
diff --git
a/test/CC/CCCOM.py
b/test/CC/CCCOM.py
index 6634e15ac0e1d62bb2a3c9e582ff103f1811c09e..8d06942e95031b599a8b88ea8330e51128896678 100644
(file)
--- a/
test/CC/CCCOM.py
+++ b/
test/CC/CCCOM.py
@@
-43,7
+43,7
@@
test.write('mycc.py', r"""
import sys
outfile = open(sys.argv[1], 'wb')
infile = open(sys.argv[2], 'rb')
-for l in
filter(lambda l: l[:6] != '/*cc*/', infile.readlines())
:
+for l in
[l for l in infile.readlines() if l[:6] != '/*cc*/']
:
outfile.write(l)
sys.exit(0)
""")