Re: [anaconda-storage-branch PATCH] Check for disk name being in disk.name not in clearPartDisks

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

 



On Mon, 2009-03-16 at 16:04 -1000, David Cantrell wrote:
> disk -> disk.name
> ---
>  storage/partitioning.py |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/storage/partitioning.py b/storage/partitioning.py
> index 0fdd6b9..de38e1b 100644
> --- a/storage/partitioning.py
> +++ b/storage/partitioning.py
> @@ -45,7 +45,8 @@ def _createFreeSpacePartitions(anaconda):
>      # least 100MB
>      disks = []
>      for disk in anaconda.id.storage.disks:
> -        if anaconda.id.storage.clearPartDisks and disk not in anaconda.id.storage.clearPartDisks:
> +        if anaconda.id.storage.clearPartDisks and \
> +           (disk.name not in anaconda.id.storage.clearPartDisks):
>              continue
>  
>          partedDisk = disk.partedDisk

Looks fine syntax wise.

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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