Fix issue on cray with super call (#38895)
This commit is contained in:
parent
e16397b5d8
commit
244dfb3a35
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def __init__(self):
|
||||||
# distro.linux_distribution, while still calling __init__
|
# distro.linux_distribution, while still calling __init__
|
||||||
# methods further up the MRO, we skip LinuxDistro in the MRO and
|
# methods further up the MRO, we skip LinuxDistro in the MRO and
|
||||||
# call the OperatingSystem superclass __init__ method
|
# call the OperatingSystem superclass __init__ method
|
||||||
super().__init__(name, version)
|
super(LinuxDistro, self).__init__(name, version)
|
||||||
else:
|
else:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.modulecmd = module
|
self.modulecmd = module
|
||||||
|
|
Loading…
Reference in a new issue