From 244dfb3a35bcb7041fde62c2ac1d3305d0737200 Mon Sep 17 00:00:00 2001 From: Rocco Meli Date: Fri, 14 Jul 2023 12:00:02 +0200 Subject: [PATCH] Fix issue on cray with super call (#38895) --- lib/spack/spack/operating_systems/cray_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/operating_systems/cray_backend.py b/lib/spack/spack/operating_systems/cray_backend.py index 96a27d14bd..9312e653a6 100644 --- a/lib/spack/spack/operating_systems/cray_backend.py +++ b/lib/spack/spack/operating_systems/cray_backend.py @@ -86,7 +86,7 @@ def __init__(self): # distro.linux_distribution, while still calling __init__ # methods further up the MRO, we skip LinuxDistro in the MRO and # call the OperatingSystem superclass __init__ method - super().__init__(name, version) + super(LinuxDistro, self).__init__(name, version) else: super().__init__() self.modulecmd = module