[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).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Fix up the other caller of unmountCD to pass in a device (#493537).
- Date: Thu, 2 Apr 2009 10:23:03 -0400
---
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]