diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-04-19 04:03:33 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-04-19 04:03:33 (GMT) |
commit | 18f73fb6ea41b50710dc40c10d6bf4ba9af7a02e (patch) | |
tree | 2ca0cc7560bc86f58f4a9ea2e52615f367815ed0 /src/engine/SCons/Taskmaster.py | |
parent | c8bbcb0d9b5d03a84e880d239857008b93eda8fe (diff) | |
parent | a72dc1246c42d37e35fc7838c4bc22298a5a3c0a (diff) | |
download | SCons-18f73fb6ea41b50710dc40c10d6bf4ba9af7a02e.zip SCons-18f73fb6ea41b50710dc40c10d6bf4ba9af7a02e.tar.gz SCons-18f73fb6ea41b50710dc40c10d6bf4ba9af7a02e.tar.bz2 |
py2/3 Fix re-raising stored exception. Previously we were dropping contents of Exception. Plus merge more complete removal of sccs and rcs source handling per deprecation/removal.
Diffstat (limited to 'src/engine/SCons/Taskmaster.py')
-rw-r--r-- | src/engine/SCons/Taskmaster.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Taskmaster.py b/src/engine/SCons/Taskmaster.py index ec7b9f2..cf924e7 100644 --- a/src/engine/SCons/Taskmaster.py +++ b/src/engine/SCons/Taskmaster.py @@ -546,9 +546,11 @@ class Task(object): if sys.version_info[0] == 2: exec("raise exc_type, exc_value, exc_traceback") else: # sys.version_info[0] == 3: - exec("raise exc_type(exc_value).with_traceback(exc_traceback)") + exec("raise exc_value.with_traceback(exc_traceback)") # raise e.__class__, e.__class__(e), sys.exc_info()[2] + # exec("raise exc_type(exc_value).with_traceback(exc_traceback)") + class AlwaysTask(Task): |