summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/element.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 82f510ff5..8c8b9c725 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -1359,7 +1359,7 @@ class Element(Plugin):
refs = []
for index, source in enumerate(self.__sources):
if source.BST_KEY_REQUIRES_STAGE and not source.BST_REQUIRES_PREVIOUS_SOURCES_TRACK:
- refs.append((source._unique_id, source._get_unique_key()))
+ refs.append((source._unique_id, source._generate_key([])))
continue
old_ref = source.get_ref()
new_ref = source._track(self.__sources[0:index])
@@ -2165,7 +2165,7 @@ class Element(Plugin):
for source in self.__sources:
self.__cache_key_dict['sources'].append(
- {'key': source._get_unique_key(),
+ {'key': source._generate_key([]),
'name': source._get_source_name()})
self.__cache_key_dict['fatal-warnings'] = sorted(project._fatal_warnings)