diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-10-06 22:01:15 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-10-06 22:01:15 +0000 |
commit | 1a851366b926131145df42fd9ba4f0d88e0b6a79 (patch) | |
tree | fb3259bdc6d288e95be3f4c6ba420887c36399fa | |
parent | df16e4725ba21977f56ddfb06879ab80832b332e (diff) | |
download | anaconda-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-- | ChangeLog | 4 | ||||
-rw-r--r-- | iw/lvm_dialog_gui.py | 7 |
2 files changed, 9 insertions, 2 deletions
@@ -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") |