diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-03 14:39:14 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-04 15:10:10 +0100 |
commit | 09059016e02db5d83b4862a3adcf8ddf101f6991 (patch) | |
tree | fd79cb7820e98be7a59af2a3c47a72a64f8d8f68 /decoders/i2cfilter | |
parent | 0082d592076fdc3fe06a760d432a48163ee0bd97 (diff) | |
download | libsigrokdecode-09059016e02db5d83b4862a3adcf8ddf101f6991.tar.gz libsigrokdecode-09059016e02db5d83b4862a3adcf8ddf101f6991.zip |
srd: PDs: Consistency/cosmetic fixes.
Diffstat (limited to 'decoders/i2cfilter')
-rw-r--r-- | decoders/i2cfilter/i2cfilter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/i2cfilter/i2cfilter.py b/decoders/i2cfilter/i2cfilter.py index 939e667..afbee65 100644 --- a/decoders/i2cfilter/i2cfilter.py +++ b/decoders/i2cfilter/i2cfilter.py @@ -41,7 +41,7 @@ class Decoder(srd.Decoder): def start(self, metadata): self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2cdata') if self.options['direction'] not in ('', 'read', 'write'): - raise Exception("Invalid direction: expected 'read' or 'write'") + raise Exception('Invalid direction: expected "read" or "write"') def decode(self, ss, es, data): try: |