NIHVIVO-55 Cosmetic changes.

This commit is contained in:
jeb228 2010-02-10 17:11:07 +00:00
parent b6475f23a3
commit f6134bfaf8

View file

@ -88,7 +88,7 @@ class LicenserStats
@known_exceptions[which_match(filename)] += 1 @known_exceptions[which_match(filename)] += 1
end end
def record_tag(filename) def record_tag(filename)
puts " Substituted license text into #{filename}" if @full puts " Substituted license text into #{filename}" if @full
@substitutions[which_match(filename)] += 1 @substitutions[which_match(filename)] += 1
end end
@ -356,8 +356,9 @@ class Licenser
# Report the summary statistics # Report the summary statistics
def report() def report()
verb = @scan_only ? "scanned" : "copied"
puts "Licenser: run completed at #{DateTime.now.strftime("%H:%M:%S on %b %d, %Y")}" 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
puts 'Substitutions' puts 'Substitutions'
@stats.substitutions.sort.each do |line| @stats.substitutions.sort.each do |line|