summaryrefslogtreecommitdiffstats
path: root/textw/packages_text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-04 21:01:14 +0000
committerMatt Wilson <msw@redhat.com>2000-08-04 21:01:14 +0000
commit14fc0223d8e8972952a819421a939c0645932840 (patch)
tree94962958a77d644c4a56d720a5fac88b89fdb0ce /textw/packages_text.py
parentac2f5cef739da0ca490721df6478a0dcc98d9685 (diff)
downloadanaconda-14fc0223d8e8972952a819421a939c0645932840.tar.gz
anaconda-14fc0223d8e8972952a819421a939c0645932840.tar.xz
anaconda-14fc0223d8e8972952a819421a939c0645932840.zip
use accessor
Diffstat (limited to 'textw/packages_text.py')
-rw-r--r--textw/packages_text.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/textw/packages_text.py b/textw/packages_text.py
index c175b9e03..ccbd80bad 100644
--- a/textw/packages_text.py
+++ b/textw/packages_text.py
@@ -36,11 +36,12 @@ class PackageGroupWindow:
ct = CheckboxTree(height = 8, scroll = 1)
klass = todo.getClass ()
+ showgrouns = klass.getOptionalGroups()
for comp in 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