Skip to content

Commit 08b62b6

Browse files
committed
commands.show: fix small typo in function name
1 parent 4adc1b3 commit 08b62b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pip/_internal/commands/show.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class _PackageInfo(NamedTuple):
6969
files: Optional[List[str]]
7070

7171

72-
def _covert_legacy_entry(entry: Tuple[str, ...], info: Tuple[str, ...]) -> str:
72+
def _convert_legacy_entry(entry: Tuple[str, ...], info: Tuple[str, ...]) -> str:
7373
"""Convert a legacy installed-files.txt path into modern RECORD path.
7474
7575
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]]:
146146
if not info_rel.parts: # info *is* root.
147147
return paths
148148
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
150150
)
151151

152152
for query_name in query_names:

0 commit comments

Comments
 (0)