[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_6 updated. 9238236fe173c12f4c39743fa81c5b728c25fd65
Evergreen Git
git at git.evergreen-ils.org
Thu Nov 13 13:38:29 EST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_6 has been updated
via 9238236fe173c12f4c39743fa81c5b728c25fd65 (commit)
from 0bd4b0d1e3c10699090b9318a67d5a0f3c48f4fd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9238236fe173c12f4c39743fa81c5b728c25fd65
Author: Fredric T Parks <fparks at catalystitservices.com>
Date: Wed Nov 6 15:36:32 2013 -0800
LP#1246839: marc_stream_importer.pl no longer crashes with vs 0.23 of File::Temp
updated marc_stream_importer.pl to use the 0.23 API
Signed-off-by: Fredric T Parks <fparks at catalystitservices.com>
Signed-off-by: Bill Erickson <berickxx at gmail.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
diff --git a/Open-ILS/src/support-scripts/marc_stream_importer.pl b/Open-ILS/src/support-scripts/marc_stream_importer.pl
index d288504..0b42cbc 100755
--- a/Open-ILS/src/support-scripts/marc_stream_importer.pl
+++ b/Open-ILS/src/support-scripts/marc_stream_importer.pl
@@ -23,7 +23,7 @@ use MARC::File::USMARC;
use Data::Dumper;
use File::Basename qw/fileparse/;
-use File::Temp;
+use File::Temp qw/tempfile/;
use Getopt::Long qw(:DEFAULT GetOptionsFromArray);
use Pod::Usage;
use Socket;
@@ -333,7 +333,7 @@ sub process_batch_data {
my ($handle, $tempfile);
if (!$isfile) {
- ($handle, $tempfile) = File::Temp->tempfile("$0_XXXX", DIR => $tempdir) or die "Cannot write tempfile in $tempdir";
+ ($handle, $tempfile) = tempfile("$0_XXXX", DIR => $tempdir) or die "Cannot write tempfile in $tempdir";
print $handle $data;
close $handle;
} else {
-----------------------------------------------------------------------
Summary of changes:
.../src/support-scripts/marc_stream_importer.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list