From: Ewan Mellor Date: Tue, 30 Jan 2007 16:32:50 +0000 (+0000) Subject: Fix typo, as suggested by Stefan Berger. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15368^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=37704ecd82002916f1d435bb53ad591e982d5097;p=xen.git Fix typo, as suggested by Stefan Berger. Signed-off-by: Ewan Mellor --- 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"