Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
7ff4a125
Commit
7ff4a125
authored
May 11, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f7bb9b72
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
wcfs/internal/xbtree.py
wcfs/internal/xbtree.py
+4
-2
No files found.
wcfs/internal/xbtree.py
View file @
7ff4a125
...
@@ -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
):
...
...
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