diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-01-21 17:48:20 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-01-21 17:48:20 +0000 |
commit | 4731bcf61570113489980b8fc79d658ab2f0b3d0 (patch) | |
tree | 07e1d3785649188f9cec8e8de0129f9d6da18b05 /autopart.py | |
parent | 0d2a5cd0bbdacd0a9b99e040c9b32b62fd7cb313 (diff) | |
download | anaconda-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.py | 5 |
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) |