From 68e971a9d0f3ac7e299aefe686c6e1ad8f25f96b Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 23 Mar 2005 21:14:20 +0000 Subject: 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. --- packages.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages.py') 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 -- cgit