diff options
Diffstat (limited to 'partitioning.py')
-rw-r--r-- | partitioning.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/partitioning.py b/partitioning.py index 169313e07..9955f9179 100644 --- a/partitioning.py +++ b/partitioning.py @@ -37,20 +37,20 @@ import partRequests from rhpl.translate import _ -def partitionObjectsInitialize(diskset, partitions, dir, intf, dispatch): - if dir == DISPATCH_BACK: - diskset.closeDevices() +def partitionObjectsInitialize(anaconda): + if anaconda.dir == DISPATCH_BACK: + anaconda.id.diskset.closeDevices() isys.flushDriveDict() return # read in drive info - diskset.refreshDevices(intf, partitions.reinitializeDisks, - partitions.zeroMbr, partitions.autoClearPartDrives) + anaconda.id.diskset.refreshDevices(anaconda.intf, anaconda.id.partitions.reinitializeDisks, + anaconda.id.partitions.zeroMbr, anaconda.id.partitions.autoClearPartDrives) - diskset.checkNoDisks(intf) + anaconda.id.diskset.checkNoDisks(anaconda.intf) - partitions.setFromDisk(diskset) - partitions.setProtected(dispatch) + anaconda.id.partitions.setFromDisk(anaconda.id.diskset) + anaconda.id.partitions.setProtected(anaconda.dispatch) def partitioningComplete(bl, fsset, diskSet, partitions, intf, instPath, dir): if dir == DISPATCH_BACK and fsset.isActive(): |