Browse Source

core: typo fix in error handling

Marek Marczykowski-Górecki 8 years ago
parent
commit
027ffedec4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core-modules/000QubesVm.py

+ 1 - 1
core-modules/000QubesVm.py

@@ -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