diff options
Diffstat (limited to 'test/AS/ASPPCOM.py')
-rw-r--r-- | test/AS/ASPPCOM.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/AS/ASPPCOM.py b/test/AS/ASPPCOM.py index 53f4add..73b3ec3 100644 --- a/test/AS/ASPPCOM.py +++ b/test/AS/ASPPCOM.py @@ -40,7 +40,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) """) |