From afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sun, 12 Oct 2008 03:54:23 +0000 Subject: Don't use "as" as a variable name--reserved in Python 2.6. --- test/AS/as-live.py | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit v0.12