(root, file=None, codec=None)
| 75 | |
| 76 | |
| 77 | def GetPath(root, file=None, codec=None): |
| 78 | # Replace this with the function we actually use for this |
| 79 | path = os.path.realpath(os.path.abspath(root)) |
| 80 | |
| 81 | if file: |
| 82 | path = os.path.join(path, file) |
| 83 | |
| 84 | if codec: |
| 85 | path = path.decode(codec) |
| 86 | |
| 87 | return path |
| 88 | |
| 89 | def GetUnicodePath(root, file=None, codec=None): |
| 90 | # Replace this with the function we actually use for this |
no outgoing calls