[Zope] How to access Zope root in Script (Python)

Chris Withers chrisw@nipltd.com
Fri, 29 Nov 2002 15:52:52 +0000


tom smith wrote:
> 
> 
> On Friday, November 29, 2002, at 12:21 PM, Chris Withers wrote:
> 
>             Oh yes it does, works fine for me in Zope 2.6.
> 
> 
> Doesn't work for me in 2.6

What, precisely, doesn't work?!

return 'This:'+repr(context.restrictedTraverse('/')) ->
This:<Application instance at 011B9E30>

...which is exactly what I'd expect.

What would you expect?

Chris