Skip to content

Commit 6c1d3b8

Browse files
committed
Merged in [13892] from mahoney@nostrum.com:
Made email subject 'I-D ACTION:<draft>' consistent with other 'I-D Action: <draft>' email subjects. Fixes ietf-tools#1519. - Legacy-Id: 13896 Note: SVN reference [13892] has been migrated to Git commit 8bb332d
2 parents 34a85fd + 8bb332d commit 6c1d3b8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ietf/secr/drafts/email.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ def get_email_initial(draft, action=None, input=None):
179179
The dictionary consists of to, cc, subject, body.
180180
181181
NOTE: for type=new we are listing all authors in the message body to match legacy app.
182-
It appears datatracker abbreviates the list with "et al". Datatracker scheduled_announcement
183-
entries have "Action" in subject whereas this app uses "ACTION"
182+
It appears datatracker abbreviates the list with "et al".
184183
"""
185184
expiration_date = (datetime.date.today() + datetime.timedelta(185)).strftime('%B %d, %Y')
186185
new_revision = str(int(draft.rev)+1).zfill(2)
@@ -210,7 +209,7 @@ def get_email_initial(draft, action=None, input=None):
210209
'timestamp':time.strftime("%Y-%m-%d%H%M%S", time.localtime())}
211210
data['to'] = 'i-d-announce@ietf.org'
212211
data['cc'] = draft.group.list_email
213-
data['subject'] = 'I-D ACTION:%s' % (curr_filename)
212+
data['subject'] = 'I-D Action: %s' % (curr_filename)
214213
data['body'] = render_to_string('drafts/message_new.txt', context)
215214

216215
elif action == 'replace':

0 commit comments

Comments
 (0)