summaryrefslogtreecommitdiff
path: root/buildstream/source.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-06 18:29:30 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-06 18:29:30 +0900
commit2cb09f3463833610c4ce5a70162818643662658d (patch)
tree9bff9904f9a0ad816089ef761d52538d557d1847 /buildstream/source.py
parent0ed7bd122679f82158a000a8bca5cd868fbdfb4e (diff)
downloadbuildstream-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.py4
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.