File tree 1 file changed +2
-2
lines changed
src/pip/_internal/metadata/importlib
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def find(self, location: str) -> Iterator[BaseDistribution]:
85
85
installed_location = info_location .parent
86
86
yield Distribution (dist , info_location , installed_location )
87
87
88
- def find_linked (self , location : str ) -> Iterator [BaseDistribution ]:
88
+ def find_legacy_editables (self , location : str ) -> Iterator [BaseDistribution ]:
89
89
"""Read location in egg-link files and return distributions in there.
90
90
91
91
The path should be a directory; otherwise this returns nothing. This
@@ -128,7 +128,7 @@ def _iter_distributions(self) -> Iterator[BaseDistribution]:
128
128
finder = _DistributionFinder ()
129
129
for location in self ._paths :
130
130
yield from finder .find (location )
131
- yield from finder .find_linked (location )
131
+ yield from finder .find_legacy_editables (location )
132
132
133
133
def get_distribution (self , name : str ) -> Optional [BaseDistribution ]:
134
134
canonical_name = canonicalize_name (name )
You can’t perform that action at this time.
0 commit comments