Commit 7ff4a125 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f7bb9b72
......@@ -414,11 +414,13 @@ def _assertIncv(v):
# The checks are what is provided by BTree.check and node._check().
class _ZChecker(zbcheck.Checker):
def visit_btree(self, obj, *argv):
super(_ZChecker, self).visit_btree(obj, *argv)
#super(_ZChecker, self).visit_btree(obj, *argv) zbcheck.Checker is old-style class
zbcheck.Checker.visit_btree(self, obj, *argv)
obj._check() # also check internal C-level pointers consistency
def visit_bucket(self, obj, *argv):
super(_ZChecker, self).visit_bucket(obj, *argv)
#super(_ZChecker, self).visit_bucket(obj, *argv)
zbcheck.Checker.visit_bucket(self, obj, *argv)
obj._check() # ----//-----
def _bcheck(ztree):
......
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