fail in recursive extended sections (macros)

Bug #660946 reported by Dylan Jay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Buildout
New
Undecided
Unassigned

Bug Description

[buildout]
parts = part1 part2

[mypart]
recipe = blah

[part1]
<= mypart

[part2]
<= part1

This will fail with a "no recipe found for part2".

It looks like the reason is in in _do_extend_raw
Line 1060: to_do = data.pop('<', None)

Since the data extension is popped remove from part1 first, part2 will fail extend from just part1 and not mypart.
The work around is

[part2]
<= mypart
     part1

But you wouldn't expect to have to do that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.