~annegentle/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/virt/vmwareapi/vif.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:
63
63
        vswitch_associated = network_utils.get_vswitch_for_vlan_interface(
64
64
                                            session, vlan_interface)
65
65
        if vswitch_associated is None:
66
 
            raise exception.SwicthNotFoundForNetworkAdapter(
 
66
            raise exception.SwitchNotFoundForNetworkAdapter(
67
67
                adapter=vlan_interface)
68
68
        # Check whether bridge already exists and retrieve the the ref of the
69
69
        # network whose name_label is "bridge"