1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2025-03-11 08:50:43 +01:00

Changed an exception raised.

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

@ -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.'