From 2cb09f3463833610c4ce5a70162818643662658d Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 6 Nov 2017 18:29:30 +0900 Subject: 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 --- buildstream/source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildstream/source.py') 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. -- cgit v1.2.1