diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-08-20 11:04:29 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-08-20 11:04:29 +0300 |
commit | 4b6435b398cebf102b87e3c545a24b89bf3977cb (patch) | |
tree | 09795de2af185d09fe412117b8fd64e388579bb2 | |
parent | 2d2ad0d6d34ccd31ebd3db9c022ab102e46e946f (diff) | |
download | vmdb2-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.py | 2 |
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.") |