From f31e286f4a73c5c0f355512b0cb45c6c82088516 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 22 Jun 2013 01:13:46 -0400 Subject: v5: general code cleaning * propagate back to v4 after testing --- lib/sisu/v5/urls.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/sisu/v5/urls.rb') diff --git a/lib/sisu/v5/urls.rb b/lib/sisu/v5/urls.rb index 0a583f99..40bb90ed 100644 --- a/lib/sisu/v5/urls.rb +++ b/lib/sisu/v5/urls.rb @@ -236,8 +236,6 @@ module SiSU_Urls and opt.cmd =~/[abcehHmNoptwxXy]/ \ and x=~/^[#{opt.cmd}]/ \ and opt.cmd =~/[MV]/ - m=$1 - f=y tool=@prog.text_editor if x =~/^m/ \ and @opt.cmd=~/m/ \ @@ -247,7 +245,7 @@ module SiSU_Urls if x=~/^([hw])/ \ and @opt.cmd=~/[hw]/ \ and x=~/^[#{@opt.cmd}]/ \ - and x !~/segmented/; "#{y}.html" + and x !~/segmented/ SiSU_Screen::Ansi.new(@opt.cmd,"-#{x}","#{@prog.text_editor} #{@env.processing_path.tune}/#{@md.fns}.tune").maintenance end if x=~/^p/ \ @@ -417,7 +415,7 @@ module SiSU_Urls i="(output manifest) [#{@opt.f_pth[:lng_is]}] #{@env.url.output_tell}/#{@fnb}/sisu_manifest.html" SiSU_Screen::Ansi.new(@opt.cmd,'URLs',i).grey_title_hi @u.each do |x,y| - tell=case x + case x when /^m/ show.meta(x,y) when /^[BcdNsxXy]/ -- cgit v1.2.3