diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index b4b463c..46e6f89 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.43 2003/04/18 22:27:58 ward Exp $ +# $Dwarf: ripnews.rb,v 1.44 2003/04/19 11:10:32 ward Exp $ # $Source$ require 'date' @@ -312,7 +312,6 @@ def output_data(subject, mode, filename="", body="") end def check_ext(group, filename, mode) - print " filename: #{filename}\n"; case mode when "s" return @config[group].has_key?("-S") ? ( filename =~ /\.(#{@config[group]["-S"]})$/ ) : true @@ -388,7 +387,11 @@ for group in @config.keys.sort elsif @articles.group_is_multipart(i) mode, filename, body = get_multi(i, group) end - output_data(i, mode, filename, body) if mode != false + if mode == false + print "Skipping article...\n" + else + output_data(i, mode, filename, body) + end rescue Article::TempError, Article::PermError print "#{$!}\n" print "Skipping article...\n"