Skip to content

Commit 996f781

Browse files
committed
Expanded the nominee __unicode__() method to provide unique results by including the nomcom year.
- Legacy-Id: 12799
1 parent 7dea44e commit 996f781

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/nomcom/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ class Meta:
117117

118118
def __unicode__(self):
119119
if self.email.person and self.email.person.name:
120-
return u'%s <%s>' % (self.email.person.plain_name(), self.email.address)
120+
return u'%s <%s> %s' % (self.email.person.plain_name(), self.email.address, self.nomcom.year())
121121
else:
122-
return self.email.address
122+
return u'%s %s' % (self.email.address, self.nomcom.year())
123123

124124
def name(self):
125125
if self.email.person and self.email.person.name:

0 commit comments

Comments
 (0)