[master] Move expandLangs and use it in LanguageMixIn

Vratislav Podzimek vpodzime at redhat.com
Tue Aug 28 14:04:44 UTC 2012


PATCH 1/2 moves expandLangs from localeinfo module to localization module
and renames it to match coding style in that file. This change is a step to
language.py and localeinfo.py modules removal.

PATCH 2/2 resolves bug when we get language from kickstart in a different form
we have languages in our store (e.g. 'en_US' vs. 'en_US.UTF-8').

Vratislav Podzimek (2):
  Move expandLangs to localization module
  Use expand_langs to find matching language (LanguageSpoke)

 pyanaconda/language.py                   |  6 +++---
 pyanaconda/localeinfo.py                 | 27 ---------------------------
 pyanaconda/localization.py               | 29 +++++++++++++++++++++++++++++
 pyanaconda/ui/gui/hubs/progress.py       |  4 ++--
 pyanaconda/ui/gui/spokes/welcome.py      |  4 ++--
 scripts/getlangnames.py                  |  3 ++-
 tests/pyanaconda_test/localeinfo_test.py |  5 -----
 7 files changed, 38 insertions(+), 40 deletions(-)

-- 
1.7.11.4



More information about the anaconda-patches mailing list