[scannermain] Simplify writing of output data
authorJohan Dahlin <johan@gnome.org>
Thu, 2 Sep 2010 00:21:46 +0000 (21:21 -0300)
committerJohan Dahlin <johan@gnome.org>
Thu, 2 Sep 2010 00:24:24 +0000 (21:24 -0300)
commitc687a08855735a1cf7b346517d53cec8588210bb
tree96b5f625b1c7fbcd76c61be5cf41a68848276a9d
parentf1c1b9b1641bf9ea2844202cb5237c305af42ac9
[scannermain] Simplify writing of output data

Make the common case (no validation) much simple and
add error checking while writing the output
giscanner/scannermain.py