Commit d1152bf6 authored by Barry Warsaw's avatar Barry Warsaw

_mark(): Remove an assertion that is no longer correct.

parent e4a3b271
......@@ -14,7 +14,7 @@
"""Berkeley storage with full undo and versioning support.
$Revision: 1.65 $
$Revision: 1.66 $
"""
import time
......@@ -1610,7 +1610,6 @@ class BDBFullStorage(BerkeleyBase, ConflictResolvingStorage):
# oidqueue is a BerkeleyDB Queue that holds the list of object ids to
# look at next, and by using this we don't need to keep an in-memory
# dictionary.
assert len(self._packmark) == 0
assert len(self._oidqueue) == 0
# Quick exit for empty storages
if not self._serials:
......
......@@ -15,7 +15,7 @@
"""Berkeley storage without undo or versioning.
"""
__version__ = '$Revision: 1.25 $'[-2:][0]
__version__ = '$Revision: 1.26 $'[-2:][0]
from ZODB import POSException
from ZODB.utils import p64, U64
......@@ -420,7 +420,6 @@ class BDBMinimalStorage(BerkeleyBase, ConflictResolvingStorage):
# we'll save the mark data in the packmark table. The oidqueue is a
# BerkeleyDB Queue that holds the list of object ids to look at next,
# and by using this we don't need to keep an in-memory dictionary.
assert len(self._packmark) == 0
assert len(self._oidqueue) == 0
# Quick exit for empty storages
if not self._serials:
......
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