[open-ils-commits] r18178 - branches/rel_2_0/Open-ILS/src/support-scripts (atz)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Oct 5 13:10:26 EDT 2010


Author: atz
Date: 2010-10-05 13:10:22 -0400 (Tue, 05 Oct 2010)
New Revision: 18178

Modified:
   branches/rel_2_0/Open-ILS/src/support-scripts/edi_pusher.pl
Log:
The whole point of test mode, NOT actually committing actions.

Modified: branches/rel_2_0/Open-ILS/src/support-scripts/edi_pusher.pl
===================================================================
--- branches/rel_2_0/Open-ILS/src/support-scripts/edi_pusher.pl	2010-10-05 17:08:56 UTC (rev 18177)
+++ branches/rel_2_0/Open-ILS/src/support-scripts/edi_pusher.pl	2010-10-05 17:10:22 UTC (rev 18178)
@@ -159,6 +159,7 @@
         my $logstr2 = sprintf "event %s, PO %s, template_output %s", $_->{id}, $message->purchase_order, $event->template_output->id;
         if ($opts->{test}) {
             print "Test mode, skipping translation/send\n";
+            next;
         }
 
         printf "\nNow calling attempt_translation for $logstr2\n\n";



More information about the open-ils-commits mailing list