From 4482c75beb7698f7fc9c3c55b0cd7d9e4d0c6d19 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 9 Mar 2010 12:21:15 +0000 Subject: [PATCH] Backport r15686: Patch from Galen Charlton to prevent one bad MARC record from spoiling the rest of the export git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@15758 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/support-scripts/marc_export | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/support-scripts/marc_export b/Open-ILS/src/support-scripts/marc_export index ff2b3c9f42..6978b65d4c 100755 --- a/Open-ILS/src/support-scripts/marc_export +++ b/Open-ILS/src/support-scripts/marc_export @@ -214,6 +214,7 @@ while ( my $i = <> ) { } otherwise { my $e = shift; warn "\n$e\n"; + import MARC::File::XML; # reset SAX parser so that one bad record doesn't kill the entire export }; stats() if (! ($count{bib} % 50 )); -- 2.11.0