diff options
author | David Lehman <dlehman@redhat.com> | 2009-10-09 15:33:30 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-10-09 15:33:30 -0500 |
commit | fd7e41886979d5c71a5f2cbcbea73092a13cce57 (patch) | |
tree | 6bcdfe044a7f7de2137e143880c2eea2cd84dd3b | |
parent | 299519d4a0693330ff6a50f3111d61feefabb0da (diff) | |
download | anaconda-fd7e41886979d5c71a5f2cbcbea73092a13cce57.tar.gz anaconda-fd7e41886979d5c71a5f2cbcbea73092a13cce57.tar.xz anaconda-fd7e41886979d5c71a5f2cbcbea73092a13cce57.zip |
Fix cut/paste error in commit 299519d4a0693330ff6a50f3111d61feefabb0da.
-rw-r--r-- | iw/lvm_dialog_gui.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py index 923222cdf..8dbcffd4a 100644 --- a/iw/lvm_dialog_gui.py +++ b/iw/lvm_dialog_gui.py @@ -639,10 +639,11 @@ class VolumeGroupEditor: # the devices in the tree mountdevs = self.lvs.values() full_name = "%s-%s" % (self.vg.name, lv['name']) - for (mp,d) in self.storage.mountpoints.iteritems(): - if (d.type != "lvmlv" or d.vg.id != self.vg.id) and \ + for (mp,dev) in self.storage.mountpoints.iteritems(): + if (dev.type != "lvmlv" or + dev.vg.id != self.vg.id) and \ mp == mountpoint and \ - not (isinstance(d, LUKSDevice) and + not (isinstance(dev, LUKSDevice) and full_name in [d.name for d in dev.parents]): used = True break |