summaryrefslogtreecommitdiffstats
path: root/test/Fortran/F77COMSTR.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Fortran/F77COMSTR.py')
-rw-r--r--test/Fortran/F77COMSTR.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Fortran/F77COMSTR.py b/test/Fortran/F77COMSTR.py
index 502473a..6c89833 100644
--- a/test/Fortran/F77COMSTR.py
+++ b/test/Fortran/F77COMSTR.py
@@ -37,7 +37,7 @@ import sys
fline = '#'+sys.argv[1]+'\n'
outfile = open(sys.argv[2], 'wb')
infile = open(sys.argv[3], 'rb')
-for l in filter(lambda l, fl=fline: l != fl, infile.readlines()):
+for l in [l for l in infile.readlines() if l != fline]:
outfile.write(l)
sys.exit(0)
""")