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
/
SHCCCOM.py
diff --git
a/test/CC/SHCCCOM.py
b/test/CC/SHCCCOM.py
index ab61035cb48521f4b4dd3764eafc062e4596c745..0e87b6216a99526e918115ff8ac794adf9e4e4ec 100644
(file)
--- a/
test/CC/SHCCCOM.py
+++ b/
test/CC/SHCCCOM.py
@@
-42,7
+42,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)
""")