Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-02-06 06:03:32 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-02-06 09:21:19 +0300
commit029e9908c0114fe74df5c1cbf3342dd5205bcac5 (patch)
tree3268a4126c2b09989522f1aae0a576b2413eebe6 /sphinx/jinja2glue.py
parent2e83241486c94cc43e870073e5306b202dbda401 (diff)
Remove unused "type: ignore"
Diffstat (limited to 'sphinx/jinja2glue.py')
-rw-r--r--sphinx/jinja2glue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/jinja2glue.py b/sphinx/jinja2glue.py
index c1bd04765..6ebb1353f 100644
--- a/sphinx/jinja2glue.py
+++ b/sphinx/jinja2glue.py
@@ -33,7 +33,7 @@ if False:
def _tobool(val):
# type: (unicode) -> bool
if isinstance(val, string_types):
- return val.lower() in ('true', '1', 'yes', 'on') # type: ignore
+ return val.lower() in ('true', '1', 'yes', 'on')
return bool(val)