notifyModified called when object re-indexed

Roché Compaan <roche-kb4xc5yObU3kQYj/0HfcvhBnub05S5/[email protected]> Tue, 13 Jun 2006 17:03:12 +0200
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Organization Upfront Systems
Message-ID <[email protected]>
Can somebody explain why notifyModified is called from CatalogMultiplex
when re-indexing an object only if idxs is an empty list?

Here's the relevant code:

    def reindexObject(self, idxs=[]):
        if idxs == []:
            if hasattr(aq_base(self), 'notifyModified'):
                self.notifyModified()



-- 
Roché Compaan
Upfront Systems                 http://www.upfrontsystems.co.za