[open-ils-commits] r19034 - trunk/Open-ILS/src/extras (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Dec 21 15:51:28 EST 2010


Author: dbs
Date: 2010-12-21 15:51:23 -0500 (Tue, 21 Dec 2010)
New Revision: 19034

Modified:
   trunk/Open-ILS/src/extras/org_tree_proximity.pl
Log:
Add line feeds to the output of org_tree_proximity.pl

When another routine was appended to autogen.sh, the output
was appended to the result string returned from org_tree_proximity.pl;
adding a linefeed cleans that up.


Modified: trunk/Open-ILS/src/extras/org_tree_proximity.pl
===================================================================
--- trunk/Open-ILS/src/extras/org_tree_proximity.pl	2010-12-21 20:23:39 UTC (rev 19033)
+++ trunk/Open-ILS/src/extras/org_tree_proximity.pl	2010-12-21 20:51:23 UTC (rev 19034)
@@ -1,4 +1,5 @@
 #!/usr/bin/perl
+# vim:et:ts=4:sw=4
 # -----------------------------------------------------------------------
 # Copyright (C) 2008  Laurentian University
 # Dan Scott <dscott at laurentian.ca>
@@ -16,8 +17,6 @@
 
 # calculate the proximity of organizations in the organization tree
 
-# vim:noet:ts=4:sw=4
-
 use OpenSRF::AppSession;
 use OpenSRF::System;
 use OpenILS::Utils::Fieldmapper;
@@ -32,9 +31,9 @@
 my $result = $ses->request("open-ils.storage.actor.org_unit.refresh_proximity");
 
 if ($result) {
-	print "Successfully updated the organization proximity";
+    print "Successfully updated the organization proximity\n";
 } else {
-	print "Failed to update the organiziation proximity";
+    print "Failed to update the organization proximity\n";
 }
 
 $ses->disconnect();



More information about the open-ils-commits mailing list