diff options
| author | Yaguang Tang <yaguang.tang@canonical.com> | 2013-04-22 17:08:09 +0800 |
|---|---|---|
| committer | Yaguang Tang <yaguang.tang@canonical.com> | 2013-04-22 17:12:13 +0800 |
| commit | 588aa3625da1272a1225e01ddd0f70d02f7beac9 (patch) | |
| tree | e978699ee1fa1518d53d9996796a558ad0c7cef4 | |
| parent | 18d9a8b4b4d794547f7cc47b5f58484c22066655 (diff) | |
Remove unnecessary method argument.
The 'self' argument is unnecessary and when the the method is invoked,
cause parameters error.
Fix bug #1171376
Change-Id: I612b466a955cb8418855849119599222ba6479d3
| -rw-r--r-- | nova/virt/vmwareapi/vif.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/vmwareapi/vif.py b/nova/virt/vmwareapi/vif.py index 4fd6611b5..ed68df33c 100644 --- a/nova/virt/vmwareapi/vif.py +++ b/nova/virt/vmwareapi/vif.py @@ -34,7 +34,7 @@ vmwareapi_vif_opts = [ CONF.register_opts(vmwareapi_vif_opts) -def ensure_vlan_bridge(self, session, vif, cluster=None): +def ensure_vlan_bridge(session, vif, cluster=None): """Create a vlan and bridge unless they already exist.""" vlan_num = vif['network'].get_meta('vlan') bridge = vif['network']['bridge'] |
