diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-03-10 17:57:09 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-03-10 17:57:09 +0900 |
commit | dfddaed128b6d12b13698840218a1dcd89854848 (patch) | |
tree | 0d70d773cda464def14b8c511f8e0870682a1554 /buildstream/_ostree.py | |
parent | b8c2915a33cdf889088355f344c86db45ffd097e (diff) | |
download | buildstream-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.py | 3 |
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 |