diff options
author | Chris Lumens <clumens@redhat.com> | 2010-02-24 10:16:33 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-25 09:40:27 -0500 |
commit | 0982f94dc987adc3b6aa4634a3150a7ba01d8229 (patch) | |
tree | 76f40022e3827b72006f9eaf2f9420864a196a42 /storage | |
parent | 8ed1789952c33485125cd8a177c97c3c52b8a96c (diff) | |
download | anaconda-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.py | 4 |
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"), |