Insert fields in order in ebook processing
authorDan Scott <dscott@laurentian.ca>
Thu, 25 Oct 2012 14:56:54 +0000 (10:56 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Nov 2012 17:59:12 +0000 (12:59 -0500)
commit3fa901964f4ed10d7a0e31f40d253b8d49476db3
treea78bf8719e15362daffb8513cb68fa0a00954f49
parent53b4652afc84ee396c023525067b2fd4ed05dab8
Insert fields in order in ebook processing

pymarc 2.8.5 offers the add_ordered_field() method for inserting fields
in the correct numerical order in the record - so use that. Note that
you may have to run "easy_install --upgrade pymarc" to get the latest
version of pymarc installed.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/ebooks/prep_ebook_records.py [changed mode: 0644->0755]