aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
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)