Fix logging problem in IPR mail handling. Commit ready for merge.

- Legacy-Id: 8903
This commit is contained in:
Ryan Cross 2015-01-23 21:00:13 +00:00
parent bfeb650e0e
commit 5a0e381985
2 changed files with 1 additions and 2 deletions

View file

@ -192,4 +192,5 @@ def process_response_email(msg):
in_reply_to = to_message
)
log(u"Received IPR email from %s" % ietf_message.frm)
return ietf_message

View file

@ -3,7 +3,6 @@ from optparse import make_option
from django.core.management.base import BaseCommand, CommandError
from ietf.utils.log import log
from ietf.ipr.mail import process_response_email
import debug # pyflakes:ignore
@ -24,6 +23,5 @@ class Command(BaseCommand):
try:
message = process_response_email(msg)
log(u"Received IPR email from %s" % message.frm)
except ValueError as e:
raise CommandError(e)