summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/elements/import.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugins/elements/import.py')
-rw-r--r--src/buildstream/plugins/elements/import.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/plugins/elements/import.py b/src/buildstream/plugins/elements/import.py
index d9961aa6f..de7ee8af4 100644
--- a/src/buildstream/plugins/elements/import.py
+++ b/src/buildstream/plugins/elements/import.py
@@ -46,8 +46,8 @@ class ImportElement(Element):
def configure(self, node):
node.validate_keys(["source", "target"])
- self.source = self.node_subst_vars(node.get_scalar("source"))
- self.target = self.node_subst_vars(node.get_scalar("target"))
+ self.source = node.get_str("source")
+ self.target = node.get_str("target")
def preflight(self):
# Assert that we have at least one source to fetch.