summaryrefslogtreecommitdiffstats
path: root/test/IDL/MIDLCOM.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/IDL/MIDLCOM.py')
-rw-r--r--test/IDL/MIDLCOM.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/IDL/MIDLCOM.py b/test/IDL/MIDLCOM.py
index 9005d6b..0525592 100644
--- a/test/IDL/MIDLCOM.py
+++ b/test/IDL/MIDLCOM.py
@@ -45,7 +45,7 @@ out_h = open(base + '.h', 'wb')
out_c = open(base + '_i.c', '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']:
out_tlb.write(l)
out_h.write(l)
out_c.write(l)