[Zope3-checkins] CVS: Zope/lib/python/ZODB - BaseStorage.py:1.46

Stefane Fermigier sf at fermigier.com
Sun Mar 21 11:38:54 EST 2004


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv12869/ZODB

Modified Files:
	BaseStorage.py 
Log Message:
Fix 'unknown identifier' problem.



=== Zope/lib/python/ZODB/BaseStorage.py 1.45 => 1.46 ===
--- Zope/lib/python/ZODB/BaseStorage.py:1.45	Thu Mar 11 11:41:03 2004
+++ Zope/lib/python/ZODB/BaseStorage.py	Sun Mar 21 11:38:53 2004
@@ -24,7 +24,7 @@
 from persistent.TimeStamp import TimeStamp
 
 import zLOG
-from ZODB import POSException
+from ZODB import POSException, utils
 from ZODB.UndoLogCompatible import UndoLogCompatible
 
 class BaseStorage(UndoLogCompatible):
@@ -399,7 +399,8 @@
             self.tpc_begin(transaction, tid, transaction.status)
             for r in transaction:
                 oid=r.oid
-                if verbose: print oid_repr(oid), r.version, len(r.data)
+                if verbose: 
+                    print utils.oid_repr(oid), r.version, len(r.data)
                 if restoring:
                     self.restore(oid, r.tid, r.data, r.version,
                                  r.data_txn, transaction)




More information about the Zope3-Checkins mailing list