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

All Samples(77)  |  Call(34)  |  Derive(0)  |  Import(43)

src/p/r/Products.CMFPlomino-1.18.6/Products/CMFPlomino/PlominoUtils.py   Products.CMFPlomino(Download)
# Zope
from AccessControl import ClassSecurityInfo
from AccessControl.unauthorized import Unauthorized
try:
    from AccessControl.class_init import InitializeClass
            return f.read()
    else:
        raise Unauthorized(url)
 
 

src/p/l/Plomino-HEAD/Products/CMFPlomino/PlominoUtils.py   Plomino(Download)
# Zope
from AccessControl import ClassSecurityInfo
from AccessControl.unauthorized import Unauthorized
try:
    from AccessControl.class_init import InitializeClass
            return f.read()
    else:
        raise Unauthorized(url)
 
 

src/z/o/Zope2-2.13.22/src/Products/SiteErrorLog/SiteErrorLog.py   Zope2(Download)
from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.unauthorized import Unauthorized
from Acquisition import aq_base
from App.Dialogs import MessageDialog

src/z/o/Zope2-2.13.22/src/ZTUtils/Zope.py   Zope2(Download)
        raise Unauthorized, 'unauthorized access to element %s' % index
else:
    from AccessControl.unauthorized import Unauthorized
 
 

src/z/o/Zope2-2.13.22/src/OFS/SimpleItem.py   Zope2(Download)
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.Permissions import view as View
from AccessControl.unauthorized import Unauthorized
from AccessControl.ZopeSecurityPolicy import getRoles
from Acquisition import Acquired

src/z/o/Zope2-2.13.22/src/OFS/OrderedFolder.py   Zope2(Download)
 
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.unauthorized import Unauthorized
from AccessControl.Permissions import add_page_templates
from AccessControl.Permissions import add_user_folders

src/z/o/Zope2-2.13.22/src/OFS/Folder.py   Zope2(Download)
from AccessControl.Permissions import add_user_folders
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.unauthorized import Unauthorized
from App.special_dtml import DTMLFile
from webdav.Collection import Collection

src/z/o/Zope2-2.13.22/src/OFS/Cache.py   Zope2(Download)
from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.unauthorized import Unauthorized
from Acquisition import aq_acquire
from Acquisition import aq_base

src/z/o/Zope2-2.13.22/src/App/Product.py   Zope2(Download)
from AccessControl.owner import UnownableOwner
from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.unauthorized import Unauthorized
from App.special_dtml import DTMLFile
from OFS.Folder import Folder

src/z/o/Zope-HEAD/src/Products/SiteErrorLog/SiteErrorLog.py   Zope(Download)
from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.unauthorized import Unauthorized
from Acquisition import aq_base
from App.Dialogs import MessageDialog

Previous  1 | 2 | 3 | 4 | 5  Next