Daniel Nouri schrieb:
robert rottermann writes:

Sometimes a catalog query returns brains that point to non existing objects.

how can I remove such brains from the index programmatically  without
using the portal_catalag/advanced/update tab?

  brain.aq_parent._catalog.uncatalogObject(brain.getPath())


Daniel

brilliant, exactly what I needed
thanks
robert
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to