Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/r/a/raptus.multilanguageplone-1.1a3/raptus/multilanguageplone/Extensions/Install.py   raptus.multilanguageplone(Download)
from Products.CMFCore.utils import getToolByName
 
from raptus.multilanguageplone.setuphandlers import indexes, _extra, text_extra
 
def uninstall(portal, reinstall=False):
                    catalog.delIndex(id)
            if not id in catalog.indexes():
                extra = _extra()
                if new == 'MultilanguageZCTextIndex':
                    extra = text_extra