Author: justi9
Date: 2007-11-27 17:18:07 -0500 (Tue, 27 Nov 2007)
New Revision: 1376
Modified:
mgmt/mint/python/mint/__init__.py
Log:
Small fix to instCallback to reflect the recently renamed statsCurr
attr.
Modified: mgmt/mint/python/mint/__init__.py
===================================================================
--- mgmt/mint/python/mint/__init__.py 2007-11-27 22:09:16 UTC (rev 1375)
+++ mgmt/mint/python/mint/__init__.py 2007-11-27 22:18:07 UTC (rev 1376)
@@ -114,7 +114,7 @@
if (timestamps[2] != 0):
d["deletionTime"] = datetime.fromtimestamp(timestamps[2]/1000000000)
d["statsPrev"] = obj.stats
- d["stats"] = objStats
+ d["statsCurr"] = objStats
obj.set(**d)
self.log("END INST---------------------------------------------------\n")
return objStats
Show replies by date