Did I find the right examples for you? yes no

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

src/i/c/iccommunity.mediawiki-1.0-dev-r371/iccommunity/mediawiki/setuphandlers.py   iccommunity.mediawiki(Download)
from preferences import icCommunityManagementMediawikiRolesMapper, \
    icCommunityManagementMediawikiSQLServer
from config import HAS_PLONE3
from config import DEPENDENCIES
 
    if not sm.queryUtility(interfaces.IicCommunityManagementMediawikiRolesMapper,
                           name='iccommunity.configuration'):
        if HAS_PLONE3:
            sm.registerUtility(icCommunityManagementMediawikiRolesMapper(),
                               interfaces.IicCommunityManagementMediawikiRolesMapper,
    if not sm.queryUtility(interfaces.IicCommunityManagementMediawikiSQLServer,
                           name='iccommunity.configuration'):
        if HAS_PLONE3:
            sm.registerUtility(icCommunityManagementMediawikiSQLServer(),
                               interfaces.IicCommunityManagementMediawikiSQLServer,

src/i/c/icnews.acquire-0.9-dev-r371/icnews/acquire/setuphandlers.py   icnews.acquire(Download)
""" icnews.acquire setup handlers.
"""
import interfaces
from preferences import icNewsManagementAcquireSQLServer
from config import HAS_PLONE3
    if not sm.queryUtility(interfaces.IicNewsManagementAcquireSQLServer,
                           name='icnews.configuration'):
        if HAS_PLONE3:
            sm.registerUtility(icNewsManagementAcquireSQLServer(),
                               interfaces.IicNewsManagementAcquireSQLServer,

src/i/c/iccommunity.mailman-1.0-dev-r371/iccommunity/mailman/setuphandlers.py   iccommunity.mailman(Download)
import interfaces
from preferences import icCommunityManagementMailmanPersistence
from config import HAS_PLONE3
 
def setup_site(portal, out):
 
    if not sm.queryUtility(interfaces.IicCommunityManagementMailman, name='iccommunity.configuration'):
        if HAS_PLONE3:
            sm.registerUtility(icCommunityManagementMailmanPersistence(),
                               interfaces.IicCommunityManagementMailman,

src/i/c/icsemantic.thesaurus-1.0-dev-r371/icsemantic/thesaurus/setuphandlers.py   icsemantic.thesaurus(Download)
import interfaces
from preferences import icSemanticThesaurusConfiguration
from config import HAS_PLONE3
 
def ensure_site(context):
 
    if not sm.queryUtility(interfaces.IicSemanticThesaurusConfiguration, name='icsemantic.thesaurus.configuration'):
        if HAS_PLONE3:
            sm.registerUtility(icSemanticThesaurusConfiguration(),
                               interfaces.IicSemanticThesaurusConfiguration,

src/i/c/icsemantic.core-1.0-dev-r371/icsemantic/core/setuphandlers.py   icsemantic.core(Download)
import interfaces
from preferences import icSemanticManagementContentTypes
from config import HAS_PLONE3
 
def ensure_site(context):
 
    if not sm.queryUtility(interfaces.IicSemanticManagementContentTypes, name='icsemantic.configuration'):
        if HAS_PLONE3:
            sm.registerUtility(icSemanticManagementContentTypes(),
                               interfaces.IicSemanticManagementContentTypes,

src/i/c/icnews.core-1.0-dev-r371/icnews/core/setuphandlers.py   icnews.core(Download)
 
import interfaces
from config import HAS_PLONE3
 
def ensure_site(context):

src/i/c/iccommunity.core-1.0-dev-r371/iccommunity/core/setuphandlers.py   iccommunity.core(Download)
 
import interfaces
from config import HAS_PLONE3
 
def ensure_site(context):