~annegentle/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/virt/xenapi/vm_utils.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:
797
797
    else:
798
798
        num_vdis = len(vdi_refs)
799
799
        if num_vdis != 1:
800
 
            raise exception.Exception(_("Unexpected number of VDIs"
 
800
            raise exception.Error(_("Unexpected number of VDIs"
801
801
                    "(%(num_vdis)s) found"
802
802
                    " for VM %(vm_ref)s") % locals())
803
803