[Twisted-web] data="../foo", or, how to prevent adding IData to centxt
Donovan Preston
twisted-web@twistedmatrix.com
Thu, 11 Dec 2003 13:30:27 -0500
On Dec 11, 2003, at 12:13 PM, Christopher Armstrong wrote:
> Donovan Preston wrote:
>
> (btw, I think you composed in HTML mode or something, and your code
> snippet lost its indentation)
>
>> def render_select(self, ctx, data):
>> try:
>> rv = ctx.keyed(data)
>> except context.NodeNotFound:
>> rv = ctx.keyed('else')
>> return rv(data=ctx.locate(IData, depth=2))
>
> So others know, this isn't working. DP and I are working on fixing
> it...
The bug which was preventing this from working has been fixed in cvs.
dp