From a2a0a1f3853cb41373974130bca9e96a3d6d08f6 Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Fri, 13 Apr 2012 20:55:01 +0000 Subject: Remove unused variable Change-Id: I0a30c61db57d4704eb001f1d96127acc41878bfe --- nova/virt/xenapi/vmops.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index e95abf23c..ec4601c55 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -1028,7 +1028,6 @@ class VMOps(object): LOG.debug(_("Shutting down VM"), instance=instance) try: - task = None if hard: self._session.call_xenapi('VM.hard_shutdown', vm_ref) else: -- cgit