fix: Remove the person_link nowrap option from the Python code (#3659)

This was missed in #3657.
This commit is contained in:
Lars Eggert 2022-03-16 18:12:23 +02:00 committed by GitHub
parent a68c154df9
commit ef7d962e63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,6 @@ def person_link(person, **kwargs):
title = kwargs.get("title", "")
cls = kwargs.get("class", "")
with_email = kwargs.get("with_email", True)
nowrap = kwargs.get("nowrap", True)
if person:
plain_name = person.plain_name()
name = (
@ -56,7 +55,6 @@ def person_link(person, **kwargs):
"title": title,
"class": cls,
"with_email": with_email,
"nowrap": nowrap,
}
else:
return {}
@ -67,7 +65,6 @@ def email_person_link(email, **kwargs):
title = kwargs.get("title", "")
cls = kwargs.get("class", "")
with_email = kwargs.get("with_email", True)
nowrap = kwargs.get("nowrap", True)
plain_name = email.person.plain_name()
name = (
email.person.name
@ -82,5 +79,4 @@ def email_person_link(email, **kwargs):
"title": title,
"class": cls,
"with_email": with_email,
"nowrap": nowrap,
}