summaryrefslogtreecommitdiff
path: root/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/element.py')
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index bc939bc92..dd1169f15 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1262,7 +1262,7 @@ class Element(Plugin):
for source in self.__sources:
old_ref = source.get_ref()
new_ref = source._track()
- refs.append((source._get_unique_id(), new_ref))
+ refs.append((source._unique_id, new_ref))
# Complimentary warning that the new ref will be unused.
if old_ref != new_ref and self._get_workspace():