sigmavirus24/github3.py — pull request #198 by seveas (2014-02-01 18:03:57+00:00)
Title: authorize: don't use a vanilla session

To properly support two-factor authentication in authorize(), set up
_session.auth if it's not yet been set up. Undo this afterward so we
don't inadvertently log in.