Martin Polednik has uploaded a new change for review.
Change subject: vdsm: user super instead of direct parent call for NIC
......................................................................
vdsm: user super instead of direct parent call for NIC
Super allow us to call parent class without having to specify
it's name, simplyfing further moving of the class and possibly
more inheritance.
Change-Id: Ifc30c816be7e7ef91b921477519cefc11aa76cd6
Signed-off-by: Martin Polednik <mpolednik(a)redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/00/32400/1
diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 2c3dd30..025fee2 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -772,7 +772,7 @@
kwargs[attr] = 'virtio'
elif attr == 'network' and value == '':
kwargs[attr] = DUMMY_BRIDGE
- VmDevice.__init__(self, conf, log, **kwargs)
+ super(NetworkInterfaceDevice, self).__init__(conf, log, **kwargs)
self.sndbufParam = False
self._customize()
--
To view, visit
http://gerrit.ovirt.org/32400
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc30c816be7e7ef91b921477519cefc11aa76cd6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik(a)redhat.com>