[open-ils-commits] r15758 - branches/rel_1_6_0/Open-ILS/src/support-scripts (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 9 07:21:15 EST 2010
Author: dbs
Date: 2010-03-09 07:21:15 -0500 (Tue, 09 Mar 2010)
New Revision: 15758
Modified:
branches/rel_1_6_0/Open-ILS/src/support-scripts/marc_export
Log:
Backport r15686: Patch from Galen Charlton <gmc at esilibrary.com> to prevent one bad MARC record from spoiling the rest of the export
Modified: branches/rel_1_6_0/Open-ILS/src/support-scripts/marc_export
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/support-scripts/marc_export 2010-03-09 12:20:28 UTC (rev 15757)
+++ branches/rel_1_6_0/Open-ILS/src/support-scripts/marc_export 2010-03-09 12:21:15 UTC (rev 15758)
@@ -214,6 +214,7 @@
} 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 ));
More information about the open-ils-commits
mailing list