FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 03-12-2009, 03:00 PM
Radek Vykydal
 
Default Fix editing of existing logical volume.

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
 
Old 03-13-2009, 08:56 AM
Joel Granados
 
Default 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
 

Thread Tools




All times are GMT. The time now is 10:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org