[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 12/14] Remove calls to sanityCheckRequest()
- From: David Cantrell <dcantrell redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH 12/14] Remove calls to sanityCheckRequest()
- Date: Sun, 1 Mar 2009 20:32:50 -1000
We don't have this function anymore, but I don't know if we need
to be calling anything else.
---
iw/lvm_dialog_gui.py | 11 -----------
iw/partition_dialog_gui.py | 15 ---------------
iw/raid_dialog_gui.py | 6 ------
3 files changed, 0 insertions(+), 32 deletions(-)
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 6e093fe..3aebb20 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -675,17 +675,6 @@ class VolumeGroupEditor:
if luksdev:
actions.append(ActionCreateDevice(luksdev))
- err = self.storage.sanityCheckRequest(lv,
- skipMntPtExistCheck=1,
- pesize=pesize)
- if not err:
- err = self.storage.isMountPointInUse(lv)
-
- if err:
- self.intf.messageWindow(_("Error With Request"),
- "%s" % (err), custom_icon="error")
- continue
-
if usedev.format.exists and format.mountable and \
self.storage.formatByDefault(usedev) and \
not queryNoFormatPreExisting(self.intf):
diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index 2fdf856..b64d3bf 100644
--- a/iw/partition_dialog_gui.py
+++ b/iw/partition_dialog_gui.py
@@ -175,15 +175,6 @@ class PartitionEditor:
primary=primary,
parents=disks)
- err = storage.sanityCheckRequest(request)
- if not err:
- err = doUIRAIDLVMChecks(request, self.storage)
-
- if err:
- self.intf.messageWindow(_("Error With Request"),
- "%s" % (err), custom_icon="error")
- continue
-
# we're all set, so create the actions
if luksdev:
actions.append(ActionCreateDevice(luksdev))
@@ -221,12 +212,6 @@ class PartitionEditor:
if request.format.type != "none":
actions.append(ActionResizeFormat(request, size))
- err = self.storage.sanityCheckRequest(request)
- if err:
- self.intf.messageWindow(_("Error With Request"),
- "%s" % (err), custom_icon="error")
- continue
-
if request.format.exists and \
getattr(request, "mountpoint", None) and \
self.storage.formatByDefault(request):
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index 8757bbc..900e450 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -201,12 +201,6 @@ class RaidEditor:
self.fsoptionsDict["migratecb"].get_active():
fstype = self.fsoptionsDict["migfstypeCombo"].get_active_value()
- err = self.storage.sanityCheckRequest(request)
- if err:
- self.intf.messageWindow(_("Error With Request"),
- "%s" % (err), custom_icon="error")
- continue
-
if request.format.exists and \
self.storage.formatByDefault(request):
if not queryNoFormatPreExisting(self.intf):
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]