summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2018-11-05 17:35:16 +0000
committerJim MacArthur <jim.macarthur@codethink.co.uk>2018-11-06 16:44:14 +0000
commitb4eec489db476c31be116dbc4eaeb4264c6c0347 (patch)
tree230b59e12284ed5cd44ea412d93c8ea595ea7bdf
parent0c09fb9c7f5eef9bb144eefe044aaa898a73e5ed (diff)
downloadbuildstream-jmac/remote-sandbox-errors.tar.gz
_sandboxremote.py: Use the standard SandboxError.jmac/remote-sandbox-errors
Replaces the custom one which was erroneously added during development. Fixes #746.
-rw-r--r--buildstream/sandbox/_sandboxremote.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/buildstream/sandbox/_sandboxremote.py b/buildstream/sandbox/_sandboxremote.py
index f522cc772..e27661233 100644
--- a/buildstream/sandbox/_sandboxremote.py
+++ b/buildstream/sandbox/_sandboxremote.py
@@ -28,10 +28,7 @@ from ..storage._filebaseddirectory import FileBasedDirectory
from ..storage._casbaseddirectory import CasBasedDirectory
from .._protos.build.bazel.remote.execution.v2 import remote_execution_pb2, remote_execution_pb2_grpc
from .._protos.google.rpc import code_pb2
-
-
-class SandboxError(Exception):
- pass
+from .._exceptions import SandboxError
# SandboxRemote()