diff options
author | Matt Wilson <msw@redhat.com> | 2001-06-20 05:05:43 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-06-20 05:05:43 +0000 |
commit | a8c13fa4b1c43a383f5e880d057e22fc2ac5920e (patch) | |
tree | bf8245a8416dc559fa7911ded5673485910b88cd /autopart.py | |
parent | 1161d410af4cfd34e77b63e8ac52b0c20b53d955 (diff) | |
download | anaconda-a8c13fa4b1c43a383f5e880d057e22fc2ac5920e.tar.gz anaconda-a8c13fa4b1c43a383f5e880d057e22fc2ac5920e.tar.xz anaconda-a8c13fa4b1c43a383f5e880d057e22fc2ac5920e.zip |
get final branch copies
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/autopart.py b/autopart.py index 471801556..00e254143 100644 --- a/autopart.py +++ b/autopart.py @@ -159,7 +159,6 @@ def fitSized(diskset, requests): ret = bestPartType(disk) if ret == PARTITION_FAIL: return ret - print ret if ret == parted.PARTITION_PRIMARY: partType = parted.PARTITION_PRIMARY elif ret == parted.PARTITION_EXTENDED: @@ -291,7 +290,11 @@ def processPartitioning(diskset, requests): for request in requests.requests: if request.type == REQUEST_NEW: request.device = None -# request.requestSize = request.size + + # set the unique identifier for raid devices + if request.type == REQUEST_RAID and not request.device: + request.device = requests.maxcontainer + requests.maxcontainer = requests.maxcontainer + 1 # XXX - handle delete requests for delete in requests.deletes: |