diff options
author | David Lehman <dlehman@redhat.com> | 2009-09-14 16:50:38 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-09-15 13:07:21 -0500 |
commit | 66b6bf1242f29787beec64576b8b737c7cd873fc (patch) | |
tree | 6658f81a066e66fcec6be1f1f693dabf1e73322e | |
parent | 4fff93ac8e3b3187af5f50d17a065fafc610a5df (diff) | |
download | anaconda-66b6bf1242f29787beec64576b8b737c7cd873fc.tar.gz anaconda-66b6bf1242f29787beec64576b8b737c7cd873fc.tar.xz anaconda-66b6bf1242f29787beec64576b8b737c7cd873fc.zip |
Rename doDeleteDependentDevices to doClearPartitionedDevice for clarity.
-rw-r--r-- | iw/partition_gui.py | 2 | ||||
-rw-r--r-- | iw/raid_dialog_gui.py | 2 | ||||
-rw-r--r-- | partIntfHelpers.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py index cea465db3..5ebee3a1a 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -983,7 +983,7 @@ class PartitionWindow(InstallWindow): if not device: return if device.format.type == "disklabel": - if doDeleteDependentDevices(self.intf, + if doClearPartitionedDevice(self.intf, self.storage, device): self.refresh() diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py index 02a452ea9..bb457a540 100644 --- a/iw/raid_dialog_gui.py +++ b/iw/raid_dialog_gui.py @@ -667,7 +667,7 @@ class RaidCloneDialog: # now try to clear the target drives for devname in self.targetDrives: device = self.storage.devicetree.getDeviceByName(devname) - doDeleteDependentDevices(self.intf, self.storage, + doClearPartitionedDevice(self.intf, self.storage, device, confirm=0, quiet=1) # now clone! diff --git a/partIntfHelpers.py b/partIntfHelpers.py index cf136fb99..e4e4c23b2 100644 --- a/partIntfHelpers.py +++ b/partIntfHelpers.py @@ -143,7 +143,7 @@ def doDeleteDevice(intf, storage, device, confirm=1, quiet=0): storage.destroyDevice(device) return True -def doDeleteDependentDevices(intf, storage, device, confirm=1, quiet=0): +def doClearPartitionedDevice(intf, storage, device, confirm=1, quiet=0): """ Remove all devices/partitions currently on device. device -- a partitioned device such as a disk |