[Zope3-Users] Registered utility is never found

Benji York benji at zope.com
Tue Dec 12 12:39:37 EST 2006


Tom Gross wrote:
>     you are trying to lookup the utility with the name None. If you 
> don't specify a name when registering the utility,
> omit the second parameter: zapi.getUtility(IInitIndicator)

In other words, the name of an unnamed utility isn't None, but the empty 
string.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope3-users mailing list