summaryrefslogtreecommitdiff
path: root/test/AS
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-10-12 03:54:23 +0000
committerSteven Knight <knight@baldmt.com>2008-10-12 03:54:23 +0000
commitafe0fe2f4df5df3c4e4edc7656f8daaa973f37b1 (patch)
tree28ff56da590abc1cef802059d04122ee0ed5a542 /test/AS
parent779f4d3ccfbcf0f85ca9bbbd9ed93be712e16bde (diff)
downloadscons-git-afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1.tar.gz
Don't use "as" as a variable name--reserved in Python 2.6.
Diffstat (limited to 'test/AS')
-rw-r--r--test/AS/as-live.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/AS/as-live.py b/test/AS/as-live.py
index 886dc8ddd..03c6f24a9 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)