From d27471fd1ea9d104332b2144d2938941c7a3fe11 Mon Sep 17 00:00:00 2001 From: Lucas Nussbaum Date: Tue, 17 Jun 2008 10:58:02 +0200 Subject: reduce verbosity --- lib/feed2imap/itemtomail.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/feed2imap/itemtomail.rb b/lib/feed2imap/itemtomail.rb index c4f5c68..91e6c18 100644 --- a/lib/feed2imap/itemtomail.rb +++ b/lib/feed2imap/itemtomail.rb @@ -110,10 +110,10 @@ def item_to_mail(item, index, updated, from = 'Feed2Imap', inline_images = false message.add_part(imgpart) # now to specify what to replace with newtag = "#{$1}src=\"cid:#{cid}\"#{$5}" - print "#{cid}: Replacing '#{$&}' with '#{newtag}'...\n" + #print "#{cid}: Replacing '#{$&}' with '#{newtag}'...\n" newtag rescue - print "Error while fetching image #{$2}: #{$!}...\n" + #print "Error while fetching image #{$2}: #{$!}...\n" $& # don't modify on exception end end -- cgit v1.2.3