[Neo-report] r1919 gregory - /trunk/neo/client/app.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 8 21:42:41 CET 2010


Author: gregory
Date: Mon Mar  8 21:42:40 2010
New Revision: 1919

Log:
Fix undefined variable.

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] Mon Mar  8 21:42:40 2010
@@ -811,7 +811,7 @@
         # First get transaction information from a storage node.
         cell_list = self._getCellListForTID(transaction_id, readable=True)
         assert len(cell_list), 'No cell found for transaction %s' % (
-            dump(tid), )
+            dump(transaction_id), )
         shuffle(cell_list)
         for cell in cell_list:
             conn = self.cp.getConnForCell(cell)
@@ -828,7 +828,7 @@
             if self.local_var.txn_info == -1:
                 # Tid not found, try with next node
                 logging.warning('Transaction %s was not found on node %s',
-                    dump(tid), self.nm.getByAddress(conn.getAddress()))
+                    dump(transaction_id), self.nm.getByAddress(conn.getAddress()))
                 continue
             elif isinstance(self.local_var.txn_info, dict):
                 break





More information about the Neo-report mailing list