diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-04-01 11:15:24 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-04-02 10:33:33 -1000 |
commit | 5ecc2a8d479446005011f7903edc4b6988adf01c (patch) | |
tree | 9d7a470e7bfb437d2b4ed39e4cc0be73344f95c2 | |
parent | 8c6deeb86494dce53eac25749bb844dd5ef9c557 (diff) | |
download | anaconda-5ecc2a8d479446005011f7903edc4b6988adf01c.tar.gz anaconda-5ecc2a8d479446005011f7903edc4b6988adf01c.tar.xz anaconda-5ecc2a8d479446005011f7903edc4b6988adf01c.zip |
Remove temporary directory used in _getExistingSize()
-rw-r--r-- | 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 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 |