From: dbs Date: Thu, 2 Dec 2010 21:54:25 +0000 (+0000) Subject: Strip out all 9xx fields, as we don't want no stinking locally defined fields X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=930235fa2e7735f1c26696c2475d04d85b288924;p=contrib%2FConifer.git Strip out all 9xx fields, as we don't want no stinking locally defined fields git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_1_6_1@1097 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/tools/ebooks/prep_ebook_records.py b/tools/ebooks/prep_ebook_records.py index de3c2f5513..71b53b9d6f 100644 --- a/tools/ebooks/prep_ebook_records.py +++ b/tools/ebooks/prep_ebook_records.py @@ -236,6 +236,9 @@ def process_records(options): 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)