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
/
IDL
/
MIDLCOMSTR.py
diff --git
a/test/IDL/MIDLCOMSTR.py
b/test/IDL/MIDLCOMSTR.py
index 472526adab1a2fdeab05fea9c16f60db5ea9cdeb..56f8c4008bcd9b1c41aa9ccb4c51631c78f613fd 100644
(file)
--- a/
test/IDL/MIDLCOMSTR.py
+++ b/
test/IDL/MIDLCOMSTR.py
@@
-42,7
+42,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 != '/*midl*/\\n', infile.readlines())
:
+ for l in
[l for l in infile.readlines() if l != '/*midl*/\\n']
:
outfile.write(l)
sys.exit(0)
""")