aboutsummaryrefslogblamecommitdiffstats
path: root/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/0cad2ac6-76ef-4a88-abdf-b2e02de76f5c/comments/202e0dc6-61bf-4b17-a8bd-f8a27482cb68/body
blob: ccc18ea9812c6886c0ea3d8eba1cce048cfd65d6 (plain) (tree)
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'