diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-04-15 00:02:59 +0000 |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-04-15 00:02:59 +0000 |
commit | a921c3f9497513ec3fcb10a367368b2efc2303d2 (patch) | |
tree | 0e17c9808475e40bfad54db43529ad01d411e6c2 /test/Scanner | |
parent | cf40c416003fbeb0e9781a79942bca2595ea127b (diff) | |
download | scons-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 'test/Scanner')
-rw-r--r-- | test/Scanner/exception.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Scanner/exception.py b/test/Scanner/exception.py index 1e229315..5af7ac3c 100644 --- a/test/Scanner/exception.py +++ b/test/Scanner/exception.py @@ -47,7 +47,7 @@ def kfile_scan(node, env, target, arg): contents = node.get_text_contents() exceptions = exception_re.findall(contents) if exceptions: - raise Exception, "kfile_scan error: %s" % exceptions[0] + raise Exception("kfile_scan error: %s" % exceptions[0]) includes = include_re.findall(contents) return includes |