diff options
author | 2009-12-29 20:43:47 -0200 | |
---|---|---|
committer | 2009-12-29 20:43:47 -0200 | |
commit | c8153d6b6ae6df055379790d4ced7b5865736365 (patch) | |
tree | a4f671d16ea526b1e50e339581b1292b5dd1d6f5 | |
parent | some fixes on the return codes (diff) | |
download | g-octave-c8153d6b6ae6df055379790d4ced7b5865736365.tar.gz g-octave-c8153d6b6ae6df055379790d4ced7b5865736365.tar.bz2 g-octave-c8153d6b6ae6df055379790d4ced7b5865736365.zip |
changed setup.py to show docutils errors
-rwxr-xr-x | setup.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -64,8 +64,8 @@ def bdoc(): ) man_tmp.close() man.close() - except: - raise RuntimeError('Failed to build the manpage') + except Exception, error: + raise RuntimeError('Failed to build the manpage: %s' % error) print 'building the html docs' @@ -86,8 +86,8 @@ def bdoc(): ) readme_rst.close() readme.close() - except: - raise RuntimeError('Failed to build the html doc') + except Exception, error: + raise RuntimeError('Failed to build the html doc: %s' % error) class sdist(_sdist): |