diff options
author | Cerberus <matt.dietz@rackspace.com> | 2011-03-08 14:24:01 -0600 |
---|---|---|
committer | Cerberus <matt.dietz@rackspace.com> | 2011-03-08 14:24:01 -0600 |
commit | 1caceddf431a1ad1ef22235c2206bccf39fde5c5 (patch) | |
tree | 82d198e6448b67ac0bd5447bf440054a4cf621b6 | |
parent | e39995def6a2a11cdd430b0e6f603b493be5542b (diff) | |
download | nova-1caceddf431a1ad1ef22235c2206bccf39fde5c5.tar.gz nova-1caceddf431a1ad1ef22235c2206bccf39fde5c5.tar.xz nova-1caceddf431a1ad1ef22235c2206bccf39fde5c5.zip |
Nits
-rw-r--r-- | nova/virt/xenapi/vmops.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index 7fe1f6ff0..86dbf251b 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -90,7 +90,7 @@ class VMOps(object): vm = VMHelper.lookup(self._session, instance_name) if vm is not None: raise exception.Duplicate(_('Attempted to create' - ' non-unique name %s') % instance_name) + ' non-unique name %s') % instance_name) #ensure enough free memory is available if not VMHelper.ensure_free_mem(self._session, instance): @@ -104,7 +104,7 @@ class VMOps(object): user = AuthManager().get_user(instance.user_id) project = AuthManager().get_project(instance.project_id) - vdi_ref = kernel = ramdisk = pv_kernel = None + kernel = ramdisk = pv_kernel = None # Are we building from a pre-existing disk? vdi_ref = self._session.call_xenapi('VDI.get_by_uuid', vdi_uuid) |