Apache Solr open-source search software
GPG Password checker throws error only when process has not been terminated
Anshum Gupta47e7fbc4dcf7
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.pyindex 7044e43bd38..1143ebfbd34 100644--- a/dev-tools/scripts/buildAndPushRelease.py+++ b/dev-tools/scripts/buildAndPushRelease.py@@ -54,7 +54,7 @@ def runAndSendGPGPassword(command, password):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)