Changed an exception raised.

This commit is contained in:
Jeremy Fincher 2004-04-18 02:47:12 +00:00
parent 119619d437
commit 8eb20228af

View File

@ -387,7 +387,7 @@ class Regexp(Value):
self.sr = ''
Value.setValue(self, None)
else:
raise ValueError, \
raise InvalidRegistryValue, \
'Can\'t set to a regexp, there would be an inconsistency ' \
'between the regexp and the recorded string value.'