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

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



---
 iw/partition_dialog_gui.py |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

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)
-- 
1.6.0.6


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