[PATCH] Make sure to actually set the autopart flag when needed. (#1023554)
David Lehman
dlehman at redhat.com
Fri Oct 25 22:16:54 UTC 2013
---
pyanaconda/ui/gui/spokes/storage.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index f3313a8..2f61ba4 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -866,6 +866,10 @@ class StorageSpoke(NormalSpoke, StorageChecker):
# User pressed cancel on the reclaim dialog, so don't leave
# the storage spoke.
return
+
+ # if the user did not press cancel that means they want to
+ # proceed with autopart
+ self.autopart = True
elif dialog.continue_response == dialog.RESPONSE_CONTINUE_CUSTOM:
self.autopart = False
self.skipTo = "CustomPartitioningSpoke"
@@ -887,6 +891,10 @@ class StorageSpoke(NormalSpoke, StorageChecker):
# User pressed cancel on the reclaim dialog, so don't leave
# the storage spoke.
return
+
+ # if the user did not press cancel that means they want to
+ # proceed with autopart
+ self.autopart = True
elif rc == dialog.RESPONSE_QUIT:
raise SystemExit("user-selected exit")
elif rc == dialog.RESPONSE_CUSTOM:
--
1.8.1.4
More information about the anaconda-patches
mailing list