diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-04-22 10:07:07 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-04-24 21:28:59 +0200 |
commit | 40935087ca8a2c63fb224228c3f7dcbe74d48d20 (patch) | |
tree | c62845e45b24a889ab58b3cebdb19f7b101af5b2 /decoders/rtc8564/pd.py | |
parent | aad263bb83593a66d4a834b30acf8e8a2f1b5c4c (diff) | |
download | libsigrokdecode-40935087ca8a2c63fb224228c3f7dcbe74d48d20.tar.gz libsigrokdecode-40935087ca8a2c63fb224228c3f7dcbe74d48d20.zip |
dcf77: annotate invalid dow and month fields, do not abort execution
Emit error annotations for invalid day of the week or month numbers,
instead of aborting decoder execution with an exception.
Implementation detail: Neither the Python 'in' keyword nor a .get()
method are available. That's why we have to catch the IndexError
exception.
This fixes bug #1173.
Diffstat (limited to 'decoders/rtc8564/pd.py')
0 files changed, 0 insertions, 0 deletions