Fixed test failure in PositiveInteger.

This commit is contained in:
Jeremy Fincher 2005-02-01 11:57:26 +00:00
parent cb05dc8484
commit 2a62e79fab

View File

@ -307,8 +307,9 @@ class Value(Group):
s = self.__doc__
else:
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.str.normalizeWhitespace(s % self._name))
report it, because we forgot to put a proper help string here."""%\
self._name
e = InvalidRegistryValue(utils.str.normalizeWhitespace(s))
e.value = self
raise e