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
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
31679e7c
Commit
31679e7c
authored
Jun 10, 2008
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed wrong split when using the += and -= syntax (mustapha)
parent
93e734f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CHANGES.txt
CHANGES.txt
+2
-1
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+3
-3
No files found.
CHANGES.txt
View file @
31679e7c
...
...
@@ -4,9 +4,10 @@ Status
Change History
**************
1.0.5 (
unreleased
)
1.0.5 (
2008-06-10
)
==================
- Fixed wrong split when using the += and -= syntax (mustapha)
1.0.4 (2008-06-10)
==================
...
...
src/zc/buildout/buildout.py
View file @
31679e7c
...
...
@@ -1156,12 +1156,12 @@ def _update_section(s1, s2):
for
k
,
v
in
s2
.
items
():
if
k
.
endswith
(
'+'
):
key
=
k
.
rstrip
(
' +'
)
s2
[
key
]
=
"
\
n
"
.
join
(
s1
.
get
(
key
,
""
).
split
(
)
+
s2
[
k
].
split
(
))
s2
[
key
]
=
"
\
n
"
.
join
(
s1
.
get
(
key
,
""
).
split
(
'
\
n
'
)
+
s2
[
k
].
split
(
'
\
n
'
))
del
s2
[
k
]
elif
k
.
endswith
(
'-'
):
key
=
k
.
rstrip
(
' -'
)
s2
[
key
]
=
"
\
n
"
.
join
([
v
for
v
in
s1
.
get
(
key
,
""
).
split
()
if
v
not
in
s2
[
k
].
split
()])
s2
[
key
]
=
"
\
n
"
.
join
([
v
for
v
in
s1
.
get
(
key
,
""
).
split
(
'
\
n
'
)
if
v
not
in
s2
[
k
].
split
(
'
\
n
'
)])
del
s2
[
k
]
s1
.
update
(
s2
)
...
...
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