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

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



On Thu, 2009-04-02 at 10:23 -0400, Chris Lumens wrote:
> ---
>  yuminstall.py |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

Looks good to me.

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


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