Author: justi9
Date: 2008-04-08 12:13:10 -0400 (Tue, 08 Apr 2008)
New Revision: 1862
Modified:
mgmt/cumin/python/cumin/model.py
Log:
Repair model xml.
Modified: mgmt/cumin/python/cumin/model.py
===================================================================
--- mgmt/cumin/python/cumin/model.py 2008-04-08 15:55:57 UTC (rev 1861)
+++ mgmt/cumin/python/cumin/model.py 2008-04-08 16:13:10 UTC (rev 1862)
@@ -343,12 +343,13 @@
def write_xml(self, writer, object):
writer.write("<%s id=\"%i\" name=\"%s\">" %
\
- (self.name, object.id, self.get_object_name(object)))
+ (self.cumin_name, object.id,
+ self.get_object_name(object)))
self.write_event_xml(writer, object)
self.write_stat_xml(writer, object)
- writer.write("</%s>" % self.name)
+ writer.write("</%s>" % self.cumin_name)
class RemoteClass(CuminClass):
def __init__(self, model, name, mint_class, mint_stats_class):
Show replies by date