From: Dmitry Selyutin Date: Sat, 3 Jun 2023 09:48:39 +0000 (+0300) Subject: insndb/db: drop redundant method X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d5e4c08232e1798b052c9c7d24c06dc46ffb5e8;p=openpower-isa.git insndb/db: drop redundant method --- diff --git a/src/openpower/insndb/db.py b/src/openpower/insndb/db.py index 989bcef7..96d881c5 100644 --- 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)