Commit cee7279f authored by Jason R. Coombs's avatar Jason R. Coombs

Updated message when credentials used from .pypirc

parent 75345928
...@@ -992,7 +992,8 @@ def open_with_auth(url, opener=urllib2.urlopen): ...@@ -992,7 +992,8 @@ def open_with_auth(url, opener=urllib2.urlopen):
cred = PyPIConfig().find_credential(url) cred = PyPIConfig().find_credential(url)
if cred: if cred:
auth = str(cred) auth = str(cred)
log.info('Authentication found for URL: %s' % url) info = cred.username, url
log.info('Authenticating as %s for %s (from .pypirc)' % info)
if auth: if auth:
auth = "Basic " + _encode_auth(auth) auth = "Basic " + _encode_auth(auth)
......
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