blob: ccc18ea9812c6886c0ea3d8eba1cce048cfd65d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
Fixed another bug in git.strip_git(). lstrip() wasn't what I had thought.
>>> "/a.b/.be/x/y".lstrip("/a.b/")
'e/x/y'
So I went back to just droping the first N chars
>>> "/a.b/.be/x/y"[len("/a.b/"):]
'.be/x/y'
|