[open-ils-commits] r9906 - trunk/Open-ILS/src/extras/import
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Jun 21 19:49:39 EDT 2008
Author: miker
Date: 2008-06-21 19:49:38 -0400 (Sat, 21 Jun 2008)
New Revision: 9906
Modified:
trunk/Open-ILS/src/extras/import/marc2bre.pl
Log:
by request of Jason, accept comma separated list of fields to --trash
Modified: trunk/Open-ILS/src/extras/import/marc2bre.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/marc2bre.pl 2008-06-21 16:05:12 UTC (rev 9905)
+++ trunk/Open-ILS/src/extras/import/marc2bre.pl 2008-06-21 23:49:38 UTC (rev 9906)
@@ -50,6 +50,8 @@
'quiet' => \$quiet
);
+ at trash_fields = split(/,/,join(',', at trash_fields));
+
if ($enc) {
MARC::Charset->ignore_errors(1);
MARC::Charset->assume_encoding($enc);
More information about the open-ils-commits
mailing list