summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-21 17:02:54 -0400
committerChris Lumens <clumens@redhat.com>2009-04-22 09:46:09 -0400
commit8427df0d383564e9a35b04aa7e6e0fb438f45696 (patch)
tree31fbcee52c6fb866080fe4b88d2b446975a08523 /image.py
parente4da10b7456b92763e90a66d2cbb999a7d4a2fc7 (diff)
downloadanaconda-8427df0d383564e9a35b04aa7e6e0fb438f45696.tar.gz
anaconda-8427df0d383564e9a35b04aa7e6e0fb438f45696.tar.xz
anaconda-8427df0d383564e9a35b04aa7e6e0fb438f45696.zip
Use the correct unmount method (#496764).
Diffstat (limited to 'image.py')
-rw-r--r--image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.py b/image.py
index 29ab10b40..6bc421e40 100644
--- a/image.py
+++ b/image.py
@@ -260,7 +260,7 @@ def scanForMedia(tree, storage):
continue
if not verifyMedia(tree, 1):
- isys.umount(tree)
+ dev.format.unmount()
continue
return dev.name