summaryrefslogtreecommitdiff
path: root/decoders/spdif/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-09-10 09:26:11 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-09-10 17:27:02 +0200
commitcb9a5046bed65e38b28c21afcb8945b19d4e8012 (patch)
tree5256bffc5d51c43a16e7477629fa7e7a811ad303 /decoders/spdif/pd.py
parentcac173dbec2b1761414ace8289204945557c8526 (diff)
downloadlibsigrokdecode-cb9a5046bed65e38b28c21afcb8945b19d4e8012.tar.gz
libsigrokdecode-cb9a5046bed65e38b28c21afcb8945b19d4e8012.zip
Various PDs: Whitespace, cosmetics.
Diffstat (limited to 'decoders/spdif/pd.py')
-rw-r--r--decoders/spdif/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/spdif/pd.py b/decoders/spdif/pd.py
index 9646386..bd75cff 100644
--- a/decoders/spdif/pd.py
+++ b/decoders/spdif/pd.py
@@ -226,7 +226,7 @@ class Decoder(srd.Decoder):
data = pins[0]
# Initialize self.olddata with the first sample value.
- if self.olddata == None:
+ if self.olddata is None:
self.olddata = data
continue