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

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

src/p/r/Products.CMFContentPanels-2.6b2/Products/CMFContentPanels/Extensions/Install.py   Products.CMFContentPanels(Download)
from Products.CMFCore.utils import getToolByName
from Products.Archetypes.public import listTypes
from Products.Archetypes.Extensions.utils import installTypes, install_subskin
from Products.CMFContentPanels.config import PROJECTNAME, GLOBALS, NEW_VIEW_METHODS
from Products.CMFContentPanels.config import PLONE_VERSION
    portal = getToolByName(self, 'portal_url').getPortalObject()
    setup_tool = getToolByName(portal, 'portal_setup')
    if PLONE_VERSION >= 3:
        setup_tool.runAllImportStepsFromProfile(
                "profile-Products.CMFContentPanels:default",

src/p/r/Products.CMFContentPanels-HEAD/Products/CMFContentPanels/Extensions/Install.py   Products.CMFContentPanels(Download)
from Products.CMFCore.utils import getToolByName
from Products.Archetypes.public import listTypes
from Products.Archetypes.Extensions.utils import installTypes, install_subskin
from Products.CMFContentPanels.config import PROJECTNAME, GLOBALS, NEW_VIEW_METHODS
from Products.CMFContentPanels.config import PLONE_VERSION
    portal = getToolByName(self, 'portal_url').getPortalObject()
    setup_tool = getToolByName(portal, 'portal_setup')
    if PLONE_VERSION >= 3:
        setup_tool.runAllImportStepsFromProfile(
                "profile-Products.CMFContentPanels:default",

src/p/r/Products.CMFContentPanels-2.6b2/Products/CMFContentPanels/ContentPanels.py   Products.CMFContentPanels(Download)
 
from Products.CMFContentPanels import MessageFactory as _
from Products.CMFContentPanels.config import PLONE_VERSION
from Products.CMFContentPanels.config import VOC_PAGE_LAYOUT, PROJECTNAME
from Products.CMFContentPanels.interfaces import IContentPanels

src/p/r/Products.CMFContentPanels-HEAD/Products/CMFContentPanels/ContentPanels.py   Products.CMFContentPanels(Download)
 
from Products.CMFContentPanels import MessageFactory as _
from Products.CMFContentPanels.config import PLONE_VERSION
from Products.CMFContentPanels.config import VOC_PAGE_LAYOUT, PROJECTNAME
from Products.CMFContentPanels.interfaces import IContentPanels