summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-10 01:10:53 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-10 01:10:53 (GMT)
commit5c6684f314d4261f6721a98c1a3cda8f0ec91a15 (patch)
tree46915a69e95c29a6beff977b655bff85f5bf73dc
parent577a6af8e6b715e6b46e92cf14603a266fc361a8 (diff)
downloadcpython-5c6684f314d4261f6721a98c1a3cda8f0ec91a15.zip
cpython-5c6684f314d4261f6721a98c1a3cda8f0ec91a15.tar.gz
cpython-5c6684f314d4261f6721a98c1a3cda8f0ec91a15.tar.bz2
Packaging: use repr to display projects name (3ebabfbf6fe3 followup)
-rw-r--r--Lib/packaging/install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/install.py b/Lib/packaging/install.py
index 4b82088..2317645 100644
--- a/Lib/packaging/install.py
+++ b/Lib/packaging/install.py
@@ -520,7 +520,7 @@ def install(project):
except InstallationConflict as e:
if logger.isEnabledFor(logging.INFO):
- projects = ['%s %s' % (p.name, p.version) for p in e.args[0]]
+ projects = ['%r %s' % (p.name, p.version) for p in e.args[0]]
logger.info('%r conflicts with %s', project, ','.join(projects))
return True