From 3e289a0bf0390217482b4670876777aa4f4f3a09 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sun, 12 Oct 2008 03:54:23 +0000 Subject: [PATCH] Don't use "as" as a variable name--reserved in Python 2.6. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3677 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- 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 886dc8dd..03c6f24a 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) -- 2.26.2