3256 """ |
3256 """ |
3257 if self.startswithProjectPath(path): |
3257 if self.startswithProjectPath(path): |
3258 if self.ppath and path == self.ppath: |
3258 if self.ppath and path == self.ppath: |
3259 return "" |
3259 return "" |
3260 else: |
3260 else: |
3261 return path[len(self.ppath) + 1:] |
3261 relpath = path[len(self.ppath):] |
|
3262 if relpath.startswith(("/", "\\")): |
|
3263 relpath = relpath[1:] |
|
3264 return relpath |
3262 else: |
3265 else: |
3263 return path |
3266 return path |
3264 |
3267 |
3265 def getRelativeUniversalPath(self, path): |
3268 def getRelativeUniversalPath(self, path): |
3266 """ |
3269 """ |