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
0751e476
Commit
0751e476
authored
Jan 22, 2014
by
Peter Uittenbroek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for 'Extending sections (macros)' in combination with += and -=. Which did not work
parent
ef4dcb2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+5
-1
No files found.
src/zc/buildout/buildout.py
View file @
0751e476
...
@@ -1232,7 +1232,10 @@ class Options(DictMixin):
...
@@ -1232,7 +1232,10 @@ class Options(DictMixin):
raise
zc
.
buildout
.
UserError
(
"No section named %r"
%
iname
)
raise
zc
.
buildout
.
UserError
(
"No section named %r"
%
iname
)
result
.
update
(
self
.
_do_extend_raw
(
iname
,
raw
,
doing
))
result
.
update
(
self
.
_do_extend_raw
(
iname
,
raw
,
doing
))
result
.
update
(
data
)
result
=
_annotate_section
(
result
,
""
)
data
=
_annotate_section
(
data
.
copy
(),
""
)
_update_section
(
result
,
data
)
result
=
_unannotate_section
(
anno_result
)
result
.
pop
(
'<'
,
None
)
result
.
pop
(
'<'
,
None
)
return
result
return
result
finally
:
finally
:
...
@@ -1943,6 +1946,7 @@ def main(args=None):
...
@@ -1943,6 +1946,7 @@ def main(args=None):
try
:
try
:
buildout
=
Buildout
(
config_file
,
options
,
buildout
=
Buildout
(
config_file
,
options
,
user_defaults
,
command
,
args
)
user_defaults
,
command
,
args
)
print
command
,
args
getattr
(
buildout
,
command
)(
args
)
getattr
(
buildout
,
command
)(
args
)
except
SystemExit
:
except
SystemExit
:
logging
.
shutdown
()
logging
.
shutdown
()
...
...
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