diff options
author | anatoly techtonik <techtonik@gmail.com> | 2015-10-10 16:44:46 +0300 |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2016-02-09 10:45:11 +0300 |
commit | 281bf2ae3accaa0052902ccf6d760b165b457812 (patch) | |
tree | b984d4b8e2ec821f1e9b25d86ca52037ee6705d8 /sphinx/util/osutil.py | |
parent | 9c53796f87e5957744bcc8b990ef8387446b9964 (diff) | |
download | sphinx-git-281bf2ae3accaa0052902ccf6d760b165b457812.tar.gz |
gettext: use new osutil.canon_path()
Diffstat (limited to 'sphinx/util/osutil.py')
-rw-r--r-- | sphinx/util/osutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py index 9177f42c4..c99042112 100644 --- a/sphinx/util/osutil.py +++ b/sphinx/util/osutil.py @@ -38,7 +38,8 @@ SEP = "/" def os_path(canonicalpath): return canonicalpath.replace(SEP, path.sep) - + + def canon_path(nativepath): """Return path in OS-independent form""" return nativepath.replace(path.sep, SEP) |