Title: [opsview] [10068] No need to print an extra newline.
Revision
10068
Author
pknight
Date
2012-09-15 16:37:40 +0100 (Sat, 15 Sep 2012)

Log Message

No need to print an extra newline.

Modified Paths


Modified: trunk/tools/run_perltidy
===================================================================
--- trunk/tools/run_perltidy	2012-09-14 17:08:14 UTC (rev 10067)
+++ trunk/tools/run_perltidy	2012-09-15 15:37:40 UTC (rev 10068)
@@ -33,7 +33,6 @@
 else {
     my $code_to_tidy = read_file( \*STDIN );
     print tidy($code_to_tidy);
-    print "\n" if $code_to_tidy =~ /\n\n$/;
 }
 
 sub tidy_files {

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to