Author: justi9
Date: 2010-06-30 13:23:24 -0400 (Wed, 30 Jun 2010)
New Revision: 4057
Modified:
mgmt/newdata/mint/python/mint/model.py
mgmt/newdata/mint/python/mint/update.py
Log:
I failed to commit this with change 4054
Modified: mgmt/newdata/mint/python/mint/model.py
===================================================================
--- mgmt/newdata/mint/python/mint/model.py 2010-06-30 17:03:41 UTC (rev 4056)
+++ mgmt/newdata/mint/python/mint/model.py 2010-06-30 17:23:24 UTC (rev 4057)
@@ -70,6 +70,8 @@
self.model.lock.release()
def delete(self):
+ assert self.model
+
self.model.lock.acquire()
try:
del self.model.agents_by_id[self.id]
Modified: mgmt/newdata/mint/python/mint/update.py
===================================================================
--- mgmt/newdata/mint/python/mint/update.py 2010-06-30 17:03:41 UTC (rev 4056)
+++ mgmt/newdata/mint/python/mint/update.py 2010-06-30 17:23:24 UTC (rev 4057)
@@ -435,8 +435,6 @@
stats.deleted += 1
- self.agent.delete()
-
class UpdateException(Exception):
def __init__(self, name):
self.name = name
Show replies by date