[Erp5-dev] OOoDocument_updateMetadata.xml - why not default to list?

Łukasz Nowak lukasz.nowak at ventis.com.pl
Wed Dec 19 15:31:25 CET 2007


Hello,

In 18416 I've seen, that value_list is default to None, but it might be
default to list, so code would be simpler (attached).

As I'm doing such "code readiblity optimisation" I'd like to know if is
it not performance drawback (or maybe performance advantage?) to default
to [] instead of None in such cases.

Spying erp5-report as always ;-),
Regards,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OOoDocument_updateMetadata.xml-less-if.patch
Type: text/x-patch
Size: 817 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20071219/cc65b1cc/attachment.bin>


More information about the Erp5-dev mailing list