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/spi/__init__.py | 1 - decoders/spi/pd.py | 1 - 2 files changed, 2 deletions(-) (limited to 'decoders/spi') diff --git a/decoders/spi/__init__.py b/decoders/spi/__init__.py index a1f0f1c..6579905 100644 --- a/decoders/spi/__init__.py +++ b/decoders/spi/__init__.py @@ -30,4 +30,3 @@ data is decoded on every clock transition (depending on SPI mode). ''' from .pd import * - diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 96c0689..374d22b 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -282,4 +282,3 @@ class Decoder(srd.Decoder): raise MissingDataError('Either MISO or MOSI (or both) pins required.') self.find_clk_edge(miso, mosi, clk, cs) - -- cgit v1.2.3-70-g09d2