[open-ils-commits] r1097 - conifer/branches/rel_1_6_1/tools/ebooks (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 2 16:54:31 EST 2010
Author: dbs
Date: 2010-12-02 16:54:25 -0500 (Thu, 02 Dec 2010)
New Revision: 1097
Modified:
conifer/branches/rel_1_6_1/tools/ebooks/prep_ebook_records.py
Log:
Strip out all 9xx fields, as we don't want no stinking locally defined fields
Modified: conifer/branches/rel_1_6_1/tools/ebooks/prep_ebook_records.py
===================================================================
--- conifer/branches/rel_1_6_1/tools/ebooks/prep_ebook_records.py 2010-12-02 21:35:46 UTC (rev 1096)
+++ conifer/branches/rel_1_6_1/tools/ebooks/prep_ebook_records.py 2010-12-02 21:54:25 UTC (rev 1097)
@@ -236,6 +236,9 @@
new_fields = process_urls(field, options)
for new_856 in new_fields:
new_record.add_field(new_856)
+ # Strip out 9xx fields
+ elif field.tag[0] == '9':
+ pass
else:
new_record.add_field(field)
More information about the open-ils-commits
mailing list