summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2010-02-08 05:03:28 -0700
committerRob Crittenden <rcritten@redhat.com>2010-02-12 17:07:37 -0500
commit069763c5c616221fd0bcea813cad93ae3f7c072d (patch)
tree3c7944836ca68119671482e3ee2f9365032fa640 /ipalib/frontend.py
parent338578d10ac0978a00948971a17a89dc95435954 (diff)
downloadfreeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.tar.gz
freeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.tar.xz
freeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.zip
Add Object.label class attribute, enable in webUI
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index 0abb35be..ae7ec945 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -1110,6 +1110,9 @@ class Property(Attribute):
def __init__(self):
super(Property, self).__init__()
+ # FIXME: This is a hack till Param.label is updated to require a
+ # LazyText instance:
+ self.label = None
self.rules = tuple(
sorted(self.__rules_iter(), key=lambda f: getattr(f, '__name__'))
)