Remove return syntax if retval is unexpected

This commit is contained in:
Takeshi KOMIYA
2016-11-17 20:33:42 +09:00
parent 6c6ea35524
commit bc329dcc71
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ class Sphinx(object):
self.info('not yet created')
else:
self.info('failed: %s' % err)
return self._init_env(freshenv=True)
self._init_env(freshenv=True)
def _init_builder(self, buildername):
if buildername is None:
+1 -1
View File
@@ -413,7 +413,7 @@ class EpubBuilder(StandaloneHTMLBuilder):
"""
self.fix_ids(doctree)
self.add_visible_links(doctree, self.config.epub_show_urls)
return StandaloneHTMLBuilder.write_doc(self, docname, doctree)
StandaloneHTMLBuilder.write_doc(self, docname, doctree)
def fix_genindex(self, tree):
"""Fix href attributes for genindex pages."""