mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 20:14:20 +01:00
Fixed regexp bug.
This commit is contained in:
parent
446174c51d
commit
e1d961c62f
@ -470,6 +470,7 @@ class Regexp(Value):
|
|||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
kwargs['setDefault'] = False
|
kwargs['setDefault'] = False
|
||||||
super(Regexp, self).__init__(*args, **kwargs)
|
super(Regexp, self).__init__(*args, **kwargs)
|
||||||
|
self.value = None
|
||||||
|
|
||||||
def error(self, e):
|
def error(self, e):
|
||||||
raise InvalidRegistryValue, 'Value must be a regexp of the form %s' % e
|
raise InvalidRegistryValue, 'Value must be a regexp of the form %s' % e
|
||||||
|
Loading…
Reference in New Issue
Block a user