tools/mpp: use python3 style super invocation

In Python3 there is no need for arguments in the `super` invocation
itself.
This commit is contained in:
Christian Kellner 2021-06-30 15:53:51 +00:00 committed by Tom Gundersen
parent fdd757dd28
commit bb620d727d

View file

@ -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", {})