From 35b380b1156434b73d4a976c68f5ab3604c8510a Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 15 Jul 2014 22:49:43 +0200 Subject: All PDs: Minor whitespace and consistency fixes. - No newlines at the end of files. - No trailing ';' characters. - Comparison with None: Use 'is None' or 'is not None'. - Comparison with True/False: Use 'if cond:' or 'if not cond:'. - Various minor whitespace fixes. --- decoders/i2cfilter/__init__.py | 1 - decoders/i2cfilter/pd.py | 1 - 2 files changed, 2 deletions(-) (limited to 'decoders/i2cfilter') diff --git a/decoders/i2cfilter/__init__.py b/decoders/i2cfilter/__init__.py index 6cbab8a..ddb16ff 100644 --- a/decoders/i2cfilter/__init__.py +++ b/decoders/i2cfilter/__init__.py @@ -35,4 +35,3 @@ of the I²C session will be output. ''' from .pd import * - diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py index 1a9f433..3c02a2e 100644 --- a/decoders/i2cfilter/pd.py +++ b/decoders/i2cfilter/pd.py @@ -87,4 +87,3 @@ class Decoder(srd.Decoder): self.packets = [] else: pass # Do nothing, only add the I²C packet to our cache. - -- cgit v1.2.3-70-g09d2