diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-07-15 22:49:43 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-07-15 22:49:43 +0200 |
commit | 35b380b1156434b73d4a976c68f5ab3604c8510a (patch) | |
tree | 75a60785c37d242eee5886af138dba5ef0f177c1 /decoders/lm75 | |
parent | 22fc7ace72f3165c98208a8f544156e04a709639 (diff) | |
download | libsigrokdecode-35b380b1156434b73d4a976c68f5ab3604c8510a.tar.gz libsigrokdecode-35b380b1156434b73d4a976c68f5ab3604c8510a.zip |
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.
Diffstat (limited to 'decoders/lm75')
-rw-r--r-- | decoders/lm75/__init__.py | 1 | ||||
-rw-r--r-- | decoders/lm75/pd.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/decoders/lm75/__init__.py b/decoders/lm75/__init__.py index d096418..4105814 100644 --- a/decoders/lm75/__init__.py +++ b/decoders/lm75/__init__.py @@ -24,4 +24,3 @@ This decoder stacks on top of the 'i2c' PD and decodes the National LM75 ''' from .pd import * - diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py index 6655ef0..9483940 100644 --- a/decoders/lm75/pd.py +++ b/decoders/lm75/pd.py @@ -181,4 +181,3 @@ class Decoder(srd.Decoder): else: # self.putx([0, ['Ignoring: %s (data=%s)' % (cmd, databyte)]]) pass - |