summaryrefslogtreecommitdiffstats
path: root/iw/GroupSelector.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-06-06 10:52:31 -0400
committerChris Lumens <clumens@redhat.com>2008-06-06 10:52:31 -0400
commitb055caa20a99660c7b2c98f978577838e0a6282e (patch)
tree2d101caa65d6a78ebc241f1092a59e87cdaaaf87 /iw/GroupSelector.py
parent4f17aa74e15fcba9cfc292da55490084b593abba (diff)
downloadanaconda-b055caa20a99660c7b2c98f978577838e0a6282e.tar.gz
anaconda-b055caa20a99660c7b2c98f978577838e0a6282e.tar.xz
anaconda-b055caa20a99660c7b2c98f978577838e0a6282e.zip
Don't display obsoleted packages in the UI.
Diffstat (limited to 'iw/GroupSelector.py')
-rw-r--r--iw/GroupSelector.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/GroupSelector.py b/iw/GroupSelector.py
index eb1e7e523..14352f342 100644
--- a/iw/GroupSelector.py
+++ b/iw/GroupSelector.py
@@ -236,6 +236,8 @@ class OptionalPackageSelector:
po = self.__getPackageObject(pkg)
if not po:
continue
+ if self.ayum.tsInfo.isObsoleted(pkgtup=(po.name, po.arch, po.epoch, po.version, po.release)):
+ continue
self.pkgstore.append([self.ayum.isPackageInstalled(pkg), listEntryString(po), po])
def run(self):