[commands/cache] Avoid use of "(s)" suffix.

As @hugovk pointed out, it can cause problems sometimes:

https://github.com/pypa/pip/pull/6391#discussion_r366259867
This commit is contained in:
Ellen Marie Dash 2020-01-14 14:36:58 -05:00
parent 2d978309a2
commit 6fa8498e18
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class CacheCommand(Command):
for filename in files:
os.unlink(filename)
logger.debug('Removed %s', filename)
logger.info('Removed %s file(s)', len(files))
logger.info('Files removed: %s', len(files))
def purge_cache(self, options, args):
# type: (Values, List[Any]) -> None