Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/r/Products.CMFContentPanels-2.6b2/Products/CMFContentPanels/Extensions/Install.py   Products.CMFContentPanels(Download)
from Products.CMFContentPanels.config import PROJECTNAME, GLOBALS, NEW_VIEW_METHODS
from Products.CMFContentPanels.config import PLONE_VERSION
from Products.CMFContentPanels.ContentPanelsTool import ContentPanelsTool
 
from Products.StandardCacheManagers import RAMCacheManager
 
        if not hasattr(portal, 'portal_contentpanels'):
            portal._setObject( 'portal_contentpanels', ContentPanelsTool() )
            out.write('Added ConentPanels Tool\n')
 

src/p/r/Products.CMFContentPanels-HEAD/Products/CMFContentPanels/Extensions/Install.py   Products.CMFContentPanels(Download)
from Products.CMFContentPanels.config import PROJECTNAME, GLOBALS, NEW_VIEW_METHODS
from Products.CMFContentPanels.config import PLONE_VERSION
from Products.CMFContentPanels.ContentPanelsTool import ContentPanelsTool
 
from Products.StandardCacheManagers import RAMCacheManager
 
        if not hasattr(portal, 'portal_contentpanels'):
            portal._setObject( 'portal_contentpanels', ContentPanelsTool() )
            out.write('Added ConentPanels Tool\n')