[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-10-12 17:08:25

Modified files:
	luci/site/luci/Extensions: cluster_adapters.py 

Log message:
	Trap connect failure

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.101&r2=1.102

--- conga/luci/site/luci/Extensions/cluster_adapters.py	2006/10/12 15:50:56	1.101
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2006/10/12 17:08:25	1.102
@@ -2358,8 +2358,15 @@
     map['os'] = ""
     map['isVirtualized'] = False
     return map
+  
+  try:
+    rc = RicciCommunicator(ricci_agent)
+  except:
+    map = {}
+    map['os'] = ""
+    map['isVirtualized'] = False
+    return map
 
-  rc = RicciCommunicator(ricci_agent)
   map = {}
   os_str = resolveOSType(rc.os())
   map['os'] = os_str


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