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

Re: [PATCH storage 2/3] Fix tempfile.mkdtemp call.



looks good.
On Mon, Mar 16, 2009 at 01:25:21PM +0100, Radek Vykydal wrote:
> ---
>  storage/formats/fs.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/storage/formats/fs.py b/storage/formats/fs.py
> index 2e1e778..545970c 100644
> --- a/storage/formats/fs.py
> +++ b/storage/formats/fs.py
> @@ -202,7 +202,7 @@ class FS(DeviceFormat):
>          if self.mountable:
>              origMountPoint = self._mountpoint
>  
> -            (f, tmppath) = tempfile.mkdtemp(prefix='getsize', dir='/tmp')
> +            tmppath = tempfile.mkdtemp(prefix='getsize', dir='/tmp')
>              self.mount(mountpoint=tmppath)
>              buf = os.statvfs(tmppath)
>              self.unmount()
> -- 
> 1.5.4.3
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
Joel Andres Granados
Brno, Czech Republic, Red Hat.


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