From b30fef1f66891b5324e21e0f63f320df8c9880f2 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Mon, 22 Feb 2010 03:21:19 -0800 Subject: [PATCH] InvalidLocaleError is more a LookupError than a ValueError. --- collate/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.20.1