[master][PATCH] Package download retry NG

Brian C. Lane bcl at redhat.com
Thu Feb 13 00:52:43 UTC 2014


On Wed, Feb 12, 2014 at 04:51:10PM +0100, Martin Kolman wrote:
> NG = Now with Generators! :)
> 
> Based on suggestion from Vratislav, I've decided to convert the
> master version of the patch to use generators and to move the
> delay generator to iutil, so it can be easily used in other
> parts of Anaconda.
> 
> For now it is called xprogressive_delay (inspired by the xrange function),
> but I'm pretty much open for other naming suggestions.
> 
> Martin Kolman (1):
>   Properly retry package downloads (#924860)
> 
>  pyanaconda/iutil.py  | 14 ++++++++
>  scripts/anaconda-yum | 95 +++++++++++++++++++++++++++++++++++++++++-----------
>  2 files changed, 90 insertions(+), 19 deletions(-)

I'm not sure this better -- to me it makes more sense as a function, and
the return values are easier to discover.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list