File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pip/_internal/commands Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class _PackageInfo(NamedTuple):
69
69
files : Optional [List [str ]]
70
70
71
71
72
- def _covert_legacy_entry (entry : Tuple [str , ...], info : Tuple [str , ...]) -> str :
72
+ def _convert_legacy_entry (entry : Tuple [str , ...], info : Tuple [str , ...]) -> str :
73
73
"""Convert a legacy installed-files.txt path into modern RECORD path.
74
74
75
75
The legacy format stores paths relative to the info directory, while the
@@ -146,7 +146,7 @@ def _files_from_legacy(dist: BaseDistribution) -> Optional[Iterator[str]]:
146
146
if not info_rel .parts : # info *is* root.
147
147
return paths
148
148
return (
149
- _covert_legacy_entry (pathlib .Path (p ).parts , info_rel .parts ) for p in paths
149
+ _convert_legacy_entry (pathlib .Path (p ).parts , info_rel .parts ) for p in paths
150
150
)
151
151
152
152
for query_name in query_names :
You can’t perform that action at this time.
0 commit comments