[open-ils-commits] r18263 - branches/rel_2_0/Open-ILS/src/support-scripts (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Oct 11 12:07:47 EDT 2010
Author: atz
Date: 2010-10-11 12:07:44 -0400 (Mon, 11 Oct 2010)
New Revision: 18263
Modified:
branches/rel_2_0/Open-ILS/src/support-scripts/edi_pusher.pl
Log:
Tighter verbose format for skipped POs
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-11 16:07:09 UTC (rev 18262)
+++ branches/rel_2_0/Open-ILS/src/support-scripts/edi_pusher.pl 2010-10-11 16:07:44 UTC (rev 18263)
@@ -101,7 +101,9 @@
# $subq->{'select'}->{'acqedim'} = ['id', 'purchase_order', 'message_type', 'status'];
my $excluded = $e->json_query($subq);
print "Excluded: ", scalar(@$excluded), " purchase order(s):\n";
- print join("\n", sort map {sprintf "%7d", $_->{purchase_order}} @$excluded), "\n";
+ my $z = 0;
+ print map {sprintf "%7d%s", $_, (++$z % 5) ? '' : "\n"} sort {$a <=> $b} map {$_->{purchase_order}} @$excluded;
+ print "\n";
}
my $events = $e->json_query($query);
More information about the open-ils-commits
mailing list