From 67e49a2b278b1512fb39a33a779f68a1389f9849 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 3 May 2010 19:09:54 -0400 Subject: ansi, screen info related, arranging --- lib/sisu/v2/sitemaps.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/sisu/v2/sitemaps.rb') diff --git a/lib/sisu/v2/sitemaps.rb b/lib/sisu/v2/sitemaps.rb index c6a80c23..87bd21c0 100644 --- a/lib/sisu/v2/sitemaps.rb +++ b/lib/sisu/v2/sitemaps.rb @@ -89,8 +89,7 @@ module SiSU_Sitemaps @sitemap_idx_fn='sitemapindex.xml' @env=SiSU_Env::Info_env.new output_idx(sitemap_index) - tell=SiSU_Screen::Ansi.new(@opt.cmd,"sitemap index:","#{@env.path.output}/#{@sitemap_idx_fn}") - tell.result unless @opt.cmd =~/q/ + SiSU_Screen::Ansi.new(@opt.cmd,"sitemap index:","#{@env.path.output}/#{@sitemap_idx_fn}").result unless @opt.cmd =~/q/ end rescue; SiSU_Errors::Info_error.new($!,$@,@opt.cmd,@opt.fns).error ensure -- cgit v1.2.3