summaryrefslogtreecommitdiffstats
path: root/test/CC/CCCOM.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CC/CCCOM.py')
-rw-r--r--test/CC/CCCOM.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CC/CCCOM.py b/test/CC/CCCOM.py
index 6634e15..8d06942 100644
--- a/test/CC/CCCOM.py
+++ b/test/CC/CCCOM.py
@@ -43,7 +43,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)
""")