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/wireguard.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'python/vyos/ifconfig/wireguard.py') diff --git a/python/vyos/ifconfig/wireguard.py b/python/vyos/ifconfig/wireguard.py index 411c3e146..044041f68 100644 --- a/python/vyos/ifconfig/wireguard.py +++ b/python/vyos/ifconfig/wireguard.py @@ -54,9 +54,6 @@ class WireGuardIf(Interface): 'allowed-ips': [], 'pubkey': None, 'fwmark': 0, 'psk': '/dev/null'} """ - def __init__(self, ifname, **kargs): - super().__init__(ifname, **kargs) - def update(self): if not self.config['private-key']: raise ValueError("private key required") -- cgit v1.2.3