[Neo-report] r1767 vincent - /trunk/neo/client/app.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 16 11:18:22 CET 2010


Author: vincent
Date: Tue Feb 16 11:18:20 2010
New Revision: 1767

Log:
Give multiple parameters to logger instead of using % operator.

Modified:
    trunk/neo/client/app.py

Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Tue Feb 16 11:18:20 2010
@@ -578,8 +578,8 @@
             transaction.description, dumps(transaction._extension),
             local_var.data_dict.keys())
         for cell in self._getCellListForTID(tid, writable=True):
-            logging.debug("voting object %s %s" %(cell.getAddress(),
-                cell.getState()))
+            logging.debug("voting object %s %s", cell.getAddress(),
+                cell.getState())
             conn = self.cp.getConnForCell(cell)
             if conn is None:
                 continue





More information about the Neo-report mailing list