ia64/xen-unstable

changeset 13757:3b0b70a4fd62

Fix typo, as suggested by Stefan Berger.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Jan 30 16:32:50 2007 +0000 (2007-01-30)
parents d96b346cab5d
children 749c7d8e4514
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue Jan 30 16:27:53 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Jan 30 16:32:50 2007 +0000
     1.3 @@ -2125,7 +2125,7 @@ class XendDomainInfo:
     1.4                  config['mode'] = 'RW'
     1.5  
     1.6          if dev_class == 'vtpm':
     1.7 -            if not config.has_type('type'):
     1.8 +            if not config.has_key('type'):
     1.9                  config['type'] = 'paravirtualised' # TODO
    1.10              if not config.has_key('backend'):
    1.11                  config['backend'] = "00000000-0000-0000-0000-000000000000"