[master/rhel7-branch] Fix issue where spoke returns to hub early in text mode. (#979375)

Samantha N. Bueno sbueno+anaconda at redhat.com
Fri Sep 27 20:01:01 UTC 2013


Not sure how this wasn't hit earlier than it was. If in the storage
spoke in text mode, if you select any of the autopart options, you
would immediately be returned to the summary hub, without getting
to select a partition scheme.

Resolves: rhbz#979375
---
 pyanaconda/ui/tui/spokes/storage.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py
index d73c2bc..79756b2 100644
--- a/pyanaconda/ui/tui/spokes/storage.py
+++ b/pyanaconda/ui/tui/spokes/storage.py
@@ -362,8 +362,7 @@ class AutoPartSpoke(NormalTUISpoke):
             number = int(key)
             self.clearPartType = PARTTYPES[self.parttypelist[number -1]]
             self.apply()
-            self.close()
-            return False
+            return None
 
         except (ValueError, KeyError, IndexError):
             return key
-- 
1.7.11.7



More information about the anaconda-patches mailing list