diff options
author | Matt Wilson <msw@redhat.com> | 2000-08-04 21:09:23 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-08-04 21:09:23 +0000 |
commit | b1f2dd76d8f2e393347d7a0ce02e0eda89679833 (patch) | |
tree | 70ec28f4c6b8a98069cb32a432279f7d1e839442 /iw/package_gui.py | |
parent | 14fc0223d8e8972952a819421a939c0645932840 (diff) | |
download | anaconda-b1f2dd76d8f2e393347d7a0ce02e0eda89679833.tar.gz anaconda-b1f2dd76d8f2e393347d7a0ce02e0eda89679833.tar.xz anaconda-b1f2dd76d8f2e393347d7a0ce02e0eda89679833.zip |
use accessor
Diffstat (limited to 'iw/package_gui.py')
-rw-r--r-- | iw/package_gui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iw/package_gui.py b/iw/package_gui.py index 1441a4ed5..0bd0c5138 100644 --- a/iw/package_gui.py +++ b/iw/package_gui.py @@ -39,7 +39,6 @@ class IndividualPackageSelectionWindow (InstallWindow): elif isinstance (x, UpgradeExamineWindow): return UpgradeExamineWindow return None - def build_tree (self, x): if (x == ()): return () @@ -438,11 +437,12 @@ class PackageSelectionWindow (InstallWindow): self.checkButtons = [] klass = self.todo.getClass () + showgroups = klass.getOptionalGroups () for comp in self.todo.comps: show = 0 - if klass.showgroups: + if showgroups: try: - klass.showgroups.index (comp.name) + showgroups.index (comp.name) show = 1 except ValueError: # comp not in show list |