Skip to contentSkip to conversation

conga/luci/site/luci/Extensions ricci_bridge.py

Cluster-devel [email protected] 1 participant 1 message Oct 16, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-10-16 20:56:09

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

Log message:
fix for a corner case

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

luci/site/luci/Extensions/ricci_bridge.py +3 -0
@@ -444,6 +444,9 @@
 	return resultlist
 
 def getClusterConf(rc):
+	if rc is None:
+		return None
+
 	doc = xml.dom.minidom.Document()
 	batch = doc.createElement('batch')
 	module = doc.createElement('module')