[Framework-Team] Re: Merged PLIPs 184, 200, 202, 203 and 204

Martijn Pieters mj at zopatista.com
Sun Mar 2 11:34:06 UTC 2008


On Sat, Mar 1, 2008 at 7:20 PM, Martin Aspeli <optilude at gmx.net> wrote:
>  > (1) Why is the line
>  >
>  >   <five:registerPackage package="." initialize=".initialize" />
>  >
>  > added -- isn't this only to allow a package to be installable as a Zope2
>  > product? Is this needed for plone.app.portlets?
>
>  It probably isn't. Can you take it out and verify that everything still
>  works? If so, please commit the removal.

If it doesn't work, do please remove the 'initialize' attribute and
the initialize method from __init__.py. You only need those when
registering object factories with Zope (so content types, tools, etc).
The attribute is optional and should be removed when the initialize
method is empty.

-- 
Martijn Pieters




More information about the Framework-Team mailing list