diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 94c4f4b5c9..b8624140b9 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -2125,7 +2125,7 @@ class XendDomainInfo: config['mode'] = 'RW' if dev_class == 'vtpm': - if not config.has_type('type'): + if not config.has_key('type'): config['type'] = 'paravirtualised' # TODO if not config.has_key('backend'): config['backend'] = "00000000-0000-0000-0000-000000000000"