Re: [PATCH] We dont need the templuks var when defining mountCombo.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks ok,

Regards,

Hans


On 04/10/2009 07:22 PM, Joel Granados Moreno wrote:
---
  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":

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux