Skip to content

Commit d8005ab

Browse files
committed
Fixed an issue in Person.needs_consent(): avoid multiple mentions of 'email address'.
- Legacy-Id: 15268
1 parent 5251d0e commit d8005ab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ietf/person/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def needs_consent(self):
180180
for email in self.email_set.all():
181181
if not email.origin.split(':')[0] in ['author', 'role', 'reviewer', 'liaison', 'shepherd', ]:
182182
needs_consent.append("email address(es)")
183+
break
183184
return needs_consent
184185

185186
def save(self, *args, **kwargs):

0 commit comments

Comments
 (0)