[rhmessaging-commits] rhmessaging commits: r4071 - mgmt/newdata/mint/python/mint.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Jul 6 10:17:52 EDT 2010


Author: justi9
Date: 2010-07-06 10:17:52 -0400 (Tue, 06 Jul 2010)
New Revision: 4071

Modified:
   mgmt/newdata/mint/python/mint/update.py
Log:
Tweak to event output

Modified: mgmt/newdata/mint/python/mint/update.py
===================================================================
--- mgmt/newdata/mint/python/mint/update.py	2010-07-05 14:06:58 UTC (rev 4070)
+++ mgmt/newdata/mint/python/mint/update.py	2010-07-06 14:17:52 UTC (rev 4071)
@@ -481,11 +481,9 @@
         for pkg in self.model._packages:
             for cls in pkg._classes:
                 for obj in cls.get_selection(cursor, _qmf_agent_id=id):
-                    message = "Deleting %s, from %s"
-                    self.model.print_event(3, message, obj, self.agent)
-
                     obj.delete(cursor)
 
+                    self.model.print_event(3, "Deleted %s", obj)
                     stats.deleted += 1
 
 class UpdateDropped(Exception):



More information about the rhmessaging-commits mailing list