mypy: Fix a buggy annotation in create_mirrored_message_users.

This commit is contained in:
Tim Abbott 2017-05-23 15:45:56 -07:00
parent 40b3330f2c
commit 796cf8e5fd
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ def update_message_flags(request, user_profile,
'msg': ''})
def create_mirrored_message_users(request, user_profile, recipients):
# type: (HttpResponse, UserProfile, Iterable[Text]) -> Tuple[bool, Optional[UserProfile]]
# type: (HttpRequest, UserProfile, Iterable[Text]) -> Tuple[bool, Optional[UserProfile]]
if "sender" not in request.POST:
return (False, None)