[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons 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()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]