Did I find the right examples for you? yes no

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

src/p/r/Products.PloneHotfix20130618-1.3.1/Products/PloneHotfix20130618/imports.py   Products.PloneHotfix20130618(Download)
except ImportError:
    pass
from Products import CMFPlone
try:
    from Products import MimetypesRegistry

src/p/r/Products.PloneHotfix20130618-1.3.1/Products/PloneHotfix20130618/__init__.py   Products.PloneHotfix20130618(Download)
    hotfixes.remove('wysiwyg')
try:
    import Products.CMFPlone
except ImportError:
    # No Plone. Remove all but the Zope patches.

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

src/p/r/Products.kupu-1.5.2/Products/kupu/Extensions/Install.py   Products.kupu(Download)
    # try for plone
    try:
        import Products.CMFPlone
    except ImportError:
        pass

src/p/r/Products.FCKeditor-2.6.6.3/Products/FCKeditor/Extensions/Install.py   Products.FCKeditor(Download)
    # plone specific installation
    try:
        import Products.CMFPlone
    except ImportError:
        pass

src/p/r/Products.PloneHotfix20110720-1.2/Products/PloneHotfix20110720/__init__.py   Products.PloneHotfix20110720(Download)
from AccessControl.PermissionRole import PermissionRole
import Products.CMFPlone
 
import logging
logger = logging.getLogger('PloneHotfix20110720')

src/p/r/Products.PloneHotfix20131210-1.0/Products/PloneHotfix20131210/__init__.py   Products.PloneHotfix20131210(Download)
 
try:
    import Products.CMFPlone
except ImportError:
    # No Plone. Remove all but the Zope patches.

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/testing.py   Products.CMFPlone(Download)
    def setUpZope(self, app, configurationContext):
        import Products.CMFPlone
        xmlconfig.file(
            'configure.zcml',
            Products.CMFPlone,

src/c/o/collective.z3cform.keywordwidget-1.2/collective/z3cform/keywordwidget/tests.py   collective.z3cform.keywordwidget(Download)
from Testing import ZopeTestCase as ztc
from zope.app.testing import setup
import Products.CMFPlone
import collective.z3cform.keywordwidget
import doctest

src/c/o/collective.groupspace.content-1.0.2/collective/groupspace/content/tests/test_install.py   collective.groupspace.content(Download)
from Products.PloneTestCase import PloneTestCase
from base import TestCase
import Products.Five
import Products.GenericSetup
import Products.CMFPlone

  1 | 2  Next