[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. a10f88172c407dfcab8d9783ca095a9385adb464

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, master has been updated
       via  a10f88172c407dfcab8d9783ca095a9385adb464 (commit)
      from  d2a521c0ff32e9921bfc93cb86b2c917e5eda92e (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 a10f88172c407dfcab8d9783ca095a9385adb464
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