[FIX] mail: correct code indentation introduced during previous forward-port
authorChristophe Simonis <chs@openerp.com>
Wed, 7 May 2014 16:42:07 +0000 (18:42 +0200)
committerChristophe Simonis <chs@openerp.com>
Wed, 7 May 2014 16:42:07 +0000 (18:42 +0200)
bzr revid: chs@openerp.com-20140507164207-kmme4tsrd4w1m7l1

addons/mail/mail_mail.py

index c4466a9..9811fcd 100644 (file)
@@ -293,7 +293,7 @@ class mail_mail(osv.Model):
                 # /!\ can't use mail.state here, as mail.refresh() will cause an error
                 # see revid:odo@openerp.com-20120622152536-42b2s28lvdv3odyr in 6.1
                 self._postprocess_sent_message(cr, uid, mail, context=context, mail_sent=mail_sent)
-                    _logger.info('Mail with ID %r and Message-Id %r successfully sent', mail.id, mail.message_id)
+                _logger.info('Mail with ID %r and Message-Id %r successfully sent', mail.id, mail.message_id)
             except MemoryError:
                 # prevent catching transient MemoryErrors, bubble up to notify user or abort cron job
                 # instead of marking the mail as failed