From c028df3e1e90a3017d0cfce34dbc6a85a8bb7b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 18 Jul 2016 15:07:02 +0200 Subject: [PATCH] QubesWatch: fix handling just removed domains Really do not throw exception in such a case. Reported by HW42. --- core/qubesutils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/qubesutils.py b/core/qubesutils.py index 90c2ef88..85dad0f1 100644 --- a/core/qubesutils.py +++ b/core/qubesutils.py @@ -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)