[Zope-CMF] Re: CMFSetup comments

yuppie y.2005- at wcm-solutions.de
Tue Apr 5 13:23:42 EDT 2005


yuppie wrote:
> To get rid of the intermediate [0], use
> 
>                 'properties': {KEY: 'props',
>                                CONVERTER: self._convertToUnique},
>                 'entry-local-roles': {KEY: 'elrs', DEFAULT: ((),),
>                                CONVERTER: self._convertToUnique},
> 
> Currently the converter is called after setting the default. I guess it 
> would be better not to call the converter in that case.
> 

FYI: I changed that on HEAD and CMF-1_5-branch. A less cryptic

    DEFAULT: ()

should work now.

Cheers, Yuppie



More information about the Zope-CMF mailing list