[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-devel] [PATCH] fix reference to EncodingUnsupportedError



This fixes the following error:

./lib/sup/message.rb:473:in `message_to_chunks': uninitialized constant Redwood::Message::EncodingUnsupportedError (NameError)

Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
---
 lib/sup/message.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/sup/message.rb b/lib/sup/message.rb
index 4e6bbeb..1385585 100644
--- a/lib/sup/message.rb
+++ b/lib/sup/message.rb
@@ -470,7 +470,7 @@ private
         when "7bit", "8bit", nil
           m.body
         else
-          raise EncodingUnsupportedError, encoding.inspect
+          raise RMail::EncodingUnsupportedError, encoding.inspect
         end
         body = body.normalize_whitespace
         payload = RMail::Parser.read(body)
-- 
1.6.5

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel