[PATCH storage] Fix editing of existing logical volume.

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

 



Also (probably unharmful) typo corrected.

fixes traceback http://fpaste.org/paste/5954
---
 iw/lvm_dialog_gui.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index ad081b2..3162665 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -888,7 +888,7 @@ class VolumeGroupEditor:
 	    if self.vg:
 		origvname = self.vg.name
 	    else:
-		origname = None
+		origvname = None
 
 	    if origvname != volname:
                 # maybe we should see if _any_ device has this name
@@ -908,8 +908,8 @@ class VolumeGroupEditor:
 
         # pvs, pesize are taken care of in widget callbacks
         # (clickCB, peChangeCB)
-        self.vg.name = volname
         if self.isNew:
+            self.vg.name = volname
             self.actions.insert(0, ActionCreateDevice(self.vg))
 	return self.actions
 
-- 
1.5.4.3

_______________________________________________
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