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
01-27-2010, 02:05 PM
Chris Lumens
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