summaryrefslogtreecommitdiff
path: root/buildstream/_ostree.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-03-10 17:57:09 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-03-10 17:57:09 +0900
commitdfddaed128b6d12b13698840218a1dcd89854848 (patch)
tree0d70d773cda464def14b8c511f8e0870682a1554 /buildstream/_ostree.py
parentb8c2915a33cdf889088355f344c86db45ffd097e (diff)
downloadbuildstream-dfddaed128b6d12b13698840218a1dcd89854848.tar.gz
_ostree.py: Make internal OSTreeError derive from _BstError
This makes sure they are propagated correctly from child processes.
Diffstat (limited to 'buildstream/_ostree.py')
-rw-r--r--buildstream/_ostree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/_ostree.py b/buildstream/_ostree.py
index 53ca57a3c..73259319c 100644
--- a/buildstream/_ostree.py
+++ b/buildstream/_ostree.py
@@ -23,6 +23,7 @@
# Code based on Jürg's artifact cache and Andrew's ostree plugin
#
import os
+from .exceptions import _BstError
import gi
gi.require_version('OSTree', '1.0')
@@ -31,7 +32,7 @@ from gi.repository.GLib import Variant, VariantDict # nopep8
# For users of this file, they must expect (except) it.
-class OSTreeError(Exception):
+class OSTreeError(_BstError):
pass