diff options
author | tk0miya <i.tkomiya@gmail.com> | 2014-08-24 19:40:32 +0900 |
---|---|---|
committer | tk0miya <i.tkomiya@gmail.com> | 2014-08-24 19:40:32 +0900 |
commit | 0780d8ca043d5c20a0a94af60c4e0cd0471c37f5 (patch) | |
tree | 03b4cfa07965300205d0a9d0df7c325f99be60e6 /sphinx/writers/websupport.py | |
parent | b6ad26478799038a19979cc5fcc9be4860edb319 (diff) | |
download | sphinx-git-0780d8ca043d5c20a0a94af60c4e0cd0471c37f5.tar.gz |
Fix tests has broken by changset:bb0211a65072
Diffstat (limited to 'sphinx/writers/websupport.py')
-rw-r--r-- | sphinx/writers/websupport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/writers/websupport.py b/sphinx/writers/websupport.py index 85f8406ec..bc48c9595 100644 --- a/sphinx/writers/websupport.py +++ b/sphinx/writers/websupport.py @@ -23,7 +23,7 @@ class WebSupportTranslator(HTMLTranslator): self.comment_class = 'sphinx-has-comment' def dispatch_visit(self, node): - if is_commentable(node): + if is_commentable(node) and hasattr(node, 'uid'): self.handle_visit_commentable(node) HTMLTranslator.dispatch_visit(self, node) |