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

Re: [PATCH] Allow setting a mountpoint w/o formatting an encrypted partition. (#495417)



> diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
> index 9499ea7..8a098a4 100644
> --- a/iw/partition_dialog_gui.py
> +++ b/iw/partition_dialog_gui.py
> @@ -271,14 +271,12 @@ class PartitionEditor:
>                      elif not self.fsoptionsDict["formatcb"].get_active():
>                          creates = devicetree.findActions(type="create",
>                                                           object="format",
> -                                                         path=request.format.device)
> +                                                         path=usedev.path)
>                          for action in creates:
>                              devicetree.cancelAction(action)
>  
> -                        request.format.exists = True
> -
> -                        if request.format.mountable:
> -                            request.format.mountpoint = mountpoint
> +                        if usedev.format.mountable:
> +                            usedev.format.mountpoint = mountpoint
>  
>                  request.weight = self.anaconda.platform.weight(mountpoint=mountpoint,
>                                                                 fstype=request.format.type)

Go with it.

- Chris


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