diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-02-23 11:49:25 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-02-23 11:49:25 -1000 |
commit | 21fa7beb71613703cff5ded2d77574b7e5180624 (patch) | |
tree | d047d4a2422914080c04f240f0c6f017b5684e09 /iw | |
parent | 20fa461fd5f34910c9cb2e91cf001fdaf3e94a10 (diff) | |
download | anaconda-21fa7beb71613703cff5ded2d77574b7e5180624.tar.gz anaconda-21fa7beb71613703cff5ded2d77574b7e5180624.tar.xz anaconda-21fa7beb71613703cff5ded2d77574b7e5180624.zip |
Revert "Use direct reference instead of setattr()."
This reverts commit 6317611f1d9990910d3d1f528c2f6e7b934fcd4d.
Can't assign inside a lambda.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/task_gui.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/iw/task_gui.py b/iw/task_gui.py index 98514699a..04032d3ea 100644 --- a/iw/task_gui.py +++ b/iw/task_gui.py @@ -467,9 +467,11 @@ class TaskWindow(InstallWindow): # we just set things as default or not; group selection # happens after this screen. if cb: - map(lambda g: self.backend.ayum.comps.return_group(g).default = True, grps) + map(lambda g: setattr(self.backend.ayum.comps.return_group(g), + "default", True), grps) else: - map(lambda g: self.backend.ayum.comps.return_group(g).default = False, grps) + map(lambda g: setattr(self.backend.ayum.comps.return_group(g), + "default", False), grps) def _editRepo(self, *args): repo = None |