Skip to content

Commit ab9f6f3

Browse files
itamarstpradyunsg
andauthored
Fix formatting, combine numbers not strings!
Co-authored-by: Pradyun Gedam <[email protected]>
1 parent b273cee commit ab9f6f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pip/_internal/commands/cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def get_cache_info(self, options: Values, args: List[Any]) -> None:
9797
old_http_cache_location = self._cache_dir(options, "http")
9898
wheels_cache_location = self._cache_dir(options, "wheels")
9999
http_cache_size = (
100-
filesystem.format_directory_size(http_cache_location) +
101-
filesystem.format_directory_size(old_http_cache_location)
100+
filesystem.format_size(filesystem.directory_size(http_cache_location) +
101+
filesystem.directory_size(old_http_cache_location))
102102
)
103103
wheels_cache_size = filesystem.format_directory_size(wheels_cache_location)
104104

0 commit comments

Comments
 (0)