diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-03-16 20:25:37 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-03-16 20:25:37 -0400 |
commit | f2996f82df7795b561f77deb0e71bf392b5ab6d1 (patch) | |
tree | 5ee009b042e9da7de980ec9649d7483357465cb9 /lib/sisu/v4/harvest_topics.rb | |
parent | debian/changelog (4.0.13-1) (diff) | |
parent | v4: version & changelog, dates touched (diff) |
Merge tag 'sisu_4.0.14' into debian/sid
SiSU 4.0.14
Diffstat (limited to 'lib/sisu/v4/harvest_topics.rb')
-rw-r--r-- | lib/sisu/v4/harvest_topics.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v4/harvest_topics.rb b/lib/sisu/v4/harvest_topics.rb index 0397847e..fda71e7c 100644 --- a/lib/sisu/v4/harvest_topics.rb +++ b/lib/sisu/v4/harvest_topics.rb @@ -71,7 +71,6 @@ module SiSU_HarvestTopics @file_list=opt.files end def songsheet - puts 'topics:' idx_array={} @opt.f_pths.each do |y| lang_hash_file_array={} @@ -473,7 +472,8 @@ module SiSU_HarvestTopics file="#{harvest_pth}/topics.#{lng}.html" end FileUtils::mkdir_p(harvest_pth) unless FileTest.directory?(harvest_pth) - puts "file://#{file}" + fileinfo=(@opt.cmd =~/[vVM]/) ? ("file://#{file}") : '' + SiSU_Screen::Ansi.new(@opt.cmd,"harvest topics(#{@opt.files.length} files)",fileinfo).dark_grey_title_hi unless @opt.cmd =~/q/ @output[lng][:html]=File.new(file,'w') if @opt.cmd.inspect =~/[M]/ @output[lng][:html_mnt]=File.new("#{@env.path.pwd}/topics.html",'w') |