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

Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to