Did I find the right examples for you? yes no

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

src/p/r/Products.kupu-1.5.2/Products/kupu/__init__.py   Products.kupu(Download)
# test for CMF
try:
    import Products.CMFCore
    have_cmf = 1
except ImportError:

src/e/r/erp5-HEAD/product/Formulator/__init__.py   erp5(Download)
        import Products.FileSystemSite
    except ImportError:
        import Products.CMFCore
except ImportError:
    pass

src/e/r/erp5-HEAD/product/MailTemplates/__init__.py   erp5(Download)
 
try:
    import Products.CMFCore
except ImportError:
    pass

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/UIDCatalog.py   Products.Archetypes(Download)
from Products.ZCatalog.Catalog import Catalog
from Products.ZCatalog.CatalogBrains import AbstractCatalogBrain
from Products import CMFCore
from Products.CMFCore.utils import UniqueObject
from Products.CMFCore.utils import getToolByName

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/ReferenceEngine.py   Products.Archetypes(Download)
from Products.ZCatalog.Catalog import Catalog
from Products.ZCatalog.Lazy import LazyMap
from Products import CMFCore
 
from plone.uuid.interfaces import IUUID

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/UIDCatalog.py   Products.Archetypes(Download)
from Products.ZCatalog.Catalog import Catalog
from Products.ZCatalog.CatalogBrains import AbstractCatalogBrain
from Products import CMFCore
from Products.CMFCore.utils import UniqueObject
from Products.CMFCore.utils import getToolByName

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/ReferenceEngine.py   Products.Archetypes(Download)
from Products.ZCatalog.Catalog import Catalog
from Products.ZCatalog.Lazy import LazyMap
from Products import CMFCore
 
from plone.uuid.interfaces import IUUID

src/c/y/cyn.in-HEAD/products/ATRatings/__init__.py   cyn.in(Download)
import os.path
from Globals import package_home
import Products.CMFCore
 
from Products.CMFCore import permissions as CMFCorePermissions 

src/p/r/Products.ATSchemaEditorNG-0.6/Products/ATSchemaEditorNG/__init__.py   Products.ATSchemaEditorNG(Download)
from ParentManagedSchema import ParentManagedSchema
 
import Products.CMFCore
from Products.Archetypes import process_types
from Products.Archetypes.public import listTypes

src/p/r/Products.MailTemplates-2.0.0/Products/MailTemplates/__init__.py   Products.MailTemplates(Download)
 
try:
    import Products.CMFCore
except ImportError:
    pass

  1 | 2 | 3  Next