From 069763c5c616221fd0bcea813cad93ae3f7c072d Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 8 Feb 2010 05:03:28 -0700 Subject: Add Object.label class attribute, enable in webUI --- ipalib/frontend.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/frontend.py') diff --git a/ipalib/frontend.py b/ipalib/frontend.py index 0abb35be9..ae7ec9454 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__')) ) -- cgit