Use python3 style super(), no need to specify __class__ and self Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/hwlatdetect/hwlatdetect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hwlatdetect/hwlatdetect.py b/src/hwlatdetect/hwlatdetect.py index a530867777a7..7cd038ba913e 100755 --- a/src/hwlatdetect/hwlatdetect.py +++ b/src/hwlatdetect/hwlatdetect.py @@ -321,7 +321,7 @@ class Tracer(Detector): return os.path.join(path, Tracer.__field_translation[field]) def __init__(self): - super(Tracer, self).__init__() + super().__init__() path = self.debugfs.getpath('tracing/hwlat_detector') if not os.path.exists(path): raise DetectorNotAvailable("hwlat", "hwlat tracer not available") @@ -397,7 +397,7 @@ class Tracer(Detector): class Hwlat(Detector): '''class to wrap access to hwlat debugfs files''' def __init__(self): - super(Hwlat, self).__init__() + super().__init__() self.kmod = Kmod("hwlat_detector") self.type = "kmodule" self.kmod.load() -- 2.31.1