diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-01 23:07:04 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-01 23:07:04 +0000 |
commit | 2096776bfa4ed06d3543624d26d2ccc0f86c897c (patch) | |
tree | d74fcf1a6c65032bdd16caca38530ad5036bc5c8 | |
parent | 5748ccf39aa0adf77e1abff2b740e0bdfe24a7c8 (diff) | |
download | anaconda-2096776bfa4ed06d3543624d26d2ccc0f86c897c.tar.gz anaconda-2096776bfa4ed06d3543624d26d2ccc0f86c897c.tar.xz anaconda-2096776bfa4ed06d3543624d26d2ccc0f86c897c.zip |
if minor is None, that's the same as unspecified
-rw-r--r-- | fsset.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |