From c25fc2751886278a4e7f30f127e80449160a47f1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 25 Jun 2013 00:07:44 -0400 Subject: v4: general code cleaning, sync with v5 --- lib/sisu/v4/urls.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/sisu/v4/urls.rb') diff --git a/lib/sisu/v4/urls.rb b/lib/sisu/v4/urls.rb index e5341581..f0293a40 100644 --- a/lib/sisu/v4/urls.rb +++ b/lib/sisu/v4/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