<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>add v2 to PATCH tag do identify the new patch</p>
<p><br>
Reviewed-By: Ramon Medeiros <a class="moz-txt-link-rfc2396E" href="mailto:ramonn@br.ibm.com"><ramonn@br.ibm.com></a><br>
</p>
<br>
<div class="moz-cite-prefix">On 12/13/2016 03:33 PM,
<a class="moz-txt-link-abbreviated" href="mailto:bianca@linux.vnet.ibm.com">bianca@linux.vnet.ibm.com</a> wrote:<br>
</div>
<blockquote
cite="mid:1481650415-18228-1-git-send-email-bianca@linux.vnet.ibm.com"
type="cite">
<pre wrap="">From: Bianca Carvalho <a class="moz-txt-link-rfc2396E" href="mailto:bianca@linux.vnet.ibm.com"><bianca@linux.vnet.ibm.com></a>
Changed "registerAttachDevicesEvent" in model/libvirtevents.py file
to include AttributeError as a exception to make sure kimchi will
be running even if this exception is true.
Signed-off-by: Bianca Carvalho <a class="moz-txt-link-rfc2396E" href="mailto:bianca@linux.vnet.ibm.com"><bianca@linux.vnet.ibm.com></a>
---
model/libvirtevents.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/model/libvirtevents.py b/model/libvirtevents.py
index 2dd9904..716420c 100644
--- a/model/libvirtevents.py
+++ b/model/libvirtevents.py
@@ -101,7 +101,7 @@ class LibvirtEvents(object):
cb,
arg)
- except libvirt.libvirtError as e:
+ except (AttributeError, libvirt.libvirtError), e:
wok_log.error("register attach event failed: %s" % e.message)
def registerDetachDevicesEvent(self, conn, cb, arg):
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
<a class="moz-txt-link-abbreviated" href="mailto:ramonn@br.ibm.com">ramonn@br.ibm.com</a> </pre>
</body>
</html>