summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim+gitlab@mode7.co.uk>2018-11-06 17:16:31 +0000
committerJim MacArthur <jim+gitlab@mode7.co.uk>2018-11-06 17:16:31 +0000
commit1f7acf748babea91909489d696ce1dcce2232f60 (patch)
tree230b59e12284ed5cd44ea412d93c8ea595ea7bdf
parent0c09fb9c7f5eef9bb144eefe044aaa898a73e5ed (diff)
parentb4eec489db476c31be116dbc4eaeb4264c6c0347 (diff)
downloadbuildstream-1f7acf748babea91909489d696ce1dcce2232f60.tar.gz
Merge branch 'jmac/remote-sandbox-errors' into 'master'
_sandboxremote.py: Use the standard SandboxError Closes #746 See merge request BuildStream/buildstream!931
-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()