From 5700920627b8ac5e303e37d23a0051d0799a4801 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Thu, 21 Apr 2011 10:13:06 +0200 Subject: Fix uninitialized attributes. --- ipalib/parameters.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/parameters.py') diff --git a/ipalib/parameters.py b/ipalib/parameters.py index ef62aabf..acc7d290 100644 --- a/ipalib/parameters.py +++ b/ipalib/parameters.py @@ -1125,6 +1125,9 @@ class Data(Param): ('pattern', (basestring,), None), ('pattern_errmsg', (basestring,), None), ) + + re = None + re_errmsg = None def __init__(self, name, *rules, **kw): super(Data, self).__init__(name, *rules, **kw) -- cgit