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