Skip to content

Commit 63ec3f9

Browse files
committed
Tweak PersonOrOrgName.email() to handle non-ascii names a bit better.
- Legacy-Id: 3199
1 parent 5ae20ef commit 63ec3f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/idtracker/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def __unicode__(self):
271271
return u"(Person #%s)" % self.person_or_org_tag
272272
return u"%s %s" % ( self.first_name or u"<nofirst>", self.last_name or u"<nolast>")
273273
def email(self, priority=1, type=None):
274-
name = str(self)
274+
name = unicode(self)
275275
email = ''
276276
types = type and [ type ] or [ "INET", "Prim", None ]
277277
for type in types:

0 commit comments

Comments
 (0)