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/ir_nec | |
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/ir_nec')
-rw-r--r-- | decoders/ir_nec/__init__.py | 1 | ||||
-rw-r--r-- | decoders/ir_nec/lists.py | 1 | ||||
-rw-r--r-- | decoders/ir_nec/pd.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/decoders/ir_nec/__init__.py b/decoders/ir_nec/__init__.py index 84bf428..0765668 100644 --- a/decoders/ir_nec/__init__.py +++ b/decoders/ir_nec/__init__.py @@ -23,4 +23,3 @@ NEC is a pulse-distance based infrared remote control protocol. ''' from .pd import * - diff --git a/decoders/ir_nec/lists.py b/decoders/ir_nec/lists.py index c9dc595..3f730d9 100644 --- a/decoders/ir_nec/lists.py +++ b/decoders/ir_nec/lists.py @@ -49,4 +49,3 @@ command = { 68: ['AV', 'AV'], }.items())), } - diff --git a/decoders/ir_nec/pd.py b/decoders/ir_nec/pd.py index ce2e9f2..d14c7d3 100644 --- a/decoders/ir_nec/pd.py +++ b/decoders/ir_nec/pd.py @@ -204,4 +204,3 @@ class Decoder(srd.Decoder): self.state = 'IDLE' self.old_ir = self.ir - |