Did I find the right examples for you? yes no

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

src/p/r/Products.PloneGlossary-1.7/Products/PloneGlossary/patches.py   Products.PloneGlossary(Download)
from Products.CMFCore.utils import getToolByName
 
from config import PATCH_ZCTextIndex, INDEX_SEARCH_GLOSSARY
from config import PLONEGLOSSARY_TOOL
 
        tree = parseQuery(query_str)
 
        if self.getId() in INDEX_SEARCH_GLOSSARY:
 
            gtool = getToolByName(self, PLONEGLOSSARY_TOOL)