don't rescue tings that really should not happen
This commit is contained in:
parent
c0066eee32
commit
48bb7a8343
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue