summaryrefslogtreecommitdiffstats
path: root/iw/lvm_dialog_gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-12 04:38:30 +0000
committerMike Fulbright <msf@redhat.com>2002-06-12 04:38:30 +0000
commitc2f1f5ad4edbdc6e0aba16369c7d13a29385db1e (patch)
tree6e320b764440ac576cf2ec91b8a30f3b6814b1df /iw/lvm_dialog_gui.py
parentd88dc90658206b1e19c867cc2e7e16678ee1d641 (diff)
downloadanaconda-c2f1f5ad4edbdc6e0aba16369c7d13a29385db1e.tar.gz
anaconda-c2f1f5ad4edbdc6e0aba16369c7d13a29385db1e.tar.xz
anaconda-c2f1f5ad4edbdc6e0aba16369c7d13a29385db1e.zip
removing unused code
Diffstat (limited to 'iw/lvm_dialog_gui.py')
-rw-r--r--iw/lvm_dialog_gui.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index b9baaf897..91a9481ee 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -415,32 +415,6 @@ class VolumeGroupEditor:
preexist = 0
# test mount point
-#
-# XXX done in sanitycheckrequest
-#
-# if fsystem.isMountable():
-# err = sanityCheckMountPoint(mntpt, fsystem, preexist)
-# else:
-# mntpt = None
-# err = None
-#
-# if err:
-# self.intf.messageWindow(_("Bad mount point"), err)
-# continue
-
- # see if mount point is used already
-#
-# existing requests are checked by sanitycheckrequest
-#
-# used = 0
-# if fsystem.isMountable():
-# if not logrequest or mntpt != logrequest.mountpoint:
-# # check in existing requests
-# curreq = self.partitions.getRequestByMountPoint(mntpt)
-# if curreq:
-# used = 1
-#
-
# check in pending logical volume requests
# these may not have been put in master list of requests
# yet if we have not hit 'OK' for the volume group creation
@@ -497,9 +471,6 @@ class VolumeGroupEditor:
continue
# create potential request
-# request = LogicalVolumeRequestSpec(fsystem, mountpoint = mntpt,
-# lvname = lvname, size = size,
-# format = 1)
request = copy.copy(logrequest)
pesize = self.peOptionMenu.get_active().get_data("value")
size = lvm.clampLVSizeRequest(size, pesize)