diff options
author | Matt Wilson <msw@redhat.com> | 2001-07-06 19:52:37 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-07-06 19:52:37 +0000 |
commit | 58fe3daa478fdae0e522c1d0a96bc7cba7c4a2a7 (patch) | |
tree | 38e72b5d4b239448a77adafd35ddee19bd3f1437 /installclass.py | |
parent | 08ae7f7d61044c88393caf0af83b83aedb834114 (diff) | |
download | anaconda-58fe3daa478fdae0e522c1d0a96bc7cba7c4a2a7.tar.gz anaconda-58fe3daa478fdae0e522c1d0a96bc7cba7c4a2a7.tar.xz anaconda-58fe3daa478fdae0e522c1d0a96bc7cba7c4a2a7.zip |
remove unused code
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/installclass.py b/installclass.py index 74f7ab9bc..52ca8f75c 100644 --- a/installclass.py +++ b/installclass.py @@ -55,39 +55,6 @@ class BaseInstallClass: self.clearType = "svr" self.clearPartText = warningText - def getFstab(self): - return self.fstab - - def addRaidEntry(self, mntPoint, raidDev, level, devices): - # throw an exception for bad raid levels - [ 0, 1, 5 ].index(level) - - for device in devices: - found = 0 - - for (otherMountPoint, sizespc, (devX, partX, primOnlyX), typespecX, fsoptsX) in self.partitions: - if otherMountPoint == device: - found = 1 - - # check prexisting partions specified in ks.cfg with --usepart - if not found: - for (otherMountPoint, (devX, fstypeX, reformatX)) in self.fstab: - if otherMountPoint == device: - found = 1 - - if not found: - raise ValueError, "unknown raid device %s" % (device,) - if mntPoint[0] != '/' and mntPoint != 'swap': - raise ValueError, "bad raid mount point %s" % (mntPoint,) - if raidDev[0:2] != "md": - raise ValueError, "bad raid device point %s" % (raidDev,) - if level == 5 and len(devices) < 3: - raise ValueError, "raid 5 arrays require at least 3 devices" - if len(devices) < 2: - raise ValueError, "raid arrays require at least 2 devices" - - self.raidList.append(mntPoint, raidDev, level, devices) - def setSteps(self, dispatch): dispatch.setStepList( "language", |