[Python-checkins] cpython: Packaging: use repr to display projects name (3ebabfbf6fe3 followup)
eric.araujo
python-checkins at python.org
Fri Jun 10 18:35:04 CEST 2011
http://hg.python.org/cpython/rev/9939be4e96be
changeset: 70760:9939be4e96be
parent: 70735:6feb5c87a7fb
user: Éric Araujo <merwok at netwok.org>
date: Fri Jun 10 03:10:53 2011 +0200
summary:
Packaging: use repr to display projects name (3ebabfbf6fe3 followup)
files:
Lib/packaging/install.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/packaging/install.py b/Lib/packaging/install.py
--- a/Lib/packaging/install.py
+++ b/Lib/packaging/install.py
@@ -520,7 +520,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list