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:
parent
fdd757dd28
commit
bb620d727d
1 changed files with 2 additions and 2 deletions
|
|
@ -339,7 +339,7 @@ class ManifestFile:
|
||||||
|
|
||||||
class ManifestFileV1(ManifestFile):
|
class ManifestFileV1(ManifestFile):
|
||||||
def __init__(self, path, data):
|
def __init__(self, path, data):
|
||||||
super(ManifestFileV1, self).__init__(path, data, 1)
|
super().__init__(path, data, 1)
|
||||||
self.pipeline = element_enter(self.root, "pipeline", {})
|
self.pipeline = element_enter(self.root, "pipeline", {})
|
||||||
|
|
||||||
files = element_enter(self.sources, "org.osbuild.files", {})
|
files = element_enter(self.sources, "org.osbuild.files", {})
|
||||||
|
|
@ -413,7 +413,7 @@ class ManifestFileV1(ManifestFile):
|
||||||
|
|
||||||
class ManifestFileV2(ManifestFile):
|
class ManifestFileV2(ManifestFile):
|
||||||
def __init__(self, path, data):
|
def __init__(self, path, data):
|
||||||
super(ManifestFileV2, self).__init__(path, data, 2)
|
super().__init__(path, data, 2)
|
||||||
self.pipelines = element_enter(self.root, "pipelines", {})
|
self.pipelines = element_enter(self.root, "pipelines", {})
|
||||||
|
|
||||||
files = element_enter(self.sources, "org.osbuild.curl", {})
|
files = element_enter(self.sources, "org.osbuild.curl", {})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue