From 8e822d8f94ff2b55f7d45efb37a3dceec9e44c07 Mon Sep 17 00:00:00 2001 From: Ward Wouts Date: Mon, 16 Jun 2003 21:48:52 +0000 Subject: [PATCH] tpyo --- trunk/ripnews/ripnews.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index 27f1886..88227f5 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -1,6 +1,6 @@ #!/usr/local/bin/ruby -w -# $Dwarf: ripnews.rb,v 1.65 2003/06/16 10:56:11 ward Exp $ +# $Dwarf: ripnews.rb,v 1.66 2003/06/16 21:35:15 ward Exp $ # $Source$ require 'date' @@ -346,7 +346,7 @@ def get_multi(subj, group) body = fileout.path bodybase = body.sub(/\/[^\/]*$/, "/ripnewsdecode") i = 1 - while Filetest.exists?("#{bodybase}-#{i}") + while FileTest.exists?("#{bodybase}-#{i}") i += 1 end File.move(body, "#{bodybase}-#{i}")