mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Changed an exception raised.
This commit is contained in:
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.'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user