X-Git-Url: https://git.korewanetadesu.com/?p=python-collate.git;a=blobdiff_plain;f=collate%2Ferrors.py;h=13a1e1293a55c32f98fa012ba81b91ea5f85942d;hp=a425087f3776ba5bbdcd92be4d5babe795bd5546;hb=e8b221311bf60883d3f14083bab63fd947d34509;hpb=b30fef1f66891b5324e21e0f63f320df8c9880f2 diff --git a/collate/errors.py b/collate/errors.py index a425087..13a1e12 100644 --- a/collate/errors.py +++ b/collate/errors.py @@ -8,4 +8,4 @@ class InvalidLocaleError(LookupError): """ def __init__(self, locale, string=""): self.locale = locale - ValueError.__init__(self, string or locale) + LookupError.__init__(self, string or locale)