diff options
author | Valentin Valls <valentin.valls@esrf.fr> | 2016-08-03 13:55:56 +0200 |
---|---|---|
committer | Valentin Valls <valentin.valls@esrf.fr> | 2016-08-03 13:56:08 +0200 |
commit | 18c0fdab26ba13a9cf142408d7f1f2566be21fa7 (patch) | |
tree | 19951d6cc618b554e97cc75db5ddc676fa5ffb67 /setuptools/package_index.py | |
parent | 6a4e5446c941291ec5e7c56cee1d5a872300c955 (diff) | |
download | external_python_setuptools-18c0fdab26ba13a9cf142408d7f1f2566be21fa7.tar.gz external_python_setuptools-18c0fdab26ba13a9cf142408d7f1f2566be21fa7.tar.bz2 external_python_setuptools-18c0fdab26ba13a9cf142408d7f1f2566be21fa7.zip |
Fix logging using arguments instead of formatter
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-x | setuptools/package_index.py | 3 |
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) |