From db85e23a24225396335fbd675c0e676167a23b22 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Fri, 17 May 2024 15:08:28 +0200 Subject: [PATCH] fix syntax --- eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index 17da9ca256..46e79810d9 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -723,7 +723,7 @@ def inject_gpu_property(ec): key = 'modluafooter' values = [add_gpu_property] for package, version in packages_version.items(): - envvar = "EESSI%sVERSION" %s package.upper() + envvar = "EESSI%sVERSION" % package.upper() values.append('setenv("%s","%s")' % (envvar, version)) if not key in ec_dict: ec[key] = '\n'.join(values)