[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Don't unconditionally unskip the partition step on failure (#567889).



Remember that this step does not exist in text mode and we therefore cannot
add it back into the step list when autopart fails.
---
 storage/partitioning.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index 87154ee..7001d41 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -232,7 +232,9 @@ def doAutoPartition(anaconda):
         anaconda.storage.reset()
         if not anaconda.ksdata:
             extra = ""
-            anaconda.dispatch.skipStep("partition", skip = 0)
+
+            if anaconda.displayMode != "t":
+                anaconda.dispatch.skipStep("partition", skip = 0)
         else:
             extra = _("\n\nPress 'OK' to exit the installer.")
         anaconda.intf.messageWindow(_("Error Partitioning"),
-- 
1.6.5.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]