Ebooks: handle multiple dupe options
authorDan Scott <dscott@laurentian.ca>
Thu, 4 Oct 2012 21:17:04 +0000 (17:17 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 8 May 2013 13:44:07 +0000 (09:44 -0400)
commitb3266010cb653625f8c1cb653fefcea84876b993
treeb1d1da7540f2034c4fa8b3d9dae0dd851fb314c5
parentc49a02e8f82e9ff3a01c26bc2c09f1093296f8f9
Ebooks: handle multiple dupe options

process_fields() modifies the base record, and we were inadvertently
running the base record through the ringer every time we checked for
dupes - which would be evidenced by the addition of one 506 and 590 per
consortial member per dupe check we ran.

In the process of cleaning this up, try to dedupe some of our own code
(heh). We can probably go futher but this is a good start.

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