diff options
| author | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-09-22 17:10:51 (GMT) |
|---|---|---|
| committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-09-22 17:10:51 (GMT) |
| commit | b554eb817c60f4e419bbc84efc02c7fbc62b7ced (patch) | |
| tree | 5d6a8f035bcce302da428d3dd9d26920407a78ee /src/engine/SCons/Errors.py | |
| parent | 953dc41b8b720fdcec7955de67d23206214e5125 (diff) | |
| download | SCons-b554eb817c60f4e419bbc84efc02c7fbc62b7ced.zip SCons-b554eb817c60f4e419bbc84efc02c7fbc62b7ced.tar.gz SCons-b554eb817c60f4e419bbc84efc02c7fbc62b7ced.tar.bz2 | |
Manual python3 post-2to3 fixes from Neal Becker
Diffstat (limited to 'src/engine/SCons/Errors.py')
| -rw-r--r-- | src/engine/SCons/Errors.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/engine/SCons/Errors.py b/src/engine/SCons/Errors.py index 3b8c3f9..54e888c 100644 --- a/src/engine/SCons/Errors.py +++ b/src/engine/SCons/Errors.py @@ -32,8 +32,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import SCons.Util -import exceptions - class BuildError(Exception): """ Errors occuring while building. @@ -163,7 +161,7 @@ def convert_to_BuildError(status, exc_info=None): status=2, exitstatus=2, exc_info=exc_info) - elif isinstance(status, exceptions.EnvironmentError): + elif isinstance(status, EnvironmentError): # If an IOError/OSError happens, raise a BuildError. # Report the name of the file or directory that caused the # error, which might be different from the target being built |
