Skip to content

Commit e8de267

Browse files
committed
Merged [2644] from fenner@fenron.net:
Fill in the X-IETF-IDTracker header with the I-D Tracker version number. This fixes ietf-tools#513 - Legacy-Id: 2647 Note: SVN reference [2644] has been migrated to Git commit 77a401f
1 parent 0ffd03c commit e8de267

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/utils/mail.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from django.core.exceptions import ImproperlyConfigured
1111
from django.template.loader import render_to_string
1212
from django.template import Context,RequestContext
13+
import ietf
1314
from ietf.utils import log
1415
import sys
1516
import time
@@ -163,6 +164,7 @@ def send_mail_mime(request, to, frm, subject, msg, cc=None, extra=None, toUser=N
163164
msg['Cc'] = cc
164165
msg['Subject'] = subject
165166
msg['X-Test-IDTracker'] = (settings.SERVER_MODE == 'production') and 'no' or 'yes'
167+
msg['X-IETF-IDTracker'] = ietf.__version__
166168
if extra:
167169
for k, v in extra.iteritems():
168170
msg[k] = v

0 commit comments

Comments
 (0)