# HG changeset patch
# User Cole Robinson <crobinso@redhat.com>
# Date 1260392543 18000
# Node ID 15c118a449a7e2c861b6630da31fcb25526af617
# Parent 989eb68a9c1889c783152705e6ed7c0580dfa814
support: Generic exceptions mean libvirt support is busted.
Fixes testing for interface APIs on libvirt < 0.7.4
diff -r 989eb68a9c18 -r 15c118a449a7 virtinst/support.py
--- a/virtinst/support.py Mon Dec 07 20:41:58 2009 +0000
+++ b/virtinst/support.py Wed Dec 09 16:02:23 2009 -0500
@@ -173,7 +173,8 @@
return False
except Exception:
- return True
+ # Other python exceptions likely mean the bindings are horked
+ return False
return True