Skip to contentSkip to conversation

conga/luci/site/luci/Extensions ModelBuilder.p ...

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-10-26 22:59:13

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

Log message:
- fix for broken exportModelAsString()
- fix for broken resource add/edit handler
- lots more debugging and verbose exception handling

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ModelBuilder.py.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.129&r2=1.130
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ricci_bridge.py.diff?cvsroot=cluster&r1=1.35&r2=1.36

luci/site/luci/Extensions/ModelBuilder.py +3 -3
@@ -416,9 +416,9 @@
 
     return True
   
-  def exportModelAsString(self, strbuf):
+  def exportModelAsString(self):
     if self.perform_final_check() == False: # failed
-      return False
+      return None
     
     #check for dual power fences
     self.dual_power_fence_check()
@@ -438,7 +438,7 @@
       #can be used
       self.purgePCDuplicates()
 
-    return True
+    return strbuf
   
   def has_filepath(self):
     if self.filename == None:
luci/site/luci/Extensions/cluster_adapters.py +420 -219

1,088 lines not on this page · raw message

luci/site/luci/Extensions/ricci_bridge.py +46 -44

154 lines not on this page · raw message