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>
Tue, 7 May 2013 18:58:12 +0000 (14:58 -0400)
commitb5bdb67a8adad7f07b1d7eb5fb13d6220c16811c
tree614e49d8ddf414dc907798876533618151fdbf19
parent7ecaf3385c207cc6a41a6fb64ad1fd826b025cd4
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