From: stevenknight Date: Sun, 12 Oct 2008 03:54:23 +0000 (+0000) Subject: Don't use "as" as a variable name--reserved in Python 2.6. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3e289a0bf0390217482b4670876777aa4f4f3a09;p=scons.git 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 --- 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)