Fix editing of existing logical volume.
looks good .
On Thu, Mar 12, 2009 at 05:00:29PM +0100, Radek Vykydal wrote:
> 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@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
--
Joel Andres Granados
Brno, Czech Republic, Red Hat.
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|