diff options
Diffstat (limited to 'test/AS/ASCOMSTR.py')
-rw-r--r-- | test/AS/ASCOMSTR.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/AS/ASCOMSTR.py b/test/AS/ASCOMSTR.py index eaa344a..f7cc34e 100644 --- a/test/AS/ASCOMSTR.py +++ b/test/AS/ASCOMSTR.py @@ -43,7 +43,7 @@ test.write('myas.py', r""" import sys infile = open(sys.argv[2], 'rb') outfile = open(sys.argv[1], 'wb') -for l in filter(lambda l: l != "#as\n", infile.readlines()): +for l in [l for l in infile.readlines() if l != "#as\n"]: outfile.write(l) sys.exit(0) """) |