diff options
author | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-05-01 00:09:44 +0900 |
---|---|---|
committer | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-05-01 00:09:44 +0900 |
commit | 27ac8563000c34e121b536adffba658b257b50ff (patch) | |
tree | 074735c32b380ed8af895e5809ffc60a43484ec9 /sphinx/util/osutil.py | |
parent | 2d1549b35a4adea66aebd0b7d9266731dd7ece6f (diff) | |
download | sphinx-git-27ac8563000c34e121b536adffba658b257b50ff.tar.gz |
tiny fix for py2/py3 compatibility in one source.
Diffstat (limited to 'sphinx/util/osutil.py')
-rw-r--r-- | sphinx/util/osutil.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py index 50cf8ee5c..9b5f58b7e 100644 --- a/sphinx/util/osutil.py +++ b/sphinx/util/osutil.py @@ -189,12 +189,6 @@ def find_catalog_files(docname, srcdir, locale_dirs, lang, compaction): fs_encoding = sys.getfilesystemencoding() or sys.getdefaultencoding() -if PY2: - bytes = str -else: - bytes = bytes - - def abspath(pathdir): pathdir = path.abspath(pathdir) if isinstance(pathdir, bytes): |