[rhmessaging-commits] rhmessaging commits: r3442 - mgmt/trunk/mint/python/mint.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed Jun 10 08:37:10 EDT 2009


Author: eallen
Date: 2009-06-10 08:37:10 -0400 (Wed, 10 Jun 2009)
New Revision: 3442

Modified:
   mgmt/trunk/mint/python/mint/model.py
Log:
Avoid a couple of python log errors.

Modified: mgmt/trunk/mint/python/mint/model.py
===================================================================
--- mgmt/trunk/mint/python/mint/model.py	2009-06-09 20:24:38 UTC (rev 3441)
+++ mgmt/trunk/mint/python/mint/model.py	2009-06-10 12:37:10 UTC (rev 3442)
@@ -321,11 +321,11 @@
 
   def newAgent(self, agent):
     """ Invoked when a QMF agent is discovered. """
-    log.info("Agent connected: ", agent)
+    log.info("Agent connected: %s", agent)
 
   def delAgent(self, agent):
     """ Invoked when a QMF agent disconects. """
-    log.info("Agent disconnected: ", agent)
+    log.info("Agent disconnected: %s", agent)
     up = update.AgentDisconnectUpdate(self, self.getAgentDBId(agent, agent.getBroker().getBrokerId()))
     self.app.updateThread.enqueue(up)
 




More information about the rhmessaging-commits mailing list