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

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



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


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