ACKed, thanks.
----- Original Message -----
From: "Luyao Huang" <lhuang(a)redhat.com>
To: libvir-list(a)redhat.com
Cc: "Luyao Huang" <lhuang(a)redhat.com>
Sent: Wednesday, April 22, 2015 9:00:57 PM
Subject: [libvirt] [libvirt-test-api][PATCH 3/3] fix the logic in getDomainCapabilities
Signed-off-by: Luyao Huang <lhuang(a)redhat.com>
---
repos/virconn/connection_getDomainCapabilities.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/repos/virconn/connection_getDomainCapabilities.py
b/repos/virconn/connection_getDomainCapabilities.py
index f0cfa1f..566d3ed 100644
--- a/repos/virconn/connection_getDomainCapabilities.py
+++ b/repos/virconn/connection_getDomainCapabilities.py
@@ -228,9 +228,7 @@ def check_os(arch, logger):
ovmf1 = os.getElementsByTagName('value')[0]
ovmf1 = ovmf1.childNodes[0].data
logger.debug("Got OVMF path is %s" % ovmf1)
- if ovmf_f and ovmf1 == OVMF:
- pass
- else:
+ if ovmf_f and ovmf1 != OVMF:
return False
enum = loader.getElementsByTagName('enum')
for item in enum:
--
1.8.3.1
--
libvir-list mailing list
libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list