Ebooks: Only output one record, no matter how many dupes
authorDan Scott <dscott@laurentian.ca>
Thu, 4 Oct 2012 22:17:12 +0000 (18:17 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Nov 2012 17:58:04 +0000 (12:58 -0500)
commitda084c631a6b10a03b88c57d3c097c45dbad4890
tree18e797a7b67d05c135d789fdeede1450519637ba
parentf2eaba8bcc86e6088a94e0ba55d16a962503a527
Ebooks: Only output one record, no matter how many dupes

If you specify dupe-checking by TCN, URL, and ISBN, you only want to
generate one output record per input record, no matter how many types of
matches you get - so short-circuit the logic.

Also, handle the case where you're not specifying all dupe checks :)

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/ebooks/prep_ebook_records.py