aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/urls.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-06-25 00:07:44 -0400
committerRalph Amissah <ralph@amissah.com>2013-06-25 00:07:44 -0400
commitc25fc2751886278a4e7f30f127e80449160a47f1 (patch)
treed19cab06d629a995848a296409693b5890d59f60 /lib/sisu/v4/urls.rb
parentv5: "general code cleaning" fix (diff)
v4: general code cleaning, sync with v5sisu_4.1.6
Diffstat (limited to 'lib/sisu/v4/urls.rb')
-rw-r--r--lib/sisu/v4/urls.rb6
1 files changed, 2 insertions, 4 deletions
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]/