From e28f7aee3b96afeb543e0c3c29e3950ddd61a490 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 8 Jul 2014 21:21:03 +0200 Subject: All PDs: Drop unneeded exceptions. In all current PDs it is not necessary to raise an exception upon invalid states (of the PD's state machine), since we can guarantee that no such invalid state can ever be reached in these PDs. --- decoders/i2cfilter/pd.py | 1 - 1 file changed, 1 deletion(-) (limited to 'decoders/i2cfilter/pd.py') diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py index f1ac6a4..895cc17 100644 --- a/decoders/i2cfilter/pd.py +++ b/decoders/i2cfilter/pd.py @@ -39,7 +39,6 @@ class Decoder(srd.Decoder): ) def __init__(self, **kwargs): - self.state = None self.curslave = -1 self.curdirection = None self.packets = [] # Local cache of I²C packets -- cgit v1.2.3-70-g09d2