Skip to content

Commit 2433459

Browse files
committed
ref(scheduler): remove TransitionError as it is no longer used
1 parent 8ce2036 commit 2433459

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

rootfs/scheduler/states.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
import enum
22

33

4-
class TransitionError(Exception):
5-
"""Raised when a transition from one state to another is illegal"""
6-
7-
def __init__(self, prev, next, msg):
8-
self.prev = prev
9-
self.next = next
10-
self.msg = msg
11-
12-
134
class JobState(enum.Enum):
145
initialized = 1
156
created = 2

0 commit comments

Comments
 (0)