diff options
author | Chris Lumens <clumens@redhat.com> | 2013-02-11 18:15:41 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2013-02-13 10:41:16 -0500 |
commit | b59ad380f3037971202c4a9bd90e40ec0c781d44 (patch) | |
tree | 20256d9e7367c7724b9a93eb4c2a535432fec550 /pyanaconda/ui | |
parent | 76e868c1f6e762b9e8aeb572a3332dff4401cfb7 (diff) | |
download | anaconda-b59ad380f3037971202c4a9bd90e40ec0c781d44.tar.gz anaconda-b59ad380f3037971202c4a9bd90e40ec0c781d44.tar.xz anaconda-b59ad380f3037971202c4a9bd90e40ec0c781d44.zip |
Get rid of packagesSeen.
pykickstart now provides this information for all commands.
Diffstat (limited to 'pyanaconda/ui')
-rw-r--r-- | pyanaconda/ui/gui/spokes/software.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pyanaconda/ui/gui/spokes/software.py b/pyanaconda/ui/gui/spokes/software.py index 859830338..3493d0c2f 100644 --- a/pyanaconda/ui/gui/spokes/software.py +++ b/pyanaconda/ui/gui/spokes/software.py @@ -24,7 +24,6 @@ _ = lambda x: gettext.ldgettext("anaconda", x) N_ = lambda x: x from pyanaconda.flags import flags -from pyanaconda.kickstart import packagesSeen from pyanaconda.threads import threadMgr, AnacondaThread from pyanaconda.ui import communication @@ -124,7 +123,7 @@ class SoftwareSelectionSpoke(NormalSpoke): processingDone = not threadMgr.get("AnaCheckSoftwareThread") and \ not self._errorMsgs and self.txid_valid - if flags.automatedInstall and packagesSeen: + if flags.automatedInstall and self.data.packages.seen: return processingDone else: return self._get_selected_environment() is not None and processingDone @@ -164,7 +163,7 @@ class SoftwareSelectionSpoke(NormalSpoke): # Kickstart installs with %packages will have a row selected, unless # they did an install without a desktop environment. This should # catch that one case. - if flags.automatedInstall and packagesSeen: + if flags.automatedInstall and self.data.packages.seen: return _("Custom software selected") return _("Nothing selected") @@ -184,7 +183,7 @@ class SoftwareSelectionSpoke(NormalSpoke): # we have no way to select environments with kickstart right now # so don't try. - if flags.automatedInstall and packagesSeen: + if flags.automatedInstall and self.data.packages.seen: # We don't want to do a full refresh, just # join the metadata thread threadMgr.wait("AnaPayloadMDThread") |