From: Joe Wreschnig Date: Mon, 22 Feb 2010 11:21:19 +0000 (-0800) Subject: InvalidLocaleError is more a LookupError than a ValueError. X-Git-Url: https://git.korewanetadesu.com/?a=commitdiff_plain;h=b30fef1f66891b5324e21e0f63f320df8c9880f2;p=python-collate.git InvalidLocaleError is more a LookupError than a ValueError. --- diff --git a/collate/errors.py b/collate/errors.py index ca8eec7..a425087 100644 --- a/collate/errors.py +++ b/collate/errors.py @@ -1,6 +1,6 @@ """Exception types for the collate module.""" -class InvalidLocaleError(ValueError): +class InvalidLocaleError(LookupError): """Raised when an invalid locale is given to a function. Attributes: