----- Original Message -----
From: "David Shea" <dshea(a)redhat.com>
To: anaconda-patches(a)lists.fedorahosted.org
Sent: Friday, December 13, 2013 1:22:36 PM
Subject: Re: [lorax] sort glob output before using it
On 12/13/2013 12:51 PM, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl(a)redhat.com>
>
> ---
> share/runtime-postinstall.tmpl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/share/runtime-postinstall.tmpl
> b/share/runtime-postinstall.tmpl
> index ec4bbd5..93ea12b 100644
> --- a/share/runtime-postinstall.tmpl
> +++ b/share/runtime-postinstall.tmpl
> @@ -3,7 +3,7 @@
>
> <%page args="root, basearch, libdir, configdir"/>
> <%
> -PYTHONDIR = glob("usr/"+libdir+"/python?.?")[0]
> +PYTHONDIR = sorted(glob("usr/"+libdir+"/python?.?"))[0]
> stubs = ("list-harddrives", "raidstart",
"raidstop")
> configdir = configdir + "/common"
> %>
Ack.
w/ something in commit message explaining why?
_______________________________________________
anaconda-patches mailing list
anaconda-patches(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches