diff options
author | Chris Lumens <clumens@redhat.com> | 2009-07-08 15:30:18 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-07-09 10:09:22 -0400 |
commit | 5afa005f53b0276eee9517c95c626a7966498716 (patch) | |
tree | 6df424942cf92d5e14267df1e870949d739ffc08 | |
parent | 91e3b49205eca4af3ac80312beebdc78d3e70116 (diff) | |
download | anaconda-5afa005f53b0276eee9517c95c626a7966498716.tar.gz anaconda-5afa005f53b0276eee9517c95c626a7966498716.tar.xz anaconda-5afa005f53b0276eee9517c95c626a7966498716.zip |
Remove _catchallCategory. yum handles this for us now.
-rw-r--r-- | yuminstall.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/yuminstall.py b/yuminstall.py index d1cb626e6..623911d51 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1097,8 +1097,6 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon self.ayum._setGroups(None) continue - self._catchallCategory() - def doRepoSetup(self, anaconda, thisrepo = None, fatalerrors = True): self.__withFuncDo(anaconda, lambda r: self.ayum.doRepoSetup(thisrepo=r.id), thisrepo=thisrepo, fatalerrors=fatalerrors) @@ -1186,29 +1184,6 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon self.ayum.repos.callback = None - def _catchallCategory(self): - # FIXME: this is a bad hack, but catch groups which aren't in - # a category yet are supposed to be user-visible somehow. - # conceivably should be handled by yum - grps = {} - for g in self.ayum.comps.groups: - if g.user_visible: - grps[g.groupid] = g - - for cat in self.ayum.comps.categories: - for g in cat.groups: - if grps.has_key(g): - del grps[g] - - if len(grps.keys()) == 0: - log.info("no groups missing") - return - c = yum.comps.Category() - c.name = _("Uncategorized") - c._groups = grps - c.categoryid = "uncategorized" - self.ayum.comps._categories[c.categoryid] = c - def getDefaultGroups(self, anaconda): langs = anaconda.id.instLanguage.getCurrentLangSearchList() rc = map(lambda x: x.groupid, |