summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-06 18:38:25 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-06 18:38:25 +0900
commitf507f6f52d205293d16c1fae9de58ef641d5190a (patch)
treeaea5ff08db517807441ee89f36d12f8f38524926
parent97110ee4a93afac3230e98da56a535f45554b338 (diff)
downloadbuildstream-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.py2
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