core: typo fix in error handling
This commit is contained in:
parent
36134c8c43
commit
027ffedec4
@ -771,7 +771,7 @@ class QubesVm(object):
|
|||||||
if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN:
|
if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN:
|
||||||
return 0
|
return 0
|
||||||
# libxl_domain_info failed - domain no longer exists
|
# 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
|
return 0
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
Loading…
Reference in New Issue
Block a user