[Framework-Team] Re: Merged PLIPs 184, 200, 202, 203 and 204
Wichert Akkerman
wichert at wiggy.net
Sun Mar 2 11:57:46 UTC 2008
Martijn Pieters wrote:
> 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).
Or when you want the quickinstaller to be aware of your package.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Framework-Team
mailing list