summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorkumar <kumar.mcmillan@gmail.com>2011-07-26 09:34:39 -0500
committerkumar <kumar.mcmillan@gmail.com>2011-07-26 09:34:39 -0500
commit93aa4d1acfcbeee6ae1d06005d2fd1f5149bed45 (patch)
treed1efa28f00ec17e382d578ef6232bee8261e2e29 /scripts
parent2c4a1ef665c6975ce210d68e72c8c82585c1b8a3 (diff)
downloadnose-93aa4d1acfcbeee6ae1d06005d2fd1f5149bed45.tar.gz
Better exception when there is a lot of output from a command
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkrelease.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mkrelease.py b/scripts/mkrelease.py
index 9131147..0b7a70c 100755
--- a/scripts/mkrelease.py
+++ b/scripts/mkrelease.py
@@ -25,7 +25,8 @@ def runcmd(cmd):
if not SIMULATE:
(status,output) = getstatusoutput(cmd)
if status != success:
- raise Exception(output)
+ sys.stderr.write(output)
+ raise Exception('command did not exit successfully')
def cd(dir):