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/usb_power_delivery/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/usb_power_delivery') diff --git a/decoders/usb_power_delivery/pd.py b/decoders/usb_power_delivery/pd.py index ad28d97..c908e53 100644 --- a/decoders/usb_power_delivery/pd.py +++ b/decoders/usb_power_delivery/pd.py @@ -439,7 +439,7 @@ class Decoder(srd.Decoder): self.putwarn('No start of packet found', 'XXX') return -1 # No Start Of Packet - def __init__(self, **kwargs): + def __init__(self): self.samplerate = None self.idx = 0 self.packet_seq = 0 -- cgit v1.2.3-70-g09d2