[commands/cache] Reformat output of `pip cache info`

Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
This commit is contained in:
Ellen Marie Dash 2020-03-05 10:43:44 -05:00 committed by Ellen Marie Dash
parent 63ba6cce4a
commit ed9f885bd7
1 changed files with 3 additions and 4 deletions

View File

@ -78,10 +78,9 @@ class CacheCommand(Command):
cache_size = filesystem.format_directory_size(cache_location)
message = textwrap.dedent("""
Cache info:
Location: {location}
Packages: {package_count}
Size: {size}
Location: {location}
Size: {size}
Number of wheels: {package_count}
""").format(
location=cache_location,
package_count=num_packages,