python 2.4 compatibility

This commit is contained in:
Benjamin Peterson 2013-03-16 20:08:01 -07:00
parent 5ba2a7f628
commit 65c69a34ac
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ class OutcomeException(Exception):
contain info about test and collection outcomes.
"""
def __init__(self, msg=None, pytrace=True):
super(OutcomeException, self).__init__(msg)
Exception.__init__(self, msg)
self.msg = msg
self.pytrace = pytrace