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
Jérome Perrin
slapos.buildout
Commits
da697e8e
Commit
da697e8e
authored
Jun 22, 2011
by
Lucas Carvalho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
To use slapos, such patch is required. comes from bug_767190.
parent
471fe5bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+16
-0
No files found.
src/zc/buildout/buildout.py
View file @
da697e8e
...
...
@@ -1447,6 +1447,22 @@ def _open(base, filename, seen, dl_options, override, downloaded):
filename
)
result
[
section
]
=
options
# find and expose _profile_base_location_ and _profile_location_
for
section
,
value
in
result
.
iteritems
():
_profile_base_location_
=
None
_profile_location_
=
None
for
k
,
v
in
value
.
iteritems
():
if
'${:_profile_base_location_}'
in
v
:
_profile_base_location_
=
base
if
'${:_profile_location_}'
in
v
:
_profile_location_
=
filename
if
_profile_base_location_
is
not
None
and
_profile_location_
is
not
None
:
break
if
_profile_base_location_
is
not
None
:
value
[
'_profile_base_location_'
]
=
_profile_base_location_
if
_profile_location_
is
not
None
:
value
[
'_profile_location_'
]
=
_profile_location_
result
=
_annotate
(
result
,
filename
)
if
root_config_file
and
'buildout'
in
result
:
...
...
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