IPAError now more appropriately subclasses from StandardError instead of Exception

This commit is contained in:
Jason Gerard DeRose 2008-10-23 21:21:51 -06:00
parent 3be5a91439
commit 59a2cffff4
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ def check_isinstance(value, type_, name, allow_none=False):
return value
class IPAError(Exception):
class IPAError(StandardError):
"""
Base class for all custom IPA errors.

View File

@ -141,7 +141,7 @@ class test_IPAError(ClassChecker):
"""
Test the `ipalib.errors.IPAError` exception.
"""
assert self.cls.__bases__ == (Exception,)
assert self.cls.__bases__ == (StandardError,)
def test_init(self):
"""