You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/12/03 07:12:42 UTC
[buildstream] branch tristan/debug-cache-keys updated: DEBUG
This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch tristan/debug-cache-keys
in repository https://gitbox.apache.org/repos/asf/buildstream.git
The following commit(s) were added to refs/heads/tristan/debug-cache-keys by this push:
new 36a7e358d DEBUG
36a7e358d is described below
commit 36a7e358d2c822509eae3da936cee79336be5059
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Sat Dec 3 16:12:07 2022 +0900
DEBUG
---
src/buildstream/buildelement.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/buildstream/buildelement.py b/src/buildstream/buildelement.py
index df3e60b0c..4ad0335da 100644
--- a/src/buildstream/buildelement.py
+++ b/src/buildstream/buildelement.py
@@ -214,7 +214,10 @@ class BuildElement(Element):
self._command_subdir = self.get_variable("command-subdir") # pylint: disable=attribute-defined-outside-init
for command_name in _command_steps:
- self.__commands[command_name] = node.get_str_list(command_name, [])
+ command_list = node.get_str_list(command_name, [])
+ self.__commands[command_name] = command_list
+ import sys
+ sys.stderr.write("\n\nLOAD COMMAND NAME: '{}'\nLOAD COMMAND LIST: '{}'\n".format(command_name, command_list)
def configure_dependencies(self, dependencies):