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