Skip to content

Commit ac6c10e

Browse files
pwendellmengxr
authored andcommitted
HOTFIX: bug caused by #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 <[email protected]> Closes #1108 from pwendell/hotfix and squashes the following commits: 711c58d [Patrick Wendell] HOTFIX: bug caused by #941 (cherry picked from commit b2ebf42) Signed-off-by: Xiangrui Meng <[email protected]>
1 parent e6c9058 commit ac6c10e

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
@@ -646,7 +646,7 @@ def ssh(host, opts, command):
646646
def _check_output(*popenargs, **kwargs):
647647
if 'stdout' in kwargs:
648648
raise ValueError('stdout argument not allowed, it will be overridden.')
649-
process = subprocess.Popen(stdout=PIPE, *popenargs, **kwargs)
649+
process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, **kwargs)
650650
output, unused_err = process.communicate()
651651
retcode = process.poll()
652652
if retcode:

0 commit comments

Comments
 (0)