[Yum-devel] [PATCH] 2nd fix for reading rpm logging from files, "" == raise IOError on pipe()
Tim Lauridsen
tim.lauridsen at googlemail.com
Wed Dec 23 08:52:31 UTC 2009
On Tue, Dec 22, 2009 at 9:32 PM, James Antill <james at and.org> wrote:
> ---
> yum/rpmtrans.py | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/yum/rpmtrans.py b/yum/rpmtrans.py
> index 6fde5a8..f33f048 100644
> --- a/yum/rpmtrans.py
> +++ b/yum/rpmtrans.py
> @@ -233,6 +233,8 @@ class RPMTransaction:
> def _scriptOutput(self):
> try:
> out = self._readpipe.read()
> + if not out:
> + return None
> return out
> except IOError:
> pass
> --
> 1.6.5.2
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>
ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20091223/0b55ac3d/attachment.htm>
More information about the Yum-devel
mailing list