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/lpc/__init__.py | 1 - decoders/lpc/pd.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'decoders/lpc') diff --git a/decoders/lpc/__init__.py b/decoders/lpc/__init__.py index 62a4307..986b550 100644 --- a/decoders/lpc/__init__.py +++ b/decoders/lpc/__init__.py @@ -24,4 +24,3 @@ some PC mainboards, such as the "BIOS chip" or the so-called "Super I/O". ''' from .pd import * - diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py index b626e0d..5e25db4 100644 --- a/decoders/lpc/pd.py +++ b/decoders/lpc/pd.py @@ -346,7 +346,7 @@ class Decoder(srd.Decoder): if self.state == 'IDLE': # A valid LPC cycle starts with LFRAME# being asserted (low). if lframe != 0: - continue + continue self.ss_block = self.samplenum self.state = 'GET START' self.lad = -1 @@ -365,4 +365,3 @@ class Decoder(srd.Decoder): self.handle_get_data(lad, lad_bits) elif self.state == 'GET TAR2': self.handle_get_tar2(lad, lad_bits) - -- cgit v1.2.3-70-g09d2