diff options
Diffstat (limited to 'test/Fortran/F90COMSTR.py')
-rw-r--r-- | test/Fortran/F90COMSTR.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Fortran/F90COMSTR.py b/test/Fortran/F90COMSTR.py index eec5795..117a5a9 100644 --- a/test/Fortran/F90COMSTR.py +++ b/test/Fortran/F90COMSTR.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) """) |