[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/add.py Initialized values are not overwritten by 'None' if there is no input for a data field.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Feb 21 10:41:43 EST 2006


On Tuesday 21 February 2006 10:31, Egon Frerich wrote:
> +                    if data[name] <> None:

Better is: if data[name] is not None

Also where is the test?

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-Checkins mailing list