summaryrefslogtreecommitdiff
path: root/sphinx/util/osutil.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 13:03:53 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 13:03:53 +0900
commit38d6c34f35c60689f22d1f71ce650ca1e3005ec4 (patch)
tree0677416d0de03a53ee7d348289d8560e511c2bed /sphinx/util/osutil.py
parentef912eb9a3e923e80d5c6a08fda4597a65d591aa (diff)
parent478306e052d9711170b1fbe63635edef02853484 (diff)
downloadsphinx-git-38d6c34f35c60689f22d1f71ce650ca1e3005ec4.tar.gz
Merge branch 'stable'
Diffstat (limited to 'sphinx/util/osutil.py')
-rw-r--r--sphinx/util/osutil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py
index 5561f0ddb..ba2e1abf4 100644
--- a/sphinx/util/osutil.py
+++ b/sphinx/util/osutil.py
@@ -30,7 +30,7 @@ if False:
# Errnos that we need.
EEXIST = getattr(errno, 'EEXIST', 0)
ENOENT = getattr(errno, 'ENOENT', 0)
-EPIPE = getattr(errno, 'EPIPE', 0)
+EPIPE = getattr(errno, 'EPIPE', 0)
EINVAL = getattr(errno, 'EINVAL', 0)
# SEP separates path elements in the canonical file names
@@ -73,7 +73,7 @@ def relative_uri(base, to):
# Special case: relative_uri('f/index.html','f/') should
# return './', not ''
return '.' + SEP
- return ('..' + SEP) * (len(b2)-1) + SEP.join(t2)
+ return ('..' + SEP) * (len(b2) - 1) + SEP.join(t2)
def ensuredir(path):