diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-08 20:40:08 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-08 21:27:21 +0900 |
commit | 213d9072b684d2dff78d8b4f1c7cfa9d6335b0d0 (patch) | |
tree | 8dc7a203d486e45430cadaf5a4e33e720d1ef015 /buildstream/sandbox | |
parent | 34ba445fd1963acada0733c196483c98a57fd753 (diff) | |
download | buildstream-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/sandbox')
-rw-r--r-- | buildstream/sandbox/_sandboxchroot.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/buildstream/sandbox/_sandboxchroot.py b/buildstream/sandbox/_sandboxchroot.py index 20ead6d84..d8da7e3b5 100644 --- a/buildstream/sandbox/_sandboxchroot.py +++ b/buildstream/sandbox/_sandboxchroot.py @@ -38,8 +38,6 @@ from . import Sandbox, SandboxFlags class SandboxChroot(Sandbox): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - - self.platform = self._get_context()._platform self.mount_map = None def run(self, command, flags, cwd=None, env=None): |