delete: Ensure storage_errors is always declared

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-05-20 07:06:33 -04:00
parent a53f35e425
commit 167d2f2f8e

View File

@ -180,6 +180,7 @@ class _vmmDeleteBase(vmmGObjectUI):
def _async_delete(self, asyncjob, vm, paths):
details = ""
storage_errors = []
try:
self._destroy_vm(vm)