summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-08-20 11:04:29 +0300
committerLars Wirzenius <liw@liw.fi>2020-08-20 11:04:29 +0300
commit4b6435b398cebf102b87e3c545a24b89bf3977cb (patch)
tree09795de2af185d09fe412117b8fd64e388579bb2
parent2d2ad0d6d34ccd31ebd3db9c022ab102e46e946f (diff)
downloadvmdb2-4b6435b398cebf102b87e3c545a24b89bf3977cb.tar.gz
refactor(virtualfs_plugin.py): drop exception that never happens
vmdb.unmount catches the exception itself, so the caller doesn't need to.
-rw-r--r--vmdb/plugins/virtualfs_plugin.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/vmdb/plugins/virtualfs_plugin.py b/vmdb/plugins/virtualfs_plugin.py
index 59996c1..7693d5c 100644
--- a/vmdb/plugins/virtualfs_plugin.py
+++ b/vmdb/plugins/virtualfs_plugin.py
@@ -71,5 +71,3 @@ class VirtualFilesystemMountStepRunner(vmdb.StepRunnerInterface):
vmdb.unmount(mount_point)
except vmdb.NotMounted as e:
logging.warning(str(e))
- except cliapp.AppException:
- vmdb.warning("Something went wrong while unmounting. Ignoring.")