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:
7823114
)
insndb/db: drop redundant method
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 3 Jun 2023 09:48:39 +0000
(12:48 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 3 Jun 2023 09:48:39 +0000
(12:48 +0300)
src/openpower/insndb/db.py
patch
|
blob
|
history
diff --git
a/src/openpower/insndb/db.py
b/src/openpower/insndb/db.py
index 989bcef7926c82386b65fd95b3b2f2afa570e6b5..96d881c57d6d78486b929f0dc5115021ccadad30 100644
(file)
--- a/
src/openpower/insndb/db.py
+++ b/
src/openpower/insndb/db.py
@@
-13,10
+13,6
@@
from openpower.insndb.types import (
def main():
class ListVisitor(Visitor):
- @contextlib.contextmanager
- def db(self, db):
- yield db
-
@contextlib.contextmanager
def record(self, record):
print(record.name)