[Zope] proxy role for an external method

Reinoud van Leeuwen reinoud.v at n.leeuwen.net
Mon Oct 10 13:40:19 EDT 2005


On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote:
> Are you using CMF/Plone?

yes. the main part of the function is:

   for brain in self.portal_catalog(portal_type='User',
                                        SearchableText=SearchableText):
        user = brain.getObject()
        if user is None:
            continue
        results.append(getUserInfo(user))

This works in a pyhton script but not in an external one

-- 
__________________________________________________
"Nothing is as subjective as reality"
Reinoud van Leeuwen    reinoud.v at n.leeuwen.net
http://www.xs4all.nl/~reinoud
__________________________________________________


More information about the Zope mailing list