diff mbox

KVM-test: kvm.py: Code style fix

Message ID 20100608080224.GA20396@t4.rh (mailing list archive)
State New, archived
Headers show

Commit Message

Marc Enthus June 8, 2010, 8:02 a.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index f3ce4d6..0080b15 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests/kvm/kvm_vm.py
@@ -516,7 +516,7 @@  class VM:
                                   pa_type)
                     return False
 
-            elif pa_type and pa_type != "no":
+            elif pa_type is not None and pa_type != "no":
                 logging.warn("Unsupported pci_assignable type: %s", pa_type)
 
             # Make qemu command