summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-14 15:29:27 +0000
committerChris Lumens <clumens@redhat.com>2006-07-14 15:29:27 +0000
commit7fcf35c90f997c539e1f57bb5869febb42ce06b3 (patch)
treeb61fee28133760e75210c832421b85812bf915c7 /installclass.py
parentb7b10cf1be707a7509153f2e06944bff9bc0a833 (diff)
downloadanaconda-7fcf35c90f997c539e1f57bb5869febb42ce06b3.tar.gz
anaconda-7fcf35c90f997c539e1f57bb5869febb42ce06b3.tar.xz
anaconda-7fcf35c90f997c539e1f57bb5869febb42ce06b3.zip
Nuke more unused code.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/installclass.py b/installclass.py
index 38a49af20..827432eb2 100644
--- a/installclass.py
+++ b/installclass.py
@@ -94,18 +94,11 @@ class BaseInstallClass:
if not drive in diskset.skippedDisks:
diskset.skippedDisks.append(drive)
- def setClearParts(self, id, clear, drives = None, warningText = None,
- initAll = False):
+ def setClearParts(self, id, clear, drives = None, initAll = False):
id.partitions.autoClearPartType = clear
id.partitions.autoClearPartDrives = drives
if initAll:
id.partitions.reinitializeDisks = initAll
- # XXX hack for install help text in GUI mode
- if clear == CLEARPART_TYPE_LINUX:
- self.clearType = "wkst"
- if clear == CLEARPART_TYPE_ALL:
- self.clearType = "svr"
- self.clearPartText = warningText
def setSteps(self, dispatch):
dispatch.setStepList(