[rhel6-branch][PATCH] Show warning msg if re-using a partition without formatting. (#886020)

Samantha N. Bueno sbueno+anaconda at redhat.com
Tue Aug 13 15:09:34 UTC 2013


Sigh forgot to tag this properly again--this is for rhel6-branch.

On Tue, Aug 13, 2013 at 11:06:34AM -0400, Samantha N. Bueno wrote:
> If a standard partition was being re-used for installation without
> the 'format' checkbox marked, the associated warning message was
> not popping up to notify users. This fixes one of the conditionals
> which checked to see if the warning message should be displayed.
> 
> Resolves: rhbz#886020
> ---
>  iw/partition_dialog_gui.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
> index 2bf053a..14bc6ac 100644
> --- a/iw/partition_dialog_gui.py
> +++ b/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):
>                      if not queryNoFormatPreExisting(self.intf):
>                          continue
> -- 
> 1.8.3.1
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list