summaryrefslogtreecommitdiff
path: root/sphinx/util/osutil.py
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2015-10-10 16:44:46 +0300
committeranatoly techtonik <techtonik@gmail.com>2016-02-09 10:45:11 +0300
commit281bf2ae3accaa0052902ccf6d760b165b457812 (patch)
treeb984d4b8e2ec821f1e9b25d86ca52037ee6705d8 /sphinx/util/osutil.py
parent9c53796f87e5957744bcc8b990ef8387446b9964 (diff)
downloadsphinx-git-281bf2ae3accaa0052902ccf6d760b165b457812.tar.gz
gettext: use new osutil.canon_path()
Diffstat (limited to 'sphinx/util/osutil.py')
-rw-r--r--sphinx/util/osutil.py3
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)