From 7a509a4d725eb9f9786d9abc59a90fe8e31e4c1f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 22 Mar 2020 16:37:15 +0100 Subject: ifconfig: T2104: remove superfluous __init__ in derived classes __init__ should be added to a derived class only if it does work in the ctor. --- python/vyos/ifconfig/l2tpv3.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'python/vyos/ifconfig/l2tpv3.py') diff --git a/python/vyos/ifconfig/l2tpv3.py b/python/vyos/ifconfig/l2tpv3.py index 491fd24a7..a87535277 100644 --- a/python/vyos/ifconfig/l2tpv3.py +++ b/python/vyos/ifconfig/l2tpv3.py @@ -35,9 +35,6 @@ class L2TPv3If(Interface): 'type': 'l2tp', } - def __init__(self, ifname, **kargs): - super().__init__(ifname, **kargs) - def _create(self): # create tunnel interface cmd = 'ip l2tp add tunnel tunnel_id {} '.format(config['tunnel_id']) -- cgit v1.2.3