Fix several new errors caught by mypy 0.501.

Clear out a bunch of easy to review errors, so we can focus on the more
complicated ones.
This commit is contained in:
Rishi Gupta
2017-03-03 11:30:49 -08:00
parent 024168d85d
commit 28d3af0965
15 changed files with 22 additions and 13 deletions

View File

@@ -97,3 +97,4 @@ class BaseDocumentationSpider(scrapy.Spider):
self._set_error_state()
else:
raise Exception(failure.value)
return None