From 2ab13122fd8452525cabdbbca3c4ee39408c97c2 Mon Sep 17 00:00:00 2001 From: sly Date: Thu, 7 Nov 2019 16:15:02 -0700 Subject: [PATCH] Added check for ending with an asterisk. --- lib/pavilion/plugins/sched/slurm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pavilion/plugins/sched/slurm.py b/lib/pavilion/plugins/sched/slurm.py index 4c31385d8..332cba203 100644 --- a/lib/pavilion/plugins/sched/slurm.py +++ b/lib/pavilion/plugins/sched/slurm.py @@ -208,7 +208,7 @@ def slurm_states(state): else: return 'UNKNOWN' - if state.endswith('$'): + if state.endswith('$') or state.endswith('*'): state = state[:-1] return state