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:46:38 UTC
lucene-solr:master: GPG Password checker throws error only when
process has not been terminated
Repository: lucene-solr
Updated Branches:
refs/heads/master e2474be5e -> 47e7fbc4d
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/47e7fbc4
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/47e7fbc4
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/47e7fbc4
Branch: refs/heads/master
Commit: 47e7fbc4dcf73486a58138b110ffa3b5191d651a
Parents: e2474be
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:46:27 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/47e7fbc4/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)