[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 1/3] Remove temporary directory used in _getExistingSize()
- From: David Cantrell <dcantrell redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH 1/3] Remove temporary directory used in _getExistingSize()
- Date: Wed, 1 Apr 2009 17:43:10 -1000
---
storage/formats/fs.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index cff52d3..5415ea0 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -206,6 +206,7 @@ class FS(DeviceFormat):
self.mount(mountpoint=tmppath, options="ro")
buf = os.statvfs(tmppath)
self.unmount()
+ os.rmdir(tmppath)
self._mountpoint = origMountPoint
--
1.6.2
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]