Skip to content

Commit 2a2eace

Browse files
pwendellmengxr
authored andcommitted
HOTFIX: bug caused by apache#941
This patch should have qualified the use of PIPE. This needs to be back ported into 0.9 and 1.0. Author: Patrick Wendell <pwendell@gmail.com> Closes apache#1108 from pwendell/hotfix and squashes the following commits: 711c58d [Patrick Wendell] HOTFIX: bug caused by apache#941 (cherry picked from commit b2ebf42) Signed-off-by: Xiangrui Meng <meng@databricks.com>
1 parent 8e9f479 commit 2a2eace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ec2/spark_ec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def ssh(host, opts, command):
633633
def _check_output(*popenargs, **kwargs):
634634
if 'stdout' in kwargs:
635635
raise ValueError('stdout argument not allowed, it will be overridden.')
636-
process = subprocess.Popen(stdout=PIPE, *popenargs, **kwargs)
636+
process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, **kwargs)
637637
output, unused_err = process.communicate()
638638
retcode = process.poll()
639639
if retcode:

0 commit comments

Comments
 (0)