diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-02-21 08:17:19 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-02-21 08:17:19 +0300 |
commit | acf36ac9c2d310b0c430e42ab272f16c1339d116 (patch) | |
tree | a70b7be62f4cb9bd2a4e864b939ea6d5de3a570b /sphinx/jinja2glue.py | |
parent | 361328757d112bbc36820e4855104cd85895d40f (diff) |
Fix mypy violations
Diffstat (limited to 'sphinx/jinja2glue.py')
-rw-r--r-- | sphinx/jinja2glue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/jinja2glue.py b/sphinx/jinja2glue.py index 24b6aaf36..01666d37b 100644 --- a/sphinx/jinja2glue.py +++ b/sphinx/jinja2glue.py @@ -172,8 +172,8 @@ class BuiltinTemplateLoader(TemplateBridge, BaseLoader): self.environment.install_gettext_translations(builder.app.translator) # type: ignore # NOQA def render(self, template, context): - # type: (unicode, Dict) -> None - self.environment.get_template(template).render(context) + # type: (unicode, Dict) -> unicode + return self.environment.get_template(template).render(context) def render_string(self, source, context): # type: (unicode, Dict) -> unicode |