Skip to contentSkip to conversation

conga/luci/site/luci/Extensions cluster_adapte ...

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-10-12 00:04:45

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

Log message:
wrong way to del props

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

luci/site/luci/Extensions/cluster_adapters.py +3 -1
@@ -2292,7 +2292,9 @@
           node_report['statusmessage'] = "Node still being created"
           node_report['statusindex'] = creation_status
           nodereports.append(node_report)
-          item[1].manage_delProperties(LAST_STATUS)
+          propslist = list()
+          propslist.append(LAST_STATUS)
+          item[1].manage_delProperties(propslist)
           item[1].manage_addProperty(LAST_STATUS,creation_status, "int")
           continue