models: Fix typo in comments for get_users_by_delivery_email.

This commit is contained in:
Sumanth V Rao 2020-08-02 09:27:20 +05:30 committed by Tim Abbott
parent 59fb110209
commit a003d592b3
1 changed files with 1 additions and 1 deletions

View File

@ -2334,7 +2334,7 @@ def get_user_by_delivery_email(email: str, realm: Realm) -> UserProfile:
delivery_email__iexact=email.strip(), realm=realm) delivery_email__iexact=email.strip(), realm=realm)
def get_users_by_delivery_email(emails: Set[str], realm: Realm) -> QuerySet: def get_users_by_delivery_email(emails: Set[str], realm: Realm) -> QuerySet:
"""This is similar to get_users_by_delivery_email, and """This is similar to get_user_by_delivery_email, and
it has the same security caveats. It gets multiple it has the same security caveats. It gets multiple
users and returns a QuerySet, since most callers users and returns a QuerySet, since most callers
will only need two or three fields. will only need two or three fields.