Commit 4d4d857b authored by Tarek Ziad's avatar Tarek Ziad

simplified stefan's example to avoid an external dependency for the test

parent e0872395
[buildout] [buildout]
develop = zc.recipe.egg_ . develop = zc.recipe.egg_ .
parts = parts =
test2.3 py2.3 oltest2.3
test2.4 py2.4 oltest2.4 test2.4 py2.4 oltest2.4
test2.5 py2.5 oltest2.5 test2.5 py2.5 oltest2.5
#test2.3 py2.3 oltest2.3
[python2.4]
executable = /usr/bin/python2.4z
[python2.5]
executable = /usr/bin/python2.5
[python2.3]
[py2.3] [py2.3]
recipe = zc.recipe.egg recipe = zc.recipe.egg
eggs = zc.buildout eggs = zc.buildout
......
...@@ -114,26 +114,22 @@ Test for 1.0.5 breakage as in https://bugs.launchpad.net/zc.buildout/+bug/239212 ...@@ -114,26 +114,22 @@ Test for 1.0.5 breakage as in https://bugs.launchpad.net/zc.buildout/+bug/239212
>>> write(sample_buildout, 'buildout.cfg', >>> write(sample_buildout, 'buildout.cfg',
... ''' ... '''
... [buildout] ... [buildout]
... parts= ... parts=python
... python
...
... foo = ${python:interpreter} ... foo = ${python:interpreter}
... ...
... [python] ... [python]
... recipe=zc.recipe.egg ... recipe=zc.recipe.egg
... eggs=ipython ... eggs=zc.buildout
... interpreter=python ... interpreter=python
... ''') ... ''')
>>> print system(buildout) >>> print system(buildout)
Unused options for buildout: 'foo'. Unused options for buildout: 'foo'.
Installing python. Installing python.
Getting distribution for 'ipython'. Generated script 'bin/buildout'.
Got ipython 0.8.3.
Generated script 'bin/ipython'.
Generated script 'bin/pycolor'.
Generated interpreter 'bin/python'. Generated interpreter 'bin/python'.
<BLANKLINE> <BLANKLINE>
The bug 239212 above would have got us an *AttrubuteError* on *buildout._allow_hosts*. The bug 239212 above would have got us an *AttributeError* on *buildout._allow_hosts*.
This was fixed in thhis changeset: This was fixed in this changeset:
http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/buildout.py?rev=87309&r1=87277&r2=87309 http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/buildout.py?rev=87309&r1=87277&r2=87309
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment