summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-25 04:53:02 +0000
committerMike Fulbright <msf@redhat.com>2001-07-25 04:53:02 +0000
commitd59aa1f986cffe33e49fbfbbda80eb27327ed867 (patch)
tree2785441ca9a53bf2f6ee2f6de5a18d1e5363e3c9 /autopart.py
parent3ffbd229ca5630efc1e7949ac84fc46bfe3bfbfa (diff)
downloadanaconda-d59aa1f986cffe33e49fbfbbda80eb27327ed867.tar.gz
anaconda-d59aa1f986cffe33e49fbfbbda80eb27327ed867.tar.xz
anaconda-d59aa1f986cffe33e49fbfbbda80eb27327ed867.zip
set flags, then part type
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py
index 0038cf54c..8c53eacab 100644
--- a/autopart.py
+++ b/autopart.py
@@ -581,11 +581,13 @@ def setPreexistParts(diskset, requests, newParts):
request.device = get_partition_name(part)
if request.fstype:
if request.fstype.getName() != request.origfstype.getName():
- set_partition_file_system_type(part, request.fstype)
if request.fstype.getName() == "software RAID":
part.set_flag(parted.PARTITION_RAID, 1)
else:
part.set_flag(parted.PARTITION_RAID, 0)
+
+ set_partition_file_system_type(part, request.fstype)
+
break
part = disk.next_partition(part)