Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.buildout
Commits
6b6ce0a1
Commit
6b6ce0a1
authored
May 03, 2020
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Support ${:_profile_base_location_}.
parent
c37f0a49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+5
-9
No files found.
src/zc/buildout/buildout.py
View file @
6b6ce0a1
...
...
@@ -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
:
for
section
in
result
.
values
():
for
value
in
section
.
values
():
if
'${:_profile_base_location_}'
in
value
:
section
[
'_profile_base_location_'
]
=
base
break
if
_profile_base_location_
is
not
None
:
value
[
'_profile_base_location_'
]
=
_profile_base_location_
result
=
_annotate
(
result
,
filename
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment