diff options
author | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-21 00:51:37 +0000 |
---|---|---|
committer | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-21 00:51:37 +0000 |
commit | 307c5eae0ce84e322f0af3cf89b13ad9760496b8 (patch) | |
tree | a21d3607296a7b5e9547f6178a0ebdf39e0e9fe0 /native_client_sdk | |
parent | d837148265b52e78d2bdf065280a9e053227f50f (diff) | |
download | chromium_src-307c5eae0ce84e322f0af3cf89b13ad9760496b8.zip chromium_src-307c5eae0ce84e322f0af3cf89b13ad9760496b8.tar.gz chromium_src-307c5eae0ce84e322f0af3cf89b13ad9760496b8.tar.bz2 |
[NaCl SDK] In update_nacl_manfest, output stderr properly if not mailing errors.
BUG=none
TEST=none
NOTRY=true
TBR=binji@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10600012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rwxr-xr-x | native_client_sdk/src/build_tools/update_nacl_manifest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/native_client_sdk/src/build_tools/update_nacl_manifest.py b/native_client_sdk/src/build_tools/update_nacl_manifest.py index 2d01dd0..9f7af059 100755 --- a/native_client_sdk/src/build_tools/update_nacl_manifest.py +++ b/native_client_sdk/src/build_tools/update_nacl_manifest.py @@ -618,7 +618,9 @@ def main(args): subject = '[%s] Failed to update manifest' % (scriptname,) text = '%s failed.\n\nSTDERR:\n%s\n' % (scriptname, sys.stderr.getvalue()) SendMail(options.mailfrom, options.mailto, subject, text) - sys.exit(1) + sys.exit(1) + else: + raise if __name__ == '__main__': |