increment in base buildout causes unexpected results
Bug #660918 reported by
Dylan Jay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
If you have
base.cfp >
[buildout]
parts += blah
buildout.cfg >
parts += something
This will result in parts = blah which is unexpected and painful to debug.
The bug is in the function
def _update(d1, d2):
for section in d2:
if section in d1:
else:
return d1
when parsing base you'd end up with both "parts" and "parts+" in the section. Then in _update_section, one of the 'parts' will be lost.
To post a comment you must log in.
sorry that should be
base.cfg ------- ------- ------- --
-------
[buildout]
parts += blah
buildout.cfg ------- ------- ------- --
-------
[buildout]
extends = base.cfg
parts += something