Remove inherit from object

This commit is contained in:
Alex Forencich
2020-12-24 14:40:03 -08:00
parent 4b768e267d
commit 318f48785a
10 changed files with 16 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ from .gmii import GmiiFrame
from .constants import EthPre
class MiiSource(object):
class MiiSource:
def __init__(self, data, er, dv, clock, reset=None, enable=None, *args, **kwargs):
self.log = logging.getLogger(f"cocotb.{data._path}")
@@ -157,7 +157,7 @@ class MiiSource(object):
self.active = False
class MiiSink(object):
class MiiSink:
def __init__(self, data, er, dv, clock, reset=None, enable=None, *args, **kwargs):
self.log = logging.getLogger(f"cocotb.{data._path}")