| commit | 6dd958ae833f335859b1f973e85c63ece895e997 | [log] [tgz] |
|---|---|---|
| author | Varun Thacker <varun@apache.org> | Sat Aug 26 11:24:06 2017 +0530 |
| committer | Varun Thacker <varun@apache.org> | Sat Aug 26 11:24:06 2017 +0530 |
| tree | cbc69eba831071491aecc5178f2f39aed0f69d4b | |
| parent | f4fb90886690c829a062f4243a62825f810ad359 [diff] |
GPG Password checker throws error only when process has not been terminated
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py index 7044e43..1143ebf 100644 --- a/dev-tools/scripts/buildAndPushRelease.py +++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -54,7 +54,7 @@ p.stdin.write('\n'.encode('UTF-8')) result = p.poll() - if result != 0: + if result is not None: msg = ' FAILED: %s [see log %s]' % (command, LOG) print(msg) raise RuntimeError(msg)