QubesWatch: fix handling just removed domains

Really do not throw exception in such a case.
Reported by HW42.
This commit is contained in:
Marek Marczykowski-Górecki 2016-07-18 15:07:02 +02:00
parent b467dd6218
commit c028df3e1e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -706,7 +706,8 @@ class QubesWatch(object):
# which can just remove the domain
if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN:
pass
raise
else:
raise
# and for dom0
self._register_watches(None)