core: typo fix in error handling

This commit is contained in:
Marek Marczykowski-Górecki 2015-12-07 00:03:39 +01:00
parent 36134c8c43
commit 027ffedec4
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -771,7 +771,7 @@ class QubesVm(object):
if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN:
return 0
# libxl_domain_info failed - domain no longer exists
elif e.get_error_code() == libvirt.VIR_INTERNAL_ERROR:
elif e.get_error_code() == libvirt.VIR_ERR_INTERNAL_ERROR:
return 0
else:
raise