Skip to content

Commit

Permalink
HOTFIX: bug caused by #941
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
pwendell authored and mengxr committed Jun 17, 2014
1 parent e6c9058 commit ac6c10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec2/spark_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def ssh(host, opts, command):
def _check_output(*popenargs, **kwargs):
if 'stdout' in kwargs:
raise ValueError('stdout argument not allowed, it will be overridden.')
process = subprocess.Popen(stdout=PIPE, *popenargs, **kwargs)
process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, **kwargs)
output, unused_err = process.communicate()
retcode = process.poll()
if retcode:
Expand Down

0 comments on commit ac6c10e

Please sign in to comment.