summaryrefslogtreecommitdiff
path: root/sphinx/ext/autodoc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-01-13 14:05:40 +0100
committerGeorg Brandl <georg@python.org>2013-01-13 14:05:40 +0100
commit95c45a0ab3d66d6e4b8140203eb1e897ef1f727a (patch)
tree0a15d894fed2653e8fb037d4295c7d9f5b0ccfb1 /sphinx/ext/autodoc.py
parent9b4efc9ba382d09d0ad6351565525ee08b64214c (diff)
downloadsphinx-git-95c45a0ab3d66d6e4b8140203eb1e897ef1f727a.tar.gz
autodoc: debug module analyzer failure
Diffstat (limited to 'sphinx/ext/autodoc.py')
-rw-r--r--sphinx/ext/autodoc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/ext/autodoc.py b/sphinx/ext/autodoc.py
index 825c63ff8..45dbdcdb4 100644
--- a/sphinx/ext/autodoc.py
+++ b/sphinx/ext/autodoc.py
@@ -717,7 +717,8 @@ class Documenter(object):
# parse right now, to get PycodeErrors on parsing (results will
# be cached anyway)
self.analyzer.find_attr_docs()
- except PycodeError:
+ except PycodeError, err:
+ self.env.app.debug('[autodoc] module analyzer failed: %s', err)
# no source file -- e.g. for builtin and C modules
self.analyzer = None
# at least add the module.__file__ as a dependency