From mboxrd@z Thu Jan 1 00:00:00 1970 From: jparsons@sourceware.org Date: 9 Aug 2006 22:05:42 -0000 Subject: [Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ... Message-ID: <20060809220542.30571.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: jparsons at sourceware.org 2006-08-09 22:05:42 Modified files: luci/site/luci/Extensions: cluster_adapters.py Log message: Fixed ref object type problem Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.35&r2=1.36 --- conga/luci/site/luci/Extensions/cluster_adapters.py 2006/08/09 21:48:55 1.35 +++ conga/luci/site/luci/Extensions/cluster_adapters.py 2006/08/09 22:05:42 1.36 @@ -979,8 +979,10 @@ rc_map = {} if child.isRefObject() == True: rc_map['ref_object'] = True + rc_map['type'] = child.getObj().getResourceType() + else: + rc_map['type'] = child.getResourceType() - rc_map['type'] = child.getResourceType() rc_map['indent_ctr'] = indent_ctr #Note: Final version needs all resource attrs attrs = child.getAttributes()