Merged in [8903] from rcross@amsl.com:

Fix logging problem in IPR mail handling.
 - Legacy-Id: 8973
Note: SVN reference [8903] has been migrated to Git commit 5a0e381985
This commit is contained in:
Henrik Levkowetz 2015-02-04 21:58:40 +00:00
commit 7bb3744113
2 changed files with 2 additions and 3 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
@ -23,7 +22,6 @@ class Command(BaseCommand):
msg = open(email, "r").read()
try:
message = process_response_email(msg)
log(u"Received IPR email from %s" % message.frm)
process_response_email(msg)
except ValueError as e:
raise CommandError(e)