E&S CVS Commit: PEAK - Minor fix for 'canBeEmpty' support during parsing. If a Conversion parses

pje at eby-sarna.com pje at eby-sarna.com
Wed Nov 26 14:49:01 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Wed Nov 26 19:48:03 UTC 2003

Modified Files:
	PEAK/src/peak/util: fmtparse.py

Log Message:
Minor fix for 'canBeEmpty' support during parsing.  If a Conversion parses
an empty string, and 'canBeEmpty' is true, and a 'defaultValue' was
supplied, the Conversion will now return the default instead of passing the
empty string to its converter function.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/util/fmtparse.py.diff?r1=1.10&r2=1.11

To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 PEAK/src/peak/util/fmtparse.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list