diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-06-10 10:04:29 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-06-10 10:04:29 +0100 |
commit | 42870985da06418461c847563fa860c11b4094a1 (patch) | |
tree | 76681986b43aa65c212230e984b504b7c99d3135 /lib/mail_handler/mail_handler.rb | |
parent | 9f15eb5b84f2a78c202ff7ad9155cfca9a0f3ed1 (diff) |
Rename XXX comments with TODO:
Picks these up in `rake notes` and adds semantic meaning
Diffstat (limited to 'lib/mail_handler/mail_handler.rb')
-rw-r--r-- | lib/mail_handler/mail_handler.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mail_handler/mail_handler.rb b/lib/mail_handler/mail_handler.rb index 53033d440..47015f207 100644 --- a/lib/mail_handler/mail_handler.rb +++ b/lib/mail_handler/mail_handler.rb @@ -70,7 +70,7 @@ module MailHandler # note re. charset: TMail always tries to convert email bodies # to UTF8 by default, so normally it should already be that. text = '' - # XXX - tell all these command line tools to return utf-8 + # TODO: - tell all these command line tools to return utf-8 if content_type == 'text/plain' text += body + "\n\n" else @@ -151,7 +151,7 @@ module MailHandler body = entry.get_input_stream.read rescue # move to next attachment silently if there were problems - # XXX really should reduce this to specific exceptions? + # TODO: really should reduce this to specific exceptions? # e.g. password protected next end |