diff options
author | Jenkins <jenkins@review.openstack.org> | 2012-08-03 22:45:48 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2012-08-03 22:45:48 +0000 |
commit | fbd8bf5adb55f97536ce7d52a9662ae8099684e7 (patch) | |
tree | f7935fe6a8b8428f6b8d1744abe7b5b932b17af2 | |
parent | 0c5a3fd184352d703a4643de9d89ecb4f96fdc5b (diff) | |
parent | be6d2253d61fae63b5c829960cbf163c50c2efeb (diff) | |
download | nova-fbd8bf5adb55f97536ce7d52a9662ae8099684e7.tar.gz nova-fbd8bf5adb55f97536ce7d52a9662ae8099684e7.tar.xz nova-fbd8bf5adb55f97536ce7d52a9662ae8099684e7.zip |
Merge "Rename _self to self according to Python convention"
-rw-r--r-- | nova/virt/libvirt/vif.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/vif.py b/nova/virt/libvirt/vif.py index 74c21fc51..d45216f85 100644 --- a/nova/virt/libvirt/vif.py +++ b/nova/virt/libvirt/vif.py @@ -118,7 +118,7 @@ class LibvirtOpenVswitchDriver(vif.VIFDriver): libvirt XML. Used for libvirt versions that do not support OVS virtual port XML (0.9.10 or earlier).""" - def get_dev_name(_self, iface_id): + def get_dev_name(self, iface_id): return "tap" + iface_id[0:11] def plug(self, instance, vif): |