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

[PATCH] Use the correct unmount method (#496764).



---
 image.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/image.py b/image.py
index 29ab10b..6bc421e 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
-- 
1.6.1.3


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