Skip to content

Commit 7f1683f

Browse files
committed
Summary: Fix old bug in liaison tool - WG discussion lists where being
CC'ed with their list_subscribe rather than list_email address, and the former is usually a URL, not an email address so cause a validation error when submitting the statement - Legacy-Id: 8733
1 parent 1d51a43 commit 7f1683f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/liaisons/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,18 +237,18 @@ def get_cc(self, person=None):
237237
result = [p for p in role_persons_with_fixed_email(self.obj.parent, "ad") if p != person]
238238
else:
239239
result = []
240-
if self.obj.list_subscribe:
240+
if self.obj.list_email:
241241
result.append(FakePerson(name ='%s Discussion List' % self.obj.name,
242-
address = self.obj.list_subscribe))
242+
address = self.obj.list_email))
243243
return result
244244

245245
def get_from_cc(self, person):
246246
result = [p for p in role_persons_with_fixed_email(self.obj, "chair") if p != person]
247247
if self.obj.parent:
248248
result += role_persons_with_fixed_email(self.obj.parent, "ad")
249-
if self.obj.list_subscribe:
249+
if self.obj.list_email:
250250
result.append(FakePerson(name ='%s Discussion List' % self.obj.name,
251-
address = self.obj.list_subscribe))
251+
address = self.obj.list_email))
252252
return result
253253

254254
def needs_approval(self, person=None):

0 commit comments

Comments
 (0)