summaryrefslogtreecommitdiff
path: root/src/engine/SCons/SConfTests.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-04-15 00:02:59 +0000
committerGreg Noel <GregNoel@tigris.org>2010-04-15 00:02:59 +0000
commita921c3f9497513ec3fcb10a367368b2efc2303d2 (patch)
tree0e17c9808475e40bfad54db43529ad01d411e6c2 /src/engine/SCons/SConfTests.py
parentcf40c416003fbeb0e9781a79942bca2595ea127b (diff)
downloadscons-a921c3f9497513ec3fcb10a367368b2efc2303d2.tar.gz
http://scons.tigris.org/issues/show_bug.cgi?id=2345
Apply the first part of the 'raise' fixer (the three-argument cases are not converted and will need to wait until native support of with_traceback() is available).
Diffstat (limited to 'src/engine/SCons/SConfTests.py')
-rw-r--r--src/engine/SCons/SConfTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/SConfTests.py b/src/engine/SCons/SConfTests.py
index 4d29b789..2b2380da 100644
--- a/src/engine/SCons/SConfTests.py
+++ b/src/engine/SCons/SConfTests.py
@@ -85,7 +85,7 @@ class SConfTestCase(unittest.TestCase):
if (not self.scons_env.Detect( self.scons_env.subst('$CXX') ) or
not self.scons_env.Detect( self.scons_env.subst('$CC') ) or
not self.scons_env.Detect( self.scons_env.subst('$LINK') )):
- raise Exception, "This test needs an installed compiler!"
+ raise Exception("This test needs an installed compiler!")
if self.scons_env['CXX'] == 'g++':
global existing_lib
existing_lib = 'm'