summaryrefslogtreecommitdiffstats
path: root/test/MSVC/PCHCOM.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVC/PCHCOM.py')
-rw-r--r--test/MSVC/PCHCOM.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MSVC/PCHCOM.py b/test/MSVC/PCHCOM.py
index 56718ef..ff27e10 100644
--- a/test/MSVC/PCHCOM.py
+++ b/test/MSVC/PCHCOM.py
@@ -41,7 +41,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 != '/*pch*/\\n', infile.readlines()):
+ for l in [l for l in infile.readlines() if l != '/*pch*/\\n']:
outfile.write(l)
sys.exit(0)
""")