mirror of
https://github.com/python/cpython.git
synced 2025-11-04 03:44:55 +00:00
Packaging: use repr to display projects name (3ebabfbf6fe3 followup)
This commit is contained in:
parent
577a6af8e6
commit
5c6684f314
1 changed files with 1 additions and 1 deletions
|
|
@ -520,7 +520,7 @@ def install(project):
|
||||||
|
|
||||||
except InstallationConflict as e:
|
except InstallationConflict as e:
|
||||||
if logger.isEnabledFor(logging.INFO):
|
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))
|
logger.info('%r conflicts with %s', project, ','.join(projects))
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue