summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-03-23 21:14:20 +0000
committerChris Lumens <clumens@redhat.com>2005-03-23 21:14:20 +0000
commit68e971a9d0f3ac7e299aefe686c6e1ad8f25f96b (patch)
tree4987450ced01aa3227df29c6787225681ca6df1e /packages.py
parent9e822d2730b96fb9a418070dce1138cc5fbafecd (diff)
downloadanaconda-68e971a9d0f3ac7e299aefe686c6e1ad8f25f96b.tar.gz
anaconda-68e971a9d0f3ac7e299aefe686c6e1ad8f25f96b.tar.xz
anaconda-68e971a9d0f3ac7e299aefe686c6e1ad8f25f96b.zip
Combined Language and InstallTimeLanguage in language.py into a single
class, updated the lang-table format to remove an unused column, and changed langSupport to instLanguage everywhere to reinforce the class merge idea.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages.py b/packages.py
index c5e3da474..6e0abe9a4 100644
--- a/packages.py
+++ b/packages.py
@@ -1573,19 +1573,19 @@ def betaNagScreen(intf, dir):
break
# FIXME: this is a kind of poor way to do this, but it will work for now
-def selectLanguageSupportGroups(grpset, langSupport):
+def selectLanguageSupportGroups(grpset, instLanguage):
if not grpset.groups.has_key("language-support"):
return
- langSupport.getDefault()
- sup = langSupport.supported
+ instLanguage.getDefault()
+ sup = instLanguage.supported
if len(sup) == 0:
- sup = langSupport.getAllSupported()
+ sup = instLanguage.getAllSupported()
langs = []
for name in sup:
try:
- lang = langSupport.langInfoByName[name][0]
+ lang = instLanguage.langInfoByName[name][0]
langs.extend(language.expandLangs(lang))
except:
continue