summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-07-26 13:53:51 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-07-26 13:53:51 +0900
commit8e397d1334528125c9cca50a864013c690eeebb0 (patch)
tree1e7ef31748cc0e61a5647b839d40af380107c8f4 /sphinx/util/pycompat.py
parent15a251ec40d021b2d7168f30c577b9d5d88eef77 (diff)
downloadsphinx-git-8e397d1334528125c9cca50a864013c690eeebb0.tar.gz
Fix flake8 violation
Diffstat (limited to 'sphinx/util/pycompat.py')
-rw-r--r--sphinx/util/pycompat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py
index 0daa87981..44f51eaeb 100644
--- a/sphinx/util/pycompat.py
+++ b/sphinx/util/pycompat.py
@@ -80,7 +80,7 @@ else:
# error handler
sys_encoding = __import__('locale').getpreferredencoding()
# use Python 3 name
- from cgi import escape as htmlescape # noqa: 2.6, 2.7
+ from cgi import escape as htmlescape # noqa: F401
class UnicodeMixin(object):
"""Mixin class to handle defining the proper __str__/__unicode__