From 48bb7a8343fc7e67ee9c24b8ae41c11eb9a3beac Mon Sep 17 00:00:00 2001 From: Ward Wouts Date: Tue, 1 Feb 2005 10:16:03 +0000 Subject: [PATCH] don't rescue tings that really should not happen --- trunk/ripnews/encode/yenc.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/trunk/ripnews/encode/yenc.rb b/trunk/ripnews/encode/yenc.rb index e7c9091..7f18915 100644 --- a/trunk/ripnews/encode/yenc.rb +++ b/trunk/ripnews/encode/yenc.rb @@ -1,4 +1,4 @@ -# $Dwarf: yenc.rb,v 1.12 2004/10/18 18:35:39 ward Exp $ +# $Dwarf: yenc.rb,v 1.13 2005/01/31 14:08:33 ward Exp $ # $Source$ # @@ -64,12 +64,12 @@ def _ydecode_line(line) line[i] -= 64 end end - begin +# begin ostr << @ymap[line[i].to_i] - rescue TypeError - puts "this should not happen!!!" - puts "line[i] contents: '#{line[i]}'\n" - end +# rescue TypeError +# puts "this should not happen!!!" +# puts "line[i] contents: '#{line[i]}'\n" +# end i += 1 end return ostr