summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan van Berkom <tristan@codethink.co.uk>2020-09-23 16:33:53 +0900
committerTristan van Berkom <tristan@codethink.co.uk>2020-09-23 19:33:48 +0900
commitea753a4ee9dc12d37ce86d50f4c01ef9fcb2d874 (patch)
treedcf9d4a562be08544d439451736dccd394883f23
parent34d69a5bee001c813842594d966b52a16cbe187d (diff)
downloadbuildstream-ea753a4ee9dc12d37ce86d50f4c01ef9fcb2d874.tar.gz
__init__.py: Added missing import of Directory, this is public API
We don't allow importing symbols from sub-packages of BuildStream, so any public API must find it's way to the toplevel __init__.py.
-rw-r--r--src/buildstream/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildstream/__init__.py b/src/buildstream/__init__.py
index c6722023f..7e7cb1514 100644
--- a/src/buildstream/__init__.py
+++ b/src/buildstream/__init__.py
@@ -30,6 +30,7 @@ if "_BST_COMPLETION" not in os.environ:
from .utils import UtilError, ProgramNotFoundError
from .sandbox import Sandbox, SandboxFlags, SandboxCommandError
+ from .storage import Directory
from .types import CoreWarnings, OverlapAction
from .node import MappingNode, Node, ProvenanceInformation, ScalarNode, SequenceNode
from .plugin import Plugin