Show More
@@ -785,11 +785,8 b' class InteractiveShell(SingletonConfigurable):' | |||
|
785 | 785 | # So we just check every item in the symlink tree (generally <= 3) |
|
786 | 786 | paths = [p] |
|
787 | 787 | while p.is_symlink(): |
|
788 |
|
|
|
789 |
|
|
|
790 | new_path = p.parent / new_path | |
|
791 | p = new_path | |
|
792 | paths.append(p) | |
|
788 | p = Path(os.readlink(p)) | |
|
789 | paths.append(p.resolve()) | |
|
793 | 790 | |
|
794 | 791 | # In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible |
|
795 | 792 | if p_venv.parts[1] == "cygdrive": |
General Comments 0
You need to be logged in to leave comments.
Login now