Fixed regexp bug.

This commit is contained in:
Jeremy Fincher 2004-09-13 01:21:48 +00:00
parent 446174c51d
commit e1d961c62f

View File

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