From bb620d727d7e7f52adc48df23e26e681bde6f793 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Wed, 30 Jun 2021 15:53:51 +0000 Subject: [PATCH] tools/mpp: use python3 style super invocation In Python3 there is no need for arguments in the `super` invocation itself. --- tools/mpp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mpp.py b/tools/mpp.py index 628c8275..2dfba1d1 100755 --- a/tools/mpp.py +++ b/tools/mpp.py @@ -339,7 +339,7 @@ class ManifestFile: class ManifestFileV1(ManifestFile): def __init__(self, path, data): - super(ManifestFileV1, self).__init__(path, data, 1) + super().__init__(path, data, 1) self.pipeline = element_enter(self.root, "pipeline", {}) files = element_enter(self.sources, "org.osbuild.files", {}) @@ -413,7 +413,7 @@ class ManifestFileV1(ManifestFile): class ManifestFileV2(ManifestFile): def __init__(self, path, data): - super(ManifestFileV2, self).__init__(path, data, 2) + super().__init__(path, data, 2) self.pipelines = element_enter(self.root, "pipelines", {}) files = element_enter(self.sources, "org.osbuild.curl", {})