[Zope] uncataloging
Peter Bengtsson
peter at fry-it.com
Thu Aug 14 04:17:14 EDT 2008
I don't know how to uncatalog a brain but I do know how to uncatalog a
normal zope object::
# to uncatalog 'self'
path = '/'.join(self.getPhysicalPath())
self.MyCatalog.uncatalog_object(path)
# to uncatalog some other know object
path = '/'.join(self.some_object.getPhysicalPath())
self.MyCatalog.uncatalog_object(path)
2008/8/14 Darryl Caldwell <darryl.caldwell at gmail.com>:
> Hey folks,
>
> I have looked at the source of Catalog.py but am still confused about
> what parameters I need to uncatalog an object.
>
> Is the uid the same as the object id? That which is returned from
> obj.getId(), or is it the same as the object Identifier listed on the
> Catalog tab within the catalog? Thanks in advance. Code samples
> welcome.
>
> -d
> _______________________________________________
> Zope maillist - Zope at 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 )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
More information about the Zope
mailing list