You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by an...@apache.org on 2017/08/28 21:47:54 UTC

lucene-solr:branch_7_0: GPG Password checker throws error only when process has not been terminated

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_0 5e2e0f448 -> 5f7c00ed0


GPG Password checker throws error only when process has not been terminated


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/5f7c00ed
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/5f7c00ed
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/5f7c00ed

Branch: refs/heads/branch_7_0
Commit: 5f7c00ed09fede00379a15eab3588e2134778994
Parents: 5e2e0f4
Author: Anshum Gupta <an...@apache.org>
Authored: Mon Aug 28 14:46:27 2017 -0700
Committer: Anshum Gupta <an...@apache.org>
Committed: Mon Aug 28 14:47:42 2017 -0700

----------------------------------------------------------------------
 dev-tools/scripts/buildAndPushRelease.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5f7c00ed/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
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 @@ 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)