Convert a /-separated pathname to one using the OS's path separator.
(name)
| 127 | return args |
| 128 | |
| 129 | def allpath(name): |
| 130 | "Convert a /-separated pathname to one using the OS's path separator." |
| 131 | split = name.split('/') |
| 132 | return os.path.join(*split) |
| 133 | |
| 134 | def rel_path(path, parent_path): |
| 135 | """Return path relative to parent_path.""" |
no test coverage detected