summaryrefslogtreecommitdiff
path: root/buildstream/__init__.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-08 20:40:08 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-08 21:27:21 +0900
commit213d9072b684d2dff78d8b4f1c7cfa9d6335b0d0 (patch)
tree8dc7a203d486e45430cadaf5a4e33e720d1ef015 /buildstream/__init__.py
parent34ba445fd1963acada0733c196483c98a57fd753 (diff)
downloadbuildstream-213d9072b684d2dff78d8b4f1c7cfa9d6335b0d0.tar.gz
Refactor: Move context.py -> _context.py
Consequently: o Changed Plugin.get_context() to a private Plugin._get_context() accessor. o Updated anything which imports Context to do so from private _context module o Updated docs to exclude the now private Context
Diffstat (limited to 'buildstream/__init__.py')
-rw-r--r--buildstream/__init__.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/buildstream/__init__.py b/buildstream/__init__.py
index b3751a6e3..cde1b43e5 100644
--- a/buildstream/__init__.py
+++ b/buildstream/__init__.py
@@ -18,11 +18,8 @@
# Authors:
# Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
-# Core components
-from .context import Context
-from .sandbox import Sandbox, SandboxFlags
-
# Plugin auther facing APIs
+from .sandbox import Sandbox, SandboxFlags
from .plugin import Plugin
from .source import Source, SourceError, Consistency
from .element import Element, ElementError, Scope