[open-ils-commits] r18057 - trunk/Open-ILS/src/support-scripts (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Sep 27 21:24:21 EDT 2010
Author: atz
Date: 2010-09-27 21:24:20 -0400 (Mon, 27 Sep 2010)
New Revision: 18057
Modified:
trunk/Open-ILS/src/support-scripts/edi_pusher.pl
Log:
Minor cleanup
Modified: trunk/Open-ILS/src/support-scripts/edi_pusher.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/edi_pusher.pl 2010-09-28 01:22:41 UTC (rev 18056)
+++ trunk/Open-ILS/src/support-scripts/edi_pusher.pl 2010-09-28 01:24:20 UTC (rev 18057)
@@ -48,8 +48,6 @@
$opts->{verbose} = 0 if $opts->{quiet};
-
-# print Dumper($defs);
print "\nHook '$hook' is used in ", scalar(@$defs), " event definition(s):\n";
$Data::Dumper::Indent = 1;
@@ -99,7 +97,8 @@
if ($opts->{verbose}) {
# $subq->{'select'}->{'acqedim'} = ['id', 'purchase_order', 'message_type', 'status'];
my $excluded = $e->json_query($subq);
- print "Excluded: ", scalar(@$excluded), " purchase order(s):\n", Dumper(\@$excluded), "\n";
+ print "Excluded: ", scalar(@$excluded), " purchase order(s):\n";
+ print join("\n", sort map {sprintf "%7d", $_->{purchase_order}} @$excluded), "\n";
}
my $events = $e->json_query($query);
More information about the open-ils-commits
mailing list