release 1.0.5 breakage: AttributeErroro _allow_hosts
Bug #239212 reported by
Stefan Eletzhofer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The 1.0.5 release of zc.buildout breaks if using:
-------
[buildout]
parts=
python
foo = ${python:
[python]
recipe=
interpreter=python
-------
The following fixes the issue for me, but I dont know if this
is a valid fix (patched file is zc/buildout/
840a841,844
> allow_hosts = buildout_
> allow_hosts = tuple([host.strip() for host in allow_hosts
> if host.strip() != ''])
>
848c852
< allow_hosts=
---
> allow_hosts=
Changed in zc.buildout: | |
status: | New → Fix Released |
To post a comment you must log in.
The actual error message was missing: ------- ------- -----8< ------- ------- ------- ------- -------
-------
While:
Initializing.
Getting section buildout.
Initializing section buildout.
Getting option buildout:foo.
Getting section python.
Initializing section python.
Installing recipe zc.recipe.egg.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
AttributeError: ------- ------- -----8< ------- ------- ------- ------- -------
Buildout instance has no attribute '_allow_hosts'
-------