contrib/release.py: don't break if sphinx-build is missing
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
5c735fd327
commit
f9aefed704
@ -274,7 +274,10 @@ class Website(object):
|
||||
if User.yesNo(req, defaultToYes=True) is False:
|
||||
return False
|
||||
|
||||
if check_call(shlex.split("{} --version".format(SPHINXBUILD))) != 0:
|
||||
try:
|
||||
if check_call(shlex.split("{} --version".format(SPHINXBUILD))) != 0:
|
||||
raise RuntimeError("{} not found".format(SPHINXBUILD))
|
||||
except:
|
||||
print("""
|
||||
Oops! you don't have {} installed?"
|
||||
Cannot update the webite documentation..."
|
||||
|
Loading…
Reference in New Issue
Block a user