diff --git a/AUTHORS.txt b/AUTHORS.txt index fd56fb22..34cd212b 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -16,3 +16,4 @@ Yasha Borevich (@jjay) Aaron Griffin andviro (@andviro) Mike Gilbert (@floppym) +Aaron Meurer (@asmeurer) diff --git a/sith.py b/sith.py index 42805c6f..a27197f8 100755 --- a/sith.py +++ b/sith.py @@ -112,7 +112,10 @@ class TestCase(object): if debugger: einfo = sys.exc_info() pdb = __import__(debugger) - pdb.post_mortem(einfo if debugger == 'pudb' else einfo[2]) + if debugger == 'pudb': + pdb.post_mortem(einfo[2], einfo[0], einfo[1]) + else: + pdb.post_mortem(einfo[2]) exit(1) def show(self):