[master][PATCH] Some partition scheme is always selected (#1017435)
Vratislav Podzimek
vpodzime at redhat.com
Thu Oct 10 10:04:50 UTC 2013
Some partition scheme is always selected in PartitionScheme spoke, so it doesn't
need to check self._selection for being evaulated to True. Doing so causes bug
when 0 (plain partitioning) is selected but evaluated to False.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/ui/tui/spokes/storage.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py
index 714c590..731fabf 100644
--- a/pyanaconda/ui/tui/spokes/storage.py
+++ b/pyanaconda/ui/tui/spokes/storage.py
@@ -406,7 +406,7 @@ class PartitionSchemeSpoke(NormalTUISpoke):
try:
keyid = int(key) - 1
except ValueError:
- if key.lower() == "c" and self._selection:
+ if key.lower() == "c":
self.apply()
self.close()
return INPUT_PROCESSED
--
1.7.11.7
More information about the anaconda-patches
mailing list