diff options
Diffstat (limited to 'src/buildstream/_scheduler')
-rw-r--r-- | src/buildstream/_scheduler/jobs/job.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/_scheduler/jobs/job.py b/src/buildstream/_scheduler/jobs/job.py index 0ef316028..ed90bb3a4 100644 --- a/src/buildstream/_scheduler/jobs/job.py +++ b/src/buildstream/_scheduler/jobs/job.py @@ -50,7 +50,8 @@ class _ReturnCode(enum.IntEnum): # The job completion status, passed back through the # complete callbacks. # -class JobStatus(): +@enum.unique +class JobStatus(enum.Enum): # Job succeeded OK = 0 |