ia64/xen-unstable

changeset 13207:51ea6202c4f2

Fix return types for VBD.get_record and VIF.get_record.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Dec 28 15:23:31 2006 +0000 (2006-12-28)
parents 90400f2c10c1
children 5c268a24e44b
files tools/python/xen/xend/XendAPI.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAPI.py	Thu Dec 28 15:00:15 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendAPI.py	Thu Dec 28 15:23:31 2006 +0000
     1.3 @@ -1104,7 +1104,7 @@ class XendAPI:
     1.4          return_cfg = {}
     1.5          for k in cfg.keys():
     1.6              if k in valid_vbd_keys:
     1.7 -                return_cfg[k] = cfg[k]
     1.8 +                return_cfg[k] = str(cfg[k])
     1.9                  
    1.10          return xen_api_success(return_cfg)
    1.11  
    1.12 @@ -1190,7 +1190,7 @@ class XendAPI:
    1.13          return_cfg = {}
    1.14          for k in cfg.keys():
    1.15              if k in valid_vif_keys:
    1.16 -                return_cfg[k] = cfg[k]
    1.17 +                return_cfg[k] = str(cfg[k])
    1.18              
    1.19          return xen_api_success(return_cfg)
    1.20