From 030eb5ff9f8f553ea2addef964681550e49f5886 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 15 Jan 2015 20:58:37 +0000 Subject: [PATCH] Merged in [8733] from olau@iola.dk:\n 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: 8868 Note: SVN reference [8733] has been migrated to Git commit 7f1683f093f3fc1923c87de26544e5b596e6d64d --- ietf/liaisons/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ietf/liaisons/utils.py b/ietf/liaisons/utils.py index 91a4a10ee..74b1d84dc 100644 --- a/ietf/liaisons/utils.py +++ b/ietf/liaisons/utils.py @@ -237,18 +237,18 @@ class WGEntity(Entity): result = [p for p in role_persons_with_fixed_email(self.obj.parent, "ad") if p != person] else: result = [] - if self.obj.list_subscribe: + if self.obj.list_email: result.append(FakePerson(name ='%s Discussion List' % self.obj.name, - address = self.obj.list_subscribe)) + address = self.obj.list_email)) return result def get_from_cc(self, person): result = [p for p in role_persons_with_fixed_email(self.obj, "chair") if p != person] if self.obj.parent: result += role_persons_with_fixed_email(self.obj.parent, "ad") - if self.obj.list_subscribe: + if self.obj.list_email: result.append(FakePerson(name ='%s Discussion List' % self.obj.name, - address = self.obj.list_subscribe)) + address = self.obj.list_email)) return result def needs_approval(self, person=None):