mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +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):
|
||||
kwargs['setDefault'] = False
|
||||
super(Regexp, self).__init__(*args, **kwargs)
|
||||
self.value = None
|
||||
|
||||
def error(self, e):
|
||||
raise InvalidRegistryValue, 'Value must be a regexp of the form %s' % e
|
||||
|
Loading…
Reference in New Issue
Block a user