From 92b7b49f6964f57a7d6fc4473645c993cfa4ba52 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 15 May 2016 15:42:48 +0200 Subject: Use consistent __init__() format across all PDs. The previous **kwargs some PDs had is not actually ever used, so drop it. --- decoders/i2cfilter/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/i2cfilter') diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py index 3c02a2e..c3f148f 100644 --- a/decoders/i2cfilter/pd.py +++ b/decoders/i2cfilter/pd.py @@ -38,7 +38,7 @@ class Decoder(srd.Decoder): 'values': ('read', 'write', 'both')} ) - def __init__(self, **kwargs): + def __init__(self): self.curslave = -1 self.curdirection = None self.packets = [] # Local cache of I²C packets -- cgit v1.2.3-70-g09d2