You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2013/06/08 19:03:18 UTC

svn commit: r1491012 - in /lucene/dev/branches/lucene_solr_4_3: ./ dev-tools/ dev-tools/scripts/buildAndPushRelease.py

Author: shalin
Date: Sat Jun  8 17:03:18 2013
New Revision: 1491012

URL: http://svn.apache.org/r1491012
Log:
Disable buffer for subprocess pipe objects

Modified:
    lucene/dev/branches/lucene_solr_4_3/   (props changed)
    lucene/dev/branches/lucene_solr_4_3/dev-tools/   (props changed)
    lucene/dev/branches/lucene_solr_4_3/dev-tools/scripts/buildAndPushRelease.py

Modified: lucene/dev/branches/lucene_solr_4_3/dev-tools/scripts/buildAndPushRelease.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_3/dev-tools/scripts/buildAndPushRelease.py?rev=1491012&r1=1491011&r2=1491012&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_3/dev-tools/scripts/buildAndPushRelease.py (original)
+++ lucene/dev/branches/lucene_solr_4_3/dev-tools/scripts/buildAndPushRelease.py Sat Jun  8 17:03:18 2013
@@ -46,7 +46,7 @@ def run(command):
     raise RuntimeError(msg)
 
 def runAndSendGPGPassword(command, password):
-  p = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE)
+  p = subprocess.Popen(command, shell=True, bufsize=0, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE)
   f = open(LOG, 'ab')
   while True:
     line = p.stdout.readline()