summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-06-16 22:31:14 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-06-16 22:31:14 +0000
commita6687f56e0ebb23d59fc4b4097b5877f57312a95 (patch)
treebc4032bc31805cc6132ab0c436e725cc82c62539
parent9ff7bf3c379a3c10ab34c50951cad54659433d65 (diff)
downloadnova-a6687f56e0ebb23d59fc4b4097b5877f57312a95.tar.gz
nova-a6687f56e0ebb23d59fc4b4097b5877f57312a95.tar.xz
nova-a6687f56e0ebb23d59fc4b4097b5877f57312a95.zip
We don't check result in caller, so don't set variable to return value
-rw-r--r--nova/virt/xenapi/vmops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py
index e638808c3..c3a8fb70e 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -255,7 +255,7 @@ class VMOps(object):
if _cmp_version(version, agent_build['version']) < 0:
LOG.info(_('Updating Agent to %s') % agent_build['version'])
- ret = self.agent_update(instance, agent_build['url'],
+ self.agent_update(instance, agent_build['url'],
agent_build['md5hash'])
def _inject_files():