Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d7ce569

Browse filesBrowse files
authored
Fix undefined name in purelib.py (bazel-contrib#604)
1 parent 8041957 commit d7ce569
Copy full SHA for d7ce569

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎python/pip_install/extract_wheels/lib/purelib.py

Copy file name to clipboardExpand all lines: python/pip_install/extract_wheels/lib/purelib.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def _spread_purelib(purelib_dir: pathlib.Path, root_dir: str) -> None:
6060
for child in purelib_dir.iterdir():
6161
if child.is_dir():
6262
backport_copytree(src=child, dst=pathlib.Path(root_dir, child.name))
63-
elif not pathlib.Path(root_dir, grandchild.name).exists():
63+
elif not pathlib.Path(root_dir, child.name).exists():
6464
shutil.copy(
65-
src=str(grandchild),
65+
src=str(child),
6666
dst=root_dir,
6767
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.