[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix return types for VBD.get_record and VIF.get_record.
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Date 1167319411 0 # Node ID 51ea6202c4f28dca1528f82f4e4e7e45f611bb19 # Parent 90400f2c10c1d6695fda4ba0b11cb18f2f0bd0e9 Fix return types for VBD.get_record and VIF.get_record. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> --- tools/python/xen/xend/XendAPI.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 90400f2c10c1 -r 51ea6202c4f2 tools/python/xen/xend/XendAPI.py --- a/tools/python/xen/xend/XendAPI.py Thu Dec 28 15:00:15 2006 +0000 +++ b/tools/python/xen/xend/XendAPI.py Thu Dec 28 15:23:31 2006 +0000 @@ -1104,7 +1104,7 @@ class XendAPI: return_cfg = {} for k in cfg.keys(): if k in valid_vbd_keys: - return_cfg[k] = cfg[k] + return_cfg[k] = str(cfg[k]) return xen_api_success(return_cfg) @@ -1190,7 +1190,7 @@ class XendAPI: return_cfg = {} for k in cfg.keys(): if k in valid_vif_keys: - return_cfg[k] = cfg[k] + return_cfg[k] = str(cfg[k]) return xen_api_success(return_cfg) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |