summaryrefslogtreecommitdiffstats
path: root/partitioning.py
diff options
context:
space:
mode:
authorbfox <bfox>2001-11-02 06:05:59 +0000
committerbfox <bfox>2001-11-02 06:05:59 +0000
commit0f2c8aefc43a8b574495df9d83b293f2f8aa91e6 (patch)
tree114dd27358295cf9e025a04d84d522cec42d8f65 /partitioning.py
parentc8cf24a734d682ed85519f5aa7c4faba6177f9b4 (diff)
downloadanaconda-0f2c8aefc43a8b574495df9d83b293f2f8aa91e6.tar.gz
anaconda-0f2c8aefc43a8b574495df9d83b293f2f8aa91e6.tar.xz
anaconda-0f2c8aefc43a8b574495df9d83b293f2f8aa91e6.zip
don't call requestSize if swap is on RAID
Diffstat (limited to 'partitioning.py')
-rw-r--r--partitioning.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitioning.py b/partitioning.py
index 63f73f9e0..a620ed4db 100644
--- a/partitioning.py
+++ b/partitioning.py
@@ -590,7 +590,7 @@ def sanityCheckAllRequests(requests, diskset, baseChecks = 0):
foundSwap = 0
swapSize = 0
for request in requests.requests:
- if request.fstype and request.fstype.getName() == "swap":
+ if request.fstype and request.fstype.getName() == "swap" and not request.raidlevel:
foundSwap = foundSwap + 1
swapSize = swapSize + requestSize(request, diskset)
if baseChecks: