Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #199 from dpshelio/doctestOut
Browse files Browse the repository at this point in the history
making sure run commands returns 1 if fails
  • Loading branch information
embray committed Nov 20, 2015
1 parent 6e9f1e7 commit 988a83e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ astropy-helpers Changelog
1.0.6 (unreleased)
------------------

- Nothing changed yet.
- Fixed bug where running ``./setup.py build_sphinx`` could return successfully
even when the build was not successful (and should have returned a non-zero
error code). [#199]


1.0.5 (2015-10-02)
Expand Down
1 change: 1 addition & 0 deletions astropy_helpers/commands/build_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def run(self):
else:
log.warn('Sphinx Documentation subprocess failed with return '
'code ' + str(proc.returncode))
retcode = proc.returncode

if retcode is not None:
# this is potentially dangerous in that there might be something
Expand Down

0 comments on commit 988a83e

Please sign in to comment.