get_netrc_auth: code cleanup
authorChris Adams <chris@improbable.org>
Tue, 7 Jan 2014 17:23:11 +0000 (12:23 -0500)
committerChris Adams <chris@improbable.org>
Tue, 7 Jan 2014 17:23:11 +0000 (12:23 -0500)
commita80bd7708d620ba1797aed1ca0840996fa137517
treef5c89c1987a830c8f79d01aa90f1146a7b4d6887
parent0b41cec7a42682da52a24c87ff6b2c341f101005
get_netrc_auth: code cleanup

* Stop iterating as soon as we find a netrc file
* More obvious return None
requests/utils.py