]> source.dussan.org Git - redmine.git/commitdiff
remove trailing white-spaces from app/models/mail_handler.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 6 Jan 2013 09:32:42 +0000 (09:32 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 6 Jan 2013 09:32:42 +0000 (09:32 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11127 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mail_handler.rb

index 3b72ef2840978ca9785243b6a4e6744a990a12ea..bc0c6addbbfe870aab20aa138e5c0d409a67ecb9 100644 (file)
@@ -107,7 +107,7 @@ class MailHandler < ActionMailer::Base
       else
         # Default behaviour, emails from unknown users are ignored
         if logger && logger.info
-          logger.info  "MailHandler: ignoring email from unknown user [#{sender_email}]" 
+          logger.info  "MailHandler: ignoring email from unknown user [#{sender_email}]"
         end
         return false
       end
@@ -485,7 +485,7 @@ class MailHandler < ActionMailer::Base
                  }
     if assignee.nil? && keyword.match(/ /)
       firstname, lastname = *(keyword.split) # "First Last Throwaway"
-      assignee ||= assignable.detect {|a| 
+      assignee ||= assignable.detect {|a|
                      a.is_a?(User) && a.firstname.to_s.downcase == firstname &&
                        a.lastname.to_s.downcase == lastname
                    }