Commit 6b6ce0a1 authored by Julien Muchembled's avatar Julien Muchembled

fixup! Support ${:_profile_base_location_}.

parent c37f0a49
......@@ -1886,15 +1886,11 @@ def _open(base, filename, seen, dl_options, override, downloaded):
filename)
# find and expose _profile_base_location_
for section, value in result.items():
_profile_base_location_ = None
for k,v in value.items():
if '${:_profile_base_location_}' in v:
_profile_base_location_ = base
if _profile_base_location_ is not None:
break
if _profile_base_location_ is not None:
value['_profile_base_location_'] = _profile_base_location_
for section in result.values():
for value in section.values():
if '${:_profile_base_location_}' in value:
section['_profile_base_location_'] = base
break
result = _annotate(result, filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment