Merged in [7153] from rjsparks@nostrum.com:

Fixed a typo in code that looks for the IRTF chair email address while adding replaces relationships.
Made that code slightly more robust.
Fixes ticket #1253
 - Legacy-Id: 7531
Note: SVN reference [7153] has been migrated to Git commit 99c01fa54a
This commit is contained in:
Henrik Levkowetz 2014-03-21 11:55:51 +00:00
commit 5a424fe2da
3 changed files with 5 additions and 4 deletions

View file

@ -11,7 +11,7 @@ from ietf.utils.mail import send_mail
management.setup_environ(settings)
target_date=datetime.date(year=2014,month=1,day=20)
target_date=datetime.date(year=2014,month=1,day=24)
send_mail(request = None,
to = "IETF-Announce <ietf-announce@ietf.org>",

View file

@ -298,9 +298,9 @@ def collect_email_addresses(emails, doc):
if address not in emails:
emails[address] = '"%s-ads"' % (doc.group.acronym)
elif doc.group.type.slug == 'rg':
email = doc.group.parent.role_set.filter(name='char')[0].email
if email.address not in emails:
emails[email.address] = '"%s"' % (email.person.name)
for role in doc.group.parent.role_set.filter(name='chair'):
if role.email.address not in emails:
emails[role.email.address] = '"%s"' % (role.person.name)
if doc.shepherd:
address = doc.shepherd.email_address();
if address not in emails:

View file

@ -7,6 +7,7 @@
# --- Add entries at the top ---
personal/rcross/v5.1.0@7454
personal/rjs/v5.1.0-dajaxice-patch@7456
personal/rcross/v5.0.2@7398
personal/rcross/v5.0.2@7378