diff options
Diffstat (limited to 'test/AS/ASPP.py')
-rw-r--r-- | test/AS/ASPP.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/AS/ASPP.py b/test/AS/ASPP.py index d8fb3be..f8bea47 100644 --- a/test/AS/ASPP.py +++ b/test/AS/ASPP.py @@ -38,7 +38,6 @@ test = TestSCons.TestSCons() if sys.platform == 'win32': test.write('mylink.py', r""" -import string import sys args = sys.argv[1:] while args: @@ -46,7 +45,7 @@ while args: if a[0] != '/': break args = args[1:] - if string.lower(a[:5]) == '/out:': out = a[5:] + if a[:5].lower() == '/out:': out = a[5:] infile = open(args[0], 'rb') outfile = open(out, 'wb') for l in infile.readlines(): |