summaryrefslogtreecommitdiffstats
path: root/nova/virt
diff options
context:
space:
mode:
authorAlex Meade <alex.meade@rackspace.com>2011-06-07 09:56:51 -0400
committerAlex Meade <alex.meade@rackspace.com>2011-06-07 09:56:51 -0400
commitf0c4767dc14f950f7d18cc02e16e4d310774435d (patch)
tree92d2bba74207dc96662e8f5ebdb9bfb5034eea2e /nova/virt
parent1eb789625d15b319f5bc070041a42c03e6c6b08c (diff)
Fixed type causing pylint "exception is not callable"
Added param to fake_instance_create, fake objects should appear like the real object. pylint "No value passed for parameter 'values' in function call"
Diffstat (limited to 'nova/virt')
-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 32dae97c2..c6d2b0936 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -101,7 +101,7 @@ class VMOps(object):
if not vm_ref:
vm_ref = VMHelper.lookup(self._session, instance.name)
if vm_ref is None:
- raise exception(_('Attempted to power on non-existent instance'
+ raise Exception(_('Attempted to power on non-existent instance'
' bad instance id %s') % instance.id)
LOG.debug(_("Starting instance %s"), instance.name)
self._session.call_xenapi('VM.start', vm_ref, False, False)