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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/o/collective.novate-1.0b4/collective/novate/browser.py   collective.novate(Download)
 
from Acquisition import aq_inner, aq_base
from AccessControl.Owned import ownerInfo, UnownableOwner
 
from Products.statusmessages.interfaces import IStatusMessage
                raise KeyError('Only retrievable users in this site can be made owners.')
 
        new_owner_info = ownerInfo(user)
        if new_owner_info is None:
            raise KeyError("Invalid owner")