[Zope-CMF] Re: [dev] CMFSetup: some questions

Florent Guillaume fg at nuxeo.com
Fri Jul 16 08:27:18 EDT 2004


> > 4.) lists in xml
> > 
> > Sometimes lists are stored in attributes using values like::
> > 
> >     ','.join( action[ 'permissions' ] )
> >     ' '.join(info['roles'])
> 
> That could probably be regularized.  I prefer the space-delimited 
> version (because it follows the pattern of the XML IDLIST) but 
> permisison IDs can have spaces embedded in them (actually, role names 
> probably can too).

Yeah in the past I've used roles with spaces in them, even though these
days I try to use space-less identifiers to make string comparison
faster (as python interns strings without spaces).

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg at nuxeo.com


More information about the Zope-CMF mailing list