diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-08-24 20:27:22 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-08-24 20:27:22 +0000 |
commit | b591fa583be7db672d7e3bcc2a2b4aa9a921b76d (patch) | |
tree | 058318f7293a0845537e400361cc6bc27690149f /autopart.py | |
parent | 41e0fd647cc0cf05d3ab12aebf7537b1c4ac8ee7 (diff) | |
download | anaconda-b591fa583be7db672d7e3bcc2a2b4aa9a921b76d.tar.gz anaconda-b591fa583be7db672d7e3bcc2a2b4aa9a921b76d.tar.xz anaconda-b591fa583be7db672d7e3bcc2a2b4aa9a921b76d.zip |
be consistent on failures between matt partitioning and dr mike partitioning
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py index d508b47ce..2c204312f 100644 --- a/autopart.py +++ b/autopart.py @@ -350,7 +350,8 @@ def fitSized(diskset, requests, primOnly = 0, newParts = None): try: disk.add_partition (newp, constraint) except parted.error, msg: - raise PartitioningError, msg + return PARTITION_FAIL +# raise PartitioningError, msg for flag in request.fstype.getPartedPartitionFlags(): if not newp.is_flag_available(flag): disk.delete_partition(newp) |