Don't use "as" as a variable name--reserved in Python 2.6.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sun, 12 Oct 2008 03:54:23 +0000 (03:54 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sun, 12 Oct 2008 03:54:23 +0000 (03:54 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3677 fdb21ef1-2011-0410-befe-b5e4ea1792b1

test/AS/as-live.py

index 886dc8ddd89af41be902af1d6e430ad3f7fa02f3..03c6f24a995b0b112e759df60072c07f4dcfec91 100644 (file)
@@ -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)