summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-10-06 22:01:15 +0000
committerJeremy Katz <katzj@redhat.com>2004-10-06 22:01:15 +0000
commit1a851366b926131145df42fd9ba4f0d88e0b6a79 (patch)
treefb3259bdc6d288e95be3f4c6ba420887c36399fa
parentdf16e4725ba21977f56ddfb06879ab80832b332e (diff)
downloadanaconda-1a851366b926131145df42fd9ba4f0d88e0b6a79.tar.gz
anaconda-1a851366b926131145df42fd9ba4f0d88e0b6a79.tar.xz
anaconda-1a851366b926131145df42fd9ba4f0d88e0b6a79.zip
2004-10-06 Jeremy Katz <katzj@redhat.com>
* iw/lvm_dialog_gui.py (VolumeGroupEditor.updateLogVolStore): Don't show "0" as a mountpoint for an LV that's not being mounted anywhere (#134867)
-rw-r--r--ChangeLog4
-rw-r--r--iw/lvm_dialog_gui.py7
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b4de3f30d..5bc2f0091 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2004-10-06 Jeremy Katz <katzj@redhat.com>
+ * iw/lvm_dialog_gui.py (VolumeGroupEditor.updateLogVolStore):
+ Don't show "0" as a mountpoint for an LV that's not being mounted
+ anywhere (#134867)
+
* partRequests.py (RequestSpec.sanityCheckRequest): Call
sanityCheckMountPoint with new option
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 53e1e5a87..2739300be 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -793,8 +793,11 @@ class VolumeGroupEditor:
if lvname:
self.logvolstore.set_value(iter, 0, lvname)
- if lv.fstype and lv.fstype.isMountable() and mntpt:
- self.logvolstore.set_value(iter, 1, mntpt)
+ if lv.fstype and lv.fstype.isMountable():
+ if mntpt:
+ self.logvolstore.set_value(iter, 1, mntpt)
+ else:
+ self.logvolstore.set_value(iter, 1, "")
else:
self.logvolstore.set_value(iter, 1, "N/A")