Commit 11364841 authored by Stephane Fermingier's avatar Stephane Fermingier

Fix 'unknown identifier' problem.

parent 988da32e
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Handy standard storage machinery """Handy standard storage machinery
$Id: BaseStorage.py,v 1.45 2004/03/11 16:41:03 jeremy Exp $ $Id: BaseStorage.py,v 1.46 2004/03/21 16:38:53 sf Exp $
""" """
import cPickle import cPickle
import threading import threading
...@@ -24,7 +24,7 @@ import POSException ...@@ -24,7 +24,7 @@ import POSException
from persistent.TimeStamp import TimeStamp from persistent.TimeStamp import TimeStamp
import zLOG import zLOG
from ZODB import POSException from ZODB import POSException, utils
from ZODB.UndoLogCompatible import UndoLogCompatible from ZODB.UndoLogCompatible import UndoLogCompatible
class BaseStorage(UndoLogCompatible): class BaseStorage(UndoLogCompatible):
...@@ -399,7 +399,8 @@ class BaseStorage(UndoLogCompatible): ...@@ -399,7 +399,8 @@ class BaseStorage(UndoLogCompatible):
self.tpc_begin(transaction, tid, transaction.status) self.tpc_begin(transaction, tid, transaction.status)
for r in transaction: for r in transaction:
oid=r.oid 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: if restoring:
self.restore(oid, r.tid, r.data, r.version, self.restore(oid, r.tid, r.data, r.version,
r.data_txn, transaction) r.data_txn, transaction)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment