Skip to contentSkip to conversation

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

Cluster-devel [email protected] 1 participant 1 message Jul 31, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-07-31 22:16:41

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

Log message:
Fixes for resource addition

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

luci/site/luci/Extensions/ricci_bridge.py +4 -2
@@ -1,5 +1,6 @@
 from time import *
 import os
+import sys
 from socket import *
 import xml
 import xml.dom
@@ -205,6 +206,7 @@
 
     # receive ricci header
     hello = self.__receive(ss)
+    print >> sys.stderr, hello.toxml()
     if hello != None:
         pass
         #print hello.toxml()
@@ -505,9 +507,9 @@
 
   def setClusterConf(self, clusterconf, propagate=True):
     if propagate == True:
-      propg = "True"
+      propg = "true"
     else:
-      propg = "False"
+      propg = "false"
 
     conf = str(clusterconf).replace('<?xml version="1.0"?>', '')
     conf = conf.replace('<?xml version="1.0" ?>', '')