Paths in Windows can get a little weird
(path)
| 43 | |
| 44 | |
| 45 | def fixpath(path): |
| 46 | """Paths in Windows can get a little weird""" |
| 47 | if len(path) > 2 and path[1] != ':' and platform.system() == 'Windows' and path[2] == '/': |
| 48 | return path[1] + ':' + path[2:] |
| 49 | return path |
| 50 | |
| 51 | |
| 52 | def createComponentsFile(): |
no outgoing calls
no test coverage detected