[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 83a1dc028e866629c4df9611da06e800588ffd23

Evergreen Git git at git.evergreen-ils.org
Tue May 24 13:45:16 EDT 2016


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_10 has been updated
       via  83a1dc028e866629c4df9611da06e800588ffd23 (commit)
      from  11d618df05b4d82803dd1e73f4e8798178873e82 (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 83a1dc028e866629c4df9611da06e800588ffd23
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Thu Apr 7 12:08:09 2016 -0400

    LP1567514 - Don't Output Null Byte for Spool Files
    
    If a spool file is defined on the marc_stream_importer.pl
    command line, no null byte is output after the record(s)
    are processed.
    
    To test:
    
    [1] Use marc_stream_importer.pl to import a record from
        a file; verify that the output messages do not include
        a null character.
    
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    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 670e8c7..412d466 100755
--- a/Open-ILS/src/support-scripts/marc_stream_importer.pl
+++ b/Open-ILS/src/support-scripts/marc_stream_importer.pl
@@ -494,7 +494,7 @@ sub process_file {
     $msg .= "Successfully imported $imported $cur_rec_type records ".
         "using merge profile '$profile'\n" if $imported;
     $msg .= "Failed to import $failed $cur_rec_type records\n" if $failed;
-    $msg .= "\x00";
+    $msg .= "\x00" unless $spoolfile;
     print $msg;
 
     clear_auth_token(); # logout

-----------------------------------------------------------------------

Summary of changes:
 .../src/support-scripts/marc_stream_importer.pl    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list