We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 867d099 commit 25752d2Copy full SHA for 25752d2
1 file changed
src/manage/pathutils.py
@@ -83,7 +83,8 @@ def parts(self):
83
while ".." in bits:
84
i = bits.index("..")
85
bits.pop(i)
86
- bits.pop(i - 1)
+ if i >= 1:
87
+ bits.pop(i - 1)
88
return bits
89
90
def __truediv__(self, other):
0 commit comments