From edbeb3cca2d9c2181f15785a3d8d5f6a9e6475ee Mon Sep 17 00:00:00 2001 From: Damian Alvarez <swmanage@jrlogin12.jureca> Date: Tue, 5 Oct 2021 16:52:43 +0200 Subject: [PATCH] Typo in the jutil command line --- Custom_Hooks/eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Custom_Hooks/eb_hooks.py b/Custom_Hooks/eb_hooks.py index 530f02167..526dc248c 100644 --- a/Custom_Hooks/eb_hooks.py +++ b/Custom_Hooks/eb_hooks.py @@ -88,7 +88,7 @@ def get_user_info(): if os.getenv('CI') is None: jutil_path = os.getenv('JUMO_USRCMD_EXEC') if os.path.isfile(jutil_path) and os.access(jutil_path, os.X_OK): - jutil = subprocess.Popen([jutil_path, 'person', 'show', '-o', 'parseable'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + jutil = subprocess.Popen([jutil_path, 'person', 'show', '-o', 'parsable'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = jutil.communicate() if not stderr: return stdout.decode('utf-8').splitlines()[-1].split('|')[0:2] -- GitLab