Skip to content

Commit 401cfad

Browse files
committed
QoS: fix _parse_preempt_mode due to backporting
1 parent 180299d commit 401cfad

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pyslurm/db/qos.pyx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ cdef class QualityOfServiceSearchFilter:
9797
if _mode == slurm.NO_VAL16:
9898
raise ValueError(f"Unknown preempt mode: {mode}")
9999

100-
if _mode == slurm.PREEMPT_MODE_OFF:
101-
_mode = slurm.PREEMPT_MODE_COND_OFF
102-
103100
out |= _mode
104101

105102
return out

0 commit comments

Comments
 (0)