Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
d1152bf6
Commit
d1152bf6
authored
Jan 21, 2003
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_mark(): Remove an assertion that is no longer correct.
parent
e4a3b271
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
lib/python/BDBStorage/BDBFullStorage.py
lib/python/BDBStorage/BDBFullStorage.py
+1
-2
lib/python/BDBStorage/BDBMinimalStorage.py
lib/python/BDBStorage/BDBMinimalStorage.py
+1
-2
No files found.
lib/python/BDBStorage/BDBFullStorage.py
View file @
d1152bf6
...
...
@@ -14,7 +14,7 @@
"""Berkeley storage with full undo and versioning support.
$Revision: 1.6
5
$
$Revision: 1.6
6
$
"""
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
:
...
...
lib/python/BDBStorage/BDBMinimalStorage.py
View file @
d1152bf6
...
...
@@ -15,7 +15,7 @@
"""Berkeley storage without undo or versioning.
"""
__version__
=
'$Revision: 1.2
5
$'
[
-
2
:][
0
]
__version__
=
'$Revision: 1.2
6
$'
[
-
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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment