summaryrefslogtreecommitdiff
path: root/src/buildstream/buildelement.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-03-03 17:18:11 +0100
committerJürg Billeter <j@bitron.ch>2020-03-10 15:46:04 +0000
commit7fbfccce44247122c5b9257e73328de16afa0445 (patch)
tree44e14a6c3e68e286905e1df825d5e856b58eac46 /src/buildstream/buildelement.py
parentf78e6ee55e98c91e2cef055e232df5b955ac7323 (diff)
downloadbuildstream-7fbfccce44247122c5b9257e73328de16afa0445.tar.gz
storage: Add public Directory.exists() method
Diffstat (limited to 'src/buildstream/buildelement.py')
-rw-r--r--src/buildstream/buildelement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/buildelement.py b/src/buildstream/buildelement.py
index acb079a56..95b085eba 100644
--- a/src/buildstream/buildelement.py
+++ b/src/buildstream/buildelement.py
@@ -280,7 +280,7 @@ class BuildElement(Element):
buildroot = self.get_variable("build-root")
buildroot_vdir = vdir.descend(*buildroot.lstrip(os.sep).split(os.sep))
- if buildroot_vdir._exists(marker_filename):
+ if buildroot_vdir.exists(marker_filename):
# Already prepared
return