summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-02-01 23:07:04 +0000
committerJeremy Katz <katzj@redhat.com>2002-02-01 23:07:04 +0000
commit2096776bfa4ed06d3543624d26d2ccc0f86c897c (patch)
treed74fcf1a6c65032bdd16caca38530ad5036bc5c8
parent5748ccf39aa0adf77e1abff2b740e0bdfe24a7c8 (diff)
downloadanaconda-2096776bfa4ed06d3543624d26d2ccc0f86c897c.tar.gz
anaconda-2096776bfa4ed06d3543624d26d2ccc0f86c897c.tar.xz
anaconda-2096776bfa4ed06d3543624d26d2ccc0f86c897c.zip
if minor is None, that's the same as unspecified
-rw-r--r--fsset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index 91552a38f..c264328a0 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1283,7 +1283,7 @@ class RAIDDevice(Device):
raise RuntimeError, "RAID 5 requires at least 3 online members"
# there are 32 major md devices, 0...31
- if minor == -1:
+ if minor == -1 or minor is None:
for I in range(32):
if not RAIDDevice.usedMajors.has_key(I):
minor = I