[Zodb-checkins] CVS: Zope3/src/zodb/storage - bdbfull.py:1.29
Barry Warsaw
barry at zope.com
Tue Jul 29 12:18:13 EDT 2003
Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv4960
Modified Files:
bdbfull.py
Log Message:
_rootset(): Removed some useless code.
=== Zope3/src/zodb/storage/bdbfull.py 1.28 => 1.29 ===
--- Zope3/src/zodb/storage/bdbfull.py:1.28 Thu Jul 10 13:36:12 2003
+++ Zope3/src/zodb/storage/bdbfull.py Tue Jul 29 11:18:07 2003
@@ -1338,7 +1338,7 @@
# BAW: should a pack time in the future be a ValueError? When ZEO is
# involved, t could come from a remote machine with a skewed clock.
# Jim wants us to believe t if it's "close", but our algorithm
- # requires synchronicity between the calculate of the pack time and
+ # requires synchronicity between the calculation of the pack time and
# the timestamps used in serial numbers.
#
# If a transaction is currently in progress, wait for it to finish
@@ -1573,14 +1573,6 @@
return serial
def _rootset(self, packtid, txn):
- c = self._txnoids.cursor(txn)
- try:
- rec = c.first()
- while rec:
- tid, oid = rec
- rec = c.next()
- finally:
- c.close()
# Find the root set for reachability purposes. A root set is a tuple
# of oid and tid. First, the current root object as of the pack time
# is always in the root set. Second, any object revision after the
More information about the Zodb-checkins
mailing list