summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-12-13 20:52:19 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-12-13 20:52:19 +0000
commit9756654625f088ae908c4d198cba1b6301199ee5 (patch)
tree771a140a4cf5ad1b0de6c38408a0841196c08bdb /installclass.py
parenta45acd9e9a0a1cd4ed49b9fb1c6bb0bce4118429 (diff)
downloadanaconda-9756654625f088ae908c4d198cba1b6301199ee5.tar.gz
anaconda-9756654625f088ae908c4d198cba1b6301199ee5.tar.xz
anaconda-9756654625f088ae908c4d198cba1b6301199ee5.zip
* anaconda (__main__): Pass reference to anaconda object to InstallData.
* fsset.py (readFstab): Take reference to anaconda object rather than a path and intf. Pass anaconda reference to DiskSet(). * fssey.py (__main__): Removed. * installclass.py (BaseInstallClass): Pass anaconda reference to the reset() method for InstallData. * instdata.py (InstallData.reset): Take anaconda object reference as parameter. Pass anaconda to DiskSet(). * instdata.py (InstallData.__init__): Take anaconda object ref as parameter, pass it to reset() method. * kickstart.py (AnacondaKSHandlers): Store anaconda object reference, pass to DiskSet() object creations. * partedUtils.py (DiskSet): Take anaconda object reference, store. Use self.anaconda throughout DiskSet object, remove individual pass-ins of intf and other anaconda object parts. * partedUtils.py (DiskSet.dastFmt): Remove -P dasdfmt(8) arg (#218861). * partedUtils.py (DiskSet.openDevices): Remove intf, initAll, zeroMbr, and clearDevs params since those are in the anaconda object. When a kickstart install is running, the dasd found is in the clearpart list, and the --initlabel option has been used, skip the interactive dialog asking if you want to format the DASD and just do it (#218861). * partitioning.py (partitionObjectsInitialize): Removed arguments since the anaconda object provides those now. * upgrade.py (mountRootPartition): Pass anaconda object ref to DiskSet. Only pass anaconda ref to readFstab(). * upgrade.py (upgradeMountFilesystems): Likewise.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py
index 6e6f7c81f..0503e9516 100644
--- a/installclass.py
+++ b/installclass.py
@@ -424,7 +424,7 @@ class BaseInstallClass:
def setInstallData(self, anaconda):
- anaconda.id.reset()
+ anaconda.id.reset(anaconda)
anaconda.id.instClass = self
# Classes should call these on __init__ to set up install data