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:
3e7cbde
)
insndb/db: drop redundant method
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 3 Jun 2023 09:48:39 +0000
(12:48 +0300)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:19 +0000
(19:26 +0000)
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)