mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-09 02:54:13 +01:00
Changed an exception raised.
This commit is contained in:
parent
119619d437
commit
8eb20228af
@ -387,7 +387,7 @@ class Regexp(Value):
|
|||||||
self.sr = ''
|
self.sr = ''
|
||||||
Value.setValue(self, None)
|
Value.setValue(self, None)
|
||||||
else:
|
else:
|
||||||
raise ValueError, \
|
raise InvalidRegistryValue, \
|
||||||
'Can\'t set to a regexp, there would be an inconsistency ' \
|
'Can\'t set to a regexp, there would be an inconsistency ' \
|
||||||
'between the regexp and the recorded string value.'
|
'between the regexp and the recorded string value.'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user