diff options
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/yuminstall.py b/yuminstall.py index a5dff2c26..587f5ee3c 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -881,11 +881,10 @@ class YumBackend(AnacondaBackend): c.categoryid = "uncategorized" self.ayum.comps._categories[c.categoryid] = c - def getDefaultGroups(self): - import language + def getDefaultGroups(self, anaconda): + langs = anaconda.id.instLanguage.getCurrentLangSearchList() rc = map(lambda x: x.groupid, filter(lambda x: x.default, self.ayum.comps.groups)) - langs = language.expandLangs(os.environ["LANG"]) for g in self.ayum.comps.groups: if g.langonly in langs: rc.append(g.groupid) |