summaryrefslogtreecommitdiff
path: root/sphinx/jinja2glue.py
diff options
context:
space:
mode:
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)