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): ...@@ -1886,15 +1886,11 @@ def _open(base, filename, seen, dl_options, override, downloaded):
filename) filename)
# find and expose _profile_base_location_ # find and expose _profile_base_location_
for section, value in result.items(): for section in result.values():
_profile_base_location_ = None for value in section.values():
for k,v in value.items(): if '${:_profile_base_location_}' in value:
if '${:_profile_base_location_}' in v: section['_profile_base_location_'] = base
_profile_base_location_ = base break
if _profile_base_location_ is not None:
break
if _profile_base_location_ is not None:
value['_profile_base_location_'] = _profile_base_location_
result = _annotate(result, filename) 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