# HG changeset patch # User Steve Losh # Date 1251508855 14400 # Node ID 40775a8b4167dadeefb88e38e45c661584695a2a # Parent c0e55881e41c0c558661ca6bc8b042b0e66c7dd6 Fix the super calls. diff -r c0e55881e41c -r 40775a8b4167 t.py --- a/t.py Fri Aug 28 21:19:30 2009 -0400 +++ b/t.py Fri Aug 28 21:20:55 2009 -0400 @@ -13,18 +13,17 @@ class AmbiguousPrefix(Exception): """Raised when trying to use a prefix that could identify multiple tasks.""" def __init__(self, prefix): - super(Exception, self).__init__() + super(AmbiguousPrefix, 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__() + super(UnknownPrefix, self).__init__() self.prefix = prefix - def _hash(s): """Return a hash of the given string for use as an id.