From: Avi Kivity <a...@redhat.com>

yes/no replaces True/False.

Signed-off-by: Avi Kivity <a...@redhat.com>

diff --git a/kvm/scripts/vmxcap b/kvm/scripts/vmxcap
index ec909b3..b7f58ac 100755
--- a/kvm/scripts/vmxcap
+++ b/kvm/scripts/vmxcap
@@ -79,7 +79,8 @@ class Misc(object):
                 fmt = int
             else:
                 lo = hi = bits
-                fmt = bool
+                def fmt(x):
+                    return { True: 'yes', False: 'no' }[x]
             v = (value >> lo) & ((1 << (hi - lo + 1)) - 1)
             print '  %-40s %s' % (self.bits[bits], fmt(v))
 
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to