summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-08-03 19:32:24 +0000
committerChris Lumens <clumens@redhat.com>2007-08-03 19:32:24 +0000
commit98a78b67b85ab45ab08ccc8b46635f973ab0d997 (patch)
tree0dd07c6d9f5033ba7887233dc3f6e7a9a4cd2e81 /autopart.py
parent9f03ae022c29ba8964bc53d9a69993ed2b43f40c (diff)
downloadanaconda-98a78b67b85ab45ab08ccc8b46635f973ab0d997.tar.gz
anaconda-98a78b67b85ab45ab08ccc8b46635f973ab0d997.tar.xz
anaconda-98a78b67b85ab45ab08ccc8b46635f973ab0d997.zip
Remove disabled badblocks checking code.
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/autopart.py b/autopart.py
index 45fbc4701..6f7dd7bd6 100644
--- a/autopart.py
+++ b/autopart.py
@@ -1270,8 +1270,6 @@ def doAutoPartition(anaconda):
# preexisting partition's request... ladeda
if request.mountpoint:
req.mountpoint = request.mountpoint
- if request.badblocks:
- req.badblocks = request.badblocks
if request.uniqueID: # for raid to work
req.uniqueID = request.uniqueID
if request.fsopts:
@@ -1299,8 +1297,6 @@ def doAutoPartition(anaconda):
# preexisting partition's request... ladeda
if request.mountpoint:
req.mountpoint = request.mountpoint
- if request.badblocks:
- req.badblocks = request.badblocks
if request.uniqueID: # for raid to work
req.uniqueID = request.uniqueID
if request.fsopts:
@@ -1312,7 +1308,7 @@ def doAutoPartition(anaconda):
req.fstype = request.fstype
# XXX not copying the raid bits because they should be handled
# automagically (actually, people probably aren't specifying them)
-
+
elif (isinstance(request, partRequests.VolumeGroupRequestSpec) and
request.preexist == 1):
# get the preexisting partition they want to use