summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-02-24 10:16:33 -0500
committerChris Lumens <clumens@redhat.com>2010-02-25 09:40:27 -0500
commit0982f94dc987adc3b6aa4634a3150a7ba01d8229 (patch)
tree76f40022e3827b72006f9eaf2f9420864a196a42 /storage
parent8ed1789952c33485125cd8a177c97c3c52b8a96c (diff)
downloadanaconda-0982f94dc987adc3b6aa4634a3150a7ba01d8229.tar.gz
anaconda-0982f94dc987adc3b6aa4634a3150a7ba01d8229.tar.xz
anaconda-0982f94dc987adc3b6aa4634a3150a7ba01d8229.zip
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.
Diffstat (limited to 'storage')
-rw-r--r--storage/partitioning.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/partitioning.py b/storage/partitioning.py
index 00e655fea..939cf96f2 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"),