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 > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 01-26-2010, 02:16 PM
Hans de Goede
 
Default Fix typo in partition_ui_helpers_gui.py

request.disks should be request.req_disks
---
iw/partition_ui_helpers_gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
index 2f05a6e..46e2efb 100644
--- a/iw/partition_ui_helpers_gui.py
+++ b/iw/partition_ui_helpers_gui.py
@@ -429,7 +429,7 @@ def doUIRAIDLVMChecks(request, storage):
## "cannot be marked to fill to use available space.")) % (fstype.getName(),)

if fstype in ["physical volume (LVM)", "software RAID"]:
- if numdrives > 1 and (not request.req_disks or len(request.disks) > 1):
+ if numdrives > 1 and (not request.req_disks or len(request.req_disks) > 1):
return (_("Partitions of type '%s' must be constrained to "
"a single drive. To do this, select the "
"drive in the 'Allowable Drives' checklist.")) % (fstype.getName(),)
--
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 01-27-2010, 02:05 PM
Chris Lumens
 
Default Fix typo in partition_ui_helpers_gui.py

> diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
> index 2f05a6e..46e2efb 100644
> --- a/iw/partition_ui_helpers_gui.py
> +++ b/iw/partition_ui_helpers_gui.py
> @@ -429,7 +429,7 @@ def doUIRAIDLVMChecks(request, storage):
> ## "cannot be marked to fill to use available space.")) % (fstype.getName(),)
>
> if fstype in ["physical volume (LVM)", "software RAID"]:
> - if numdrives > 1 and (not request.req_disks or len(request.disks) > 1):
> + if numdrives > 1 and (not request.req_disks or len(request.req_disks) > 1):
> return (_("Partitions of type '%s' must be constrained to "
> "a single drive. To do this, select the "
> "drive in the 'Allowable Drives' checklist.")) % (fstype.getName(),)

Looks fine.

- Chris

_______________________________________________
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 09:01 AM.

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