aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-11-14 10:34:14 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-11-14 10:34:14 -0500
commitcee7279fb782fd97b8e7ce06642054ee45ca0564 (patch)
tree1ffc01d989b2d5c496a080ecf6249418bc55b11c /setuptools/package_index.py
parent75345928c3e2cb0f88cdf44d33752e1ed6b19290 (diff)
downloadexternal_python_setuptools-cee7279fb782fd97b8e7ce06642054ee45ca0564.tar.gz
external_python_setuptools-cee7279fb782fd97b8e7ce06642054ee45ca0564.tar.bz2
external_python_setuptools-cee7279fb782fd97b8e7ce06642054ee45ca0564.zip
Updated message when credentials used from .pypirc
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index a61d3c74..231311ec 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -992,7 +992,8 @@ def open_with_auth(url, opener=urllib2.urlopen):
cred = PyPIConfig().find_credential(url)
if 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:
auth = "Basic " + _encode_auth(auth)