Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YahooOAuth failed to get primary email if multiple email found in the profile. #473

Merged
merged 1 commit into from
Feb 10, 2015

Conversation

wj1918
Copy link
Contributor

@wj1918 wj1918 commented Jan 2, 2015

The sorting method to get the primary email email is reversed.

Note the default behavior of python sorting on a Boolean arrays is to putting False first. for example.

a=[True,False]
a.sort()
a
[False, True]

omab added a commit that referenced this pull request Feb 10, 2015
YahooOAuth failed to get primary email if multiple email found in the profile.
@omab omab merged commit 89ca422 into omab:master Feb 10, 2015
@omab
Copy link
Owner

omab commented Feb 10, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants