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

Re: [PATCH] Fix check so we actually disallow use of preexisting root filesystems.



On Mon, Aug 15, 2011 at 05:27:11PM -0500, David Lehman wrote:
> Related: rhbz#730798
> ---
>  pyanaconda/iw/partition_dialog_gui.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/pyanaconda/iw/partition_dialog_gui.py b/pyanaconda/iw/partition_dialog_gui.py
> index 0495532..f19d2ea 100644
> --- a/pyanaconda/iw/partition_dialog_gui.py
> +++ b/pyanaconda/iw/partition_dialog_gui.py
> @@ -376,7 +376,7 @@ class PartitionEditor:
>                          pass
>  
>                  if request.format.exists and \
> -                   getattr(request, "mountpoint", None) and \
> +                   getattr(request.format, "mountpoint", None) and \
>                     self.storage.formatByDefault(request):
>                      reason = self.storage.mustFormat(request)
>                      if reason:

Ack

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpqH3nTL6m31.pgp
Description: PGP signature


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