aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-28 10:55:37 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-28 10:55:37 +1100
commit75388ad0ba3f6bf4bbc2fdf161d53a1d43d400ba (patch)
treedc3cd7b3b08174a4ce81e330e0543dcbc542663c /lib/tasks
parent55b730af6bccf8f7b08111ba9055fd8210b3a3b1 (diff)
Calling TMail::Mail#base64_decode does not modify the mail object so doesn't do anything as used here
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/translation.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/translation.rake b/lib/tasks/translation.rake
index 273c12bfa..da282863e 100644
--- a/lib/tasks/translation.rake
+++ b/lib/tasks/translation.rake
@@ -4,7 +4,7 @@ namespace :translation do
include Usage
def write_email(email, email_description, output_file)
- mail_object = MailHandler.mail_from_raw_email(email.to_s, decode=false)
+ mail_object = MailHandler.mail_from_raw_email(email.to_s)
output_file.write("\n")
output_file.write("Description of email: #{email_description}\n")
output_file.write("Subject line: #{mail_object.subject}\n")
@@ -86,7 +86,7 @@ namespace :translation do
'fixtures',
'files',
'incoming-request-plain.email'))
- response_mail = MailHandler.mail_from_raw_email(content, decode=false)
+ response_mail = MailHandler.mail_from_raw_email(content)
response_mail.from = "authority@example.com"
stopped_responses_email = RequestMailer.create_stopped_responses(info_request,