Re: [PATCH 7/7] Install the driver discs according to what was loaded in stage1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/yuminstall.py b/yuminstall.py
> index accf452..4eac19c 100644
> --- a/yuminstall.py
> +++ b/yuminstall.py
> @@ -649,16 +649,18 @@ class AnacondaYum(YumSorter):
<...>
> -                repo.enable()
> -                extraRepos.append(repo)
> +        (_, _, _, _, ddArch) = os.uname()

Remember how we do this at the top of nearly every file in anaconda:

_ = lambda x: gettext.ldgettext("anaconda", x)

You are setting the name ("_") we use to translate strings to refer
instead to a string. You are asking for trouble. It really is easier to
do os.uname()[4].

Dave

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux