summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-01-21 17:48:20 +0000
committerJeremy Katz <katzj@redhat.com>2002-01-21 17:48:20 +0000
commit4731bcf61570113489980b8fc79d658ab2f0b3d0 (patch)
tree07e1d3785649188f9cec8e8de0129f9d6da18b05 /autopart.py
parent0d2a5cd0bbdacd0a9b99e040c9b32b62fd7cb313 (diff)
downloadanaconda-4731bcf61570113489980b8fc79d658ab2f0b3d0.tar.gz
anaconda-4731bcf61570113489980b8fc79d658ab2f0b3d0.tar.xz
anaconda-4731bcf61570113489980b8fc79d658ab2f0b3d0.zip
if autopartitioning fails, we must unskip the partitioning screen to avoid a traceback from the bootloader stuff
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py
index 9916af67a..b91187708 100644
--- a/autopart.py
+++ b/autopart.py
@@ -942,10 +942,13 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
partitions.setFromDisk(diskset)
if not isKickstart:
extra = ""
+ dispatch.skipStep("partition", skip = 0)
else:
extra = "\n\nPress OK to reboot your system."
intf.messageWindow(_("Error Partitioning"),
- _("Could not allocate requested partitions: \n\n%s.%s") % (msg.value, extra))
+ _("Could not allocate requested partitions: \n\n"
+ "%s.%s") % (msg.value, extra))
+
if isKickstart:
sys.exit(0)