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>
Tue, 7 May 2013 18:58:16 +0000 (14:58 -0400)
commite9c99e62f39dfc51bf7c2a5b855afa909cdd2f3b
tree0c7bd24ac045e86f7217352481b8c86d1381c858
parentff3e5436f9a4112981bf5771eeeeb2b48805b931
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