[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_7 updated. cfaebc9f93eac7e1ebd0cefe9ad71e209a614a26
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_7 has been updated
via cfaebc9f93eac7e1ebd0cefe9ad71e209a614a26 (commit)
from 6d68a5bccf4a27ce74e626705f7b3c6067e3998b (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 cfaebc9f93eac7e1ebd0cefe9ad71e209a614a26
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 e0a2aa3..d418fb6 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;
@@ -342,7 +342,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