summaryrefslogtreecommitdiff
path: root/buildstream/_scheduler/scheduler.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-05-28 20:50:12 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-05-28 20:52:06 +0900
commit03bc3c2b022bfb6e10acf2a7b92553fc0d6784a0 (patch)
tree518c608114bf34d895a3d65c82abbf59a99453eb /buildstream/_scheduler/scheduler.py
parenteb88a7d4a2d920a68eccf594fb9bbd43227afd23 (diff)
downloadbuildstream-03bc3c2b022bfb6e10acf2a7b92553fc0d6784a0.tar.gz
job/scheduler: Fix regression / missing import
The import of _BstError should have been moved to job.py but was missed, causing stack traces to appear on failures.
Diffstat (limited to 'buildstream/_scheduler/scheduler.py')
-rw-r--r--buildstream/_scheduler/scheduler.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/buildstream/_scheduler/scheduler.py b/buildstream/_scheduler/scheduler.py
index cd3c0d2ad..1d6f31e29 100644
--- a/buildstream/_scheduler/scheduler.py
+++ b/buildstream/_scheduler/scheduler.py
@@ -25,9 +25,6 @@ import asyncio
import signal
import datetime
-# BuildStream toplevel imports
-from ..exceptions import _BstError
-
# Local imports
from .queue import Queue, QueueType