From 7f1683f093f3fc1923c87de26544e5b596e6d64d Mon Sep 17 00:00:00 2001
From: Ole Laursen <olau@iola.dk>
Date: Fri, 12 Dec 2014 17:06:05 +0000
Subject: [PATCH] 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

---
 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):