[open-ils-commits] r18066 - branches/rel_2_0/Open-ILS/src/support-scripts (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Sep 27 23:18:55 EDT 2010
Author: atz
Date: 2010-09-27 23:18:53 -0400 (Mon, 27 Sep 2010)
New Revision: 18066
Modified:
branches/rel_2_0/Open-ILS/src/support-scripts/edi_pusher.pl
Log:
Minor cleanup
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-09-28 03:18:52 UTC (rev 18065)
+++ branches/rel_2_0/Open-ILS/src/support-scripts/edi_pusher.pl 2010-09-28 03:18:53 UTC (rev 18066)
@@ -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