[PATCH] Add \n when writing to stdout in _run_program (#957383)

Vratislav Podzimek vpodzime at redhat.com
Mon May 27 08:56:25 UTC 2013


On Fri, 2013-05-24 at 16:49 -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> ---
>  pyanaconda/iutil.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pyanaconda/iutil.py b/pyanaconda/iutil.py
> index 7020da5..79ed122 100644
> --- a/pyanaconda/iutil.py
> +++ b/pyanaconda/iutil.py
> @@ -85,6 +85,7 @@ def _run_program(argv, root='/', stdin=None, stdout=None, env_prune=None):
>                      program_log.info(line)
>                      if stdout:
>                          stdout.write(line)
> +                        stdout.write("\n")
>  
>          except OSError as e:
>              program_log.error("Error running %s: %s" % (argv[0], e.strerror))
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list