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
/
CXX
/
SHCXXCOMSTR.py
diff --git
a/test/CXX/SHCXXCOMSTR.py
b/test/CXX/SHCXXCOMSTR.py
index afe647a8fb405d548bfdce1118573ff07476fb82..716c9adf93e33ca3dbc5d71be61ed38be5514864 100644
(file)
--- a/
test/CXX/SHCXXCOMSTR.py
+++ b/
test/CXX/SHCXXCOMSTR.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 != '/*c++*/\n', infile.readlines())
:
+for l in
[l for l in infile.readlines() if l != '/*c++*/\n']
:
outfile.write(l)
sys.exit(0)
""")