summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2011-04-21 10:13:06 +0200
committerMartin Kosek <mkosek@redhat.com>2011-04-21 10:41:29 +0200
commit5700920627b8ac5e303e37d23a0051d0799a4801 (patch)
tree1bd01923eebd29a6a1fe12fdc66e0259d1d58da1 /ipalib
parentccde1154215c89ac6ad0982425555be59ab1c699 (diff)
downloadfreeipa-5700920627b8ac5e303e37d23a0051d0799a4801.tar.gz
freeipa-5700920627b8ac5e303e37d23a0051d0799a4801.tar.xz
freeipa-5700920627b8ac5e303e37d23a0051d0799a4801.zip
Fix uninitialized attributes.
Diffstat (limited to 'ipalib')
-rwxr-xr-xipalib/aci.py2
-rw-r--r--ipalib/parameters.py3
-rw-r--r--ipalib/text.py1
3 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/aci.py b/ipalib/aci.py
index abb2ebc49..1b607a393 100755
--- a/ipalib/aci.py
+++ b/ipalib/aci.py
@@ -45,6 +45,8 @@ class ACI:
"""
def __init__(self,acistr=None):
self.name = None
+ self.source_group = None
+ self.dest_group = None
self.orig_acistr = acistr
self.target = {}
self.action = "allow"
diff --git a/ipalib/parameters.py b/ipalib/parameters.py
index ef62aabf7..acc7d2909 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)
diff --git a/ipalib/text.py b/ipalib/text.py
index a910cc5fb..af532db45 100644
--- a/ipalib/text.py
+++ b/ipalib/text.py
@@ -154,6 +154,7 @@ class LazyText(object):
self.domain = domain
self.localedir = localedir
self.key = (domain, localedir)
+ self.args = None
def __eq__(self, other):
"""