Author: eallen
Date: 2009-04-24 15:46:56 -0400 (Fri, 24 Apr 2009)
New Revision: 3331
Modified:
mgmt/trunk/cumin/python/cumin/model.py
Log:
Add self.mint to CuminAction since all the methods rely on it being there. The alternative
is to change the methods to use self.model.mint.model instead of self.mint.model.
Modified: mgmt/trunk/cumin/python/cumin/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/model.py 2009-04-24 14:57:00 UTC (rev 3330)
+++ mgmt/trunk/cumin/python/cumin/model.py 2009-04-24 19:46:56 UTC (rev 3331)
@@ -209,6 +209,7 @@
class CuminAction(object):
def __init__(self, cls, name):
self.model = cls.model
+ self.mint = self.model.mint
self.cumin_class = cls
self.name = name