# HG changeset patch # User Steve Losh # Date 1251508770 14400 # Node ID c0e55881e41c0c558661ca6bc8b042b0e66c7dd6 # Parent a818bb6f91193445c03e1ea0e8f51894b2593208 Call the super methods for the exception classes. diff -r a818bb6f9119 -r c0e55881e41c t.py --- a/t.py Fri Aug 28 21:18:26 2009 -0400 +++ b/t.py Fri Aug 28 21:19:30 2009 -0400 @@ -13,12 +13,14 @@ class AmbiguousPrefix(Exception): """Raised when trying to use a prefix that could identify multiple tasks.""" def __init__(self, prefix): + super(Exception, self).__init__() self.prefix = prefix class UnknownPrefix(Exception): """Raised when trying to use a prefix that does not match any tasks.""" def __init__(self, prefix): + super(Exception, self).__init__() self.prefix = prefix