Fix documentation build

This commit is contained in:
Victor Zverovich 2018-04-15 09:49:37 -07:00
parent bb738c4c26
commit 3284751f43

View File

@ -75,7 +75,7 @@ if build == 'Doc':
# Print the output without the key.
print(p.communicate()[0].replace(os.environ['KEY'], '$KEY'))
if p.returncode != 0:
raise CalledProcessError(p.returncode, cmd)
raise subprocess.CalledProcessError(p.returncode, cmd)
exit(0)
standard = os.environ['STANDARD']