[PATCH] Don't pass undefined stdout from execWithCapture.

Brian C. Lane bcl at redhat.com
Wed Mar 13 00:37:37 UTC 2013


On Tue, Mar 12, 2013 at 04:52:22PM +0100, Radek Vykydal wrote:
> ---
>  pyanaconda/iutil.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/iutil.py b/pyanaconda/iutil.py
> index 05e7753..e459bed 100644
> --- a/pyanaconda/iutil.py
> +++ b/pyanaconda/iutil.py
> @@ -131,7 +131,7 @@ def execWithCapture(command, argv, stdin=None, stderr=None, root='/',
>          return ""
>  
>      argv = [command] + argv
> -    return _run_program(argv, stdin=stdin, stdout=stdout, root=root)[1]
> +    return _run_program(argv, stdin=stdin, root=root)[1]
>  
>  ## Run a shell.
>  def execConsole():
> -- 
> 1.7.11.7

Ack. Good catch :)

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130312/25c47537/attachment.sig>


More information about the anaconda-patches mailing list