variables: variables are now referenced by ${VAR}
Curl braces are mandatory and were added to solve the ambiguity. Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
3f1ab87f02
commit
330d1a4b34
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class Variables():
|
|||
return
|
||||
s = str(variable)
|
||||
v = self.expand(value)
|
||||
self._lookup_re[r'\$' + re.escape(s) + r'\b'] = v
|
||||
self._lookup_re[r'\${' + re.escape(s) + r'}'] = v
|
||||
self._lookup_env[self._add_env_prefix(s, consts.ENV_PREFIX)] = v
|
||||
|
||||
def add_dict(self, d):
|
||||
|
|
|
|||
Loading…
Reference in a new issue