sv_binutils: fix metaclass arguments
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Mon, 25 Apr 2022 07:14:57 +0000 (07:14 +0000)
committerDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Mon, 25 Apr 2022 07:14:57 +0000 (07:14 +0000)
src/openpower/sv/sv_binutils.py

index d79eca54d79cebb2eb35b77736ebc73cfe2fb156..4b66e3b23dfb7dd041edbb8ef21e7472ee0ef98c 100644 (file)
@@ -324,11 +324,11 @@ class Fields(metaclass=FieldsMeta):
         yield f"}}{suffix}"
 
 
-class Prefix(Fields, type=_SVP64PrefixFields):
+class Prefix(Fields, base=_SVP64PrefixFields):
     pass
 
 
-class RM(Fields, type=_SVP64RMFields):
+class RM(Fields, base=_SVP64RMFields):
     pass