[PATCH][rhel6] Fix mis-management of luks dict when renaming encrypted lvs.

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

 



Resolves: rhbz#674773
---
 iw/lvm_dialog_gui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 0192b04..0e86edf 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -798,7 +798,7 @@ class VolumeGroupEditor:
 
             if self.luks.has_key(origname) and origname != templv.lvname:
                 self.luks[templv.lvname] = self.luks[origname]
-                del self.luks[templv.lvname]
+                del self.luks[origname]
         elif templv.format.type != "luks" and self.luks.has_key(origname):
             del self.luks[origname]
 
-- 
1.7.3.5

_______________________________________________
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