(dPath,trailsep=True)
| 186 | return((validPath,simpPath)) |
| 187 | |
| 188 | def pFmt(dPath,trailsep=True): |
| 189 | if dPath == "": |
| 190 | return sep |
| 191 | elif dPath == sep: |
| 192 | return dPath |
| 193 | elif trailsep: |
| 194 | return dPath+(sep if dPath[-1]!=sep else "") |
| 195 | else: |
| 196 | return dPath[:(-1 if dPath[-1] == sep else None)] |
| 197 | |
| 198 | def absolutePath(argPath,currDir): |
| 199 |
no outgoing calls
no test coverage detected