(root, path)
| 11 | from codecs import open |
| 12 | |
| 13 | def getpath(root, path): |
| 14 | for i in range(10,0,-1): |
| 15 | if not '../'*i in path: continue |
| 16 | s = root |
| 17 | for j in range(i):s=os.path.dirname(s) |
| 18 | path = path.replace('../'*i, s+'/') |
| 19 | return path.replace('\\\\','\\').replace('\\','/') |
| 20 | |
| 21 | def extend_plugins(path, lst, err): |
| 22 | rst = [] |
no outgoing calls
no test coverage detected