Fred Drake a écrit :
On Dec 14, 2007 3:48 PM, Marius Gedminas <[EMAIL PROTECTED]> wrote:
Or maybe reuse getInformationFromEvent from
zope.app.appsetup.bootstrap, although it smells like an internal
It does, but you wouldn't be the first to use it outside it's module. :-)
Actually, wouldn't it be nice (and logical) to transmit the root folder along
with the event?
It would be easier:
root = event.root
Though it would require to add an attribute to IDatabaseOpenedWithRootEvent
But that wouldn't hurt a lot...
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -