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

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

src/h/l/hl.plone.boardnotifications-0.8/hl/plone/boardnotifications/browser/mailin.py   hl.plone.boardnotifications(Download)
            elif hasattr(user, 'getUserId'):
                # Plone users
                user_id = user.getUserId()
            elif hasattr(user, 'getId'):
                # Root zope users

src/p/o/poi.receivemail-1.11/poi/receivemail/poimail.py   poi.receivemail(Download)
            elif hasattr(user, 'getUserId'):
                # Plone users
                user_id = user.getUserId()
            elif hasattr(user, 'getId'):
                # Root zope users