Author: justi9
Date: 2008-12-05 17:43:52 -0500 (Fri, 05 Dec 2008)
New Revision: 2945
Modified:
mgmt/trunk/cumin/python/cumin/model.py
Log:
Sync the data object before sending xml
Modified: mgmt/trunk/cumin/python/cumin/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/model.py 2008-12-05 22:07:16 UTC (rev 2944)
+++ mgmt/trunk/cumin/python/cumin/model.py 2008-12-05 22:43:52 UTC (rev 2945)
@@ -500,6 +500,8 @@
stat.write_xml(writer, object)
def write_xml(self, session, writer, object):
+ object.sync()
+
writer.write("<%s id=\"%s\" name=\"%s\">" %
\
(self.cumin_name, str(object.id),
self.get_object_name(object)))
Show replies by date