summaryrefslogtreecommitdiff
path: root/src/buildstream/_scheduler/scheduler.py
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-06-06 11:20:44 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-06-06 16:49:36 +0000
commitb216febd888f2b7ab763db0045ac5736d0a9a16a (patch)
tree217c81a8f538478c3d665e032f1ad63c475687ea /src/buildstream/_scheduler/scheduler.py
parent63152f6c1dd4f7aea1e85cd5e334bd73952aa09d (diff)
downloadbuildstream-b216febd888f2b7ab763db0045ac5736d0a9a16a.tar.gz
_scheduler/jobs/job: make JobStatus an enum
This provides some minor guards against mistakes, and we'll be able to do type-checking later. This does open the possibility of problems if folks mistakenly try to pass off an integer as a JobStatus.
Diffstat (limited to 'src/buildstream/_scheduler/scheduler.py')
0 files changed, 0 insertions, 0 deletions