Skip to contentSkip to conversation

conga/luci/site/luci/Extensions cluster_adapte ...

Cluster-devel [email protected] 1 participant 1 message Aug 9, 2006

lore
Share & tools
lore
#0 lore raw

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

luci/site/luci/Extensions/cluster_adapters.py +3 -1
@@ -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()