summaryrefslogtreecommitdiffstats
path: root/storage/formats/fs.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-04-01 11:15:24 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-04-02 10:33:33 -1000
commit5ecc2a8d479446005011f7903edc4b6988adf01c (patch)
tree9d7a470e7bfb437d2b4ed39e4cc0be73344f95c2 /storage/formats/fs.py
parent8c6deeb86494dce53eac25749bb844dd5ef9c557 (diff)
downloadanaconda-5ecc2a8d479446005011f7903edc4b6988adf01c.tar.gz
anaconda-5ecc2a8d479446005011f7903edc4b6988adf01c.tar.xz
anaconda-5ecc2a8d479446005011f7903edc4b6988adf01c.zip
Remove temporary directory used in _getExistingSize()
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r--storage/formats/fs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index c6153a412..8b54a8265 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