diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-19 19:06:58 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-19 19:06:58 +0000 |
commit | 0b9542b1f63165f89c19d3bb511cd1d49abcf98e (patch) | |
tree | 4299e3571fdf2c2776983d85184bddc42ab3f8d7 /comps.py | |
parent | dadf6329fb706a62ef46dc73bb31dd289f98d4c2 (diff) | |
download | anaconda-0b9542b1f63165f89c19d3bb511cd1d49abcf98e.tar.gz anaconda-0b9542b1f63165f89c19d3bb511cd1d49abcf98e.tar.xz anaconda-0b9542b1f63165f89c19d3bb511cd1d49abcf98e.zip |
more comps changes
Diffstat (limited to 'comps.py')
-rw-r--r-- | comps.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -111,6 +111,13 @@ class Component: self.selected = 0 for n in self.items.keys (): self.items[n].selected = 0 + # always turn off conditional packages, regardless + # if the condition is met or not. + conds = self.conditional.keys () + if conds: + for condition in conds: + for pkg in self.conditional[condition]: + pkg.selected = 0 if recurse: for n in self.includes: n.unselect(recurse) |