summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim@mode7.co.uk>2018-05-27 16:12:08 +0100
committerJim MacArthur <jim@mode7.co.uk>2018-05-28 11:31:59 +0100
commit68d7c189199532c92b63cb5ad1f7553c019847b5 (patch)
tree9a86df6df41855960dd6c3685bad49409ed4b03f
parent94245ca1c5686b44a84f0198395391dc76f02091 (diff)
downloadbuildstream-68d7c189199532c92b63cb5ad1f7553c019847b5.tar.gz
Debug: Display the type of virtual directory being used by _assemble and stage_artifact
-rw-r--r--buildstream/element.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index a1466753b..85b0ed83a 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -630,6 +630,7 @@ class Element(Plugin):
# Hard link it into the staging area
#
vbasedir = sandbox.get_virtual_directory()
+ print("stage_artifact: got {} for {}".format(str(type(vbasedir)),self.name))
vstagedir = vbasedir \
if path is None \
else vbasedir.descend(path.lstrip(os.sep).split(os.sep))
@@ -1436,7 +1437,7 @@ class Element(Plugin):
self.__sandbox(rootdir, output_file, output_file, self.__sandbox_config) as sandbox: # nopep8
sandbox_vroot = sandbox.get_virtual_directory()
-
+ print("_assemble: Got a {} for element {}".format(str(type(sandbox_vroot)),self.name))
# By default, the dynamic public data is the same as the static public data.
# The plugin's assemble() method may modify this, though.
self.__dynamic_public = _yaml.node_copy(self.__public)