diff options
author | Gökçen Nurlu <gnurlu1@bloomberg.net> | 2019-02-11 10:47:16 +0000 |
---|---|---|
committer | Gökçen Nurlu <gnurlu1@bloomberg.net> | 2019-02-11 10:47:16 +0000 |
commit | 97c7151f61c55739e65720f50910b880d5c03bd5 (patch) | |
tree | 2a315ad617f4c47c4e43a4221725e53c8802c2d1 /buildstream/_variables.py | |
parent | 4ed12f6101547786863c2d8deb68d1c50c005d66 (diff) | |
download | buildstream-test_pyyaml.tar.gz |
Continue lazy provenance infotest_pyyaml
Diffstat (limited to 'buildstream/_variables.py')
-rw-r--r-- | buildstream/_variables.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/buildstream/_variables.py b/buildstream/_variables.py index 95b80cc08..c329475cf 100644 --- a/buildstream/_variables.py +++ b/buildstream/_variables.py @@ -43,7 +43,6 @@ _VARIABLE_MATCH = r'\%\{([a-zA-Z][a-zA-Z0-9_-]*)\}' class Variables(): def __init__(self, node): - self.original = node self.variables = self._resolve(node) @@ -147,8 +146,8 @@ class Variables(): unmatched += item_unmatched # Carry over provenance - resolved[_yaml.PROVENANCE_KEY] = variables[_yaml.PROVENANCE_KEY] - return (resolved, unmatched) + # resolved[_yaml.PROVENANCE_KEY] = variables[_yaml.PROVENANCE_KEY] + return (_yaml.BstNode(variables.bst_filename, resolved, variables.path), unmatched) # Resolve it until it's resolved or broken # |