Re: [master] fix for a bug in 05ce88b2 that split one line over several in program.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> @@ -305,7 +306,11 @@ def execWithCallback(command, argv, stdin = None, stdout = None,
>          if echo:
>              os.write(stdout, s)
>  
> -        map(program_log.info, s.splitlines())
> +        if s == '\n':
> +            program_log.info(logline)
> +            logline = ''
> +        else:
> +            logline += s;

You don't need a semicolon here.

Otherwise, looks fine to me.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux