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

[PATCH] Fix up the other caller of unmountCD to pass in a device (#493537).



---
 yuminstall.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 42a74b5..474f03b 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -691,7 +691,9 @@ class AnacondaYum(YumSorter):
                                                        len(grab.mirrors)))
 
         if self.currentMedia:
-            unmountCD(self.tree, self.anaconda.intf.messageWindow)
+            dev = self.anaconda.id.storage.devicetree.getDeviceByName(self.anaconda.mediaDevice)
+            dev.format.mountpoint = self.tree
+            unmountCD(dev, self.anaconda.intf.messageWindow)
             self.currentMedia = None
 
     def urlgrabberFailureCB (self, obj, *args, **kwargs):
-- 
1.6.1.3


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