auth: Fix mypy annotations in authenticate_remote_user.

This commit is contained in:
Tim Abbott 2017-10-11 23:31:35 -07:00
parent 57b8bfe84b
commit 065033e864
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ def finish_google_oauth2(request):
realm, full_name, email_address, is_signup=is_signup)
def authenticate_remote_user(realm, email_address):
# type: (Realm) -> Tuple[UserProfile, Dict[str, Any]]
# type: (Realm, str) -> Tuple[UserProfile, Dict[str, Any]]
return_data = {} # type: Dict[str, bool]
if email_address is None:
# No need to authenticate if email address is None. We already