summaryrefslogtreecommitdiff
path: root/src/buildstream/sandbox/_sandboxreapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/sandbox/_sandboxreapi.py')
-rw-r--r--src/buildstream/sandbox/_sandboxreapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/sandbox/_sandboxreapi.py b/src/buildstream/sandbox/_sandboxreapi.py
index c2b6cac48..26fe5f2b2 100644
--- a/src/buildstream/sandbox/_sandboxreapi.py
+++ b/src/buildstream/sandbox/_sandboxreapi.py
@@ -76,7 +76,7 @@ class SandboxREAPI(Sandbox):
# Ensure mount point exists in sandbox
mount_point_components = mount_point.split(os.path.sep)
- if not vdir._exists(*mount_point_components):
+ if not vdir.exists(*mount_point_components):
if os.path.isdir(mount_source):
# Mounting a directory, mount point must be a directory
vdir.descend(*mount_point_components, create=True)