Author: tmckay
Date: 2011-06-15 12:49:35 +0000 (Wed, 15 Jun 2011)
New Revision: 4831
Modified:
trunk/mint/python/mint/update.py
Log:
Remove special case for collector in delete_agent_objects
Modified: trunk/mint/python/mint/update.py
===================================================================
--- trunk/mint/python/mint/update.py 2011-06-15 12:18:00 UTC (rev 4830)
+++ trunk/mint/python/mint/update.py 2011-06-15 12:49:35 UTC (rev 4831)
@@ -614,7 +614,7 @@
def delete_agent_objects(self, cursor, stats, agent, bound_classes, bound_packages):
def loop_body(cls):
- if cls._storage != "none" and cls is not
self.model.com_redhat_grid.Collector:
+ if cls._storage != "none": # and cls is not
self.model.com_redhat_grid.Collector:
count = cls.delete_selection(cursor, _qmf_agent_id=agent.id)
stats.objects_deleted += count
#stats.objects_deleted_by_class[cls] += count
Show replies by date