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
changes/01/332501/1
nodir@chromium.org 12 years ago
parent 0c3f305afe
commit 5259508913

@ -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

Loading…
Cancel
Save