Fix issue on cray with super call (#38895)

This commit is contained in:
Rocco Meli 2023-07-14 12:00:02 +02:00 committed by GitHub
parent e16397b5d8
commit 244dfb3a35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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