summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Errors.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-07-13 06:13:18 (GMT)
committerSteven Knight <knight@baldmt.com>2004-07-13 06:13:18 (GMT)
commit9d2af963f5da83955b06353104b44ad01c86716c (patch)
tree62dbd0e4ee82caf4bf3202b8aa8e53be76a9f49a /src/engine/SCons/Errors.py
parent321ac083cf44290c309b7021594c3941bfa3f82f (diff)
downloadSCons-9d2af963f5da83955b06353104b44ad01c86716c.zip
SCons-9d2af963f5da83955b06353104b44ad01c86716c.tar.gz
SCons-9d2af963f5da83955b06353104b44ad01c86716c.tar.bz2
Make exception handling thread-safe by using sys.exc_info() instead of sys.exc_{type,value}.
Diffstat (limited to 'src/engine/SCons/Errors.py')
-rw-r--r--src/engine/SCons/Errors.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/engine/SCons/Errors.py b/src/engine/SCons/Errors.py
index 283e681..7eb3098 100644
--- a/src/engine/SCons/Errors.py
+++ b/src/engine/SCons/Errors.py
@@ -58,10 +58,3 @@ class ConfigureDryRunError(UserError):
but the user requested a dry-run"""
def __init__(self,file):
UserError.__init__(self,"Cannot update configure test (%s) within a dry-run." % str(file))
-
-class TaskmasterException(Exception):
- def __init__(self, type, value, traceback, *args):
- self.type = type
- self.value = value
- self.traceback = traceback
- apply(Exception.__init__, (self,) + args)