diff options
author | Matt Wilson <msw@redhat.com> | 2001-02-14 03:00:04 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-02-14 03:00:04 +0000 |
commit | 2228d284d18ca68ffab89758d5538927c263e5f8 (patch) | |
tree | 9d9fea090e6acb5e7b44a7dbc7db9d2a33107bfc /todo.py | |
parent | 2037b8a5a458189a35165ba7ec1ca30fa6cedc65 (diff) | |
download | anaconda-2228d284d18ca68ffab89758d5538927c263e5f8.tar.gz anaconda-2228d284d18ca68ffab89758d5538927c263e5f8.tar.xz anaconda-2228d284d18ca68ffab89758d5538927c263e5f8.zip |
if the installclass has no group/package list, set things up to be default (#26263)
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -734,12 +734,20 @@ class ToDo: # don't load it just for this if not self.comps: return + group = self.instClass.getGroups() optional = self.instClass.getOptionalGroups() packages = self.instClass.getPackages() - if (group == None and packages == None): return 0 - for n in self.comps.keys(): - self.comps[n].unselect() + print group,optional,packages + for comp in self.comps: + comp.unselect() + + if group == None and packages == None: + # this comp has no special groups, set up the defaults + # and exit + for comp in self.comps: + comp.setDefaultSelection() + return self.comps['Base'].select() if group: |