summaryrefslogtreecommitdiff
path: root/src/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r--src/buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 446b20352..0cd3fcbe1 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -2606,7 +2606,7 @@ class Element(Plugin):
continue
provenance = node.get_provenance()
- if not provenance.is_synthetic:
+ if not provenance._is_synthetic:
raise LoadError(LoadErrorReason.PROTECTED_VARIABLE_REDEFINED,
"{}: invalid redefinition of protected variable '{}'"
.format(provenance, var))