diff options
| author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2012-04-04 17:16:40 +0000 |
|---|---|---|
| committer | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2012-04-04 17:38:20 +0000 |
| commit | e26bca75e5676460ee0b68ea14d49b21972a2534 (patch) | |
| tree | de631c7e1f03b2ae9a4b2aa29874dd00e6bbb4d1 /nova | |
| parent | f698eba45752fddddd914892ed2bf1d5ef7e484e (diff) | |
Remove unused _parse_xmlrpc_value
Change-Id: Ic38592ab09c1f0a569dec2b644bdefd29ee00dff
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/virt/xenapi_conn.py | 12 |
1 files changed, 0 insertions, 12 deletions
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( - '<?xml version="1.0"?><methodResponse><params><param>' + - val + - '</param></params></methodResponse>') - return x[0][0] |
