From e26bca75e5676460ee0b68ea14d49b21972a2534 Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Wed, 4 Apr 2012 17:16:40 +0000 Subject: Remove unused _parse_xmlrpc_value Change-Id: Ic38592ab09c1f0a569dec2b644bdefd29ee00dff --- nova/virt/xenapi_conn.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'nova') diff --git a/nova/virt/xenapi_conn.py b/nova/virt/xenapi_conn.py index 54eb886c5..e699fa03c 100644 --- a/nova/virt/xenapi_conn.py +++ b/nova/virt/xenapi_conn.py @@ -623,15 +623,3 @@ class XenAPISession(object): except xmlrpclib.ProtocolError, exc: LOG.debug(_("Got exception: %s"), exc) raise - - -def _parse_xmlrpc_value(val): - """Parse the given value as if it were an XML-RPC value. This is - sometimes used as the format for the task.result field.""" - if not val: - return val - x = xmlrpclib.loads( - '' + - val + - '') - return x[0][0] -- cgit