ia64/xen-unstable

changeset 7942:d7b91e64bd4c

Fix typo, and failure to unpack singleton tuple correctly.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Mon Nov 21 12:42:47 2005 +0100 (2005-11-21)
parents 5b0a7cac1087
children 3a544c04cc61
files tools/python/xen/xend/server/tpmif.py
line diff
     1.1 --- a/tools/python/xen/xend/server/tpmif.py	Mon Nov 21 12:41:39 2005 +0100
     1.2 +++ b/tools/python/xen/xend/server/tpmif.py	Mon Nov 21 12:42:47 2005 +0100
     1.3 @@ -50,8 +50,7 @@ class TPMifController(DevController):
     1.4  
     1.5          result = DevController.configuration(self, devid)
     1.6  
     1.7 -        (instance) = self.readBackend(devif,
     1.8 -                                      'instance')
     1.9 +        (instance,) = self.readBackend(devid, 'instance')
    1.10  
    1.11          if instance:
    1.12              result.append(['instance', instance])