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

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

src/p/r/Products.PloneHelpCenter-4.0/Products/PloneHelpCenter/config.py   Products.PloneHelpCenter(Download)
    AddPortalContent, setDefaultRoles  # pyflakes
except ImportError:
    from Products.CMFCore.CMFCorePermissions import AddPortalContent
    from Products.CMFCore.CMFCorePermissions import setDefaultRoles
 

src/p/r/Products.FCKeditor-2.6.6.3/Products/FCKeditor/__init__.py   Products.FCKeditor(Download)
    from Products.CMFCore.permissions import View, AddPortalContent
except ImportError: # For instances with old CMF products
    from Products.CMFCore.CMFCorePermissions import View, AddPortalContent
 
try:

src/p/r/Products.ProtectedFile-0.1.1/Products/ProtectedFile/Permissions.py   Products.ProtectedFile(Download)
from Products.CMFCore.permissions import AddPortalContent
try:
    from Products.CMFCore.permissions import AddPortalContent
except ImportError:
    from Products.CMFCore.CMFCorePermissions import AddPortalContent

src/p/r/Products.MasterSelectWidget-0.4.5/Products/MasterSelectWidget/config.py   Products.MasterSelectWidget(Download)
try:
    from Products.CMFCore.permissions import AddPortalContent
except ImportError:
    from Products.CMFCore.CMFCorePermissions import AddPortalContent
 

src/p/r/Products.ATMemberSelectWidgetNG-0.3.2/Products/ATMemberSelectWidget/config.py   Products.ATMemberSelectWidgetNG(Download)
    from Products.CMFCore.permissions import AddPortalContent
except ImportError:
    from Products.CMFCore.CMFCorePermissions import AddPortalContent
 
ADD_CONTENT_PERMISSION = AddPortalContent

src/p/r/Products.BrFieldsAndWidgets-1.2.2/Products/BrFieldsAndWidgets/config.py   Products.BrFieldsAndWidgets(Download)
    from Products.CMFCore.permissions import AddPortalContent
except:
    from Products.CMFCore.CMFCorePermissions import AddPortalContent
 
ADD_CONTENT_PERMISSION = AddPortalContent

src/p/r/Products.LTOnlineTest-0.2.4/Products/LTOnlineTest/config.py   Products.LTOnlineTest(Download)
# BBB for CMF < 2.1
try:
    from Products.CMFCore.permissions import AddPortalContent
except ImportError:
    from Products.CMFCore.CMFCorePermissions import AddPortalContent