From b9b982d5f0885995f56db967d407a6163f280050 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 30 Apr 2017 01:04:30 +0900 Subject: Fix dependency errors --- sphinx/util/websupport.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sphinx/util/websupport.py') diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py index 20a35cf69..4d91cb77c 100644 --- a/sphinx/util/websupport.py +++ b/sphinx/util/websupport.py @@ -7,4 +7,8 @@ :license: BSD, see LICENSE for details. """ -from sphinxcontrib.websupport.utils import is_commentable # NOQA +try: + from sphinxcontrib.websupport.utils import is_commentable # NOQA +except ImportError: + def is_commentable(node): + raise RuntimeError -- cgit v1.2.1