[master][py3][PATCH] Replace xrange() with range()

Brian C. Lane bcl at redhat.com
Fri Jan 30 16:58:13 UTC 2015


On Fri, Jan 30, 2015 at 02:41:33PM +0100, Vratislav Podzimek wrote:
> xrange() doesn't exist in Python3 where range() works the same way as xrange in
> Python2. Using range() in Python2 doesn't bring any significant overhead to
> installation.
> 
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>  dracut/driver-updates      | 4 ++--
>  pyanaconda/ui/gui/utils.py | 2 +-
>  scripts/anaconda-yum       | 4 ++--
>  3 files changed, 5 insertions(+), 5 deletions(-)

Ack

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


More information about the anaconda-patches mailing list