FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Marketing

 
 
LinkBack Thread Tools
 
Old 06-17-2010, 06:16 PM
 
Default (port from master) rpm doesn't always give the callback a tuple (#605172).

> diff --git a/yuminstall.py b/yuminstall.py
> index 603e145..d420687 100644
> --- a/yuminstall.py
> +++ b/yuminstall.py
> @@ -234,6 +234,9 @@ class AnacondaCallback:
> elif what in (rpm.RPMCALLBACK_CPIO_ERROR,
> rpm.RPMCALLBACK_UNPACK_ERROR,
> rpm.RPMCALLBACK_SCRIPT_ERROR):
> + if not isinstance(h, types.TupleType):
> + h = (h, None)
> +
> (hdr, rpmloc) = h
>
> # Script errors store whether or not they're fatal in "total". So,

ACK to this.

- Chris

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

Thread Tools




All times are GMT. The time now is 10:45 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org