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

[PATCH 1/3] Show correct device path in PV create progress window.



---
 pyanaconda/storage/formats/lvmpv.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/formats/lvmpv.py b/pyanaconda/storage/formats/lvmpv.py
index 196ae3d..acf0138 100644
--- a/pyanaconda/storage/formats/lvmpv.py
+++ b/pyanaconda/storage/formats/lvmpv.py
@@ -102,7 +102,9 @@ class LVMPhysicalVolume(DeviceFormat):
         if intf:
             w = intf.progressWindow(_("Formatting"),
                                     _("Creating %(type)s on %(device)s")
-                                    % {"type": self.type, "device": self.device},
+                                    % {"type": self.type,
+                                       "device": kwargs.get("device",
+                                                            self.device)},
                                     100, pulse = True)
 
         try:
-- 
1.7.3.4


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