Skip to content

Commit 7bb3744

Browse files
committed
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 5a0e381
2 parents 4c33787 + 5a0e381 commit 7bb3744

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

ietf/ipr/mail.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,5 @@ def process_response_email(msg):
192192
in_reply_to = to_message
193193
)
194194

195+
log(u"Received IPR email from %s" % ietf_message.frm)
195196
return ietf_message

ietf/ipr/management/commands/process_email.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from django.core.management.base import BaseCommand, CommandError
55

6-
from ietf.utils.log import log
76
from ietf.ipr.mail import process_response_email
87

98
import debug # pyflakes:ignore
@@ -23,7 +22,6 @@ def handle(self, *args, **options):
2322
msg = open(email, "r").read()
2423

2524
try:
26-
message = process_response_email(msg)
27-
log(u"Received IPR email from %s" % message.frm)
25+
process_response_email(msg)
2826
except ValueError as e:
2927
raise CommandError(e)

0 commit comments

Comments
 (0)