diff options
author | Lucas Nussbaum <lucas@lucas-nussbaum.net> | 2008-06-17 10:58:02 +0200 |
---|---|---|
committer | Lucas Nussbaum <lucas@lucas-nussbaum.net> | 2008-06-17 10:58:02 +0200 |
commit | d27471fd1ea9d104332b2144d2938941c7a3fe11 (patch) | |
tree | 310cd08c280e823b3206092091feb923b8d71516 /lib/feed2imap | |
parent | e281577430428f4222050ba805f1752da92cb403 (diff) | |
download | feed2imap-d27471fd1ea9d104332b2144d2938941c7a3fe11.tar.gz feed2imap-d27471fd1ea9d104332b2144d2938941c7a3fe11.tar.bz2 feed2imap-d27471fd1ea9d104332b2144d2938941c7a3fe11.zip |
reduce verbosity
Diffstat (limited to 'lib/feed2imap')
-rw-r--r-- | lib/feed2imap/itemtomail.rb | 4 |
1 files 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 |