Fix missing "return" in liaison proxy, fixes problem with from email

on https://datatracker.ietf.org/liaison/1154/ as reported by Stephanie
McCammon.
 - Legacy-Id: 4307
This commit is contained in:
Ole Laursen 2012-04-23 17:52:22 +00:00
parent 7b2963aaf0
commit b418e5d141

View file

@ -136,7 +136,7 @@ class LiaisonDetailProxy(LiaisonStatement):
def from_sdo(self):
return self.from_group if self.from_group and self.from_group.type_id == "sdo" else None
def from_email(self):
self.from_contact.address
return self.from_contact.address
def get_absolute_url(self):
return '/liaison/%d/' % self.detail_id
class Meta: