diff options
author | Steven Knight <knight@baldmt.com> | 2008-10-12 03:54:23 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2008-10-12 03:54:23 (GMT) |
commit | afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1 (patch) | |
tree | 28ff56da590abc1cef802059d04122ee0ed5a542 /test | |
parent | 779f4d3ccfbcf0f85ca9bbbd9ed93be712e16bde (diff) | |
download | SCons-afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1.zip SCons-afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1.tar.gz SCons-afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1.tar.bz2 |
Don't use "as" as a variable name--reserved in Python 2.6.
Diffstat (limited to 'test')
-rw-r--r-- | test/AS/as-live.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/AS/as-live.py b/test/AS/as-live.py index 886dc8d..03c6f24 100644 --- a/test/AS/as-live.py +++ b/test/AS/as-live.py @@ -40,9 +40,7 @@ test = TestSCons.TestSCons() -as = test.detect('AS', 'as') - -if not as: +if not test.detect('AS', 'as'): test.skip_test("as not found; skipping test\n") x86 = (sys.platform == 'win32' or string.find(sys.platform, 'linux') != -1) |