helpt dit tegen de error die sven zag?

This commit is contained in:
Ward Wouts 2005-02-01 22:09:22 +00:00
parent cdbbbe1127
commit 2c9cfbeab3
2 changed files with 7 additions and 3 deletions

View file

@ -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)

View file

@ -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"