diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-06 18:29:30 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-06 18:29:30 +0900 |
commit | 2cb09f3463833610c4ce5a70162818643662658d (patch) | |
tree | 9bff9904f9a0ad816089ef761d52538d557d1847 /buildstream/source.py | |
parent | 0ed7bd122679f82158a000a8bca5cd868fbdfb4e (diff) | |
download | buildstream-2cb09f3463833610c4ce5a70162818643662658d.tar.gz |
Refactoring: Renamed _BstError -> BstError
Base class for exceptions is now a part of the already private _exceptions module
Also moved PipelineError from _pipeline -> _exceptions module
Diffstat (limited to 'buildstream/source.py')
-rw-r--r-- | buildstream/source.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/source.py b/buildstream/source.py index aeae41220..629d41a6b 100644 --- a/buildstream/source.py +++ b/buildstream/source.py @@ -28,7 +28,7 @@ import shutil from contextlib import contextmanager from . import _yaml, _signals, utils -from ._exceptions import _BstError, ImplError, LoadError, LoadErrorReason +from ._exceptions import BstError, ImplError, LoadError, LoadErrorReason from . import Plugin @@ -55,7 +55,7 @@ class Consistency(): """ -class SourceError(_BstError): +class SourceError(BstError): """Raised by Source implementations. This exception is raised when a :class:`.Source` encounters an error. |