~annegentle/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/virt/hyperv.py

  • Committer: Tarmac
  • Author(s): Matthew Hooker
  • Date: 2011-08-10 14:53:53 UTC
  • mfrom: (1355.2.24 pylint-fixes)
  • Revision ID: tarmac-20110810145353-rmc0lkjirgunxe08
These fixes are the result of trolling the pylint violations here

https://jenkins.openstack.org/job/nova-pylint-errors/violations/

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
            raise exception.InstanceNotFound(instance_id=instance.id)
375
375
        self._set_vm_state(instance.name, 'Reboot')
376
376
 
377
 
    def destroy(self, instance, network_info):
 
377
    def destroy(self, instance, network_info, cleanup=True):
378
378
        """Destroy the VM. Also destroy the associated VHD disk files"""
379
379
        LOG.debug(_("Got request to destroy vm %s"), instance.name)
380
380
        vm = self._lookup(instance.name)