--- iw/lvm_dialog_gui.py | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py index 35a3328..59d5a2b 100644 --- a/iw/lvm_dialog_gui.py +++ b/iw/lvm_dialog_gui.py @@ -397,18 +397,15 @@ class VolumeGroupEditor: # Create the mountCombo. This is the box where the mountpoint will # appear. Note that if the format is swap or Raiddevice, the mount # point is none-sense. - templuks = None usedev = None for _lv in tempvg.lvs: if _lv.lvname == lv['name']: templv = _lv usedev = templv if templv.format.type == "luks": - templuks = LUKSDevice("luks-%s" % lv['name'], - parents=[templv], - format=self.luks[lv['name']], - exists=templv.format.exists) - usedev = templuks + usedev = LUKSDevice("luks-%s"%lv['name'], parents=[templv], + format=self.luks[lv['name']], + exists=templv.format.exists) break if lv['format'].type == "luks": -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list