Commit 52595089 authored by nodir@chromium.org's avatar nodir@chromium.org

Changed error message on no auth in .netrc

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@272343 0039d316-1c4b-4281-b951-d872f2087c98
parent 0c3f305a
......@@ -75,7 +75,7 @@ def CreateHttpConn(host, path, reqtype='GET', headers=None, body=None):
headers.setdefault('Authorization', 'Basic %s' % (
base64.b64encode('%s:%s' % (auth[0], auth[2]))))
else:
LOGGER.debug('No authorization found in netrc.')
LOGGER.debug('No authorization found in netrc for %s.' % bare_host)
if 'Authorization' in headers and not path.startswith('a/'):
url = '/a/%s' % path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment