summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Bidoul <stephane.bidoul@gmail.com>2023-04-10 14:25:40 +0200
committerStéphane Bidoul <stephane.bidoul@gmail.com>2023-04-14 08:03:48 +0200
commitff8c8e38887880ad81ffd7cfc6a8373213c087b7 (patch)
tree15cb7e4fc5103798cff446cc3fda1e8f02c7ad33
parentf86ba465e39a269167a480e426620c5d5cc8cdfc (diff)
downloadpip-ff8c8e38887880ad81ffd7cfc6a8373213c087b7.tar.gz
Cosmetics
-rw-r--r--src/pip/_internal/resolution/resolvelib/candidates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pip/_internal/resolution/resolvelib/candidates.py b/src/pip/_internal/resolution/resolvelib/candidates.py
index e5e9d1fd7..109fbdaf6 100644
--- a/src/pip/_internal/resolution/resolvelib/candidates.py
+++ b/src/pip/_internal/resolution/resolvelib/candidates.py
@@ -259,7 +259,7 @@ class LinkCandidate(_InstallRequirementBackedCandidate):
version: Optional[CandidateVersion] = None,
) -> None:
source_link = link
- cache_entry = factory.get_wheel_cache_entry(link, name)
+ cache_entry = factory.get_wheel_cache_entry(source_link, name)
if cache_entry is not None:
logger.debug("Using cached wheel link: %s", cache_entry.link)
link = cache_entry.link