diff options
Diffstat (limited to 'test/AS/AS.py')
-rw-r--r-- | test/AS/AS.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/AS/AS.py b/test/AS/AS.py index 0857a62..38ea655 100644 --- a/test/AS/AS.py +++ b/test/AS/AS.py @@ -43,7 +43,6 @@ test = TestSCons.TestSCons() if sys.platform == 'win32': test.write('mylink.py', r""" -import string import sys args = sys.argv[1:] while args: @@ -51,7 +50,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(): |