diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-06 18:38:25 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-06 18:38:25 +0900 |
commit | f507f6f52d205293d16c1fae9de58ef641d5190a (patch) | |
tree | aea5ff08db517807441ee89f36d12f8f38524926 | |
parent | 97110ee4a93afac3230e98da56a535f45554b338 (diff) | |
download | buildstream-f507f6f52d205293d16c1fae9de58ef641d5190a.tar.gz |
sandbox/_mount.py: Renamed _mounter.py
Disambiguate with the Mount and MountMap classes, which were
accidentally added to public API.
-rw-r--r-- | buildstream/sandbox/_mounter.py (renamed from buildstream/sandbox/_mount.py) | 4 | ||||
-rw-r--r-- | buildstream/sandbox/_sandboxchroot.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/buildstream/sandbox/_mount.py b/buildstream/sandbox/_mounter.py index f78d3aa3d..2983b85b9 100644 --- a/buildstream/sandbox/_mount.py +++ b/buildstream/sandbox/_mounter.py @@ -5,8 +5,8 @@ from .._exceptions import SandboxError from .. import utils, _signals -# A class to wrap the `mount` and `umount` commands -class Mount(object): +# A class to wrap the `mount` and `umount` system commands +class Mounter(object): @classmethod def _mount(cls, dest, src=None, mount_type=None, stdout=sys.stdout, stderr=sys.stderr, options=None, diff --git a/buildstream/sandbox/_sandboxchroot.py b/buildstream/sandbox/_sandboxchroot.py index 33f991b87..26e04e50e 100644 --- a/buildstream/sandbox/_sandboxchroot.py +++ b/buildstream/sandbox/_sandboxchroot.py @@ -30,7 +30,7 @@ from contextlib import contextmanager, ExitStack from .._exceptions import SandboxError from .. import utils from .. import _signals -from ._mount import Mount +from ._mounter import Mounter from . import Sandbox, SandboxFlags, MountMap |