Skip to content

Commit

Permalink
Merge pull request #6941 from tk0miya/6936_autogen_raises_AttributeError
Browse files Browse the repository at this point in the history
Fix #6936: sphinx-autogen: raises AttributeError
  • Loading branch information
tk0miya committed Dec 22, 2019
2 parents 0cc01a1 + 8a1994d commit 960ca85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Expand Up @@ -16,6 +16,8 @@ Features added
Bugs fixed
----------

* #6936: sphinx-autogen: raises AttributeError

Testing
--------

Expand Down
5 changes: 5 additions & 0 deletions sphinx/ext/autosummary/generate.py
Expand Up @@ -59,6 +59,11 @@ def __init__(self) -> None:
self.registry = SphinxComponentRegistry()
self.messagelog = [] # type: List[str]
self.verbosity = 0
self._warncount = 0
self.warningiserror = False

def emit_firstresult(self, *args) -> None:
pass


def setup_documenters(app: Any) -> None:
Expand Down

0 comments on commit 960ca85

Please sign in to comment.