+= for as first declaration makes later += fail
Bug #458363 reported by
Florian Friesdorf
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
I had:
versions.cfg:
[versions]
x = 1
y = 2
....
base.cfg:
[buildout]
extends = versions.cfg
parts += zope2
...
devel.cfg:
[buildout]
extends = base.cfg
parts += instance
The first parts += should be parts =, as there is no previously defined parts. However, the result is not what I would expect: There was no error message, it build the zope2 part and then stopped - no instance part was built.
To post a comment you must log in.
I have the same problem with zc.buildout 1.4.2, I'm sure it worked before.
Here is the example: dist.plone. org/release/ 3.3.2 dist.plone. org/thirdparty
base.cfg
[buildout]
find-links +=
http://
http://
buildout.cfg pypi.company. com/pypi/ simple
[buildout]
extends = base.cfg
find-links +=
http://
bin/buildout annotate
Annotated sections
==================
[buildout]
find-links=
http:// dist.plone. org/release/ 3.3.2 dist.plone. org/thirdparty etin/tmp/ zc.buildout- issue/base. cfg
http://
+= /home/vincentfr
And I want here: dist.plone. org/release/ 3.3.2 dist.plone. org/thirdparty
find-links=
http://
http://
http:// pypi.company. com/pypi/ simple vincentfretin/ tmp/zc. buildout- issue/base. cfg etin/tmp/ zc.buildout- issue/buildout. cfg
/home/
+= /home/vincentfr