Piotr Kliczewski has uploaded a new change for review. Change subject: caps: unable to marshal defaultdict by xmlrpc ......................................................................
caps: unable to marshal defaultdict by xmlrpc When using vdsClient to getCaps we saw: <type 'exceptions.TypeError'>:cannot marshal <type 'collections.defaultdict'> objects in order to make it working again we need to use regular dictionary. Change-Id: I18ff17df0fb518383e0a5e9c6d8198a5751378e9 Signed-off-by: pkliczewski <[email protected]> --- M lib/vdsm/numa.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/53/54353/1 diff --git a/lib/vdsm/numa.py b/lib/vdsm/numa.py index c196e0b..2e468fc 100644 --- a/lib/vdsm/numa.py +++ b/lib/vdsm/numa.py @@ -117,11 +117,11 @@ def topology(capabilities=None): - return _numa(capabilities).topology + return dict(_numa(capabilities).topology) def distances(): - return _numa().distances + return dict(_numa().distances) def cpu_topology(capabilities=None): -- To view, visit https://gerrit.ovirt.org/54353 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I18ff17df0fb518383e0a5e9c6d8198a5751378e9 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Piotr Kliczewski <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
