summaryrefslogtreecommitdiff
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-08-03 22:02:31 -0400
committerGitHub <noreply@github.com>2016-08-03 22:02:31 -0400
commit5129feb2a45c60a6050d8a27aaa8611fbb74e00a (patch)
tree19951d6cc618b554e97cc75db5ddc676fa5ffb67 /setuptools/package_index.py
parent6a4e5446c941291ec5e7c56cee1d5a872300c955 (diff)
parent18c0fdab26ba13a9cf142408d7f1f2566be21fa7 (diff)
downloadpython-setuptools-git-5129feb2a45c60a6050d8a27aaa8611fbb74e00a.tar.gz
Merge pull request #717 from vallsv/fix-logging-arguments
Fix logging using arguments instead of formatter
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 8d965f49..9ef782cb 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -1038,8 +1038,7 @@ def open_with_auth(url, opener=urllib.request.urlopen):
cred = PyPIConfig().find_credential(url)
if cred:
auth = str(cred)
- info = cred.username, url
- log.info('Authenticating as %s for %s (from .pypirc)' % info)
+ log.info('Authenticating as %s for %s (from .pypirc)', cred.username, url)
if auth:
auth = "Basic " + _encode_auth(auth)