projects
/
python-collate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More release preparation. Docstrings and consistency work.
[python-collate.git]
/
collate
/
errors.py
diff --git
a/collate/errors.py
b/collate/errors.py
index
ca8eec7
..
13a1e12
100644
(file)
--- a/
collate/errors.py
+++ b/
collate/errors.py
@@
-1,6
+1,6
@@
"""Exception types for the collate module."""
"""Exception types for the collate module."""
-class InvalidLocaleError(
Value
Error):
+class InvalidLocaleError(
Lookup
Error):
"""Raised when an invalid locale is given to a function.
Attributes:
"""Raised when an invalid locale is given to a function.
Attributes:
@@
-8,4
+8,4
@@
class InvalidLocaleError(ValueError):
"""
def __init__(self, locale, string=""):
self.locale = locale
"""
def __init__(self, locale, string=""):
self.locale = locale
-
Value
Error.__init__(self, string or locale)
+
Lookup
Error.__init__(self, string or locale)