[Zope3-Users] getUtilitiesFor without context

Tom Dossis td at yoma.com.au
Wed Jan 10 17:29:01 EST 2007


Tom Dossis wrote:
> Florian Lindner wrote:
>>> Use:
>>>   # work out what your site
>>>   hook.set(site)
>> Mhh, the hook object does not exist, hooks does not have a attribute set. What 
>> object do you refer to?
> 
> My apologies, should be:
> 
>   hooks.set(site)

    hooks.setSite(site)


More information about the Zope3-users mailing list