40775a8b4167
Fix the super calls.
| author | Steve Losh <steve@stevelosh.com> | 
|---|---|
| date | Fri, 28 Aug 2009 21:20:55 -0400 | 
| parents | c0e55881e41c | 
| children | baca14ea9bc3 | 
| branches/tags | (none) | 
| files | t.py | 
Changes
--- 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.