summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui
diff options
context:
space:
mode:
authorVratislav Podzimek <vpodzime@redhat.com>2012-10-02 19:39:28 +0200
committerVratislav Podzimek <vpodzime@redhat.com>2012-10-05 13:22:14 +0200
commitf0f6747b73be3176b3247d82b0436743d8be3082 (patch)
tree81a6f6741cfaf8b94fc14dcf0e62e46d42ecc4ff /pyanaconda/ui
parent7d79f31c69ade3a01b4eab1a5ef344e001141b1d (diff)
downloadanaconda-f0f6747b73be3176b3247d82b0436743d8be3082.tar.gz
anaconda-f0f6747b73be3176b3247d82b0436743d8be3082.tar.xz
anaconda-f0f6747b73be3176b3247d82b0436743d8be3082.zip
Do not use constant value in SoftwareSpoke's completed property
packagesSeen is a value, that should not be changed in spokes. Using it as a condition for the completed property results in no way of completing software spoke in kickstart installation without %packages section. Without %packages section in kickstart, SoftwareSpoke's completed method should use the same code as in manual installations.
Diffstat (limited to 'pyanaconda/ui')
-rw-r--r--pyanaconda/ui/gui/spokes/software.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/ui/gui/spokes/software.py b/pyanaconda/ui/gui/spokes/software.py
index fb172cbb8..10b4d48e4 100644
--- a/pyanaconda/ui/gui/spokes/software.py
+++ b/pyanaconda/ui/gui/spokes/software.py
@@ -105,8 +105,8 @@ class SoftwareSelectionSpoke(NormalSpoke):
not self._errorMsgs and \
self._tx_id == self.payload.txID
- if flags.automatedInstall:
- return packagesSeen and processingDone
+ if flags.automatedInstall and packagesSeen:
+ return processingDone
else:
return self._get_selected_environment() is not None and processingDone