From 09059016e02db5d83b4862a3adcf8ddf101f6991 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 3 Mar 2012 14:39:14 +0100 Subject: srd: PDs: Consistency/cosmetic fixes. --- decoders/i2cfilter/i2cfilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/i2cfilter') 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: -- cgit v1.2.3-70-g09d2