diff --git a/trunk/ripnews/news/article.rb b/trunk/ripnews/news/article.rb index 92635bf..b8a0e49 100644 --- a/trunk/ripnews/news/article.rb +++ b/trunk/ripnews/news/article.rb @@ -1,4 +1,4 @@ -# $Dwarf: article.rb,v 1.102 2005/02/01 20:57:45 ward Exp $ +# $Dwarf: article.rb,v 1.103 2005/02/01 20:58:40 ward Exp $ # $Source$ # @@ -30,7 +30,7 @@ class PermError < ArticleError; end class Article -Debuglevel = 0 +Debuglevel = 1 Message = Struct.new(:messid, :id, :server, :subject) diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index b2f2200..ef753f5 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.93 2005/02/01 09:38:22 ward Exp $ +# $Dwarf: ripnews.rb,v 1.94 2005/02/01 19:35:49 ward Exp $ # $Source$ # @@ -414,6 +414,10 @@ def get_multi(subj, group) output_data(subj, 0600, "YencProblem", body) # XXX return succes even though it's not true return true + rescue PermError + print "#{$!}\n" + print " Skipping article...\n" + return false end else print " Unknown encoding (not UU, not yEnc), skipping...\n"