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

.

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