diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-04-30 01:04:30 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-04-30 01:04:30 +0900 |
commit | b9b982d5f0885995f56db967d407a6163f280050 (patch) | |
tree | ded28c328908465eed3bc5d5111efc8166157995 /sphinx/util/websupport.py | |
parent | 4de4fd060a866e31adc5135a421418ba4e825fc4 (diff) | |
download | sphinx-git-b9b982d5f0885995f56db967d407a6163f280050.tar.gz |
Fix dependency errors
Diffstat (limited to 'sphinx/util/websupport.py')
-rw-r--r-- | sphinx/util/websupport.py | 6 |
1 files changed, 5 insertions, 1 deletions
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 |