diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-06 18:15:33 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-06 18:15:33 +0900 |
commit | 27aac095bdb6b0025c989572789a1f98d8d89b3c (patch) | |
tree | 0ca7572b7db4b8b5fcb47e08fda41e22bbe41990 /buildstream/_pipeline.py | |
parent | 0defb35c0334d78e48bcf21ec6b106b67761e1bc (diff) | |
download | buildstream-27aac095bdb6b0025c989572789a1f98d8d89b3c.tar.gz |
Refactoring: Move exceptions module to be private
Hide all of buildstream's internal exceptions from the API surface.
Diffstat (limited to 'buildstream/_pipeline.py')
-rw-r--r-- | buildstream/_pipeline.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py index edaf13318..1df57a9c1 100644 --- a/buildstream/_pipeline.py +++ b/buildstream/_pipeline.py @@ -29,12 +29,12 @@ from operator import itemgetter from tempfile import TemporaryDirectory from pluginbase import PluginBase -from .exceptions import _BstError, _ArtifactError +from ._exceptions import _BstError, _ArtifactError, ImplError, LoadError from ._message import Message, MessageType from ._elementfactory import ElementFactory from ._loader import Loader from ._sourcefactory import SourceFactory -from . import Consistency, ImplError, LoadError +from . import Consistency from . import Scope from . import _site from . import _yaml, utils |