From f6134bfaf8606bfb63a28a607ed9df42a5dbde0a Mon Sep 17 00:00:00 2001 From: jeb228 Date: Wed, 10 Feb 2010 17:11:07 +0000 Subject: [PATCH] NIHVIVO-55 Cosmetic changes. --- utilities/licenser.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utilities/licenser.rb b/utilities/licenser.rb index f006b2e9..118319fd 100644 --- a/utilities/licenser.rb +++ b/utilities/licenser.rb @@ -88,7 +88,7 @@ class LicenserStats @known_exceptions[which_match(filename)] += 1 end -def record_tag(filename) + def record_tag(filename) puts " Substituted license text into #{filename}" if @full @substitutions[which_match(filename)] += 1 end @@ -356,8 +356,9 @@ class Licenser # Report the summary statistics def report() + verb = @scan_only ? "scanned" : "copied" puts "Licenser: run completed at #{DateTime.now.strftime("%H:%M:%S on %b %d, %Y")}" - puts " copied #{@stats.file_count} files in #{@stats.dir_count} directories." + puts " #{verb} #{@stats.file_count} files in #{@stats.dir_count} directories." puts puts 'Substitutions' @stats.substitutions.sort.each do |line|