summaryrefslogtreecommitdiff
path: root/buildstream/_project.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_project.py')
-rw-r--r--buildstream/_project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_project.py b/buildstream/_project.py
index f49d7aa84..1f8a7a483 100644
--- a/buildstream/_project.py
+++ b/buildstream/_project.py
@@ -411,7 +411,7 @@ class Project():
# Parse the host mount
path = _yaml.node_get(host_file_desc, str, 'path')
- host_path = _yaml.node_get(host_file_desc, str, 'host_path', default_value='') or None
+ host_path = _yaml.node_get(host_file_desc, str, 'host_path', default_value=None)
optional = _yaml.node_get(host_file_desc, bool, 'optional', default_value=False)
mount = HostMount(path, host_path, optional)