QubesWatch: fix handling just removed domains
Really do not throw exception in such a case. Reported by HW42.
This commit is contained in:
parent
b467dd6218
commit
c028df3e1e
@ -706,7 +706,8 @@ class QubesWatch(object):
|
|||||||
# which can just remove the domain
|
# which can just remove the domain
|
||||||
if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN:
|
if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN:
|
||||||
pass
|
pass
|
||||||
raise
|
else:
|
||||||
|
raise
|
||||||
# and for dom0
|
# and for dom0
|
||||||
self._register_watches(None)
|
self._register_watches(None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user