mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Let's make this error message a *tad* more useful.
This commit is contained in:
parent
9e4066fd95
commit
80f9f7d42a
@ -309,9 +309,9 @@ class Value(Group):
|
||||
if self.__doc__:
|
||||
s = self.__doc__
|
||||
else:
|
||||
s = """Invalid registry value. If you're getting this message,
|
||||
s = """%s has no docstring. If you're getting this message,
|
||||
report it, because we forgot to put a proper help string here."""
|
||||
e = InvalidRegistryValue(utils.normalizeWhitespace(s))
|
||||
e = InvalidRegistryValue(utils.normalizeWhitespace(s % self._name))
|
||||
e.value = self
|
||||
raise e
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user