Skip to content

Commit

Permalink
Added check for ending with an asterisk. (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-sly authored and Paul-Ferrell committed Nov 7, 2019
1 parent 55cee91 commit 257f110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pavilion/plugins/sched/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 257f110

Please sign in to comment.