projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ac8221a
)
pysvp64db: fix traversal
master
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 27 Feb 2024 16:22:11 +0000
(19:22 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 27 Feb 2024 16:22:11 +0000
(19:22 +0300)
src/openpower/insndb/db.py
patch
|
blob
|
history
diff --git
a/src/openpower/insndb/db.py
b/src/openpower/insndb/db.py
index 71e3a630098ab487b5a50453803b07b680f1e4cb..e6a3614acda6a215ebb66f175928628744f1c991 100644
(file)
--- a/
src/openpower/insndb/db.py
+++ b/
src/openpower/insndb/db.py
@@
-276,7
+276,7
@@
def main():
def traverse(root, visitor, walker):
with visitor(root):
def traverse(root, visitor, walker):
with visitor(root):
- for
(node, *_)
in walker(root):
+ for
node
in walker(root):
traverse(root=node, visitor=visitor, walker=walker)
traverse(root=root, visitor=visitor, walker=Walker())
traverse(root=node, visitor=visitor, walker=walker)
traverse(root=root, visitor=visitor, walker=Walker())